Skip to content

Commit

Permalink
Transform clients published between 2023-07-27 and 2023-09-13 (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Sep 15, 2023
1 parent 58d556f commit ca4c2af
Show file tree
Hide file tree
Showing 9 changed files with 822 additions and 16 deletions.
5 changes: 5 additions & 0 deletions .changeset/thick-bobcats-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"aws-sdk-js-codemod": patch
---

Transform clients published between 2023-07-27 and 2023-09-13
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@types/node": "^14.18.33",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"aws-sdk": "2.1422.0",
"aws-sdk": "2.1457.0",
"eslint": "^8.48.0",
"eslint-plugin-import": "^2.28.1",
"lint-staged": "^13.0.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ new AWS.ElastiCache();
new AWS.ElasticBeanstalk();
new AWS.ElasticInference();
new AWS.ElasticTranscoder();
new AWS.EntityResolution();
new AWS.EventBridge();
new AWS.Evidently();
new AWS.FMS();
Expand Down Expand Up @@ -210,6 +211,7 @@ new AWS.MachineLearning();
new AWS.Macie();
new AWS.Macie2();
new AWS.ManagedBlockchain();
new AWS.ManagedBlockchainQuery();
new AWS.MarketplaceCatalog();
new AWS.MarketplaceCommerceAnalytics();
new AWS.MarketplaceEntitlementService();
Expand All @@ -233,6 +235,7 @@ new AWS.MigrationHubRefactorSpaces();
new AWS.MigrationHubStrategy();
new AWS.Mobile();
new AWS.Neptune();
new AWS.Neptunedata();
new AWS.NetworkFirewall();
new AWS.NetworkManager();
new AWS.Nimble();
Expand All @@ -249,6 +252,7 @@ new AWS.PI();
new AWS.Panorama();
new AWS.PaymentCryptography();
new AWS.PaymentCryptographyData();
new AWS.PcaConnectorAd();
new AWS.Personalize();
new AWS.PersonalizeEvents();
new AWS.PersonalizeRuntime();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ import { ElasticsearchService as ES } from "@aws-sdk/client-elasticsearch-servic
import { EMR } from "@aws-sdk/client-emr";
import { EMRContainers as EMRcontainers } from "@aws-sdk/client-emr-containers";
import { EMRServerless } from "@aws-sdk/client-emr-serverless";
import { EntityResolution } from "@aws-sdk/client-entityresolution";
import { EventBridge } from "@aws-sdk/client-eventbridge";
import { Evidently } from "@aws-sdk/client-evidently";
import { Finspace } from "@aws-sdk/client-finspace";
Expand Down Expand Up @@ -206,6 +207,7 @@ import { MachineLearning } from "@aws-sdk/client-machine-learning";
import { Macie } from "@aws-sdk/client-macie";
import { Macie2 } from "@aws-sdk/client-macie2";
import { ManagedBlockchain } from "@aws-sdk/client-managedblockchain";
import { ManagedBlockchainQuery } from "@aws-sdk/client-managedblockchain-query";
import { MarketplaceCatalog } from "@aws-sdk/client-marketplace-catalog";
import { MarketplaceCommerceAnalytics } from "@aws-sdk/client-marketplace-commerce-analytics";
import { MarketplaceEntitlementService } from "@aws-sdk/client-marketplace-entitlement-service";
Expand All @@ -232,6 +234,7 @@ import { Mq as MQ } from "@aws-sdk/client-mq";
import { MTurk } from "@aws-sdk/client-mturk";
import { MWAA } from "@aws-sdk/client-mwaa";
import { Neptune } from "@aws-sdk/client-neptune";
import { Neptunedata } from "@aws-sdk/client-neptunedata";
import { NetworkFirewall } from "@aws-sdk/client-network-firewall";
import { NetworkManager } from "@aws-sdk/client-networkmanager";
import { Nimble } from "@aws-sdk/client-nimble";
Expand All @@ -247,6 +250,7 @@ import { Outposts } from "@aws-sdk/client-outposts";
import { Panorama } from "@aws-sdk/client-panorama";
import { PaymentCryptography } from "@aws-sdk/client-payment-cryptography";
import { PaymentCryptographyData } from "@aws-sdk/client-payment-cryptography-data";
import { PcaConnectorAd } from "@aws-sdk/client-pca-connector-ad";
import { Personalize } from "@aws-sdk/client-personalize";
import { PersonalizeEvents } from "@aws-sdk/client-personalize-events";
import { PersonalizeRuntime } from "@aws-sdk/client-personalize-runtime";
Expand Down Expand Up @@ -474,6 +478,7 @@ new ElastiCache();
new ElasticBeanstalk();
new ElasticInference();
new ElasticTranscoder();
new EntityResolution();
new EventBridge();
new Evidently();
new FMS();
Expand Down Expand Up @@ -560,6 +565,7 @@ new MachineLearning();
new Macie();
new Macie2();
new ManagedBlockchain();
new ManagedBlockchainQuery();
new MarketplaceCatalog();
new MarketplaceCommerceAnalytics();
new MarketplaceEntitlementService();
Expand All @@ -583,6 +589,7 @@ new MigrationHubRefactorSpaces();
new MigrationHubStrategy();
new Mobile();
new Neptune();
new Neptunedata();
new NetworkFirewall();
new NetworkManager();
new Nimble();
Expand All @@ -599,6 +606,7 @@ new PI();
new Panorama();
new PaymentCryptography();
new PaymentCryptographyData();
new PcaConnectorAd();
new Personalize();
new PersonalizeEvents();
new PersonalizeRuntime();
Expand Down
4 changes: 4 additions & 0 deletions src/transforms/v2-to-v3/config/CLIENT_NAMES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export const CLIENT_NAMES = [
"ElasticBeanstalk",
"ElasticInference",
"ElasticTranscoder",
"EntityResolution",
"EventBridge",
"Evidently",
"FMS",
Expand Down Expand Up @@ -208,6 +209,7 @@ export const CLIENT_NAMES = [
"Macie",
"Macie2",
"ManagedBlockchain",
"ManagedBlockchainQuery",
"MarketplaceCatalog",
"MarketplaceCommerceAnalytics",
"MarketplaceEntitlementService",
Expand All @@ -231,6 +233,7 @@ export const CLIENT_NAMES = [
"MigrationHubStrategy",
"Mobile",
"Neptune",
"Neptunedata",
"NetworkFirewall",
"NetworkManager",
"Nimble",
Expand All @@ -247,6 +250,7 @@ export const CLIENT_NAMES = [
"Panorama",
"PaymentCryptography",
"PaymentCryptographyData",
"PcaConnectorAd",
"Personalize",
"PersonalizeEvents",
"PersonalizeRuntime",
Expand Down
2 changes: 2 additions & 0 deletions src/transforms/v2-to-v3/config/CLIENT_PACKAGE_NAMES_MAP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export const CLIENT_PACKAGE_NAMES_MAP: Record<string, string> = {
ELB: "client-elastic-load-balancing",
ELBv2: "client-elastic-load-balancing-v2",
ElastiCache: "client-elasticache",
EntityResolution: "client-entityresolution",
EMRcontainers: "client-emr-containers",
EMRServerless: "client-emr-serverless",
ES: "client-elasticsearch-service",
Expand Down Expand Up @@ -95,6 +96,7 @@ export const CLIENT_PACKAGE_NAMES_MAP: Record<string, string> = {
LakeFormation: "client-lakeformation",
LexRuntime: "client-lex-runtime-service",
ManagedBlockchain: "client-managedblockchain",
ManagedBlockchainQuery: "client-managedblockchain-query",
MediaPackageV2: "client-mediapackagev2",
MigrationHubConfig: "client-migrationhub-config",
MigrationHubRefactorSpaces: "client-migration-hub-refactor-spaces",
Expand Down
Loading

0 comments on commit ca4c2af

Please sign in to comment.