Skip to content

Commit

Permalink
chore(codegen): refactor writeAdditionalFiles and writeAdditionalExpo…
Browse files Browse the repository at this point in the history
…rts logic into customize (#4014)
  • Loading branch information
AndrewFossAWS authored Oct 11, 2022
1 parent 625092f commit ed7cec2
Show file tree
Hide file tree
Showing 320 changed files with 365 additions and 8 deletions.
1 change: 1 addition & 0 deletions clients/client-accessanalyzer/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./AccessAnalyzerClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { AccessAnalyzerServiceException } from "./models/AccessAnalyzerServiceException";
1 change: 1 addition & 0 deletions clients/client-account/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export * from "./Account";
export * from "./AccountClient";
export * from "./commands";
export * from "./models";

export { AccountServiceException } from "./models/AccountServiceException";
1 change: 1 addition & 0 deletions clients/client-acm-pca/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ export * from "./commands";
export * from "./models";
export * from "./pagination";
export * from "./waiters";

export { ACMPCAServiceException } from "./models/ACMPCAServiceException";
1 change: 1 addition & 0 deletions clients/client-acm/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ export * from "./commands";
export * from "./models";
export * from "./pagination";
export * from "./waiters";

export { ACMServiceException } from "./models/ACMServiceException";
1 change: 1 addition & 0 deletions clients/client-alexa-for-business/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./AlexaForBusinessClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { AlexaForBusinessServiceException } from "./models/AlexaForBusinessServiceException";
1 change: 1 addition & 0 deletions clients/client-amp/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ export * from "./commands";
export * from "./models";
export * from "./pagination";
export * from "./waiters";

export { AmpServiceException } from "./models/AmpServiceException";
1 change: 1 addition & 0 deletions clients/client-amplify/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export * from "./Amplify";
export * from "./AmplifyClient";
export * from "./commands";
export * from "./models";

export { AmplifyServiceException } from "./models/AmplifyServiceException";
1 change: 1 addition & 0 deletions clients/client-amplifybackend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export * from "./AmplifyBackend";
export * from "./AmplifyBackendClient";
export * from "./commands";
export * from "./models";

export { AmplifyBackendServiceException } from "./models/AmplifyBackendServiceException";
1 change: 1 addition & 0 deletions clients/client-amplifyuibuilder/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./AmplifyUIBuilderClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { AmplifyUIBuilderServiceException } from "./models/AmplifyUIBuilderServiceException";
1 change: 1 addition & 0 deletions clients/client-api-gateway/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./APIGatewayClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { APIGatewayServiceException } from "./models/APIGatewayServiceException";
1 change: 1 addition & 0 deletions clients/client-apigatewaymanagementapi/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export * from "./ApiGatewayManagementApi";
export * from "./ApiGatewayManagementApiClient";
export * from "./commands";
export * from "./models";

export { ApiGatewayManagementApiServiceException } from "./models/ApiGatewayManagementApiServiceException";
1 change: 1 addition & 0 deletions clients/client-apigatewayv2/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export * from "./ApiGatewayV2";
export * from "./ApiGatewayV2Client";
export * from "./commands";
export * from "./models";

export { ApiGatewayV2ServiceException } from "./models/ApiGatewayV2ServiceException";
1 change: 1 addition & 0 deletions clients/client-app-mesh/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./AppMeshClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { AppMeshServiceException } from "./models/AppMeshServiceException";
1 change: 1 addition & 0 deletions clients/client-appconfig/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./AppConfigClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { AppConfigServiceException } from "./models/AppConfigServiceException";
1 change: 1 addition & 0 deletions clients/client-appconfigdata/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export * from "./AppConfigData";
export * from "./AppConfigDataClient";
export * from "./commands";
export * from "./models";

export { AppConfigDataServiceException } from "./models/AppConfigDataServiceException";
1 change: 1 addition & 0 deletions clients/client-appflow/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./AppflowClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { AppflowServiceException } from "./models/AppflowServiceException";
1 change: 1 addition & 0 deletions clients/client-appintegrations/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export * from "./AppIntegrations";
export * from "./AppIntegrationsClient";
export * from "./commands";
export * from "./models";

export { AppIntegrationsServiceException } from "./models/AppIntegrationsServiceException";
1 change: 1 addition & 0 deletions clients/client-application-auto-scaling/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./ApplicationAutoScalingClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { ApplicationAutoScalingServiceException } from "./models/ApplicationAutoScalingServiceException";
1 change: 1 addition & 0 deletions clients/client-application-discovery-service/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./ApplicationDiscoveryServiceClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { ApplicationDiscoveryServiceServiceException } from "./models/ApplicationDiscoveryServiceServiceException";
1 change: 1 addition & 0 deletions clients/client-application-insights/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./ApplicationInsightsClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { ApplicationInsightsServiceException } from "./models/ApplicationInsightsServiceException";
1 change: 1 addition & 0 deletions clients/client-applicationcostprofiler/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./ApplicationCostProfilerClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { ApplicationCostProfilerServiceException } from "./models/ApplicationCostProfilerServiceException";
1 change: 1 addition & 0 deletions clients/client-apprunner/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./AppRunnerClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { AppRunnerServiceException } from "./models/AppRunnerServiceException";
1 change: 1 addition & 0 deletions clients/client-appstream/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ export * from "./commands";
export * from "./models";
export * from "./pagination";
export * from "./waiters";

export { AppStreamServiceException } from "./models/AppStreamServiceException";
1 change: 1 addition & 0 deletions clients/client-appsync/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export * from "./AppSync";
export * from "./AppSyncClient";
export * from "./commands";
export * from "./models";

export { AppSyncServiceException } from "./models/AppSyncServiceException";
1 change: 1 addition & 0 deletions clients/client-athena/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./AthenaClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { AthenaServiceException } from "./models/AthenaServiceException";
1 change: 1 addition & 0 deletions clients/client-auditmanager/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./AuditManagerClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { AuditManagerServiceException } from "./models/AuditManagerServiceException";
1 change: 1 addition & 0 deletions clients/client-auto-scaling-plans/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export * from "./AutoScalingPlans";
export * from "./AutoScalingPlansClient";
export * from "./commands";
export * from "./models";

export { AutoScalingPlansServiceException } from "./models/AutoScalingPlansServiceException";
1 change: 1 addition & 0 deletions clients/client-auto-scaling/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ export * from "./commands";
export * from "./models";
export * from "./pagination";
export * from "./waiters";

export { AutoScalingServiceException } from "./models/AutoScalingServiceException";
1 change: 1 addition & 0 deletions clients/client-backup-gateway/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./BackupGatewayClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { BackupGatewayServiceException } from "./models/BackupGatewayServiceException";
1 change: 1 addition & 0 deletions clients/client-backup/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./BackupClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { BackupServiceException } from "./models/BackupServiceException";
1 change: 1 addition & 0 deletions clients/client-backupstorage/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./BackupStorageClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { BackupStorageServiceException } from "./models/BackupStorageServiceException";
1 change: 1 addition & 0 deletions clients/client-batch/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./BatchClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { BatchServiceException } from "./models/BatchServiceException";
1 change: 1 addition & 0 deletions clients/client-billingconductor/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./BillingconductorClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { BillingconductorServiceException } from "./models/BillingconductorServiceException";
1 change: 1 addition & 0 deletions clients/client-braket/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./BraketClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { BraketServiceException } from "./models/BraketServiceException";
1 change: 1 addition & 0 deletions clients/client-budgets/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./BudgetsClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { BudgetsServiceException } from "./models/BudgetsServiceException";
1 change: 1 addition & 0 deletions clients/client-chime-sdk-identity/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./ChimeSDKIdentityClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { ChimeSDKIdentityServiceException } from "./models/ChimeSDKIdentityServiceException";
1 change: 1 addition & 0 deletions clients/client-chime-sdk-media-pipelines/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./ChimeSDKMediaPipelinesClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { ChimeSDKMediaPipelinesServiceException } from "./models/ChimeSDKMediaPipelinesServiceException";
1 change: 1 addition & 0 deletions clients/client-chime-sdk-meetings/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./ChimeSDKMeetingsClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { ChimeSDKMeetingsServiceException } from "./models/ChimeSDKMeetingsServiceException";
1 change: 1 addition & 0 deletions clients/client-chime-sdk-messaging/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./ChimeSDKMessagingClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { ChimeSDKMessagingServiceException } from "./models/ChimeSDKMessagingServiceException";
1 change: 1 addition & 0 deletions clients/client-chime/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./ChimeClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { ChimeServiceException } from "./models/ChimeServiceException";
1 change: 1 addition & 0 deletions clients/client-cloud9/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./Cloud9Client";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { Cloud9ServiceException } from "./models/Cloud9ServiceException";
1 change: 1 addition & 0 deletions clients/client-cloudcontrol/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ export * from "./commands";
export * from "./models";
export * from "./pagination";
export * from "./waiters";

export { CloudControlServiceException } from "./models/CloudControlServiceException";
1 change: 1 addition & 0 deletions clients/client-clouddirectory/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./CloudDirectoryClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { CloudDirectoryServiceException } from "./models/CloudDirectoryServiceException";
1 change: 1 addition & 0 deletions clients/client-cloudformation/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ export * from "./commands";
export * from "./models";
export * from "./pagination";
export * from "./waiters";

export { CloudFormationServiceException } from "./models/CloudFormationServiceException";
1 change: 1 addition & 0 deletions clients/client-cloudfront/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ export * from "./commands";
export * from "./models";
export * from "./pagination";
export * from "./waiters";

export { CloudFrontServiceException } from "./models/CloudFrontServiceException";
1 change: 1 addition & 0 deletions clients/client-cloudhsm-v2/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./CloudHSMV2Client";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { CloudHSMV2ServiceException } from "./models/CloudHSMV2ServiceException";
1 change: 1 addition & 0 deletions clients/client-cloudhsm/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export * from "./CloudHSM";
export * from "./CloudHSMClient";
export * from "./commands";
export * from "./models";

export { CloudHSMServiceException } from "./models/CloudHSMServiceException";
1 change: 1 addition & 0 deletions clients/client-cloudsearch-domain/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export * from "./CloudSearchDomain";
export * from "./CloudSearchDomainClient";
export * from "./commands";
export * from "./models";

export { CloudSearchDomainServiceException } from "./models/CloudSearchDomainServiceException";
1 change: 1 addition & 0 deletions clients/client-cloudsearch/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export * from "./CloudSearch";
export * from "./CloudSearchClient";
export * from "./commands";
export * from "./models";

export { CloudSearchServiceException } from "./models/CloudSearchServiceException";
1 change: 1 addition & 0 deletions clients/client-cloudtrail/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./CloudTrailClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { CloudTrailServiceException } from "./models/CloudTrailServiceException";
1 change: 1 addition & 0 deletions clients/client-cloudwatch-events/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export * from "./CloudWatchEvents";
export * from "./CloudWatchEventsClient";
export * from "./commands";
export * from "./models";

export { CloudWatchEventsServiceException } from "./models/CloudWatchEventsServiceException";
1 change: 1 addition & 0 deletions clients/client-cloudwatch-logs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./CloudWatchLogsClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { CloudWatchLogsServiceException } from "./models/CloudWatchLogsServiceException";
1 change: 1 addition & 0 deletions clients/client-cloudwatch/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ export * from "./commands";
export * from "./models";
export * from "./pagination";
export * from "./waiters";

export { CloudWatchServiceException } from "./models/CloudWatchServiceException";
1 change: 1 addition & 0 deletions clients/client-codeartifact/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./CodeartifactClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { CodeartifactServiceException } from "./models/CodeartifactServiceException";
1 change: 1 addition & 0 deletions clients/client-codebuild/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./CodeBuildClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { CodeBuildServiceException } from "./models/CodeBuildServiceException";
1 change: 1 addition & 0 deletions clients/client-codecommit/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./CodeCommitClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { CodeCommitServiceException } from "./models/CodeCommitServiceException";
1 change: 1 addition & 0 deletions clients/client-codedeploy/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ export * from "./commands";
export * from "./models";
export * from "./pagination";
export * from "./waiters";

export { CodeDeployServiceException } from "./models/CodeDeployServiceException";
1 change: 1 addition & 0 deletions clients/client-codeguru-reviewer/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ export * from "./commands";
export * from "./models";
export * from "./pagination";
export * from "./waiters";

export { CodeGuruReviewerServiceException } from "./models/CodeGuruReviewerServiceException";
1 change: 1 addition & 0 deletions clients/client-codeguruprofiler/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./CodeGuruProfilerClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { CodeGuruProfilerServiceException } from "./models/CodeGuruProfilerServiceException";
1 change: 1 addition & 0 deletions clients/client-codepipeline/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./CodePipelineClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { CodePipelineServiceException } from "./models/CodePipelineServiceException";
1 change: 1 addition & 0 deletions clients/client-codestar-connections/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./CodeStarConnectionsClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { CodeStarConnectionsServiceException } from "./models/CodeStarConnectionsServiceException";
1 change: 1 addition & 0 deletions clients/client-codestar-notifications/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./CodestarNotificationsClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { CodestarNotificationsServiceException } from "./models/CodestarNotificationsServiceException";
1 change: 1 addition & 0 deletions clients/client-codestar/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export * from "./CodeStar";
export * from "./CodeStarClient";
export * from "./commands";
export * from "./models";

export { CodeStarServiceException } from "./models/CodeStarServiceException";
1 change: 1 addition & 0 deletions clients/client-cognito-identity-provider/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./CognitoIdentityProviderClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { CognitoIdentityProviderServiceException } from "./models/CognitoIdentityProviderServiceException";
1 change: 1 addition & 0 deletions clients/client-cognito-identity/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./CognitoIdentityClient";
export * from "./commands";
export * from "./models";
export * from "./pagination";

export { CognitoIdentityServiceException } from "./models/CognitoIdentityServiceException";
1 change: 1 addition & 0 deletions clients/client-cognito-sync/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export * from "./CognitoSync";
export * from "./CognitoSyncClient";
export * from "./commands";
export * from "./models";

export { CognitoSyncServiceException } from "./models/CognitoSyncServiceException";
Loading

0 comments on commit ed7cec2

Please sign in to comment.