Skip to content

Commit 419796f

Browse files
authored
Transform clients published between 2024-02-22 and 2024-04-10 (#842)
1 parent cbf9c21 commit 419796f

File tree

9 files changed

+935
-100
lines changed

9 files changed

+935
-100
lines changed

.changeset/lucky-shoes-wave.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"aws-sdk-js-codemod": patch
3+
---
4+
5+
Transform clients published between 2024-02-22 and 2024-04-10

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"@types/node": "^14.18.33",
5050
"@typescript-eslint/eslint-plugin": "^7.2.0",
5151
"@typescript-eslint/parser": "^7.2.0",
52-
"aws-sdk": "2.1563.0",
52+
"aws-sdk": "2.1597.0",
5353
"eslint": "^8.57.0",
5454
"eslint-plugin-import": "^2.29.1",
5555
"eslint-plugin-sort-export-all": "^1.4.1",

src/transforms/v2-to-v3/__fixtures__/new-client/global-import.input.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ new AWS.CodeArtifact();
7474
new AWS.CodeBuild();
7575
new AWS.CodeCatalyst();
7676
new AWS.CodeCommit();
77+
new AWS.CodeConnections();
7778
new AWS.CodeDeploy();
7879
new AWS.CodeGuruProfiler();
7980
new AWS.CodeGuruReviewer();
@@ -94,6 +95,7 @@ new AWS.ConnectCampaigns();
9495
new AWS.ConnectCases();
9596
new AWS.ConnectContactLens();
9697
new AWS.ConnectParticipant();
98+
new AWS.ControlCatalog();
9799
new AWS.ControlTower();
98100
new AWS.CostExplorer();
99101
new AWS.CostOptimizationHub();
@@ -106,6 +108,7 @@ new AWS.DataExchange();
106108
new AWS.DataPipeline();
107109
new AWS.DataSync();
108110
new AWS.DataZone();
111+
new AWS.Deadline();
109112
new AWS.Detective();
110113
new AWS.DevOpsGuru();
111114
new AWS.DeviceFarm();
@@ -178,7 +181,6 @@ new AWS.IoTEventsData();
178181
new AWS.IoTFleetHub();
179182
new AWS.IoTFleetWise();
180183
new AWS.IoTJobsDataPlane();
181-
new AWS.IoTRoboRunner();
182184
new AWS.IoTSecureTunneling();
183185
new AWS.IoTSiteWise();
184186
new AWS.IoTThingsGraph();
@@ -354,6 +356,7 @@ new AWS.Support();
354356
new AWS.SupportApp();
355357
new AWS.Synthetics();
356358
new AWS.Textract();
359+
new AWS.TimestreamInfluxDB();
357360
new AWS.TimestreamQuery();
358361
new AWS.TimestreamWrite();
359362
new AWS.Tnb();

src/transforms/v2-to-v3/__fixtures__/new-client/global-import.output.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ import { Codeartifact } from "@aws-sdk/client-codeartifact";
7373
import { CodeBuild } from "@aws-sdk/client-codebuild";
7474
import { CodeCatalyst } from "@aws-sdk/client-codecatalyst";
7575
import { CodeCommit } from "@aws-sdk/client-codecommit";
76+
import { CodeConnections } from "@aws-sdk/client-codeconnections";
7677
import { CodeDeploy } from "@aws-sdk/client-codedeploy";
7778
import { CodeGuruReviewer } from "@aws-sdk/client-codeguru-reviewer";
7879
import { CodeGuruSecurity } from "@aws-sdk/client-codeguru-security";
@@ -93,6 +94,7 @@ import { ConnectContactLens } from "@aws-sdk/client-connect-contact-lens";
9394
import { ConnectCampaigns } from "@aws-sdk/client-connectcampaigns";
9495
import { ConnectCases } from "@aws-sdk/client-connectcases";
9596
import { ConnectParticipant } from "@aws-sdk/client-connectparticipant";
97+
import { ControlCatalog } from "@aws-sdk/client-controlcatalog";
9698
import { ControlTower } from "@aws-sdk/client-controltower";
9799
import { CostAndUsageReportService } from "@aws-sdk/client-cost-and-usage-report-service";
98100
import { CostExplorer } from "@aws-sdk/client-cost-explorer";
@@ -105,6 +107,7 @@ import { DataExchange } from "@aws-sdk/client-dataexchange";
105107
import { DataSync } from "@aws-sdk/client-datasync";
106108
import { DataZone } from "@aws-sdk/client-datazone";
107109
import { DAX } from "@aws-sdk/client-dax";
110+
import { Deadline } from "@aws-sdk/client-deadline";
108111
import { Detective } from "@aws-sdk/client-detective";
109112
import { DeviceFarm } from "@aws-sdk/client-device-farm";
110113
import { DevOpsGuru } from "@aws-sdk/client-devops-guru";
@@ -174,7 +177,6 @@ import { IoTDataPlane } from "@aws-sdk/client-iot-data-plane";
174177
import { IoTEvents } from "@aws-sdk/client-iot-events";
175178
import { IoTEventsData } from "@aws-sdk/client-iot-events-data";
176179
import { IoTJobsDataPlane } from "@aws-sdk/client-iot-jobs-data-plane";
177-
import { IoTRoboRunner } from "@aws-sdk/client-iot-roborunner";
178180
import { IoTWireless } from "@aws-sdk/client-iot-wireless";
179181
import { IoTAnalytics } from "@aws-sdk/client-iotanalytics";
180182
import { IotDeviceAdvisor } from "@aws-sdk/client-iotdeviceadvisor";
@@ -354,6 +356,7 @@ import { SupportApp } from "@aws-sdk/client-support-app";
354356
import { SWF } from "@aws-sdk/client-swf";
355357
import { Synthetics } from "@aws-sdk/client-synthetics";
356358
import { Textract } from "@aws-sdk/client-textract";
359+
import { TimestreamInfluxDB } from "@aws-sdk/client-timestream-influxdb";
357360
import { TimestreamQuery } from "@aws-sdk/client-timestream-query";
358361
import { TimestreamWrite } from "@aws-sdk/client-timestream-write";
359362
import { Tnb } from "@aws-sdk/client-tnb";
@@ -450,6 +453,7 @@ new Codeartifact();
450453
new CodeBuild();
451454
new CodeCatalyst();
452455
new CodeCommit();
456+
new CodeConnections();
453457
new CodeDeploy();
454458
new CodeGuruProfiler();
455459
new CodeGuruReviewer();
@@ -470,6 +474,7 @@ new ConnectCampaigns();
470474
new ConnectCases();
471475
new ConnectContactLens();
472476
new ConnectParticipant();
477+
new ControlCatalog();
473478
new ControlTower();
474479
new CostExplorer();
475480
new CostOptimizationHub();
@@ -482,6 +487,7 @@ new DataExchange();
482487
new DataPipeline();
483488
new DataSync();
484489
new DataZone();
490+
new Deadline();
485491
new Detective();
486492
new DevOpsGuru();
487493
new DeviceFarm();
@@ -554,7 +560,6 @@ new IoTEventsData();
554560
new IoTFleetHub();
555561
new IoTFleetWise();
556562
new IoTJobsDataPlane();
557-
new IoTRoboRunner();
558563
new IoTSecureTunneling();
559564
new IoTSiteWise();
560565
new IoTThingsGraph();
@@ -730,6 +735,7 @@ new Support();
730735
new SupportApp();
731736
new Synthetics();
732737
new Textract();
738+
new TimestreamInfluxDB();
733739
new TimestreamQuery();
734740
new TimestreamWrite();
735741
new Tnb();

src/transforms/v2-to-v3/config/CLIENT_NAMES.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export const CLIENT_NAMES = [
7272
"CodeBuild",
7373
"CodeCatalyst",
7474
"CodeCommit",
75+
"CodeConnections",
7576
"CodeDeploy",
7677
"CodeGuruProfiler",
7778
"CodeGuruReviewer",
@@ -92,6 +93,7 @@ export const CLIENT_NAMES = [
9293
"ConnectCases",
9394
"ConnectContactLens",
9495
"ConnectParticipant",
96+
"ControlCatalog",
9597
"ControlTower",
9698
"CostExplorer",
9799
"CostOptimizationHub",
@@ -104,6 +106,7 @@ export const CLIENT_NAMES = [
104106
"DataPipeline",
105107
"DataSync",
106108
"DataZone",
109+
"Deadline",
107110
"Detective",
108111
"DevOpsGuru",
109112
"DeviceFarm",
@@ -176,7 +179,6 @@ export const CLIENT_NAMES = [
176179
"IoTFleetHub",
177180
"IoTFleetWise",
178181
"IoTJobsDataPlane",
179-
"IoTRoboRunner",
180182
"IoTSecureTunneling",
181183
"IoTSiteWise",
182184
"IoTThingsGraph",
@@ -352,6 +354,7 @@ export const CLIENT_NAMES = [
352354
"SupportApp",
353355
"Synthetics",
354356
"Textract",
357+
"TimestreamInfluxDB",
355358
"TimestreamQuery",
356359
"TimestreamWrite",
357360
"Tnb",

src/transforms/v2-to-v3/config/CLIENT_PACKAGE_NAMES_MAP.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export const CLIENT_PACKAGE_NAMES_MAP: Record<string, string> = {
99
.replace("-chime-sdk", "-chime-sdk-")
1010
.replace("client-amplify-", "client-amplify")
1111
.replace("client-bcmdata-exports", "client-bcm-data-exports")
12+
.replace("client-control-catalog", "client-controlcatalog")
1213
.replace("client-clean-rooms-ml", "client-cleanroomsml")
1314
.replace("client-cloud-", "client-cloud")
1415
.replace("client-code-", "client-code")
@@ -26,6 +27,7 @@ export const CLIENT_PACKAGE_NAMES_MAP: Record<string, string> = {
2627
.replace("client-sage-maker", "client-sagemaker")
2728
.replace("client-security-", "client-security")
2829
.replace("client-supply-chain", "client-supplychain")
30+
.replace("client-timestream-influx-db", "client-timestream-influxdb")
2931
.replace("client-trusted-advisor", "client-trustedadvisor")
3032
.replace("client-work-", "client-work"),
3133
}),

0 commit comments

Comments
 (0)