Skip to content

Commit

Permalink
Transform clients published between 2024-04-11 and 2024-06-13 (#874)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored Jun 13, 2024
1 parent fa094ee commit 03c8f72
Show file tree
Hide file tree
Showing 9 changed files with 1,445 additions and 474 deletions.
5 changes: 5 additions & 0 deletions .changeset/angry-radios-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"aws-sdk-js-codemod": patch
---

Transform clients published between 2024-04-11 and 2024-06-13
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@types/node": "^14.18.33",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"aws-sdk": "2.1597.0",
"aws-sdk": "2.1641.0",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-sort-export-all": "^1.4.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ new AWS.APIGateway();
new AWS.ARCZonalShift();
new AWS.AccessAnalyzer();
new AWS.Account();
new AWS.AlexaForBusiness();
new AWS.Amp();
new AWS.Amplify();
new AWS.AmplifyBackend();
Expand All @@ -23,10 +22,12 @@ new AWS.AppMesh();
new AWS.AppRunner();
new AWS.AppStream();
new AWS.AppSync();
new AWS.AppTest();
new AWS.Appflow();
new AWS.ApplicationAutoScaling();
new AWS.ApplicationCostProfiler();
new AWS.ApplicationInsights();
new AWS.ApplicationSignals();
new AWS.Artifact();
new AWS.Athena();
new AWS.AuditManager();
Expand All @@ -37,7 +38,6 @@ new AWS.B2bi();
new AWS.BCMDataExports();
new AWS.Backup();
new AWS.BackupGateway();
new AWS.BackupStorage();
new AWS.Batch();
new AWS.Bedrock();
new AWS.BedrockAgent();
Expand Down Expand Up @@ -163,7 +163,6 @@ new AWS.GroundStation();
new AWS.GuardDuty();
new AWS.Health();
new AWS.HealthLake();
new AWS.Honeycode();
new AWS.IAM();
new AWS.IVS();
new AWS.IVSRealTime();
Expand Down Expand Up @@ -225,6 +224,7 @@ new AWS.MTurk();
new AWS.MWAA();
new AWS.MachineLearning();
new AWS.Macie2();
new AWS.MailManager();
new AWS.ManagedBlockchain();
new AWS.ManagedBlockchainQuery();
new AWS.MarketplaceAgreement();
Expand Down Expand Up @@ -271,6 +271,7 @@ new AWS.Panorama();
new AWS.PaymentCryptography();
new AWS.PaymentCryptographyData();
new AWS.PcaConnectorAd();
new AWS.PcaConnectorScep();
new AWS.Personalize();
new AWS.PersonalizeEvents();
new AWS.PersonalizeRuntime();
Expand Down Expand Up @@ -306,6 +307,7 @@ new AWS.RoboMaker();
new AWS.RolesAnywhere();
new AWS.Route53();
new AWS.Route53Domains();
new AWS.Route53Profiles();
new AWS.Route53RecoveryCluster();
new AWS.Route53RecoveryControlConfig();
new AWS.Route53RecoveryReadiness();
Expand Down Expand Up @@ -355,6 +357,7 @@ new AWS.SupplyChain();
new AWS.Support();
new AWS.SupportApp();
new AWS.Synthetics();
new AWS.TaxSettings();
new AWS.Textract();
new AWS.TimestreamInfluxDB();
new AWS.TimestreamQuery();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { AccessAnalyzer } from "@aws-sdk/client-accessanalyzer";
import { Account } from "@aws-sdk/client-account";
import { ACM } from "@aws-sdk/client-acm";
import { ACMPCA } from "@aws-sdk/client-acm-pca";
import { AlexaForBusiness } from "@aws-sdk/client-alexa-for-business";
import { Amp } from "@aws-sdk/client-amp";
import { Amplify } from "@aws-sdk/client-amplify";
import { AmplifyBackend } from "@aws-sdk/client-amplifybackend";
Expand All @@ -23,10 +22,12 @@ import { AppIntegrations } from "@aws-sdk/client-appintegrations";
import { ApplicationAutoScaling } from "@aws-sdk/client-application-auto-scaling";
import { ApplicationDiscoveryService } from "@aws-sdk/client-application-discovery-service";
import { ApplicationInsights } from "@aws-sdk/client-application-insights";
import { ApplicationSignals } from "@aws-sdk/client-application-signals";
import { ApplicationCostProfiler } from "@aws-sdk/client-applicationcostprofiler";
import { AppRunner } from "@aws-sdk/client-apprunner";
import { AppStream } from "@aws-sdk/client-appstream";
import { AppSync } from "@aws-sdk/client-appsync";
import { AppTest } from "@aws-sdk/client-apptest";
import { ARCZonalShift } from "@aws-sdk/client-arc-zonal-shift";
import { Artifact } from "@aws-sdk/client-artifact";
import { Athena } from "@aws-sdk/client-athena";
Expand All @@ -36,7 +37,6 @@ import { AutoScalingPlans } from "@aws-sdk/client-auto-scaling-plans";
import { B2bi } from "@aws-sdk/client-b2bi";
import { Backup } from "@aws-sdk/client-backup";
import { BackupGateway } from "@aws-sdk/client-backup-gateway";
import { BackupStorage } from "@aws-sdk/client-backupstorage";
import { Batch } from "@aws-sdk/client-batch";
import { BCMDataExports } from "@aws-sdk/client-bcm-data-exports";
import { Bedrock } from "@aws-sdk/client-bedrock";
Expand Down Expand Up @@ -162,7 +162,6 @@ import { GroundStation } from "@aws-sdk/client-groundstation";
import { GuardDuty } from "@aws-sdk/client-guardduty";
import { Health } from "@aws-sdk/client-health";
import { HealthLake } from "@aws-sdk/client-healthlake";
import { Honeycode } from "@aws-sdk/client-honeycode";
import { IAM } from "@aws-sdk/client-iam";
import { Identitystore } from "@aws-sdk/client-identitystore";
import { Imagebuilder } from "@aws-sdk/client-imagebuilder";
Expand Down Expand Up @@ -221,6 +220,7 @@ import { LookoutVision } from "@aws-sdk/client-lookoutvision";
import { M2 } from "@aws-sdk/client-m2";
import { MachineLearning } from "@aws-sdk/client-machine-learning";
import { Macie2 } from "@aws-sdk/client-macie2";
import { MailManager } from "@aws-sdk/client-mailmanager";
import { ManagedBlockchain } from "@aws-sdk/client-managedblockchain";
import { ManagedBlockchainQuery } from "@aws-sdk/client-managedblockchain-query";
import { MarketplaceAgreement } from "@aws-sdk/client-marketplace-agreement";
Expand Down Expand Up @@ -269,6 +269,7 @@ 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 { PcaConnectorScep } from "@aws-sdk/client-pca-connector-scep";
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 @@ -307,6 +308,7 @@ import { Route53Domains } from "@aws-sdk/client-route-53-domains";
import { Route53RecoveryCluster } from "@aws-sdk/client-route53-recovery-cluster";
import { Route53RecoveryControlConfig } from "@aws-sdk/client-route53-recovery-control-config";
import { Route53RecoveryReadiness } from "@aws-sdk/client-route53-recovery-readiness";
import { Route53Profiles } from "@aws-sdk/client-route53profiles";
import { Route53Resolver } from "@aws-sdk/client-route53resolver";
import { RUM } from "@aws-sdk/client-rum";
import { S3 } from "@aws-sdk/client-s3";
Expand Down Expand Up @@ -355,6 +357,7 @@ import { Support } from "@aws-sdk/client-support";
import { SupportApp } from "@aws-sdk/client-support-app";
import { SWF } from "@aws-sdk/client-swf";
import { Synthetics } from "@aws-sdk/client-synthetics";
import { TaxSettings } from "@aws-sdk/client-taxsettings";
import { Textract } from "@aws-sdk/client-textract";
import { TimestreamInfluxDB } from "@aws-sdk/client-timestream-influxdb";
import { TimestreamQuery } from "@aws-sdk/client-timestream-query";
Expand Down Expand Up @@ -387,7 +390,6 @@ new APIGateway();
new ARCZonalShift();
new AccessAnalyzer();
new Account();
new AlexaForBusiness();
new Amp();
new Amplify();
new AmplifyBackend();
Expand All @@ -402,10 +404,12 @@ new AppMesh();
new AppRunner();
new AppStream();
new AppSync();
new AppTest();
new Appflow();
new ApplicationAutoScaling();
new ApplicationCostProfiler();
new ApplicationInsights();
new ApplicationSignals();
new Artifact();
new Athena();
new AuditManager();
Expand All @@ -416,7 +420,6 @@ new B2bi();
new BCMDataExports();
new Backup();
new BackupGateway();
new BackupStorage();
new Batch();
new Bedrock();
new BedrockAgent();
Expand Down Expand Up @@ -542,7 +545,6 @@ new GroundStation();
new GuardDuty();
new Health();
new HealthLake();
new Honeycode();
new IAM();
new Ivs();
new IVSRealTime();
Expand Down Expand Up @@ -604,6 +606,7 @@ new MTurk();
new MWAA();
new MachineLearning();
new Macie2();
new MailManager();
new ManagedBlockchain();
new ManagedBlockchainQuery();
new MarketplaceAgreement();
Expand Down Expand Up @@ -650,6 +653,7 @@ new Panorama();
new PaymentCryptography();
new PaymentCryptographyData();
new PcaConnectorAd();
new PcaConnectorScep();
new Personalize();
new PersonalizeEvents();
new PersonalizeRuntime();
Expand Down Expand Up @@ -685,6 +689,7 @@ new RoboMaker();
new RolesAnywhere();
new Route53();
new Route53Domains();
new Route53Profiles();
new Route53RecoveryCluster();
new Route53RecoveryControlConfig();
new Route53RecoveryReadiness();
Expand Down Expand Up @@ -734,6 +739,7 @@ new SupplyChain();
new Support();
new SupportApp();
new Synthetics();
new TaxSettings();
new Textract();
new TimestreamInfluxDB();
new TimestreamQuery();
Expand Down
9 changes: 6 additions & 3 deletions src/transforms/v2-to-v3/config/CLIENT_NAMES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export const CLIENT_NAMES = [
"ARCZonalShift",
"AccessAnalyzer",
"Account",
"AlexaForBusiness",
"Amp",
"Amplify",
"AmplifyBackend",
Expand All @@ -21,10 +20,12 @@ export const CLIENT_NAMES = [
"AppRunner",
"AppStream",
"AppSync",
"AppTest",
"Appflow",
"ApplicationAutoScaling",
"ApplicationCostProfiler",
"ApplicationInsights",
"ApplicationSignals",
"Artifact",
"Athena",
"AuditManager",
Expand All @@ -35,7 +36,6 @@ export const CLIENT_NAMES = [
"BCMDataExports",
"Backup",
"BackupGateway",
"BackupStorage",
"Batch",
"Bedrock",
"BedrockAgent",
Expand Down Expand Up @@ -161,7 +161,6 @@ export const CLIENT_NAMES = [
"GuardDuty",
"Health",
"HealthLake",
"Honeycode",
"IAM",
"IVS",
"IVSRealTime",
Expand Down Expand Up @@ -223,6 +222,7 @@ export const CLIENT_NAMES = [
"MWAA",
"MachineLearning",
"Macie2",
"MailManager",
"ManagedBlockchain",
"ManagedBlockchainQuery",
"MarketplaceAgreement",
Expand Down Expand Up @@ -269,6 +269,7 @@ export const CLIENT_NAMES = [
"PaymentCryptography",
"PaymentCryptographyData",
"PcaConnectorAd",
"PcaConnectorScep",
"Personalize",
"PersonalizeEvents",
"PersonalizeRuntime",
Expand Down Expand Up @@ -304,6 +305,7 @@ export const CLIENT_NAMES = [
"RolesAnywhere",
"Route53",
"Route53Domains",
"Route53Profiles",
"Route53RecoveryCluster",
"Route53RecoveryControlConfig",
"Route53RecoveryReadiness",
Expand Down Expand Up @@ -353,6 +355,7 @@ export const CLIENT_NAMES = [
"Support",
"SupportApp",
"Synthetics",
"TaxSettings",
"Textract",
"TimestreamInfluxDB",
"TimestreamQuery",
Expand Down
4 changes: 4 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 @@ -45,6 +45,7 @@ export const CLIENT_PACKAGE_NAMES_MAP: Record<string, string> = {
AppRunner: "client-apprunner",
AppStream: "client-appstream",
AppSync: "client-appsync",
AppTest: "client-apptest",
ApplicationCostProfiler: "client-applicationcostprofiler",
ARCZonalShift: "client-arc-zonal-shift",
AugmentedAIRuntime: "client-sage-maker-a2iruntime",
Expand Down Expand Up @@ -102,6 +103,7 @@ export const CLIENT_PACKAGE_NAMES_MAP: Record<string, string> = {
KinesisVideoWebRTCStorage: "client-kinesis-video-webrtc-storage",
LakeFormation: "client-lakeformation",
LexRuntime: "client-lex-runtime-service",
MailManager: "client-mailmanager",
ManagedBlockchain: "client-managedblockchain",
ManagedBlockchainQuery: "client-managedblockchain-query",
MediaPackageV2: "client-mediapackagev2",
Expand All @@ -121,6 +123,7 @@ export const CLIENT_PACKAGE_NAMES_MAP: Record<string, string> = {
RolesAnywhere: "client-rolesanywhere",
Route53: "client-route-53",
Route53Domains: "client-route-53-domains",
Route53Profiles: "client-route53profiles",
Route53Resolver: "client-route53resolver",
S3Control: "client-s3-control",
SageMakerFeatureStoreRuntime: "client-sagemaker-featurestore-runtime",
Expand All @@ -135,6 +138,7 @@ export const CLIENT_PACKAGE_NAMES_MAP: Record<string, string> = {
SSOAdmin: "client-sso-admin",
SSOOIDC: "client-sso-oidc",
StepFunctions: "client-sfn",
TaxSettings: "client-taxsettings",
TranscribeService: "client-transcribe",
VerifiedPermissions: "client-verifiedpermissions",
VPCLattice: "client-vpc-lattice",
Expand Down
Loading

0 comments on commit 03c8f72

Please sign in to comment.