Skip to content

Commit

Permalink
Transform clients published between 2024-02-22 and 2024-04-10 (#842)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored Apr 11, 2024
1 parent cbf9c21 commit 419796f
Show file tree
Hide file tree
Showing 9 changed files with 935 additions and 100 deletions.
5 changes: 5 additions & 0 deletions .changeset/lucky-shoes-wave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"aws-sdk-js-codemod": patch
---

Transform clients published between 2024-02-22 and 2024-04-10
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@types/node": "^14.18.33",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"aws-sdk": "2.1563.0",
"aws-sdk": "2.1597.0",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-sort-export-all": "^1.4.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ new AWS.CodeArtifact();
new AWS.CodeBuild();
new AWS.CodeCatalyst();
new AWS.CodeCommit();
new AWS.CodeConnections();
new AWS.CodeDeploy();
new AWS.CodeGuruProfiler();
new AWS.CodeGuruReviewer();
Expand All @@ -94,6 +95,7 @@ new AWS.ConnectCampaigns();
new AWS.ConnectCases();
new AWS.ConnectContactLens();
new AWS.ConnectParticipant();
new AWS.ControlCatalog();
new AWS.ControlTower();
new AWS.CostExplorer();
new AWS.CostOptimizationHub();
Expand All @@ -106,6 +108,7 @@ new AWS.DataExchange();
new AWS.DataPipeline();
new AWS.DataSync();
new AWS.DataZone();
new AWS.Deadline();
new AWS.Detective();
new AWS.DevOpsGuru();
new AWS.DeviceFarm();
Expand Down Expand Up @@ -178,7 +181,6 @@ new AWS.IoTEventsData();
new AWS.IoTFleetHub();
new AWS.IoTFleetWise();
new AWS.IoTJobsDataPlane();
new AWS.IoTRoboRunner();
new AWS.IoTSecureTunneling();
new AWS.IoTSiteWise();
new AWS.IoTThingsGraph();
Expand Down Expand Up @@ -354,6 +356,7 @@ new AWS.Support();
new AWS.SupportApp();
new AWS.Synthetics();
new AWS.Textract();
new AWS.TimestreamInfluxDB();
new AWS.TimestreamQuery();
new AWS.TimestreamWrite();
new AWS.Tnb();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ import { Codeartifact } from "@aws-sdk/client-codeartifact";
import { CodeBuild } from "@aws-sdk/client-codebuild";
import { CodeCatalyst } from "@aws-sdk/client-codecatalyst";
import { CodeCommit } from "@aws-sdk/client-codecommit";
import { CodeConnections } from "@aws-sdk/client-codeconnections";
import { CodeDeploy } from "@aws-sdk/client-codedeploy";
import { CodeGuruReviewer } from "@aws-sdk/client-codeguru-reviewer";
import { CodeGuruSecurity } from "@aws-sdk/client-codeguru-security";
Expand All @@ -93,6 +94,7 @@ import { ConnectContactLens } from "@aws-sdk/client-connect-contact-lens";
import { ConnectCampaigns } from "@aws-sdk/client-connectcampaigns";
import { ConnectCases } from "@aws-sdk/client-connectcases";
import { ConnectParticipant } from "@aws-sdk/client-connectparticipant";
import { ControlCatalog } from "@aws-sdk/client-controlcatalog";
import { ControlTower } from "@aws-sdk/client-controltower";
import { CostAndUsageReportService } from "@aws-sdk/client-cost-and-usage-report-service";
import { CostExplorer } from "@aws-sdk/client-cost-explorer";
Expand All @@ -105,6 +107,7 @@ import { DataExchange } from "@aws-sdk/client-dataexchange";
import { DataSync } from "@aws-sdk/client-datasync";
import { DataZone } from "@aws-sdk/client-datazone";
import { DAX } from "@aws-sdk/client-dax";
import { Deadline } from "@aws-sdk/client-deadline";
import { Detective } from "@aws-sdk/client-detective";
import { DeviceFarm } from "@aws-sdk/client-device-farm";
import { DevOpsGuru } from "@aws-sdk/client-devops-guru";
Expand Down Expand Up @@ -174,7 +177,6 @@ import { IoTDataPlane } from "@aws-sdk/client-iot-data-plane";
import { IoTEvents } from "@aws-sdk/client-iot-events";
import { IoTEventsData } from "@aws-sdk/client-iot-events-data";
import { IoTJobsDataPlane } from "@aws-sdk/client-iot-jobs-data-plane";
import { IoTRoboRunner } from "@aws-sdk/client-iot-roborunner";
import { IoTWireless } from "@aws-sdk/client-iot-wireless";
import { IoTAnalytics } from "@aws-sdk/client-iotanalytics";
import { IotDeviceAdvisor } from "@aws-sdk/client-iotdeviceadvisor";
Expand Down Expand Up @@ -354,6 +356,7 @@ import { SupportApp } from "@aws-sdk/client-support-app";
import { SWF } from "@aws-sdk/client-swf";
import { Synthetics } from "@aws-sdk/client-synthetics";
import { Textract } from "@aws-sdk/client-textract";
import { TimestreamInfluxDB } from "@aws-sdk/client-timestream-influxdb";
import { TimestreamQuery } from "@aws-sdk/client-timestream-query";
import { TimestreamWrite } from "@aws-sdk/client-timestream-write";
import { Tnb } from "@aws-sdk/client-tnb";
Expand Down Expand Up @@ -450,6 +453,7 @@ new Codeartifact();
new CodeBuild();
new CodeCatalyst();
new CodeCommit();
new CodeConnections();
new CodeDeploy();
new CodeGuruProfiler();
new CodeGuruReviewer();
Expand All @@ -470,6 +474,7 @@ new ConnectCampaigns();
new ConnectCases();
new ConnectContactLens();
new ConnectParticipant();
new ControlCatalog();
new ControlTower();
new CostExplorer();
new CostOptimizationHub();
Expand All @@ -482,6 +487,7 @@ new DataExchange();
new DataPipeline();
new DataSync();
new DataZone();
new Deadline();
new Detective();
new DevOpsGuru();
new DeviceFarm();
Expand Down Expand Up @@ -554,7 +560,6 @@ new IoTEventsData();
new IoTFleetHub();
new IoTFleetWise();
new IoTJobsDataPlane();
new IoTRoboRunner();
new IoTSecureTunneling();
new IoTSiteWise();
new IoTThingsGraph();
Expand Down Expand Up @@ -730,6 +735,7 @@ new Support();
new SupportApp();
new Synthetics();
new Textract();
new TimestreamInfluxDB();
new TimestreamQuery();
new TimestreamWrite();
new Tnb();
Expand Down
5 changes: 4 additions & 1 deletion src/transforms/v2-to-v3/config/CLIENT_NAMES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export const CLIENT_NAMES = [
"CodeBuild",
"CodeCatalyst",
"CodeCommit",
"CodeConnections",
"CodeDeploy",
"CodeGuruProfiler",
"CodeGuruReviewer",
Expand All @@ -92,6 +93,7 @@ export const CLIENT_NAMES = [
"ConnectCases",
"ConnectContactLens",
"ConnectParticipant",
"ControlCatalog",
"ControlTower",
"CostExplorer",
"CostOptimizationHub",
Expand All @@ -104,6 +106,7 @@ export const CLIENT_NAMES = [
"DataPipeline",
"DataSync",
"DataZone",
"Deadline",
"Detective",
"DevOpsGuru",
"DeviceFarm",
Expand Down Expand Up @@ -176,7 +179,6 @@ export const CLIENT_NAMES = [
"IoTFleetHub",
"IoTFleetWise",
"IoTJobsDataPlane",
"IoTRoboRunner",
"IoTSecureTunneling",
"IoTSiteWise",
"IoTThingsGraph",
Expand Down Expand Up @@ -352,6 +354,7 @@ export const CLIENT_NAMES = [
"SupportApp",
"Synthetics",
"Textract",
"TimestreamInfluxDB",
"TimestreamQuery",
"TimestreamWrite",
"Tnb",
Expand Down
2 changes: 2 additions & 0 deletions src/transforms/v2-to-v3/config/CLIENT_PACKAGE_NAMES_MAP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const CLIENT_PACKAGE_NAMES_MAP: Record<string, string> = {
.replace("-chime-sdk", "-chime-sdk-")
.replace("client-amplify-", "client-amplify")
.replace("client-bcmdata-exports", "client-bcm-data-exports")
.replace("client-control-catalog", "client-controlcatalog")
.replace("client-clean-rooms-ml", "client-cleanroomsml")
.replace("client-cloud-", "client-cloud")
.replace("client-code-", "client-code")
Expand All @@ -26,6 +27,7 @@ export const CLIENT_PACKAGE_NAMES_MAP: Record<string, string> = {
.replace("client-sage-maker", "client-sagemaker")
.replace("client-security-", "client-security")
.replace("client-supply-chain", "client-supplychain")
.replace("client-timestream-influx-db", "client-timestream-influxdb")
.replace("client-trusted-advisor", "client-trustedadvisor")
.replace("client-work-", "client-work"),
}),
Expand Down
Loading

0 comments on commit 419796f

Please sign in to comment.