Skip to content

Commit 9ff5799

Browse files
authored
Transform clients published between 2023-09-14 and 2023-11-13 (#730)
1 parent c7ddfa3 commit 9ff5799

File tree

9 files changed

+1285
-137
lines changed

9 files changed

+1285
-137
lines changed

.changeset/four-countries-deny.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 2023-09-14 and 2023-11-13

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"@types/node": "^14.18.33",
4949
"@typescript-eslint/eslint-plugin": "^6.5.0",
5050
"@typescript-eslint/parser": "^6.5.0",
51-
"aws-sdk": "2.1457.0",
51+
"aws-sdk": "2.1495.0",
5252
"eslint": "^8.48.0",
5353
"eslint-plugin-import": "^2.28.1",
5454
"lint-staged": "^13.0.3",

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
@@ -36,6 +36,8 @@ new AWS.Backup();
3636
new AWS.BackupGateway();
3737
new AWS.BackupStorage();
3838
new AWS.Batch();
39+
new AWS.Bedrock();
40+
new AWS.BedrockRuntime();
3941
new AWS.Billingconductor();
4042
new AWS.Braket();
4143
new AWS.Budgets();
@@ -95,6 +97,7 @@ new AWS.DataBrew();
9597
new AWS.DataExchange();
9698
new AWS.DataPipeline();
9799
new AWS.DataSync();
100+
new AWS.DataZone();
98101
new AWS.Detective();
99102
new AWS.DevOpsGuru();
100103
new AWS.DeviceFarm();
@@ -137,7 +140,6 @@ new AWS.ForecastQueryService();
137140
new AWS.ForecastService();
138141
new AWS.FraudDetector();
139142
new AWS.GameLift();
140-
new AWS.GameSparks();
141143
new AWS.Glacier();
142144
new AWS.GlobalAccelerator();
143145
new AWS.Glue();
@@ -191,6 +193,7 @@ new AWS.KinesisVideoSignalingChannels();
191193
new AWS.KinesisVideoWebRTCStorage();
192194
new AWS.LakeFormation();
193195
new AWS.Lambda();
196+
new AWS.LaunchWizard();
194197
new AWS.LexModelBuildingService();
195198
new AWS.LexModelsV2();
196199
new AWS.LexRuntime();

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
@@ -36,6 +36,8 @@ import { Backup } from "@aws-sdk/client-backup";
3636
import { BackupGateway } from "@aws-sdk/client-backup-gateway";
3737
import { BackupStorage } from "@aws-sdk/client-backupstorage";
3838
import { Batch } from "@aws-sdk/client-batch";
39+
import { Bedrock } from "@aws-sdk/client-bedrock";
40+
import { BedrockRuntime } from "@aws-sdk/client-bedrock-runtime";
3941
import { Billingconductor } from "@aws-sdk/client-billingconductor";
4042
import { Braket } from "@aws-sdk/client-braket";
4143
import { Budgets } from "@aws-sdk/client-budgets";
@@ -93,6 +95,7 @@ import { DatabaseMigrationService } from "@aws-sdk/client-database-migration-ser
9395
import { DataBrew } from "@aws-sdk/client-databrew";
9496
import { DataExchange } from "@aws-sdk/client-dataexchange";
9597
import { DataSync } from "@aws-sdk/client-datasync";
98+
import { DataZone } from "@aws-sdk/client-datazone";
9699
import { DAX } from "@aws-sdk/client-dax";
97100
import { Detective } from "@aws-sdk/client-detective";
98101
import { DeviceFarm } from "@aws-sdk/client-device-farm";
@@ -136,7 +139,6 @@ import { Forecastquery } from "@aws-sdk/client-forecastquery";
136139
import { FraudDetector } from "@aws-sdk/client-frauddetector";
137140
import { FSx } from "@aws-sdk/client-fsx";
138141
import { GameLift } from "@aws-sdk/client-gamelift";
139-
import { GameSparks } from "@aws-sdk/client-gamesparks";
140142
import { Glacier } from "@aws-sdk/client-glacier";
141143
import { GlobalAccelerator } from "@aws-sdk/client-global-accelerator";
142144
import { Glue } from "@aws-sdk/client-glue";
@@ -190,6 +192,7 @@ import { KinesisVideoWebRTCStorage } from "@aws-sdk/client-kinesis-video-webrtc-
190192
import { KMS } from "@aws-sdk/client-kms";
191193
import { LakeFormation } from "@aws-sdk/client-lakeformation";
192194
import { Lambda } from "@aws-sdk/client-lambda";
195+
import { LaunchWizard } from "@aws-sdk/client-launch-wizard";
193196
import { LexModelBuildingService } from "@aws-sdk/client-lex-model-building-service";
194197
import { LexModelsV2 } from "@aws-sdk/client-lex-models-v2";
195198
import { LexRuntimeService } from "@aws-sdk/client-lex-runtime-service";
@@ -390,6 +393,8 @@ new Backup();
390393
new BackupGateway();
391394
new BackupStorage();
392395
new Batch();
396+
new Bedrock();
397+
new BedrockRuntime();
393398
new Billingconductor();
394399
new Braket();
395400
new Budgets();
@@ -449,6 +454,7 @@ new DataBrew();
449454
new DataExchange();
450455
new DataPipeline();
451456
new DataSync();
457+
new DataZone();
452458
new Detective();
453459
new DevOpsGuru();
454460
new DeviceFarm();
@@ -491,7 +497,6 @@ new Forecastquery();
491497
new Forecast();
492498
new FraudDetector();
493499
new GameLift();
494-
new GameSparks();
495500
new Glacier();
496501
new GlobalAccelerator();
497502
new Glue();
@@ -545,6 +550,7 @@ new KinesisVideoSignaling();
545550
new KinesisVideoWebRTCStorage();
546551
new LakeFormation();
547552
new Lambda();
553+
new LaunchWizard();
548554
new LexModelBuildingService();
549555
new LexModelsV2();
550556
new LexRuntimeService();

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ export const CLIENT_NAMES = [
3434
"BackupGateway",
3535
"BackupStorage",
3636
"Batch",
37+
"Bedrock",
38+
"BedrockRuntime",
3739
"Billingconductor",
3840
"Braket",
3941
"Budgets",
@@ -93,6 +95,7 @@ export const CLIENT_NAMES = [
9395
"DataExchange",
9496
"DataPipeline",
9597
"DataSync",
98+
"DataZone",
9699
"Detective",
97100
"DevOpsGuru",
98101
"DeviceFarm",
@@ -135,7 +138,6 @@ export const CLIENT_NAMES = [
135138
"ForecastService",
136139
"FraudDetector",
137140
"GameLift",
138-
"GameSparks",
139141
"Glacier",
140142
"GlobalAccelerator",
141143
"Glue",
@@ -189,6 +191,7 @@ export const CLIENT_NAMES = [
189191
"KinesisVideoWebRTCStorage",
190192
"LakeFormation",
191193
"Lambda",
194+
"LaunchWizard",
192195
"LexModelBuildingService",
193196
"LexModelsV2",
194197
"LexRuntime",

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ export const CLIENT_PACKAGE_NAMES_MAP: Record<string, string> = {
7474
ForecastService: "client-forecast",
7575
FraudDetector: "client-frauddetector",
7676
GameLift: "client-gamelift",
77-
GameSparks: "client-gamesparks",
7877
GreengrassV2: "client-greengrassv2",
7978
GroundStation: "client-groundstation",
8079
GuardDuty: "client-guardduty",

0 commit comments

Comments
 (0)