Skip to content

Commit ca4c2af

Browse files
authored
Transform clients published between 2023-07-27 and 2023-09-13 (#582)
1 parent 58d556f commit ca4c2af

File tree

9 files changed

+822
-16
lines changed

9 files changed

+822
-16
lines changed

.changeset/thick-bobcats-shake.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-07-27 and 2023-09-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.1422.0",
51+
"aws-sdk": "2.1457.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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ new AWS.ElastiCache();
124124
new AWS.ElasticBeanstalk();
125125
new AWS.ElasticInference();
126126
new AWS.ElasticTranscoder();
127+
new AWS.EntityResolution();
127128
new AWS.EventBridge();
128129
new AWS.Evidently();
129130
new AWS.FMS();
@@ -210,6 +211,7 @@ new AWS.MachineLearning();
210211
new AWS.Macie();
211212
new AWS.Macie2();
212213
new AWS.ManagedBlockchain();
214+
new AWS.ManagedBlockchainQuery();
213215
new AWS.MarketplaceCatalog();
214216
new AWS.MarketplaceCommerceAnalytics();
215217
new AWS.MarketplaceEntitlementService();
@@ -233,6 +235,7 @@ new AWS.MigrationHubRefactorSpaces();
233235
new AWS.MigrationHubStrategy();
234236
new AWS.Mobile();
235237
new AWS.Neptune();
238+
new AWS.Neptunedata();
236239
new AWS.NetworkFirewall();
237240
new AWS.NetworkManager();
238241
new AWS.Nimble();
@@ -249,6 +252,7 @@ new AWS.PI();
249252
new AWS.Panorama();
250253
new AWS.PaymentCryptography();
251254
new AWS.PaymentCryptographyData();
255+
new AWS.PcaConnectorAd();
252256
new AWS.Personalize();
253257
new AWS.PersonalizeEvents();
254258
new AWS.PersonalizeRuntime();

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ import { ElasticsearchService as ES } from "@aws-sdk/client-elasticsearch-servic
123123
import { EMR } from "@aws-sdk/client-emr";
124124
import { EMRContainers as EMRcontainers } from "@aws-sdk/client-emr-containers";
125125
import { EMRServerless } from "@aws-sdk/client-emr-serverless";
126+
import { EntityResolution } from "@aws-sdk/client-entityresolution";
126127
import { EventBridge } from "@aws-sdk/client-eventbridge";
127128
import { Evidently } from "@aws-sdk/client-evidently";
128129
import { Finspace } from "@aws-sdk/client-finspace";
@@ -206,6 +207,7 @@ import { MachineLearning } from "@aws-sdk/client-machine-learning";
206207
import { Macie } from "@aws-sdk/client-macie";
207208
import { Macie2 } from "@aws-sdk/client-macie2";
208209
import { ManagedBlockchain } from "@aws-sdk/client-managedblockchain";
210+
import { ManagedBlockchainQuery } from "@aws-sdk/client-managedblockchain-query";
209211
import { MarketplaceCatalog } from "@aws-sdk/client-marketplace-catalog";
210212
import { MarketplaceCommerceAnalytics } from "@aws-sdk/client-marketplace-commerce-analytics";
211213
import { MarketplaceEntitlementService } from "@aws-sdk/client-marketplace-entitlement-service";
@@ -232,6 +234,7 @@ import { Mq as MQ } from "@aws-sdk/client-mq";
232234
import { MTurk } from "@aws-sdk/client-mturk";
233235
import { MWAA } from "@aws-sdk/client-mwaa";
234236
import { Neptune } from "@aws-sdk/client-neptune";
237+
import { Neptunedata } from "@aws-sdk/client-neptunedata";
235238
import { NetworkFirewall } from "@aws-sdk/client-network-firewall";
236239
import { NetworkManager } from "@aws-sdk/client-networkmanager";
237240
import { Nimble } from "@aws-sdk/client-nimble";
@@ -247,6 +250,7 @@ import { Outposts } from "@aws-sdk/client-outposts";
247250
import { Panorama } from "@aws-sdk/client-panorama";
248251
import { PaymentCryptography } from "@aws-sdk/client-payment-cryptography";
249252
import { PaymentCryptographyData } from "@aws-sdk/client-payment-cryptography-data";
253+
import { PcaConnectorAd } from "@aws-sdk/client-pca-connector-ad";
250254
import { Personalize } from "@aws-sdk/client-personalize";
251255
import { PersonalizeEvents } from "@aws-sdk/client-personalize-events";
252256
import { PersonalizeRuntime } from "@aws-sdk/client-personalize-runtime";
@@ -474,6 +478,7 @@ new ElastiCache();
474478
new ElasticBeanstalk();
475479
new ElasticInference();
476480
new ElasticTranscoder();
481+
new EntityResolution();
477482
new EventBridge();
478483
new Evidently();
479484
new FMS();
@@ -560,6 +565,7 @@ new MachineLearning();
560565
new Macie();
561566
new Macie2();
562567
new ManagedBlockchain();
568+
new ManagedBlockchainQuery();
563569
new MarketplaceCatalog();
564570
new MarketplaceCommerceAnalytics();
565571
new MarketplaceEntitlementService();
@@ -583,6 +589,7 @@ new MigrationHubRefactorSpaces();
583589
new MigrationHubStrategy();
584590
new Mobile();
585591
new Neptune();
592+
new Neptunedata();
586593
new NetworkFirewall();
587594
new NetworkManager();
588595
new Nimble();
@@ -599,6 +606,7 @@ new PI();
599606
new Panorama();
600607
new PaymentCryptography();
601608
new PaymentCryptographyData();
609+
new PcaConnectorAd();
602610
new Personalize();
603611
new PersonalizeEvents();
604612
new PersonalizeRuntime();

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ export const CLIENT_NAMES = [
122122
"ElasticBeanstalk",
123123
"ElasticInference",
124124
"ElasticTranscoder",
125+
"EntityResolution",
125126
"EventBridge",
126127
"Evidently",
127128
"FMS",
@@ -208,6 +209,7 @@ export const CLIENT_NAMES = [
208209
"Macie",
209210
"Macie2",
210211
"ManagedBlockchain",
212+
"ManagedBlockchainQuery",
211213
"MarketplaceCatalog",
212214
"MarketplaceCommerceAnalytics",
213215
"MarketplaceEntitlementService",
@@ -231,6 +233,7 @@ export const CLIENT_NAMES = [
231233
"MigrationHubStrategy",
232234
"Mobile",
233235
"Neptune",
236+
"Neptunedata",
234237
"NetworkFirewall",
235238
"NetworkManager",
236239
"Nimble",
@@ -247,6 +250,7 @@ export const CLIENT_NAMES = [
247250
"Panorama",
248251
"PaymentCryptography",
249252
"PaymentCryptographyData",
253+
"PcaConnectorAd",
250254
"Personalize",
251255
"PersonalizeEvents",
252256
"PersonalizeRuntime",

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
@@ -64,6 +64,7 @@ export const CLIENT_PACKAGE_NAMES_MAP: Record<string, string> = {
6464
ELB: "client-elastic-load-balancing",
6565
ELBv2: "client-elastic-load-balancing-v2",
6666
ElastiCache: "client-elasticache",
67+
EntityResolution: "client-entityresolution",
6768
EMRcontainers: "client-emr-containers",
6869
EMRServerless: "client-emr-serverless",
6970
ES: "client-elasticsearch-service",
@@ -95,6 +96,7 @@ export const CLIENT_PACKAGE_NAMES_MAP: Record<string, string> = {
9596
LakeFormation: "client-lakeformation",
9697
LexRuntime: "client-lex-runtime-service",
9798
ManagedBlockchain: "client-managedblockchain",
99+
ManagedBlockchainQuery: "client-managedblockchain-query",
98100
MediaPackageV2: "client-mediapackagev2",
99101
MigrationHubConfig: "client-migrationhub-config",
100102
MigrationHubRefactorSpaces: "client-migration-hub-refactor-spaces",

0 commit comments

Comments
 (0)