Skip to content

Commit 03c8f72

Browse files
authored
Transform clients published between 2024-04-11 and 2024-06-13 (#874)
1 parent fa094ee commit 03c8f72

File tree

9 files changed

+1445
-474
lines changed

9 files changed

+1445
-474
lines changed

.changeset/angry-radios-press.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-04-11 and 2024-06-13

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.1597.0",
52+
"aws-sdk": "2.1641.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: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ new AWS.APIGateway();
88
new AWS.ARCZonalShift();
99
new AWS.AccessAnalyzer();
1010
new AWS.Account();
11-
new AWS.AlexaForBusiness();
1211
new AWS.Amp();
1312
new AWS.Amplify();
1413
new AWS.AmplifyBackend();
@@ -23,10 +22,12 @@ new AWS.AppMesh();
2322
new AWS.AppRunner();
2423
new AWS.AppStream();
2524
new AWS.AppSync();
25+
new AWS.AppTest();
2626
new AWS.Appflow();
2727
new AWS.ApplicationAutoScaling();
2828
new AWS.ApplicationCostProfiler();
2929
new AWS.ApplicationInsights();
30+
new AWS.ApplicationSignals();
3031
new AWS.Artifact();
3132
new AWS.Athena();
3233
new AWS.AuditManager();
@@ -37,7 +38,6 @@ new AWS.B2bi();
3738
new AWS.BCMDataExports();
3839
new AWS.Backup();
3940
new AWS.BackupGateway();
40-
new AWS.BackupStorage();
4141
new AWS.Batch();
4242
new AWS.Bedrock();
4343
new AWS.BedrockAgent();
@@ -163,7 +163,6 @@ new AWS.GroundStation();
163163
new AWS.GuardDuty();
164164
new AWS.Health();
165165
new AWS.HealthLake();
166-
new AWS.Honeycode();
167166
new AWS.IAM();
168167
new AWS.IVS();
169168
new AWS.IVSRealTime();
@@ -225,6 +224,7 @@ new AWS.MTurk();
225224
new AWS.MWAA();
226225
new AWS.MachineLearning();
227226
new AWS.Macie2();
227+
new AWS.MailManager();
228228
new AWS.ManagedBlockchain();
229229
new AWS.ManagedBlockchainQuery();
230230
new AWS.MarketplaceAgreement();
@@ -271,6 +271,7 @@ new AWS.Panorama();
271271
new AWS.PaymentCryptography();
272272
new AWS.PaymentCryptographyData();
273273
new AWS.PcaConnectorAd();
274+
new AWS.PcaConnectorScep();
274275
new AWS.Personalize();
275276
new AWS.PersonalizeEvents();
276277
new AWS.PersonalizeRuntime();
@@ -306,6 +307,7 @@ new AWS.RoboMaker();
306307
new AWS.RolesAnywhere();
307308
new AWS.Route53();
308309
new AWS.Route53Domains();
310+
new AWS.Route53Profiles();
309311
new AWS.Route53RecoveryCluster();
310312
new AWS.Route53RecoveryControlConfig();
311313
new AWS.Route53RecoveryReadiness();
@@ -355,6 +357,7 @@ new AWS.SupplyChain();
355357
new AWS.Support();
356358
new AWS.SupportApp();
357359
new AWS.Synthetics();
360+
new AWS.TaxSettings();
358361
new AWS.Textract();
359362
new AWS.TimestreamInfluxDB();
360363
new AWS.TimestreamQuery();

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

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { AccessAnalyzer } from "@aws-sdk/client-accessanalyzer";
66
import { Account } from "@aws-sdk/client-account";
77
import { ACM } from "@aws-sdk/client-acm";
88
import { ACMPCA } from "@aws-sdk/client-acm-pca";
9-
import { AlexaForBusiness } from "@aws-sdk/client-alexa-for-business";
109
import { Amp } from "@aws-sdk/client-amp";
1110
import { Amplify } from "@aws-sdk/client-amplify";
1211
import { AmplifyBackend } from "@aws-sdk/client-amplifybackend";
@@ -23,10 +22,12 @@ import { AppIntegrations } from "@aws-sdk/client-appintegrations";
2322
import { ApplicationAutoScaling } from "@aws-sdk/client-application-auto-scaling";
2423
import { ApplicationDiscoveryService } from "@aws-sdk/client-application-discovery-service";
2524
import { ApplicationInsights } from "@aws-sdk/client-application-insights";
25+
import { ApplicationSignals } from "@aws-sdk/client-application-signals";
2626
import { ApplicationCostProfiler } from "@aws-sdk/client-applicationcostprofiler";
2727
import { AppRunner } from "@aws-sdk/client-apprunner";
2828
import { AppStream } from "@aws-sdk/client-appstream";
2929
import { AppSync } from "@aws-sdk/client-appsync";
30+
import { AppTest } from "@aws-sdk/client-apptest";
3031
import { ARCZonalShift } from "@aws-sdk/client-arc-zonal-shift";
3132
import { Artifact } from "@aws-sdk/client-artifact";
3233
import { Athena } from "@aws-sdk/client-athena";
@@ -36,7 +37,6 @@ import { AutoScalingPlans } from "@aws-sdk/client-auto-scaling-plans";
3637
import { B2bi } from "@aws-sdk/client-b2bi";
3738
import { Backup } from "@aws-sdk/client-backup";
3839
import { BackupGateway } from "@aws-sdk/client-backup-gateway";
39-
import { BackupStorage } from "@aws-sdk/client-backupstorage";
4040
import { Batch } from "@aws-sdk/client-batch";
4141
import { BCMDataExports } from "@aws-sdk/client-bcm-data-exports";
4242
import { Bedrock } from "@aws-sdk/client-bedrock";
@@ -162,7 +162,6 @@ import { GroundStation } from "@aws-sdk/client-groundstation";
162162
import { GuardDuty } from "@aws-sdk/client-guardduty";
163163
import { Health } from "@aws-sdk/client-health";
164164
import { HealthLake } from "@aws-sdk/client-healthlake";
165-
import { Honeycode } from "@aws-sdk/client-honeycode";
166165
import { IAM } from "@aws-sdk/client-iam";
167166
import { Identitystore } from "@aws-sdk/client-identitystore";
168167
import { Imagebuilder } from "@aws-sdk/client-imagebuilder";
@@ -221,6 +220,7 @@ import { LookoutVision } from "@aws-sdk/client-lookoutvision";
221220
import { M2 } from "@aws-sdk/client-m2";
222221
import { MachineLearning } from "@aws-sdk/client-machine-learning";
223222
import { Macie2 } from "@aws-sdk/client-macie2";
223+
import { MailManager } from "@aws-sdk/client-mailmanager";
224224
import { ManagedBlockchain } from "@aws-sdk/client-managedblockchain";
225225
import { ManagedBlockchainQuery } from "@aws-sdk/client-managedblockchain-query";
226226
import { MarketplaceAgreement } from "@aws-sdk/client-marketplace-agreement";
@@ -269,6 +269,7 @@ import { Panorama } from "@aws-sdk/client-panorama";
269269
import { PaymentCryptography } from "@aws-sdk/client-payment-cryptography";
270270
import { PaymentCryptographyData } from "@aws-sdk/client-payment-cryptography-data";
271271
import { PcaConnectorAd } from "@aws-sdk/client-pca-connector-ad";
272+
import { PcaConnectorScep } from "@aws-sdk/client-pca-connector-scep";
272273
import { Personalize } from "@aws-sdk/client-personalize";
273274
import { PersonalizeEvents } from "@aws-sdk/client-personalize-events";
274275
import { PersonalizeRuntime } from "@aws-sdk/client-personalize-runtime";
@@ -307,6 +308,7 @@ import { Route53Domains } from "@aws-sdk/client-route-53-domains";
307308
import { Route53RecoveryCluster } from "@aws-sdk/client-route53-recovery-cluster";
308309
import { Route53RecoveryControlConfig } from "@aws-sdk/client-route53-recovery-control-config";
309310
import { Route53RecoveryReadiness } from "@aws-sdk/client-route53-recovery-readiness";
311+
import { Route53Profiles } from "@aws-sdk/client-route53profiles";
310312
import { Route53Resolver } from "@aws-sdk/client-route53resolver";
311313
import { RUM } from "@aws-sdk/client-rum";
312314
import { S3 } from "@aws-sdk/client-s3";
@@ -355,6 +357,7 @@ import { Support } from "@aws-sdk/client-support";
355357
import { SupportApp } from "@aws-sdk/client-support-app";
356358
import { SWF } from "@aws-sdk/client-swf";
357359
import { Synthetics } from "@aws-sdk/client-synthetics";
360+
import { TaxSettings } from "@aws-sdk/client-taxsettings";
358361
import { Textract } from "@aws-sdk/client-textract";
359362
import { TimestreamInfluxDB } from "@aws-sdk/client-timestream-influxdb";
360363
import { TimestreamQuery } from "@aws-sdk/client-timestream-query";
@@ -387,7 +390,6 @@ new APIGateway();
387390
new ARCZonalShift();
388391
new AccessAnalyzer();
389392
new Account();
390-
new AlexaForBusiness();
391393
new Amp();
392394
new Amplify();
393395
new AmplifyBackend();
@@ -402,10 +404,12 @@ new AppMesh();
402404
new AppRunner();
403405
new AppStream();
404406
new AppSync();
407+
new AppTest();
405408
new Appflow();
406409
new ApplicationAutoScaling();
407410
new ApplicationCostProfiler();
408411
new ApplicationInsights();
412+
new ApplicationSignals();
409413
new Artifact();
410414
new Athena();
411415
new AuditManager();
@@ -416,7 +420,6 @@ new B2bi();
416420
new BCMDataExports();
417421
new Backup();
418422
new BackupGateway();
419-
new BackupStorage();
420423
new Batch();
421424
new Bedrock();
422425
new BedrockAgent();
@@ -542,7 +545,6 @@ new GroundStation();
542545
new GuardDuty();
543546
new Health();
544547
new HealthLake();
545-
new Honeycode();
546548
new IAM();
547549
new Ivs();
548550
new IVSRealTime();
@@ -604,6 +606,7 @@ new MTurk();
604606
new MWAA();
605607
new MachineLearning();
606608
new Macie2();
609+
new MailManager();
607610
new ManagedBlockchain();
608611
new ManagedBlockchainQuery();
609612
new MarketplaceAgreement();
@@ -650,6 +653,7 @@ new Panorama();
650653
new PaymentCryptography();
651654
new PaymentCryptographyData();
652655
new PcaConnectorAd();
656+
new PcaConnectorScep();
653657
new Personalize();
654658
new PersonalizeEvents();
655659
new PersonalizeRuntime();
@@ -685,6 +689,7 @@ new RoboMaker();
685689
new RolesAnywhere();
686690
new Route53();
687691
new Route53Domains();
692+
new Route53Profiles();
688693
new Route53RecoveryCluster();
689694
new Route53RecoveryControlConfig();
690695
new Route53RecoveryReadiness();
@@ -734,6 +739,7 @@ new SupplyChain();
734739
new Support();
735740
new SupportApp();
736741
new Synthetics();
742+
new TaxSettings();
737743
new Textract();
738744
new TimestreamInfluxDB();
739745
new TimestreamQuery();

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ export const CLIENT_NAMES = [
66
"ARCZonalShift",
77
"AccessAnalyzer",
88
"Account",
9-
"AlexaForBusiness",
109
"Amp",
1110
"Amplify",
1211
"AmplifyBackend",
@@ -21,10 +20,12 @@ export const CLIENT_NAMES = [
2120
"AppRunner",
2221
"AppStream",
2322
"AppSync",
23+
"AppTest",
2424
"Appflow",
2525
"ApplicationAutoScaling",
2626
"ApplicationCostProfiler",
2727
"ApplicationInsights",
28+
"ApplicationSignals",
2829
"Artifact",
2930
"Athena",
3031
"AuditManager",
@@ -35,7 +36,6 @@ export const CLIENT_NAMES = [
3536
"BCMDataExports",
3637
"Backup",
3738
"BackupGateway",
38-
"BackupStorage",
3939
"Batch",
4040
"Bedrock",
4141
"BedrockAgent",
@@ -161,7 +161,6 @@ export const CLIENT_NAMES = [
161161
"GuardDuty",
162162
"Health",
163163
"HealthLake",
164-
"Honeycode",
165164
"IAM",
166165
"IVS",
167166
"IVSRealTime",
@@ -223,6 +222,7 @@ export const CLIENT_NAMES = [
223222
"MWAA",
224223
"MachineLearning",
225224
"Macie2",
225+
"MailManager",
226226
"ManagedBlockchain",
227227
"ManagedBlockchainQuery",
228228
"MarketplaceAgreement",
@@ -269,6 +269,7 @@ export const CLIENT_NAMES = [
269269
"PaymentCryptography",
270270
"PaymentCryptographyData",
271271
"PcaConnectorAd",
272+
"PcaConnectorScep",
272273
"Personalize",
273274
"PersonalizeEvents",
274275
"PersonalizeRuntime",
@@ -304,6 +305,7 @@ export const CLIENT_NAMES = [
304305
"RolesAnywhere",
305306
"Route53",
306307
"Route53Domains",
308+
"Route53Profiles",
307309
"Route53RecoveryCluster",
308310
"Route53RecoveryControlConfig",
309311
"Route53RecoveryReadiness",
@@ -353,6 +355,7 @@ export const CLIENT_NAMES = [
353355
"Support",
354356
"SupportApp",
355357
"Synthetics",
358+
"TaxSettings",
356359
"Textract",
357360
"TimestreamInfluxDB",
358361
"TimestreamQuery",

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export const CLIENT_PACKAGE_NAMES_MAP: Record<string, string> = {
4545
AppRunner: "client-apprunner",
4646
AppStream: "client-appstream",
4747
AppSync: "client-appsync",
48+
AppTest: "client-apptest",
4849
ApplicationCostProfiler: "client-applicationcostprofiler",
4950
ARCZonalShift: "client-arc-zonal-shift",
5051
AugmentedAIRuntime: "client-sage-maker-a2iruntime",
@@ -102,6 +103,7 @@ export const CLIENT_PACKAGE_NAMES_MAP: Record<string, string> = {
102103
KinesisVideoWebRTCStorage: "client-kinesis-video-webrtc-storage",
103104
LakeFormation: "client-lakeformation",
104105
LexRuntime: "client-lex-runtime-service",
106+
MailManager: "client-mailmanager",
105107
ManagedBlockchain: "client-managedblockchain",
106108
ManagedBlockchainQuery: "client-managedblockchain-query",
107109
MediaPackageV2: "client-mediapackagev2",
@@ -121,6 +123,7 @@ export const CLIENT_PACKAGE_NAMES_MAP: Record<string, string> = {
121123
RolesAnywhere: "client-rolesanywhere",
122124
Route53: "client-route-53",
123125
Route53Domains: "client-route-53-domains",
126+
Route53Profiles: "client-route53profiles",
124127
Route53Resolver: "client-route53resolver",
125128
S3Control: "client-s3-control",
126129
SageMakerFeatureStoreRuntime: "client-sagemaker-featurestore-runtime",
@@ -135,6 +138,7 @@ export const CLIENT_PACKAGE_NAMES_MAP: Record<string, string> = {
135138
SSOAdmin: "client-sso-admin",
136139
SSOOIDC: "client-sso-oidc",
137140
StepFunctions: "client-sfn",
141+
TaxSettings: "client-taxsettings",
138142
TranscribeService: "client-transcribe",
139143
VerifiedPermissions: "client-verifiedpermissions",
140144
VPCLattice: "client-vpc-lattice",

0 commit comments

Comments
 (0)