Skip to content

Commit bb1d449

Browse files
authored
Transform clients published between 2024-06-14 and 2024-09-04 (#937)
1 parent b19e54e commit bb1d449

File tree

9 files changed

+1275
-173
lines changed

9 files changed

+1275
-173
lines changed

.changeset/twelve-candles-fail.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-06-14 and 2024-09-04

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"@tsconfig/node16": "^16.1.3",
5151
"@types/jscodeshift": "^0.11.11",
5252
"@types/node": "^16.18.101",
53-
"aws-sdk": "2.1641.0",
53+
"aws-sdk": "2.1689.0",
5454
"tsx": "^4.7.1",
5555
"typescript": "~5.5.2",
5656
"vitest": "~2.0.1"

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ new AWS.CodeGuruProfiler();
8080
new AWS.CodeGuruReviewer();
8181
new AWS.CodeGuruSecurity();
8282
new AWS.CodePipeline();
83-
new AWS.CodeStar();
8483
new AWS.CodeStarNotifications();
8584
new AWS.CodeStarconnections();
8685
new AWS.CognitoIdentity();
@@ -250,7 +249,6 @@ new AWS.MigrationHubConfig();
250249
new AWS.MigrationHubOrchestrator();
251250
new AWS.MigrationHubRefactorSpaces();
252251
new AWS.MigrationHubStrategy();
253-
new AWS.Mobile();
254252
new AWS.Neptune();
255253
new AWS.Neptunedata();
256254
new AWS.NetworkFirewall();
@@ -266,6 +264,7 @@ new AWS.OpsWorks();
266264
new AWS.OpsWorksCM();
267265
new AWS.Organizations();
268266
new AWS.Outposts();
267+
new AWS.PCS();
269268
new AWS.PI();
270269
new AWS.Panorama();
271270
new AWS.PaymentCryptography();
@@ -284,6 +283,7 @@ new AWS.Polly();
284283
new AWS.Pricing();
285284
new AWS.PrivateNetworks();
286285
new AWS.Proton();
286+
new AWS.QApps();
287287
new AWS.QBusiness();
288288
new AWS.QConnect();
289289
new AWS.QLDB();
@@ -323,6 +323,7 @@ new AWS.SQS();
323323
new AWS.SSM();
324324
new AWS.SSMContacts();
325325
new AWS.SSMIncidents();
326+
new AWS.SSMQuickSetup();
326327
new AWS.SSO();
327328
new AWS.SSOAdmin();
328329
new AWS.SSOOIDC();

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ import { CodeGuruReviewer } from "@aws-sdk/client-codeguru-reviewer";
7979
import { CodeGuruSecurity } from "@aws-sdk/client-codeguru-security";
8080
import { CodeGuruProfiler } from "@aws-sdk/client-codeguruprofiler";
8181
import { CodePipeline } from "@aws-sdk/client-codepipeline";
82-
import { CodeStar } from "@aws-sdk/client-codestar";
8382
import { CodeStarConnections } from "@aws-sdk/client-codestar-connections";
8483
import { CodestarNotifications } from "@aws-sdk/client-codestar-notifications";
8584
import { CognitoIdentity } from "@aws-sdk/client-cognito-identity";
@@ -246,7 +245,6 @@ import { MigrationHubRefactorSpaces } from "@aws-sdk/client-migration-hub-refact
246245
import { MigrationHubConfig } from "@aws-sdk/client-migrationhub-config";
247246
import { MigrationHubOrchestrator } from "@aws-sdk/client-migrationhuborchestrator";
248247
import { MigrationHubStrategy } from "@aws-sdk/client-migrationhubstrategy";
249-
import { Mobile } from "@aws-sdk/client-mobile";
250248
import { Mq } from "@aws-sdk/client-mq";
251249
import { MTurk } from "@aws-sdk/client-mturk";
252250
import { MWAA } from "@aws-sdk/client-mwaa";
@@ -270,6 +268,7 @@ import { PaymentCryptography } from "@aws-sdk/client-payment-cryptography";
270268
import { PaymentCryptographyData } from "@aws-sdk/client-payment-cryptography-data";
271269
import { PcaConnectorAd } from "@aws-sdk/client-pca-connector-ad";
272270
import { PcaConnectorScep } from "@aws-sdk/client-pca-connector-scep";
271+
import { PCS } from "@aws-sdk/client-pcs";
273272
import { Personalize } from "@aws-sdk/client-personalize";
274273
import { PersonalizeEvents } from "@aws-sdk/client-personalize-events";
275274
import { PersonalizeRuntime } from "@aws-sdk/client-personalize-runtime";
@@ -283,6 +282,7 @@ import { Polly } from "@aws-sdk/client-polly";
283282
import { Pricing } from "@aws-sdk/client-pricing";
284283
import { PrivateNetworks } from "@aws-sdk/client-privatenetworks";
285284
import { Proton } from "@aws-sdk/client-proton";
285+
import { QApps } from "@aws-sdk/client-qapps";
286286
import { QBusiness } from "@aws-sdk/client-qbusiness";
287287
import { QConnect } from "@aws-sdk/client-qconnect";
288288
import { QLDB } from "@aws-sdk/client-qldb";
@@ -346,6 +346,7 @@ import { SQS } from "@aws-sdk/client-sqs";
346346
import { SSM } from "@aws-sdk/client-ssm";
347347
import { SSMContacts } from "@aws-sdk/client-ssm-contacts";
348348
import { SSMIncidents } from "@aws-sdk/client-ssm-incidents";
349+
import { SSMQuickSetup } from "@aws-sdk/client-ssm-quicksetup";
349350
import { SsmSap } from "@aws-sdk/client-ssm-sap";
350351
import { SSO } from "@aws-sdk/client-sso";
351352
import { SSOAdmin } from "@aws-sdk/client-sso-admin";
@@ -462,7 +463,6 @@ new CodeGuruProfiler();
462463
new CodeGuruReviewer();
463464
new CodeGuruSecurity();
464465
new CodePipeline();
465-
new CodeStar();
466466
new CodestarNotifications();
467467
new CodeStarConnections();
468468
new CognitoIdentity();
@@ -632,7 +632,6 @@ new MigrationHubConfig();
632632
new MigrationHubOrchestrator();
633633
new MigrationHubRefactorSpaces();
634634
new MigrationHubStrategy();
635-
new Mobile();
636635
new Neptune();
637636
new Neptunedata();
638637
new NetworkFirewall();
@@ -648,6 +647,7 @@ new OpsWorks();
648647
new OpsWorksCM();
649648
new Organizations();
650649
new Outposts();
650+
new PCS();
651651
new PI();
652652
new Panorama();
653653
new PaymentCryptography();
@@ -666,6 +666,7 @@ new Polly();
666666
new Pricing();
667667
new PrivateNetworks();
668668
new Proton();
669+
new QApps();
669670
new QBusiness();
670671
new QConnect();
671672
new QLDB();
@@ -705,6 +706,7 @@ new SQS();
705706
new SSM();
706707
new SSMContacts();
707708
new SSMIncidents();
709+
new SSMQuickSetup();
708710
new SSO();
709711
new SSOAdmin();
710712
new SSOOIDC();

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ export const CLIENT_NAMES = [
7878
"CodeGuruReviewer",
7979
"CodeGuruSecurity",
8080
"CodePipeline",
81-
"CodeStar",
8281
"CodeStarNotifications",
8382
"CodeStarconnections",
8483
"CognitoIdentity",
@@ -248,7 +247,6 @@ export const CLIENT_NAMES = [
248247
"MigrationHubOrchestrator",
249248
"MigrationHubRefactorSpaces",
250249
"MigrationHubStrategy",
251-
"Mobile",
252250
"Neptune",
253251
"Neptunedata",
254252
"NetworkFirewall",
@@ -264,6 +262,7 @@ export const CLIENT_NAMES = [
264262
"OpsWorksCM",
265263
"Organizations",
266264
"Outposts",
265+
"PCS",
267266
"PI",
268267
"Panorama",
269268
"PaymentCryptography",
@@ -282,6 +281,7 @@ export const CLIENT_NAMES = [
282281
"Pricing",
283282
"PrivateNetworks",
284283
"Proton",
284+
"QApps",
285285
"QBusiness",
286286
"QConnect",
287287
"QLDB",
@@ -321,6 +321,7 @@ export const CLIENT_NAMES = [
321321
"SSM",
322322
"SSMContacts",
323323
"SSMIncidents",
324+
"SSMQuickSetup",
324325
"SSO",
325326
"SSOAdmin",
326327
"SSOOIDC",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ export const CLIENT_PACKAGE_NAMES_MAP: Record<string, string> = {
132132
SimSpaceWeaver: "client-simspaceweaver",
133133
SSMContacts: "client-ssm-contacts",
134134
SSMIncidents: "client-ssm-incidents",
135+
SSMQuickSetup: "client-ssm-quicksetup",
135136
SSOAdmin: "client-sso-admin",
136137
SSOOIDC: "client-sso-oidc",
137138
StepFunctions: "client-sfn",

0 commit comments

Comments
 (0)