@cdklabs/cdk-ecs-codedeploy 0.0.235 → 0.0.237
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/.jsii.tabl.json +1 -1
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/CodeDeploy.js +1 -105
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/CodeDeployClient.js +1 -43
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/AddTagsToOnPremisesInstancesCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetApplicationRevisionsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetApplicationsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentGroupsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentInstancesCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentTargetsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetOnPremisesInstancesCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ContinueDeploymentCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateApplicationCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentConfigCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentGroupCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteApplicationCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteDeploymentConfigCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteDeploymentGroupCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteGitHubAccountTokenCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteResourcesByExternalIdCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeregisterOnPremisesInstanceCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetApplicationCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetApplicationRevisionCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentConfigCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentGroupCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentInstanceCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentTargetCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetOnPremisesInstanceCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListApplicationRevisionsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListApplicationsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentConfigsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentGroupsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentInstancesCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentTargetsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentsCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListGitHubAccountTokenNamesCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListOnPremisesInstancesCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RegisterApplicationRevisionCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RegisterOnPremisesInstanceCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RemoveTagsFromOnPremisesInstancesCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/SkipWaitTimeForInstanceTerminationCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/StopDeploymentCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UpdateApplicationCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UpdateDeploymentGroupCommand.js +1 -28
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/index.js +1 -50
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/extensionConfiguration.js +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +7607 -12
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/CodeDeployServiceException.js +1 -12
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/index.js +1 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/models_0.js +1 -1657
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/Interfaces.js +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListApplicationRevisionsPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListApplicationsPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentConfigsPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentGroupsPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentInstancesPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentsPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/index.js +1 -10
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/protocols/Aws_json1_1.js +1 -4159
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeExtensions.js +1 -22
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/waiters/index.js +1 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/waiters/waitForDeploymentSuccessful.js +1 -54
- package/node_modules/@aws-sdk/client-codedeploy/package.json +41 -41
- package/node_modules/@aws-sdk/client-sso/dist-cjs/SSO.js +1 -19
- package/node_modules/@aws-sdk/client-sso/dist-cjs/SSOClient.js +1 -40
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/GetRoleCredentialsCommand.js +1 -29
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountRolesCommand.js +1 -29
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountsCommand.js +1 -29
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/LogoutCommand.js +1 -29
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/index.js +1 -7
- package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/node_modules/@aws-sdk/client-sso/dist-cjs/extensionConfiguration.js +1 -2
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +689 -11
- package/node_modules/@aws-sdk/client-sso/dist-cjs/models/SSOServiceException.js +1 -12
- package/node_modules/@aws-sdk/client-sso/dist-cjs/models/index.js +1 -4
- package/node_modules/@aws-sdk/client-sso/dist-cjs/models/models_0.js +1 -88
- package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/Interfaces.js +1 -2
- package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountRolesPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountsPaginator.js +1 -7
- package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/index.js +1 -6
- package/node_modules/@aws-sdk/client-sso/dist-cjs/protocols/Aws_restJson1.js +1 -346
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeExtensions.js +1 -22
- package/node_modules/@aws-sdk/client-sso/package.json +37 -37
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STS.js +1 -27
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +1 -29
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +1 -28
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetAccessKeyInfoCommand.js +1 -28
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetCallerIdentityCommand.js +1 -28
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js +1 -29
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js +1 -29
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/index.js +1 -11
- package/node_modules/@aws-sdk/client-sts/dist-cjs/defaultRoleAssumers.js +1 -28
- package/node_modules/@aws-sdk/client-sts/dist-cjs/extensionConfiguration.js +1 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +254 -11
- package/node_modules/@aws-sdk/client-sts/dist-cjs/models/index.js +1 -4
- package/node_modules/@aws-sdk/client-sts/package.json +39 -39
- package/node_modules/@aws-sdk/core/CHANGELOG.md +11 -0
- package/node_modules/@aws-sdk/core/dist-cjs/client/emitWarningIfUnsupportedVersion.js +1 -17
- package/node_modules/@aws-sdk/core/dist-cjs/client/index.js +1 -4
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +1 -61
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/index.js +1 -5
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +1 -82
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/index.js +1 -4
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getDateHeader.js +1 -6
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getSkewCorrectedDate.js +1 -5
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -12
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/index.js +1 -6
- package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/isClockSkewed.js +1 -6
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +314 -6
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/coercing-serializers.js +1 -59
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/index.js +1 -5
- package/node_modules/@aws-sdk/core/dist-cjs/protocols/json/awsExpectUnion.js +1 -14
- package/node_modules/@aws-sdk/core/package.json +7 -7
- package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/fromEnv.js +1 -27
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +64 -4
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/fromIni.js +1 -10
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +173 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveAssumeRoleCredentials.js +1 -52
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveCredentialSource.js +1 -21
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveProcessCredentials.js +1 -11
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveProfileData.js +1 -32
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveSsoCredentials.js +1 -17
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveStaticCredentials.js +1 -16
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveWebIdentityCredentials.js +1 -17
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/defaultProvider.js +1 -15
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +71 -4
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/remoteProvider.js +1 -18
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/ProcessCredentials.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/fromProcess.js +1 -10
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/getValidatedProcessCredentials.js +1 -26
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +94 -4
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/resolveProcessCredentials.js +1 -37
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/fromSSO.js +1 -61
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +175 -7
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/isSsoProfile.js +1 -10
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/resolveSSOCredentials.js +1 -56
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/types.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/validateSsoProfile.js +1 -13
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +25 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +63 -34
- package/node_modules/@aws-sdk/middleware-host-header/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +77 -4
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/loggerMiddleware.js +1 -48
- package/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +62 -36
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/awsAuthConfiguration.js +1 -108
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/awsAuthMiddleware.js +1 -62
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/index.js +225 -5
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/utils/getSkewCorrectedDate.js +1 -5
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/utils/getUpdatedSystemClockOffset.js +1 -12
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/utils/isClockSkewed.js +1 -6
- package/node_modules/@aws-sdk/middleware-signing/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/configurations.js +1 -10
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/constants.js +1 -10
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +120 -5
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/user-agent-middleware.js +1 -79
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +6 -6
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/extensions/index.js +1 -30
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +113 -5
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/config.js +1 -15
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/getRealRegion.js +1 -10
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/index.js +1 -5
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/isFipsRegion.js +1 -5
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +1 -29
- package/node_modules/@aws-sdk/region-config-resolver/package.json +7 -7
- package/node_modules/@aws-sdk/token-providers/dist-cjs/constants.js +1 -5
- package/node_modules/@aws-sdk/token-providers/dist-cjs/fromSso.js +1 -82
- package/node_modules/@aws-sdk/token-providers/dist-cjs/fromStatic.js +1 -11
- package/node_modules/@aws-sdk/token-providers/dist-cjs/getNewSsoOidcToken.js +1 -15
- package/node_modules/@aws-sdk/token-providers/dist-cjs/getSsoOidcClient.js +1 -14
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +198 -7
- package/node_modules/@aws-sdk/token-providers/dist-cjs/nodeProvider.js +1 -9
- package/node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenExpiry.js +1 -11
- package/node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenKey.js +1 -11
- package/node_modules/@aws-sdk/token-providers/dist-cjs/writeSSOTokenToFile.js +1 -12
- package/node_modules/@aws-sdk/token-providers/package.json +36 -36
- package/node_modules/@aws-sdk/types/dist-cjs/abort.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/auth.js +1 -5
- package/node_modules/@aws-sdk/types/dist-cjs/blob/blob-types.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/checksum.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/client.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/command.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/connection.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/credentials.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/crypto.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/dns.js +1 -8
- package/node_modules/@aws-sdk/types/dist-cjs/encode.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/endpoint.js +1 -5
- package/node_modules/@aws-sdk/types/dist-cjs/eventStream.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/extensions/index.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/http.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/identity/AnonymousIdentity.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/identity/AwsCredentialIdentity.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/identity/Identity.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/identity/LoginIdentity.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/identity/TokenIdentity.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/identity/index.js +1 -8
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +464 -35
- package/node_modules/@aws-sdk/types/dist-cjs/logger.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/middleware.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/pagination.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/profile.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/request.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/response.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/retry.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/serde.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/shapes.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/signature.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/stream.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/token.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/transfer.js +1 -5
- package/node_modules/@aws-sdk/types/dist-cjs/uri.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/util.js +1 -2
- package/node_modules/@aws-sdk/types/dist-cjs/waiter.js +1 -2
- package/node_modules/@aws-sdk/types/package.json +3 -3
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/aws.js +1 -12
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +422 -8
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/index.js +1 -6
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/isVirtualHostableS3Bucket.js +1 -29
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/parseArn.js +1 -19
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partition.js +1 -49
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/isIpAddress.js +1 -5
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/resolveEndpoint.js +1 -5
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointError.js +1 -5
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointRuleObject.js +1 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/ErrorRuleObject.js +1 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/RuleSetObject.js +1 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/TreeRuleObject.js +1 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/index.js +1 -9
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/shared.js +1 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +37 -11
- package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/crt-availability.js +1 -6
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +91 -43
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/is-crt-available.js +1 -11
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +1 -13
- package/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +1 -24
- package/node_modules/@smithy/abort-controller/dist-cjs/index.js +85 -5
- package/node_modules/@smithy/abort-controller/package.json +3 -3
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +1 -12
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +1 -12
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/index.js +1 -7
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/resolveCustomEndpointsConfig.js +1 -16
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/resolveEndpointsConfig.js +1 -20
- package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/utils/getEndpointFromRegion.js +1 -20
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +235 -6
- package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/config.js +1 -15
- package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/getRealRegion.js +1 -10
- package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/index.js +1 -5
- package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/isFipsRegion.js +1 -5
- package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +1 -29
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/EndpointVariant.js +1 -2
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/EndpointVariantTag.js +1 -2
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/PartitionHash.js +1 -2
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/RegionHash.js +1 -2
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getHostnameFromVariants.js +1 -8
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getRegionInfo.js +1 -34
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedHostname.js +1 -9
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedPartition.js +1 -5
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedSigningRegion.js +1 -16
- package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/index.js +1 -6
- package/node_modules/@smithy/config-resolver/package.json +6 -6
- package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +1 -6
- package/node_modules/@smithy/core/dist-cjs/index.js +482 -12
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +1 -22
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +1 -22
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +1 -45
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +1 -6
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +1 -20
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +1 -28
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +1 -5
- package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +1 -10
- package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +1 -32
- package/node_modules/@smithy/core/dist-cjs/protocols/requestBuilder.js +1 -72
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +1 -17
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +1 -37
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +1 -14
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +1 -6
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +1 -9
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +1 -6
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +1 -59
- package/node_modules/@smithy/core/package.json +9 -9
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/Endpoint.js +1 -8
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js +1 -10
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointMode.js +1 -8
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointModeConfigOptions.js +1 -11
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/error/InstanceMetadataV1FallbackError.js +1 -13
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/fromContainerMetadata.js +1 -70
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/fromInstanceMetadata.js +1 -137
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +427 -12
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/ImdsCredentials.js +1 -17
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/RemoteProviderInit.js +1 -7
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/httpRequest.js +1 -41
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/index.js +1 -5
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/retry.js +1 -11
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/types.js +1 -2
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getExtendedInstanceMetadataCredentials.js +1 -22
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getInstanceMetadataEndpoint.js +1 -23
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/staticStabilityProvider.js +1 -29
- package/node_modules/@smithy/credential-provider-imds/package.json +6 -6
- package/node_modules/@smithy/eventstream-codec/dist-cjs/EventStreamCodec.js +1 -66
- package/node_modules/@smithy/eventstream-codec/dist-cjs/HeaderMarshaller.js +1 -186
- package/node_modules/@smithy/eventstream-codec/dist-cjs/Int64.js +1 -47
- package/node_modules/@smithy/eventstream-codec/dist-cjs/Message.js +1 -2
- package/node_modules/@smithy/eventstream-codec/dist-cjs/MessageDecoderStream.js +1 -18
- package/node_modules/@smithy/eventstream-codec/dist-cjs/MessageEncoderStream.js +1 -21
- package/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageDecoderStream.js +1 -20
- package/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageEncoderStream.js +1 -18
- package/node_modules/@smithy/eventstream-codec/dist-cjs/TestVectors.fixture.js +1 -693
- package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +468 -11
- package/node_modules/@smithy/eventstream-codec/dist-cjs/splitMessage.js +1 -34
- package/node_modules/@smithy/eventstream-codec/dist-cjs/vectorTypes.fixture.js +1 -2
- package/node_modules/@smithy/eventstream-codec/package.json +5 -5
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +1 -117
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +220 -5
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/request-timeout.js +1 -15
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/stream-collector.js +1 -50
- package/node_modules/@smithy/fetch-http-handler/package.json +7 -7
- package/node_modules/@smithy/hash-node/dist-cjs/index.js +64 -36
- package/node_modules/@smithy/hash-node/package.json +5 -5
- package/node_modules/@smithy/invalid-dependency/dist-cjs/index.js +41 -5
- package/node_modules/@smithy/invalid-dependency/dist-cjs/invalidFunction.js +1 -7
- package/node_modules/@smithy/invalid-dependency/dist-cjs/invalidProvider.js +1 -5
- package/node_modules/@smithy/invalid-dependency/package.json +3 -3
- package/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -6
- package/node_modules/@smithy/is-array-buffer/package.json +7 -9
- package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +66 -39
- package/node_modules/@smithy/middleware-content-length/package.json +5 -5
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/createConfigValueProvider.js +1 -38
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromInstructions.js +1 -51
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/index.js +1 -5
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/toEndpointV1.js +1 -14
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/endpointMiddleware.js +1 -37
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/getEndpointPlugin.js +1 -22
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +254 -8
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointConfig.js +1 -21
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/service-customizations/index.js +1 -4
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/service-customizations/s3.js +1 -43
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/types.js +1 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/dist-cjs/AdaptiveRetryStrategy.js +1 -24
- package/node_modules/@smithy/middleware-retry/dist-cjs/StandardRetryStrategy.js +1 -95
- package/node_modules/@smithy/middleware-retry/dist-cjs/configurations.js +1 -57
- package/node_modules/@smithy/middleware-retry/dist-cjs/defaultRetryQuota.js +1 -32
- package/node_modules/@smithy/middleware-retry/dist-cjs/delayDecider.js +1 -6
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +424 -10
- package/node_modules/@smithy/middleware-retry/dist-cjs/omitRetryHeadersMiddleware.js +1 -27
- package/node_modules/@smithy/middleware-retry/dist-cjs/retryDecider.js +1 -11
- package/node_modules/@smithy/middleware-retry/dist-cjs/retryMiddleware.js +1 -118
- package/node_modules/@smithy/middleware-retry/dist-cjs/types.js +1 -2
- package/node_modules/@smithy/middleware-retry/dist-cjs/util.js +1 -13
- package/node_modules/@smithy/middleware-retry/package.json +10 -10
- package/node_modules/@smithy/middleware-serde/dist-cjs/deserializerMiddleware.js +1 -24
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +97 -6
- package/node_modules/@smithy/middleware-serde/dist-cjs/serdePlugin.js +1 -26
- package/node_modules/@smithy/middleware-serde/dist-cjs/serializerMiddleware.js +1 -18
- package/node_modules/@smithy/middleware-serde/package.json +4 -4
- package/node_modules/@smithy/middleware-stack/dist-cjs/MiddlewareStack.js +1 -287
- package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +318 -4
- package/node_modules/@smithy/middleware-stack/dist-cjs/types.js +1 -2
- package/node_modules/@smithy/middleware-stack/package.json +3 -3
- package/node_modules/@smithy/node-config-provider/dist-cjs/configLoader.js +1 -9
- package/node_modules/@smithy/node-config-provider/dist-cjs/fromEnv.js +1 -17
- package/node_modules/@smithy/node-config-provider/dist-cjs/fromSharedConfigFiles.js +1 -26
- package/node_modules/@smithy/node-config-provider/dist-cjs/fromStatic.js +1 -7
- package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +87 -4
- package/node_modules/@smithy/node-config-provider/package.json +5 -5
- package/node_modules/@smithy/node-http-handler/dist-cjs/constants.js +1 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js +1 -12
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +626 -6
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js +1 -153
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js +1 -92
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js +1 -36
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js +1 -165
- package/node_modules/@smithy/node-http-handler/dist-cjs/readable.mock.js +1 -23
- package/node_modules/@smithy/node-http-handler/dist-cjs/server.mock.js +1 -60
- package/node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js +1 -25
- package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js +1 -12
- package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js +1 -10
- package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js +1 -15
- package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/index.js +1 -18
- package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/readable.mock.js +1 -23
- package/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js +1 -45
- package/node_modules/@smithy/node-http-handler/package.json +6 -6
- package/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +1 -13
- package/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +1 -15
- package/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +1 -13
- package/node_modules/@smithy/property-provider/dist-cjs/chain.js +1 -25
- package/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +1 -5
- package/node_modules/@smithy/property-provider/dist-cjs/index.js +150 -9
- package/node_modules/@smithy/property-provider/dist-cjs/memoize.js +1 -49
- package/node_modules/@smithy/property-provider/package.json +3 -3
- package/node_modules/@smithy/protocol-http/dist-cjs/Field.js +1 -27
- package/node_modules/@smithy/protocol-http/dist-cjs/Fields.js +1 -23
- package/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +1 -27
- package/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +1 -4
- package/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js +1 -2
- package/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js +1 -52
- package/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js +1 -18
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +237 -11
- package/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js +1 -8
- package/node_modules/@smithy/protocol-http/dist-cjs/types.js +1 -2
- package/node_modules/@smithy/protocol-http/package.json +3 -3
- package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +49 -22
- package/node_modules/@smithy/querystring-builder/package.json +4 -4
- package/node_modules/@smithy/querystring-parser/dist-cjs/index.js +50 -24
- package/node_modules/@smithy/querystring-parser/package.json +3 -3
- package/node_modules/@smithy/service-error-classification/dist-cjs/constants.js +1 -30
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +88 -30
- package/node_modules/@smithy/service-error-classification/package.json +3 -3
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +1 -22
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +1 -8
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +1 -8
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +1 -7
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +1 -9
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +190 -11
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +1 -31
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +1 -16
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +1 -18
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +1 -56
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +1 -10
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +1 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +13 -3
- package/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4.js +1 -194
- package/node_modules/@smithy/signature-v4/dist-cjs/cloneRequest.js +1 -17
- package/node_modules/@smithy/signature-v4/dist-cjs/constants.js +1 -46
- package/node_modules/@smithy/signature-v4/dist-cjs/credentialDerivation.js +1 -39
- package/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalHeaders.js +1 -24
- package/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalQuery.js +1 -31
- package/node_modules/@smithy/signature-v4/dist-cjs/getPayloadHash.js +1 -24
- package/node_modules/@smithy/signature-v4/dist-cjs/headerUtil.js +1 -32
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +467 -16
- package/node_modules/@smithy/signature-v4/dist-cjs/moveHeadersToQuery.js +1 -21
- package/node_modules/@smithy/signature-v4/dist-cjs/prepareRequest.js +1 -15
- package/node_modules/@smithy/signature-v4/dist-cjs/suite.fixture.js +1 -402
- package/node_modules/@smithy/signature-v4/dist-cjs/utilDate.js +1 -20
- package/node_modules/@smithy/signature-v4/package.json +10 -10
- package/node_modules/@smithy/smithy-client/dist-cjs/NoOpLogger.js +1 -11
- package/node_modules/@smithy/smithy-client/dist-cjs/client.js +1 -28
- package/node_modules/@smithy/smithy-client/dist-cjs/collect-stream-body.js +1 -15
- package/node_modules/@smithy/smithy-client/dist-cjs/command.js +1 -118
- package/node_modules/@smithy/smithy-client/dist-cjs/constants.js +1 -4
- package/node_modules/@smithy/smithy-client/dist-cjs/create-aggregated-client.js +1 -25
- package/node_modules/@smithy/smithy-client/dist-cjs/date-utils.js +1 -195
- package/node_modules/@smithy/smithy-client/dist-cjs/default-error-handler.js +1 -30
- package/node_modules/@smithy/smithy-client/dist-cjs/defaults-mode.js +1 -30
- package/node_modules/@smithy/smithy-client/dist-cjs/emitWarningIfUnsupportedVersion.js +1 -10
- package/node_modules/@smithy/smithy-client/dist-cjs/exceptions.js +1 -27
- package/node_modules/@smithy/smithy-client/dist-cjs/extended-encode-uri-component.js +1 -9
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/checksum.js +1 -36
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/defaultExtensionConfiguration.js +1 -20
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/index.js +1 -4
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/retry.js +1 -21
- package/node_modules/@smithy/smithy-client/dist-cjs/get-array-if-single-item.js +1 -5
- package/node_modules/@smithy/smithy-client/dist-cjs/get-value-from-text-node.js +1 -16
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1256 -25
- package/node_modules/@smithy/smithy-client/dist-cjs/lazy-json.js +1 -38
- package/node_modules/@smithy/smithy-client/dist-cjs/object-mapping.js +1 -98
- package/node_modules/@smithy/smithy-client/dist-cjs/parse-utils.js +1 -253
- package/node_modules/@smithy/smithy-client/dist-cjs/resolve-path.js +1 -23
- package/node_modules/@smithy/smithy-client/dist-cjs/ser-utils.js +1 -17
- package/node_modules/@smithy/smithy-client/dist-cjs/serde-json.js +1 -23
- package/node_modules/@smithy/smithy-client/dist-cjs/split-every.js +1 -31
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-cjs/abort.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/auth/HttpApiKeyAuth.js +1 -8
- package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthScheme.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthSchemeProvider.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/auth/HttpSigner.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/auth/IdentityProviderConfig.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/auth/auth.js +1 -8
- package/node_modules/@smithy/types/dist-cjs/auth/index.js +1 -9
- package/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/checksum.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/client.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/command.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/connection/config.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/connection/index.js +1 -6
- package/node_modules/@smithy/types/dist-cjs/connection/manager.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/connection/pool.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/crypto.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/downlevel-ts3.4/transform/type-transform.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/encode.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/endpoint.js +1 -8
- package/node_modules/@smithy/types/dist-cjs/endpoints/EndpointRuleObject.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/endpoints/ErrorRuleObject.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/endpoints/RuleSetObject.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/endpoints/TreeRuleObject.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/endpoints/index.js +1 -8
- package/node_modules/@smithy/types/dist-cjs/endpoints/shared.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/eventStream.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/extensions/checksum.js +1 -44
- package/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js +1 -16
- package/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/extensions/index.js +1 -8
- package/node_modules/@smithy/types/dist-cjs/extensions/retry.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/http/httpHandlerInitialization.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/http.js +1 -8
- package/node_modules/@smithy/types/dist-cjs/identity/apiKeyIdentity.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/identity/awsCredentialIdentity.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/identity/identity.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/identity/index.js +1 -7
- package/node_modules/@smithy/types/dist-cjs/identity/tokenIdentity.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/index.js +149 -39
- package/node_modules/@smithy/types/dist-cjs/logger.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/middleware.js +1 -4
- package/node_modules/@smithy/types/dist-cjs/pagination.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/profile.js +1 -9
- package/node_modules/@smithy/types/dist-cjs/response.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/retry.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/serde.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/shapes.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/signature.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/stream.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/transfer.js +1 -9
- package/node_modules/@smithy/types/dist-cjs/transform/client-method-transforms.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/transform/exact.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/transform/no-undefined.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/transform/type-transform.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/uri.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/util.js +1 -2
- package/node_modules/@smithy/types/dist-cjs/waiter.js +1 -2
- package/node_modules/@smithy/types/package.json +2 -2
- package/node_modules/@smithy/url-parser/dist-cjs/index.js +48 -21
- package/node_modules/@smithy/url-parser/package.json +4 -4
- package/node_modules/@smithy/util-base64/dist-cjs/index.js +27 -5
- package/node_modules/@smithy/util-base64/package.json +4 -4
- package/node_modules/@smithy/util-body-length-browser/dist-cjs/calculateBodyLength.js +1 -30
- package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +57 -4
- package/node_modules/@smithy/util-body-length-browser/package.json +2 -2
- package/node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js +1 -29
- package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +53 -4
- package/node_modules/@smithy/util-body-length-node/package.json +7 -9
- package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +45 -17
- package/node_modules/@smithy/util-buffer-from/package.json +8 -10
- package/node_modules/@smithy/util-config-provider/dist-cjs/booleanSelector.js +1 -13
- package/node_modules/@smithy/util-config-provider/dist-cjs/index.js +64 -6
- package/node_modules/@smithy/util-config-provider/dist-cjs/numberSelector.js +1 -13
- package/node_modules/@smithy/util-config-provider/dist-cjs/types.js +1 -8
- package/node_modules/@smithy/util-config-provider/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +25 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -5
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/constants.js +1 -9
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/defaultsModeConfig.js +1 -14
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +109 -4
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/resolveDefaultsModeConfig.js +1 -57
- package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -8
- package/node_modules/@smithy/util-endpoints/dist-cjs/debug/debugId.js +1 -4
- package/node_modules/@smithy/util-endpoints/dist-cjs/debug/index.js +1 -5
- package/node_modules/@smithy/util-endpoints/dist-cjs/debug/toDebugString.js +1 -16
- package/node_modules/@smithy/util-endpoints/dist-cjs/getEndpointUrlConfig.js +1 -25
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +484 -8
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/booleanEquals.js +1 -5
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/getAttr.js +1 -15
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/getAttrPathList.js +1 -29
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/index.js +1 -12
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isIpAddress.js +1 -6
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isSet.js +1 -5
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isValidHostLabel.js +1 -17
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/not.js +1 -5
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/parseURL.js +1 -55
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/stringEquals.js +1 -5
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/substring.js +1 -13
- package/node_modules/@smithy/util-endpoints/dist-cjs/lib/uriEncode.js +1 -5
- package/node_modules/@smithy/util-endpoints/dist-cjs/resolveEndpoint.js +1 -42
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointError.js +1 -10
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointFunctions.js +1 -2
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointRuleObject.js +1 -2
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/ErrorRuleObject.js +1 -2
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/RuleSetObject.js +1 -2
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/TreeRuleObject.js +1 -2
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/index.js +1 -10
- package/node_modules/@smithy/util-endpoints/dist-cjs/types/shared.js +1 -2
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/callFunction.js +1 -15
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/customEndpointFunctions.js +1 -4
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/endpointFunctions.js +1 -15
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateCondition.js +1 -19
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateConditions.js +1 -27
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateEndpointRule.js +1 -32
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateErrorRule.js +1 -18
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateExpression.js +1 -20
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateRules.js +1 -31
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateTemplate.js +1 -40
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateTreeRule.js +1 -17
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointHeaders.js +1 -16
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointProperties.js +1 -9
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointProperty.js +1 -25
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointUrl.js +1 -19
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getReferenceValue.js +1 -11
- package/node_modules/@smithy/util-endpoints/dist-cjs/utils/index.js +1 -5
- package/node_modules/@smithy/util-endpoints/package.json +4 -4
- package/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +60 -31
- package/node_modules/@smithy/util-hex-encoding/package.json +7 -9
- package/node_modules/@smithy/util-middleware/dist-cjs/getSmithyContext.js +1 -6
- package/node_modules/@smithy/util-middleware/dist-cjs/index.js +45 -5
- package/node_modules/@smithy/util-middleware/dist-cjs/normalizeProvider.js +1 -10
- package/node_modules/@smithy/util-middleware/package.json +3 -3
- package/node_modules/@smithy/util-retry/dist-cjs/AdaptiveRetryStrategy.js +1 -28
- package/node_modules/@smithy/util-retry/dist-cjs/ConfiguredRetryStrategy.js +1 -22
- package/node_modules/@smithy/util-retry/dist-cjs/DefaultRateLimiter.js +1 -104
- package/node_modules/@smithy/util-retry/dist-cjs/StandardRetryStrategy.js +1 -70
- package/node_modules/@smithy/util-retry/dist-cjs/config.js +1 -10
- package/node_modules/@smithy/util-retry/dist-cjs/constants.js +1 -12
- package/node_modules/@smithy/util-retry/dist-cjs/defaultRetryBackoffStrategy.js +1 -18
- package/node_modules/@smithy/util-retry/dist-cjs/defaultRetryToken.js +1 -15
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +347 -10
- package/node_modules/@smithy/util-retry/dist-cjs/types.js +1 -2
- package/node_modules/@smithy/util-retry/package.json +4 -4
- package/node_modules/@smithy/util-stream/dist-cjs/blob/Uint8ArrayBlobAdapter.js +1 -22
- package/node_modules/@smithy/util-stream/dist-cjs/blob/transforms.js +1 -20
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +89 -6
- package/node_modules/@smithy/util-stream/package.json +10 -10
- package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri-path.js +1 -6
- package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri.js +1 -6
- package/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +43 -5
- package/node_modules/@smithy/util-uri-escape/package.json +7 -9
- package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +1 -5
- package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +1 -9
- package/node_modules/@smithy/util-utf8/dist-cjs/index.js +57 -6
- package/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +1 -14
- package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +1 -5
- package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +1 -6
- package/node_modules/@smithy/util-utf8/package.json +4 -4
- package/node_modules/@smithy/util-waiter/dist-cjs/createWaiter.js +1 -27
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +155 -5
- package/node_modules/@smithy/util-waiter/dist-cjs/poller.js +1 -38
- package/node_modules/@smithy/util-waiter/dist-cjs/utils/index.js +1 -5
- package/node_modules/@smithy/util-waiter/dist-cjs/utils/sleep.js +1 -7
- package/node_modules/@smithy/util-waiter/dist-cjs/utils/validate.js +1 -21
- package/node_modules/@smithy/util-waiter/dist-cjs/waiter.js +1 -38
- package/node_modules/@smithy/util-waiter/package.json +4 -4
- package/package.json +6 -6
- package/.gitattributes +0 -27
- package/.projenrc.ts +0 -113
|
@@ -1,4159 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.de_BatchGetApplicationsCommand = exports.de_BatchGetApplicationRevisionsCommand = exports.de_AddTagsToOnPremisesInstancesCommand = exports.se_UpdateDeploymentGroupCommand = exports.se_UpdateApplicationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopDeploymentCommand = exports.se_SkipWaitTimeForInstanceTerminationCommand = exports.se_RemoveTagsFromOnPremisesInstancesCommand = exports.se_RegisterOnPremisesInstanceCommand = exports.se_RegisterApplicationRevisionCommand = exports.se_PutLifecycleEventHookExecutionStatusCommand = exports.se_ListTagsForResourceCommand = exports.se_ListOnPremisesInstancesCommand = exports.se_ListGitHubAccountTokenNamesCommand = exports.se_ListDeploymentTargetsCommand = exports.se_ListDeploymentsCommand = exports.se_ListDeploymentInstancesCommand = exports.se_ListDeploymentGroupsCommand = exports.se_ListDeploymentConfigsCommand = exports.se_ListApplicationsCommand = exports.se_ListApplicationRevisionsCommand = exports.se_GetOnPremisesInstanceCommand = exports.se_GetDeploymentTargetCommand = exports.se_GetDeploymentInstanceCommand = exports.se_GetDeploymentGroupCommand = exports.se_GetDeploymentConfigCommand = exports.se_GetDeploymentCommand = exports.se_GetApplicationRevisionCommand = exports.se_GetApplicationCommand = exports.se_DeregisterOnPremisesInstanceCommand = exports.se_DeleteResourcesByExternalIdCommand = exports.se_DeleteGitHubAccountTokenCommand = exports.se_DeleteDeploymentGroupCommand = exports.se_DeleteDeploymentConfigCommand = exports.se_DeleteApplicationCommand = exports.se_CreateDeploymentGroupCommand = exports.se_CreateDeploymentConfigCommand = exports.se_CreateDeploymentCommand = exports.se_CreateApplicationCommand = exports.se_ContinueDeploymentCommand = exports.se_BatchGetOnPremisesInstancesCommand = exports.se_BatchGetDeploymentTargetsCommand = exports.se_BatchGetDeploymentsCommand = exports.se_BatchGetDeploymentInstancesCommand = exports.se_BatchGetDeploymentGroupsCommand = exports.se_BatchGetApplicationsCommand = exports.se_BatchGetApplicationRevisionsCommand = exports.se_AddTagsToOnPremisesInstancesCommand = void 0;
|
|
4
|
-
exports.de_UpdateDeploymentGroupCommand = exports.de_UpdateApplicationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopDeploymentCommand = exports.de_SkipWaitTimeForInstanceTerminationCommand = exports.de_RemoveTagsFromOnPremisesInstancesCommand = exports.de_RegisterOnPremisesInstanceCommand = exports.de_RegisterApplicationRevisionCommand = exports.de_PutLifecycleEventHookExecutionStatusCommand = exports.de_ListTagsForResourceCommand = exports.de_ListOnPremisesInstancesCommand = exports.de_ListGitHubAccountTokenNamesCommand = exports.de_ListDeploymentTargetsCommand = exports.de_ListDeploymentsCommand = exports.de_ListDeploymentInstancesCommand = exports.de_ListDeploymentGroupsCommand = exports.de_ListDeploymentConfigsCommand = exports.de_ListApplicationsCommand = exports.de_ListApplicationRevisionsCommand = exports.de_GetOnPremisesInstanceCommand = exports.de_GetDeploymentTargetCommand = exports.de_GetDeploymentInstanceCommand = exports.de_GetDeploymentGroupCommand = exports.de_GetDeploymentConfigCommand = exports.de_GetDeploymentCommand = exports.de_GetApplicationRevisionCommand = exports.de_GetApplicationCommand = exports.de_DeregisterOnPremisesInstanceCommand = exports.de_DeleteResourcesByExternalIdCommand = exports.de_DeleteGitHubAccountTokenCommand = exports.de_DeleteDeploymentGroupCommand = exports.de_DeleteDeploymentConfigCommand = exports.de_DeleteApplicationCommand = exports.de_CreateDeploymentGroupCommand = exports.de_CreateDeploymentConfigCommand = exports.de_CreateDeploymentCommand = exports.de_CreateApplicationCommand = exports.de_ContinueDeploymentCommand = exports.de_BatchGetOnPremisesInstancesCommand = exports.de_BatchGetDeploymentTargetsCommand = exports.de_BatchGetDeploymentsCommand = exports.de_BatchGetDeploymentInstancesCommand = exports.de_BatchGetDeploymentGroupsCommand = void 0;
|
|
5
|
-
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
const CodeDeployServiceException_1 = require("../models/CodeDeployServiceException");
|
|
8
|
-
const models_0_1 = require("../models/models_0");
|
|
9
|
-
const se_AddTagsToOnPremisesInstancesCommand = async (input, context) => {
|
|
10
|
-
const headers = sharedHeaders("AddTagsToOnPremisesInstances");
|
|
11
|
-
let body;
|
|
12
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
13
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
14
|
-
};
|
|
15
|
-
exports.se_AddTagsToOnPremisesInstancesCommand = se_AddTagsToOnPremisesInstancesCommand;
|
|
16
|
-
const se_BatchGetApplicationRevisionsCommand = async (input, context) => {
|
|
17
|
-
const headers = sharedHeaders("BatchGetApplicationRevisions");
|
|
18
|
-
let body;
|
|
19
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
20
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
21
|
-
};
|
|
22
|
-
exports.se_BatchGetApplicationRevisionsCommand = se_BatchGetApplicationRevisionsCommand;
|
|
23
|
-
const se_BatchGetApplicationsCommand = async (input, context) => {
|
|
24
|
-
const headers = sharedHeaders("BatchGetApplications");
|
|
25
|
-
let body;
|
|
26
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
27
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
|
-
};
|
|
29
|
-
exports.se_BatchGetApplicationsCommand = se_BatchGetApplicationsCommand;
|
|
30
|
-
const se_BatchGetDeploymentGroupsCommand = async (input, context) => {
|
|
31
|
-
const headers = sharedHeaders("BatchGetDeploymentGroups");
|
|
32
|
-
let body;
|
|
33
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
34
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
|
-
};
|
|
36
|
-
exports.se_BatchGetDeploymentGroupsCommand = se_BatchGetDeploymentGroupsCommand;
|
|
37
|
-
const se_BatchGetDeploymentInstancesCommand = async (input, context) => {
|
|
38
|
-
const headers = sharedHeaders("BatchGetDeploymentInstances");
|
|
39
|
-
let body;
|
|
40
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
41
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
42
|
-
};
|
|
43
|
-
exports.se_BatchGetDeploymentInstancesCommand = se_BatchGetDeploymentInstancesCommand;
|
|
44
|
-
const se_BatchGetDeploymentsCommand = async (input, context) => {
|
|
45
|
-
const headers = sharedHeaders("BatchGetDeployments");
|
|
46
|
-
let body;
|
|
47
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
48
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
|
-
};
|
|
50
|
-
exports.se_BatchGetDeploymentsCommand = se_BatchGetDeploymentsCommand;
|
|
51
|
-
const se_BatchGetDeploymentTargetsCommand = async (input, context) => {
|
|
52
|
-
const headers = sharedHeaders("BatchGetDeploymentTargets");
|
|
53
|
-
let body;
|
|
54
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
55
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
56
|
-
};
|
|
57
|
-
exports.se_BatchGetDeploymentTargetsCommand = se_BatchGetDeploymentTargetsCommand;
|
|
58
|
-
const se_BatchGetOnPremisesInstancesCommand = async (input, context) => {
|
|
59
|
-
const headers = sharedHeaders("BatchGetOnPremisesInstances");
|
|
60
|
-
let body;
|
|
61
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
62
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
63
|
-
};
|
|
64
|
-
exports.se_BatchGetOnPremisesInstancesCommand = se_BatchGetOnPremisesInstancesCommand;
|
|
65
|
-
const se_ContinueDeploymentCommand = async (input, context) => {
|
|
66
|
-
const headers = sharedHeaders("ContinueDeployment");
|
|
67
|
-
let body;
|
|
68
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
69
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
70
|
-
};
|
|
71
|
-
exports.se_ContinueDeploymentCommand = se_ContinueDeploymentCommand;
|
|
72
|
-
const se_CreateApplicationCommand = async (input, context) => {
|
|
73
|
-
const headers = sharedHeaders("CreateApplication");
|
|
74
|
-
let body;
|
|
75
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
76
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
|
-
};
|
|
78
|
-
exports.se_CreateApplicationCommand = se_CreateApplicationCommand;
|
|
79
|
-
const se_CreateDeploymentCommand = async (input, context) => {
|
|
80
|
-
const headers = sharedHeaders("CreateDeployment");
|
|
81
|
-
let body;
|
|
82
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
83
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
84
|
-
};
|
|
85
|
-
exports.se_CreateDeploymentCommand = se_CreateDeploymentCommand;
|
|
86
|
-
const se_CreateDeploymentConfigCommand = async (input, context) => {
|
|
87
|
-
const headers = sharedHeaders("CreateDeploymentConfig");
|
|
88
|
-
let body;
|
|
89
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
90
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
91
|
-
};
|
|
92
|
-
exports.se_CreateDeploymentConfigCommand = se_CreateDeploymentConfigCommand;
|
|
93
|
-
const se_CreateDeploymentGroupCommand = async (input, context) => {
|
|
94
|
-
const headers = sharedHeaders("CreateDeploymentGroup");
|
|
95
|
-
let body;
|
|
96
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
97
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
98
|
-
};
|
|
99
|
-
exports.se_CreateDeploymentGroupCommand = se_CreateDeploymentGroupCommand;
|
|
100
|
-
const se_DeleteApplicationCommand = async (input, context) => {
|
|
101
|
-
const headers = sharedHeaders("DeleteApplication");
|
|
102
|
-
let body;
|
|
103
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
104
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
105
|
-
};
|
|
106
|
-
exports.se_DeleteApplicationCommand = se_DeleteApplicationCommand;
|
|
107
|
-
const se_DeleteDeploymentConfigCommand = async (input, context) => {
|
|
108
|
-
const headers = sharedHeaders("DeleteDeploymentConfig");
|
|
109
|
-
let body;
|
|
110
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
111
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
|
-
};
|
|
113
|
-
exports.se_DeleteDeploymentConfigCommand = se_DeleteDeploymentConfigCommand;
|
|
114
|
-
const se_DeleteDeploymentGroupCommand = async (input, context) => {
|
|
115
|
-
const headers = sharedHeaders("DeleteDeploymentGroup");
|
|
116
|
-
let body;
|
|
117
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
118
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
119
|
-
};
|
|
120
|
-
exports.se_DeleteDeploymentGroupCommand = se_DeleteDeploymentGroupCommand;
|
|
121
|
-
const se_DeleteGitHubAccountTokenCommand = async (input, context) => {
|
|
122
|
-
const headers = sharedHeaders("DeleteGitHubAccountToken");
|
|
123
|
-
let body;
|
|
124
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
125
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
126
|
-
};
|
|
127
|
-
exports.se_DeleteGitHubAccountTokenCommand = se_DeleteGitHubAccountTokenCommand;
|
|
128
|
-
const se_DeleteResourcesByExternalIdCommand = async (input, context) => {
|
|
129
|
-
const headers = sharedHeaders("DeleteResourcesByExternalId");
|
|
130
|
-
let body;
|
|
131
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
132
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
133
|
-
};
|
|
134
|
-
exports.se_DeleteResourcesByExternalIdCommand = se_DeleteResourcesByExternalIdCommand;
|
|
135
|
-
const se_DeregisterOnPremisesInstanceCommand = async (input, context) => {
|
|
136
|
-
const headers = sharedHeaders("DeregisterOnPremisesInstance");
|
|
137
|
-
let body;
|
|
138
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
139
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
140
|
-
};
|
|
141
|
-
exports.se_DeregisterOnPremisesInstanceCommand = se_DeregisterOnPremisesInstanceCommand;
|
|
142
|
-
const se_GetApplicationCommand = async (input, context) => {
|
|
143
|
-
const headers = sharedHeaders("GetApplication");
|
|
144
|
-
let body;
|
|
145
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
146
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
147
|
-
};
|
|
148
|
-
exports.se_GetApplicationCommand = se_GetApplicationCommand;
|
|
149
|
-
const se_GetApplicationRevisionCommand = async (input, context) => {
|
|
150
|
-
const headers = sharedHeaders("GetApplicationRevision");
|
|
151
|
-
let body;
|
|
152
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
153
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
154
|
-
};
|
|
155
|
-
exports.se_GetApplicationRevisionCommand = se_GetApplicationRevisionCommand;
|
|
156
|
-
const se_GetDeploymentCommand = async (input, context) => {
|
|
157
|
-
const headers = sharedHeaders("GetDeployment");
|
|
158
|
-
let body;
|
|
159
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
160
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
|
-
};
|
|
162
|
-
exports.se_GetDeploymentCommand = se_GetDeploymentCommand;
|
|
163
|
-
const se_GetDeploymentConfigCommand = async (input, context) => {
|
|
164
|
-
const headers = sharedHeaders("GetDeploymentConfig");
|
|
165
|
-
let body;
|
|
166
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
167
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
|
-
};
|
|
169
|
-
exports.se_GetDeploymentConfigCommand = se_GetDeploymentConfigCommand;
|
|
170
|
-
const se_GetDeploymentGroupCommand = async (input, context) => {
|
|
171
|
-
const headers = sharedHeaders("GetDeploymentGroup");
|
|
172
|
-
let body;
|
|
173
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
174
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
|
-
};
|
|
176
|
-
exports.se_GetDeploymentGroupCommand = se_GetDeploymentGroupCommand;
|
|
177
|
-
const se_GetDeploymentInstanceCommand = async (input, context) => {
|
|
178
|
-
const headers = sharedHeaders("GetDeploymentInstance");
|
|
179
|
-
let body;
|
|
180
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
181
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
182
|
-
};
|
|
183
|
-
exports.se_GetDeploymentInstanceCommand = se_GetDeploymentInstanceCommand;
|
|
184
|
-
const se_GetDeploymentTargetCommand = async (input, context) => {
|
|
185
|
-
const headers = sharedHeaders("GetDeploymentTarget");
|
|
186
|
-
let body;
|
|
187
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
188
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
189
|
-
};
|
|
190
|
-
exports.se_GetDeploymentTargetCommand = se_GetDeploymentTargetCommand;
|
|
191
|
-
const se_GetOnPremisesInstanceCommand = async (input, context) => {
|
|
192
|
-
const headers = sharedHeaders("GetOnPremisesInstance");
|
|
193
|
-
let body;
|
|
194
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
195
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
196
|
-
};
|
|
197
|
-
exports.se_GetOnPremisesInstanceCommand = se_GetOnPremisesInstanceCommand;
|
|
198
|
-
const se_ListApplicationRevisionsCommand = async (input, context) => {
|
|
199
|
-
const headers = sharedHeaders("ListApplicationRevisions");
|
|
200
|
-
let body;
|
|
201
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
202
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
|
-
};
|
|
204
|
-
exports.se_ListApplicationRevisionsCommand = se_ListApplicationRevisionsCommand;
|
|
205
|
-
const se_ListApplicationsCommand = async (input, context) => {
|
|
206
|
-
const headers = sharedHeaders("ListApplications");
|
|
207
|
-
let body;
|
|
208
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
209
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
210
|
-
};
|
|
211
|
-
exports.se_ListApplicationsCommand = se_ListApplicationsCommand;
|
|
212
|
-
const se_ListDeploymentConfigsCommand = async (input, context) => {
|
|
213
|
-
const headers = sharedHeaders("ListDeploymentConfigs");
|
|
214
|
-
let body;
|
|
215
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
216
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
217
|
-
};
|
|
218
|
-
exports.se_ListDeploymentConfigsCommand = se_ListDeploymentConfigsCommand;
|
|
219
|
-
const se_ListDeploymentGroupsCommand = async (input, context) => {
|
|
220
|
-
const headers = sharedHeaders("ListDeploymentGroups");
|
|
221
|
-
let body;
|
|
222
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
223
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
224
|
-
};
|
|
225
|
-
exports.se_ListDeploymentGroupsCommand = se_ListDeploymentGroupsCommand;
|
|
226
|
-
const se_ListDeploymentInstancesCommand = async (input, context) => {
|
|
227
|
-
const headers = sharedHeaders("ListDeploymentInstances");
|
|
228
|
-
let body;
|
|
229
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
230
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
231
|
-
};
|
|
232
|
-
exports.se_ListDeploymentInstancesCommand = se_ListDeploymentInstancesCommand;
|
|
233
|
-
const se_ListDeploymentsCommand = async (input, context) => {
|
|
234
|
-
const headers = sharedHeaders("ListDeployments");
|
|
235
|
-
let body;
|
|
236
|
-
body = JSON.stringify(se_ListDeploymentsInput(input, context));
|
|
237
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
|
-
};
|
|
239
|
-
exports.se_ListDeploymentsCommand = se_ListDeploymentsCommand;
|
|
240
|
-
const se_ListDeploymentTargetsCommand = async (input, context) => {
|
|
241
|
-
const headers = sharedHeaders("ListDeploymentTargets");
|
|
242
|
-
let body;
|
|
243
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
244
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
|
-
};
|
|
246
|
-
exports.se_ListDeploymentTargetsCommand = se_ListDeploymentTargetsCommand;
|
|
247
|
-
const se_ListGitHubAccountTokenNamesCommand = async (input, context) => {
|
|
248
|
-
const headers = sharedHeaders("ListGitHubAccountTokenNames");
|
|
249
|
-
let body;
|
|
250
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
251
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
252
|
-
};
|
|
253
|
-
exports.se_ListGitHubAccountTokenNamesCommand = se_ListGitHubAccountTokenNamesCommand;
|
|
254
|
-
const se_ListOnPremisesInstancesCommand = async (input, context) => {
|
|
255
|
-
const headers = sharedHeaders("ListOnPremisesInstances");
|
|
256
|
-
let body;
|
|
257
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
258
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
259
|
-
};
|
|
260
|
-
exports.se_ListOnPremisesInstancesCommand = se_ListOnPremisesInstancesCommand;
|
|
261
|
-
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
262
|
-
const headers = sharedHeaders("ListTagsForResource");
|
|
263
|
-
let body;
|
|
264
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
265
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
266
|
-
};
|
|
267
|
-
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
268
|
-
const se_PutLifecycleEventHookExecutionStatusCommand = async (input, context) => {
|
|
269
|
-
const headers = sharedHeaders("PutLifecycleEventHookExecutionStatus");
|
|
270
|
-
let body;
|
|
271
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
272
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
273
|
-
};
|
|
274
|
-
exports.se_PutLifecycleEventHookExecutionStatusCommand = se_PutLifecycleEventHookExecutionStatusCommand;
|
|
275
|
-
const se_RegisterApplicationRevisionCommand = async (input, context) => {
|
|
276
|
-
const headers = sharedHeaders("RegisterApplicationRevision");
|
|
277
|
-
let body;
|
|
278
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
279
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
280
|
-
};
|
|
281
|
-
exports.se_RegisterApplicationRevisionCommand = se_RegisterApplicationRevisionCommand;
|
|
282
|
-
const se_RegisterOnPremisesInstanceCommand = async (input, context) => {
|
|
283
|
-
const headers = sharedHeaders("RegisterOnPremisesInstance");
|
|
284
|
-
let body;
|
|
285
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
286
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
287
|
-
};
|
|
288
|
-
exports.se_RegisterOnPremisesInstanceCommand = se_RegisterOnPremisesInstanceCommand;
|
|
289
|
-
const se_RemoveTagsFromOnPremisesInstancesCommand = async (input, context) => {
|
|
290
|
-
const headers = sharedHeaders("RemoveTagsFromOnPremisesInstances");
|
|
291
|
-
let body;
|
|
292
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
293
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
294
|
-
};
|
|
295
|
-
exports.se_RemoveTagsFromOnPremisesInstancesCommand = se_RemoveTagsFromOnPremisesInstancesCommand;
|
|
296
|
-
const se_SkipWaitTimeForInstanceTerminationCommand = async (input, context) => {
|
|
297
|
-
const headers = sharedHeaders("SkipWaitTimeForInstanceTermination");
|
|
298
|
-
let body;
|
|
299
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
300
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
301
|
-
};
|
|
302
|
-
exports.se_SkipWaitTimeForInstanceTerminationCommand = se_SkipWaitTimeForInstanceTerminationCommand;
|
|
303
|
-
const se_StopDeploymentCommand = async (input, context) => {
|
|
304
|
-
const headers = sharedHeaders("StopDeployment");
|
|
305
|
-
let body;
|
|
306
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
307
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
308
|
-
};
|
|
309
|
-
exports.se_StopDeploymentCommand = se_StopDeploymentCommand;
|
|
310
|
-
const se_TagResourceCommand = async (input, context) => {
|
|
311
|
-
const headers = sharedHeaders("TagResource");
|
|
312
|
-
let body;
|
|
313
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
314
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
315
|
-
};
|
|
316
|
-
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
317
|
-
const se_UntagResourceCommand = async (input, context) => {
|
|
318
|
-
const headers = sharedHeaders("UntagResource");
|
|
319
|
-
let body;
|
|
320
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
321
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
322
|
-
};
|
|
323
|
-
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
324
|
-
const se_UpdateApplicationCommand = async (input, context) => {
|
|
325
|
-
const headers = sharedHeaders("UpdateApplication");
|
|
326
|
-
let body;
|
|
327
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
328
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
329
|
-
};
|
|
330
|
-
exports.se_UpdateApplicationCommand = se_UpdateApplicationCommand;
|
|
331
|
-
const se_UpdateDeploymentGroupCommand = async (input, context) => {
|
|
332
|
-
const headers = sharedHeaders("UpdateDeploymentGroup");
|
|
333
|
-
let body;
|
|
334
|
-
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
335
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
336
|
-
};
|
|
337
|
-
exports.se_UpdateDeploymentGroupCommand = se_UpdateDeploymentGroupCommand;
|
|
338
|
-
const de_AddTagsToOnPremisesInstancesCommand = async (output, context) => {
|
|
339
|
-
if (output.statusCode >= 300) {
|
|
340
|
-
return de_AddTagsToOnPremisesInstancesCommandError(output, context);
|
|
341
|
-
}
|
|
342
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
343
|
-
const response = {
|
|
344
|
-
$metadata: deserializeMetadata(output),
|
|
345
|
-
};
|
|
346
|
-
return response;
|
|
347
|
-
};
|
|
348
|
-
exports.de_AddTagsToOnPremisesInstancesCommand = de_AddTagsToOnPremisesInstancesCommand;
|
|
349
|
-
const de_AddTagsToOnPremisesInstancesCommandError = async (output, context) => {
|
|
350
|
-
const parsedOutput = {
|
|
351
|
-
...output,
|
|
352
|
-
body: await parseErrorBody(output.body, context),
|
|
353
|
-
};
|
|
354
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
355
|
-
switch (errorCode) {
|
|
356
|
-
case "InstanceLimitExceededException":
|
|
357
|
-
case "com.amazonaws.codedeploy#InstanceLimitExceededException":
|
|
358
|
-
throw await de_InstanceLimitExceededExceptionRes(parsedOutput, context);
|
|
359
|
-
case "InstanceNameRequiredException":
|
|
360
|
-
case "com.amazonaws.codedeploy#InstanceNameRequiredException":
|
|
361
|
-
throw await de_InstanceNameRequiredExceptionRes(parsedOutput, context);
|
|
362
|
-
case "InstanceNotRegisteredException":
|
|
363
|
-
case "com.amazonaws.codedeploy#InstanceNotRegisteredException":
|
|
364
|
-
throw await de_InstanceNotRegisteredExceptionRes(parsedOutput, context);
|
|
365
|
-
case "InvalidInstanceNameException":
|
|
366
|
-
case "com.amazonaws.codedeploy#InvalidInstanceNameException":
|
|
367
|
-
throw await de_InvalidInstanceNameExceptionRes(parsedOutput, context);
|
|
368
|
-
case "InvalidTagException":
|
|
369
|
-
case "com.amazonaws.codedeploy#InvalidTagException":
|
|
370
|
-
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
371
|
-
case "TagLimitExceededException":
|
|
372
|
-
case "com.amazonaws.codedeploy#TagLimitExceededException":
|
|
373
|
-
throw await de_TagLimitExceededExceptionRes(parsedOutput, context);
|
|
374
|
-
case "TagRequiredException":
|
|
375
|
-
case "com.amazonaws.codedeploy#TagRequiredException":
|
|
376
|
-
throw await de_TagRequiredExceptionRes(parsedOutput, context);
|
|
377
|
-
default:
|
|
378
|
-
const parsedBody = parsedOutput.body;
|
|
379
|
-
return throwDefaultError({
|
|
380
|
-
output,
|
|
381
|
-
parsedBody,
|
|
382
|
-
errorCode,
|
|
383
|
-
});
|
|
384
|
-
}
|
|
385
|
-
};
|
|
386
|
-
const de_BatchGetApplicationRevisionsCommand = async (output, context) => {
|
|
387
|
-
if (output.statusCode >= 300) {
|
|
388
|
-
return de_BatchGetApplicationRevisionsCommandError(output, context);
|
|
389
|
-
}
|
|
390
|
-
const data = await parseBody(output.body, context);
|
|
391
|
-
let contents = {};
|
|
392
|
-
contents = de_BatchGetApplicationRevisionsOutput(data, context);
|
|
393
|
-
const response = {
|
|
394
|
-
$metadata: deserializeMetadata(output),
|
|
395
|
-
...contents,
|
|
396
|
-
};
|
|
397
|
-
return response;
|
|
398
|
-
};
|
|
399
|
-
exports.de_BatchGetApplicationRevisionsCommand = de_BatchGetApplicationRevisionsCommand;
|
|
400
|
-
const de_BatchGetApplicationRevisionsCommandError = async (output, context) => {
|
|
401
|
-
const parsedOutput = {
|
|
402
|
-
...output,
|
|
403
|
-
body: await parseErrorBody(output.body, context),
|
|
404
|
-
};
|
|
405
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
406
|
-
switch (errorCode) {
|
|
407
|
-
case "ApplicationDoesNotExistException":
|
|
408
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
409
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
410
|
-
case "ApplicationNameRequiredException":
|
|
411
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
412
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
413
|
-
case "BatchLimitExceededException":
|
|
414
|
-
case "com.amazonaws.codedeploy#BatchLimitExceededException":
|
|
415
|
-
throw await de_BatchLimitExceededExceptionRes(parsedOutput, context);
|
|
416
|
-
case "InvalidApplicationNameException":
|
|
417
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
418
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
419
|
-
case "InvalidRevisionException":
|
|
420
|
-
case "com.amazonaws.codedeploy#InvalidRevisionException":
|
|
421
|
-
throw await de_InvalidRevisionExceptionRes(parsedOutput, context);
|
|
422
|
-
case "RevisionRequiredException":
|
|
423
|
-
case "com.amazonaws.codedeploy#RevisionRequiredException":
|
|
424
|
-
throw await de_RevisionRequiredExceptionRes(parsedOutput, context);
|
|
425
|
-
default:
|
|
426
|
-
const parsedBody = parsedOutput.body;
|
|
427
|
-
return throwDefaultError({
|
|
428
|
-
output,
|
|
429
|
-
parsedBody,
|
|
430
|
-
errorCode,
|
|
431
|
-
});
|
|
432
|
-
}
|
|
433
|
-
};
|
|
434
|
-
const de_BatchGetApplicationsCommand = async (output, context) => {
|
|
435
|
-
if (output.statusCode >= 300) {
|
|
436
|
-
return de_BatchGetApplicationsCommandError(output, context);
|
|
437
|
-
}
|
|
438
|
-
const data = await parseBody(output.body, context);
|
|
439
|
-
let contents = {};
|
|
440
|
-
contents = de_BatchGetApplicationsOutput(data, context);
|
|
441
|
-
const response = {
|
|
442
|
-
$metadata: deserializeMetadata(output),
|
|
443
|
-
...contents,
|
|
444
|
-
};
|
|
445
|
-
return response;
|
|
446
|
-
};
|
|
447
|
-
exports.de_BatchGetApplicationsCommand = de_BatchGetApplicationsCommand;
|
|
448
|
-
const de_BatchGetApplicationsCommandError = async (output, context) => {
|
|
449
|
-
const parsedOutput = {
|
|
450
|
-
...output,
|
|
451
|
-
body: await parseErrorBody(output.body, context),
|
|
452
|
-
};
|
|
453
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
454
|
-
switch (errorCode) {
|
|
455
|
-
case "ApplicationDoesNotExistException":
|
|
456
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
457
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
458
|
-
case "ApplicationNameRequiredException":
|
|
459
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
460
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
461
|
-
case "BatchLimitExceededException":
|
|
462
|
-
case "com.amazonaws.codedeploy#BatchLimitExceededException":
|
|
463
|
-
throw await de_BatchLimitExceededExceptionRes(parsedOutput, context);
|
|
464
|
-
case "InvalidApplicationNameException":
|
|
465
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
466
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
467
|
-
default:
|
|
468
|
-
const parsedBody = parsedOutput.body;
|
|
469
|
-
return throwDefaultError({
|
|
470
|
-
output,
|
|
471
|
-
parsedBody,
|
|
472
|
-
errorCode,
|
|
473
|
-
});
|
|
474
|
-
}
|
|
475
|
-
};
|
|
476
|
-
const de_BatchGetDeploymentGroupsCommand = async (output, context) => {
|
|
477
|
-
if (output.statusCode >= 300) {
|
|
478
|
-
return de_BatchGetDeploymentGroupsCommandError(output, context);
|
|
479
|
-
}
|
|
480
|
-
const data = await parseBody(output.body, context);
|
|
481
|
-
let contents = {};
|
|
482
|
-
contents = de_BatchGetDeploymentGroupsOutput(data, context);
|
|
483
|
-
const response = {
|
|
484
|
-
$metadata: deserializeMetadata(output),
|
|
485
|
-
...contents,
|
|
486
|
-
};
|
|
487
|
-
return response;
|
|
488
|
-
};
|
|
489
|
-
exports.de_BatchGetDeploymentGroupsCommand = de_BatchGetDeploymentGroupsCommand;
|
|
490
|
-
const de_BatchGetDeploymentGroupsCommandError = async (output, context) => {
|
|
491
|
-
const parsedOutput = {
|
|
492
|
-
...output,
|
|
493
|
-
body: await parseErrorBody(output.body, context),
|
|
494
|
-
};
|
|
495
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
496
|
-
switch (errorCode) {
|
|
497
|
-
case "ApplicationDoesNotExistException":
|
|
498
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
499
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
500
|
-
case "ApplicationNameRequiredException":
|
|
501
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
502
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
503
|
-
case "BatchLimitExceededException":
|
|
504
|
-
case "com.amazonaws.codedeploy#BatchLimitExceededException":
|
|
505
|
-
throw await de_BatchLimitExceededExceptionRes(parsedOutput, context);
|
|
506
|
-
case "DeploymentConfigDoesNotExistException":
|
|
507
|
-
case "com.amazonaws.codedeploy#DeploymentConfigDoesNotExistException":
|
|
508
|
-
throw await de_DeploymentConfigDoesNotExistExceptionRes(parsedOutput, context);
|
|
509
|
-
case "DeploymentGroupNameRequiredException":
|
|
510
|
-
case "com.amazonaws.codedeploy#DeploymentGroupNameRequiredException":
|
|
511
|
-
throw await de_DeploymentGroupNameRequiredExceptionRes(parsedOutput, context);
|
|
512
|
-
case "InvalidApplicationNameException":
|
|
513
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
514
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
515
|
-
case "InvalidDeploymentGroupNameException":
|
|
516
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentGroupNameException":
|
|
517
|
-
throw await de_InvalidDeploymentGroupNameExceptionRes(parsedOutput, context);
|
|
518
|
-
default:
|
|
519
|
-
const parsedBody = parsedOutput.body;
|
|
520
|
-
return throwDefaultError({
|
|
521
|
-
output,
|
|
522
|
-
parsedBody,
|
|
523
|
-
errorCode,
|
|
524
|
-
});
|
|
525
|
-
}
|
|
526
|
-
};
|
|
527
|
-
const de_BatchGetDeploymentInstancesCommand = async (output, context) => {
|
|
528
|
-
if (output.statusCode >= 300) {
|
|
529
|
-
return de_BatchGetDeploymentInstancesCommandError(output, context);
|
|
530
|
-
}
|
|
531
|
-
const data = await parseBody(output.body, context);
|
|
532
|
-
let contents = {};
|
|
533
|
-
contents = de_BatchGetDeploymentInstancesOutput(data, context);
|
|
534
|
-
const response = {
|
|
535
|
-
$metadata: deserializeMetadata(output),
|
|
536
|
-
...contents,
|
|
537
|
-
};
|
|
538
|
-
return response;
|
|
539
|
-
};
|
|
540
|
-
exports.de_BatchGetDeploymentInstancesCommand = de_BatchGetDeploymentInstancesCommand;
|
|
541
|
-
const de_BatchGetDeploymentInstancesCommandError = async (output, context) => {
|
|
542
|
-
const parsedOutput = {
|
|
543
|
-
...output,
|
|
544
|
-
body: await parseErrorBody(output.body, context),
|
|
545
|
-
};
|
|
546
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
547
|
-
switch (errorCode) {
|
|
548
|
-
case "BatchLimitExceededException":
|
|
549
|
-
case "com.amazonaws.codedeploy#BatchLimitExceededException":
|
|
550
|
-
throw await de_BatchLimitExceededExceptionRes(parsedOutput, context);
|
|
551
|
-
case "DeploymentDoesNotExistException":
|
|
552
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
553
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
554
|
-
case "DeploymentIdRequiredException":
|
|
555
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
556
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
557
|
-
case "InstanceIdRequiredException":
|
|
558
|
-
case "com.amazonaws.codedeploy#InstanceIdRequiredException":
|
|
559
|
-
throw await de_InstanceIdRequiredExceptionRes(parsedOutput, context);
|
|
560
|
-
case "InvalidComputePlatformException":
|
|
561
|
-
case "com.amazonaws.codedeploy#InvalidComputePlatformException":
|
|
562
|
-
throw await de_InvalidComputePlatformExceptionRes(parsedOutput, context);
|
|
563
|
-
case "InvalidDeploymentIdException":
|
|
564
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
565
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
566
|
-
case "InvalidInstanceNameException":
|
|
567
|
-
case "com.amazonaws.codedeploy#InvalidInstanceNameException":
|
|
568
|
-
throw await de_InvalidInstanceNameExceptionRes(parsedOutput, context);
|
|
569
|
-
default:
|
|
570
|
-
const parsedBody = parsedOutput.body;
|
|
571
|
-
return throwDefaultError({
|
|
572
|
-
output,
|
|
573
|
-
parsedBody,
|
|
574
|
-
errorCode,
|
|
575
|
-
});
|
|
576
|
-
}
|
|
577
|
-
};
|
|
578
|
-
const de_BatchGetDeploymentsCommand = async (output, context) => {
|
|
579
|
-
if (output.statusCode >= 300) {
|
|
580
|
-
return de_BatchGetDeploymentsCommandError(output, context);
|
|
581
|
-
}
|
|
582
|
-
const data = await parseBody(output.body, context);
|
|
583
|
-
let contents = {};
|
|
584
|
-
contents = de_BatchGetDeploymentsOutput(data, context);
|
|
585
|
-
const response = {
|
|
586
|
-
$metadata: deserializeMetadata(output),
|
|
587
|
-
...contents,
|
|
588
|
-
};
|
|
589
|
-
return response;
|
|
590
|
-
};
|
|
591
|
-
exports.de_BatchGetDeploymentsCommand = de_BatchGetDeploymentsCommand;
|
|
592
|
-
const de_BatchGetDeploymentsCommandError = async (output, context) => {
|
|
593
|
-
const parsedOutput = {
|
|
594
|
-
...output,
|
|
595
|
-
body: await parseErrorBody(output.body, context),
|
|
596
|
-
};
|
|
597
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
598
|
-
switch (errorCode) {
|
|
599
|
-
case "BatchLimitExceededException":
|
|
600
|
-
case "com.amazonaws.codedeploy#BatchLimitExceededException":
|
|
601
|
-
throw await de_BatchLimitExceededExceptionRes(parsedOutput, context);
|
|
602
|
-
case "DeploymentIdRequiredException":
|
|
603
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
604
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
605
|
-
case "InvalidDeploymentIdException":
|
|
606
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
607
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
608
|
-
default:
|
|
609
|
-
const parsedBody = parsedOutput.body;
|
|
610
|
-
return throwDefaultError({
|
|
611
|
-
output,
|
|
612
|
-
parsedBody,
|
|
613
|
-
errorCode,
|
|
614
|
-
});
|
|
615
|
-
}
|
|
616
|
-
};
|
|
617
|
-
const de_BatchGetDeploymentTargetsCommand = async (output, context) => {
|
|
618
|
-
if (output.statusCode >= 300) {
|
|
619
|
-
return de_BatchGetDeploymentTargetsCommandError(output, context);
|
|
620
|
-
}
|
|
621
|
-
const data = await parseBody(output.body, context);
|
|
622
|
-
let contents = {};
|
|
623
|
-
contents = de_BatchGetDeploymentTargetsOutput(data, context);
|
|
624
|
-
const response = {
|
|
625
|
-
$metadata: deserializeMetadata(output),
|
|
626
|
-
...contents,
|
|
627
|
-
};
|
|
628
|
-
return response;
|
|
629
|
-
};
|
|
630
|
-
exports.de_BatchGetDeploymentTargetsCommand = de_BatchGetDeploymentTargetsCommand;
|
|
631
|
-
const de_BatchGetDeploymentTargetsCommandError = async (output, context) => {
|
|
632
|
-
const parsedOutput = {
|
|
633
|
-
...output,
|
|
634
|
-
body: await parseErrorBody(output.body, context),
|
|
635
|
-
};
|
|
636
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
637
|
-
switch (errorCode) {
|
|
638
|
-
case "DeploymentDoesNotExistException":
|
|
639
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
640
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
641
|
-
case "DeploymentIdRequiredException":
|
|
642
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
643
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
644
|
-
case "DeploymentNotStartedException":
|
|
645
|
-
case "com.amazonaws.codedeploy#DeploymentNotStartedException":
|
|
646
|
-
throw await de_DeploymentNotStartedExceptionRes(parsedOutput, context);
|
|
647
|
-
case "DeploymentTargetDoesNotExistException":
|
|
648
|
-
case "com.amazonaws.codedeploy#DeploymentTargetDoesNotExistException":
|
|
649
|
-
throw await de_DeploymentTargetDoesNotExistExceptionRes(parsedOutput, context);
|
|
650
|
-
case "DeploymentTargetIdRequiredException":
|
|
651
|
-
case "com.amazonaws.codedeploy#DeploymentTargetIdRequiredException":
|
|
652
|
-
throw await de_DeploymentTargetIdRequiredExceptionRes(parsedOutput, context);
|
|
653
|
-
case "DeploymentTargetListSizeExceededException":
|
|
654
|
-
case "com.amazonaws.codedeploy#DeploymentTargetListSizeExceededException":
|
|
655
|
-
throw await de_DeploymentTargetListSizeExceededExceptionRes(parsedOutput, context);
|
|
656
|
-
case "InstanceDoesNotExistException":
|
|
657
|
-
case "com.amazonaws.codedeploy#InstanceDoesNotExistException":
|
|
658
|
-
throw await de_InstanceDoesNotExistExceptionRes(parsedOutput, context);
|
|
659
|
-
case "InvalidDeploymentIdException":
|
|
660
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
661
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
662
|
-
case "InvalidDeploymentTargetIdException":
|
|
663
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentTargetIdException":
|
|
664
|
-
throw await de_InvalidDeploymentTargetIdExceptionRes(parsedOutput, context);
|
|
665
|
-
default:
|
|
666
|
-
const parsedBody = parsedOutput.body;
|
|
667
|
-
return throwDefaultError({
|
|
668
|
-
output,
|
|
669
|
-
parsedBody,
|
|
670
|
-
errorCode,
|
|
671
|
-
});
|
|
672
|
-
}
|
|
673
|
-
};
|
|
674
|
-
const de_BatchGetOnPremisesInstancesCommand = async (output, context) => {
|
|
675
|
-
if (output.statusCode >= 300) {
|
|
676
|
-
return de_BatchGetOnPremisesInstancesCommandError(output, context);
|
|
677
|
-
}
|
|
678
|
-
const data = await parseBody(output.body, context);
|
|
679
|
-
let contents = {};
|
|
680
|
-
contents = de_BatchGetOnPremisesInstancesOutput(data, context);
|
|
681
|
-
const response = {
|
|
682
|
-
$metadata: deserializeMetadata(output),
|
|
683
|
-
...contents,
|
|
684
|
-
};
|
|
685
|
-
return response;
|
|
686
|
-
};
|
|
687
|
-
exports.de_BatchGetOnPremisesInstancesCommand = de_BatchGetOnPremisesInstancesCommand;
|
|
688
|
-
const de_BatchGetOnPremisesInstancesCommandError = async (output, context) => {
|
|
689
|
-
const parsedOutput = {
|
|
690
|
-
...output,
|
|
691
|
-
body: await parseErrorBody(output.body, context),
|
|
692
|
-
};
|
|
693
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
694
|
-
switch (errorCode) {
|
|
695
|
-
case "BatchLimitExceededException":
|
|
696
|
-
case "com.amazonaws.codedeploy#BatchLimitExceededException":
|
|
697
|
-
throw await de_BatchLimitExceededExceptionRes(parsedOutput, context);
|
|
698
|
-
case "InstanceNameRequiredException":
|
|
699
|
-
case "com.amazonaws.codedeploy#InstanceNameRequiredException":
|
|
700
|
-
throw await de_InstanceNameRequiredExceptionRes(parsedOutput, context);
|
|
701
|
-
case "InvalidInstanceNameException":
|
|
702
|
-
case "com.amazonaws.codedeploy#InvalidInstanceNameException":
|
|
703
|
-
throw await de_InvalidInstanceNameExceptionRes(parsedOutput, context);
|
|
704
|
-
default:
|
|
705
|
-
const parsedBody = parsedOutput.body;
|
|
706
|
-
return throwDefaultError({
|
|
707
|
-
output,
|
|
708
|
-
parsedBody,
|
|
709
|
-
errorCode,
|
|
710
|
-
});
|
|
711
|
-
}
|
|
712
|
-
};
|
|
713
|
-
const de_ContinueDeploymentCommand = async (output, context) => {
|
|
714
|
-
if (output.statusCode >= 300) {
|
|
715
|
-
return de_ContinueDeploymentCommandError(output, context);
|
|
716
|
-
}
|
|
717
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
718
|
-
const response = {
|
|
719
|
-
$metadata: deserializeMetadata(output),
|
|
720
|
-
};
|
|
721
|
-
return response;
|
|
722
|
-
};
|
|
723
|
-
exports.de_ContinueDeploymentCommand = de_ContinueDeploymentCommand;
|
|
724
|
-
const de_ContinueDeploymentCommandError = async (output, context) => {
|
|
725
|
-
const parsedOutput = {
|
|
726
|
-
...output,
|
|
727
|
-
body: await parseErrorBody(output.body, context),
|
|
728
|
-
};
|
|
729
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
730
|
-
switch (errorCode) {
|
|
731
|
-
case "DeploymentAlreadyCompletedException":
|
|
732
|
-
case "com.amazonaws.codedeploy#DeploymentAlreadyCompletedException":
|
|
733
|
-
throw await de_DeploymentAlreadyCompletedExceptionRes(parsedOutput, context);
|
|
734
|
-
case "DeploymentDoesNotExistException":
|
|
735
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
736
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
737
|
-
case "DeploymentIdRequiredException":
|
|
738
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
739
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
740
|
-
case "DeploymentIsNotInReadyStateException":
|
|
741
|
-
case "com.amazonaws.codedeploy#DeploymentIsNotInReadyStateException":
|
|
742
|
-
throw await de_DeploymentIsNotInReadyStateExceptionRes(parsedOutput, context);
|
|
743
|
-
case "InvalidDeploymentIdException":
|
|
744
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
745
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
746
|
-
case "InvalidDeploymentStatusException":
|
|
747
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentStatusException":
|
|
748
|
-
throw await de_InvalidDeploymentStatusExceptionRes(parsedOutput, context);
|
|
749
|
-
case "InvalidDeploymentWaitTypeException":
|
|
750
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentWaitTypeException":
|
|
751
|
-
throw await de_InvalidDeploymentWaitTypeExceptionRes(parsedOutput, context);
|
|
752
|
-
case "UnsupportedActionForDeploymentTypeException":
|
|
753
|
-
case "com.amazonaws.codedeploy#UnsupportedActionForDeploymentTypeException":
|
|
754
|
-
throw await de_UnsupportedActionForDeploymentTypeExceptionRes(parsedOutput, context);
|
|
755
|
-
default:
|
|
756
|
-
const parsedBody = parsedOutput.body;
|
|
757
|
-
return throwDefaultError({
|
|
758
|
-
output,
|
|
759
|
-
parsedBody,
|
|
760
|
-
errorCode,
|
|
761
|
-
});
|
|
762
|
-
}
|
|
763
|
-
};
|
|
764
|
-
const de_CreateApplicationCommand = async (output, context) => {
|
|
765
|
-
if (output.statusCode >= 300) {
|
|
766
|
-
return de_CreateApplicationCommandError(output, context);
|
|
767
|
-
}
|
|
768
|
-
const data = await parseBody(output.body, context);
|
|
769
|
-
let contents = {};
|
|
770
|
-
contents = (0, smithy_client_1._json)(data);
|
|
771
|
-
const response = {
|
|
772
|
-
$metadata: deserializeMetadata(output),
|
|
773
|
-
...contents,
|
|
774
|
-
};
|
|
775
|
-
return response;
|
|
776
|
-
};
|
|
777
|
-
exports.de_CreateApplicationCommand = de_CreateApplicationCommand;
|
|
778
|
-
const de_CreateApplicationCommandError = async (output, context) => {
|
|
779
|
-
const parsedOutput = {
|
|
780
|
-
...output,
|
|
781
|
-
body: await parseErrorBody(output.body, context),
|
|
782
|
-
};
|
|
783
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
784
|
-
switch (errorCode) {
|
|
785
|
-
case "ApplicationAlreadyExistsException":
|
|
786
|
-
case "com.amazonaws.codedeploy#ApplicationAlreadyExistsException":
|
|
787
|
-
throw await de_ApplicationAlreadyExistsExceptionRes(parsedOutput, context);
|
|
788
|
-
case "ApplicationLimitExceededException":
|
|
789
|
-
case "com.amazonaws.codedeploy#ApplicationLimitExceededException":
|
|
790
|
-
throw await de_ApplicationLimitExceededExceptionRes(parsedOutput, context);
|
|
791
|
-
case "ApplicationNameRequiredException":
|
|
792
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
793
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
794
|
-
case "InvalidApplicationNameException":
|
|
795
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
796
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
797
|
-
case "InvalidComputePlatformException":
|
|
798
|
-
case "com.amazonaws.codedeploy#InvalidComputePlatformException":
|
|
799
|
-
throw await de_InvalidComputePlatformExceptionRes(parsedOutput, context);
|
|
800
|
-
case "InvalidTagsToAddException":
|
|
801
|
-
case "com.amazonaws.codedeploy#InvalidTagsToAddException":
|
|
802
|
-
throw await de_InvalidTagsToAddExceptionRes(parsedOutput, context);
|
|
803
|
-
default:
|
|
804
|
-
const parsedBody = parsedOutput.body;
|
|
805
|
-
return throwDefaultError({
|
|
806
|
-
output,
|
|
807
|
-
parsedBody,
|
|
808
|
-
errorCode,
|
|
809
|
-
});
|
|
810
|
-
}
|
|
811
|
-
};
|
|
812
|
-
const de_CreateDeploymentCommand = async (output, context) => {
|
|
813
|
-
if (output.statusCode >= 300) {
|
|
814
|
-
return de_CreateDeploymentCommandError(output, context);
|
|
815
|
-
}
|
|
816
|
-
const data = await parseBody(output.body, context);
|
|
817
|
-
let contents = {};
|
|
818
|
-
contents = (0, smithy_client_1._json)(data);
|
|
819
|
-
const response = {
|
|
820
|
-
$metadata: deserializeMetadata(output),
|
|
821
|
-
...contents,
|
|
822
|
-
};
|
|
823
|
-
return response;
|
|
824
|
-
};
|
|
825
|
-
exports.de_CreateDeploymentCommand = de_CreateDeploymentCommand;
|
|
826
|
-
const de_CreateDeploymentCommandError = async (output, context) => {
|
|
827
|
-
const parsedOutput = {
|
|
828
|
-
...output,
|
|
829
|
-
body: await parseErrorBody(output.body, context),
|
|
830
|
-
};
|
|
831
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
832
|
-
switch (errorCode) {
|
|
833
|
-
case "AlarmsLimitExceededException":
|
|
834
|
-
case "com.amazonaws.codedeploy#AlarmsLimitExceededException":
|
|
835
|
-
throw await de_AlarmsLimitExceededExceptionRes(parsedOutput, context);
|
|
836
|
-
case "ApplicationDoesNotExistException":
|
|
837
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
838
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
839
|
-
case "ApplicationNameRequiredException":
|
|
840
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
841
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
842
|
-
case "DeploymentConfigDoesNotExistException":
|
|
843
|
-
case "com.amazonaws.codedeploy#DeploymentConfigDoesNotExistException":
|
|
844
|
-
throw await de_DeploymentConfigDoesNotExistExceptionRes(parsedOutput, context);
|
|
845
|
-
case "DeploymentGroupDoesNotExistException":
|
|
846
|
-
case "com.amazonaws.codedeploy#DeploymentGroupDoesNotExistException":
|
|
847
|
-
throw await de_DeploymentGroupDoesNotExistExceptionRes(parsedOutput, context);
|
|
848
|
-
case "DeploymentGroupNameRequiredException":
|
|
849
|
-
case "com.amazonaws.codedeploy#DeploymentGroupNameRequiredException":
|
|
850
|
-
throw await de_DeploymentGroupNameRequiredExceptionRes(parsedOutput, context);
|
|
851
|
-
case "DeploymentLimitExceededException":
|
|
852
|
-
case "com.amazonaws.codedeploy#DeploymentLimitExceededException":
|
|
853
|
-
throw await de_DeploymentLimitExceededExceptionRes(parsedOutput, context);
|
|
854
|
-
case "DescriptionTooLongException":
|
|
855
|
-
case "com.amazonaws.codedeploy#DescriptionTooLongException":
|
|
856
|
-
throw await de_DescriptionTooLongExceptionRes(parsedOutput, context);
|
|
857
|
-
case "InvalidAlarmConfigException":
|
|
858
|
-
case "com.amazonaws.codedeploy#InvalidAlarmConfigException":
|
|
859
|
-
throw await de_InvalidAlarmConfigExceptionRes(parsedOutput, context);
|
|
860
|
-
case "InvalidApplicationNameException":
|
|
861
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
862
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
863
|
-
case "InvalidAutoRollbackConfigException":
|
|
864
|
-
case "com.amazonaws.codedeploy#InvalidAutoRollbackConfigException":
|
|
865
|
-
throw await de_InvalidAutoRollbackConfigExceptionRes(parsedOutput, context);
|
|
866
|
-
case "InvalidAutoScalingGroupException":
|
|
867
|
-
case "com.amazonaws.codedeploy#InvalidAutoScalingGroupException":
|
|
868
|
-
throw await de_InvalidAutoScalingGroupExceptionRes(parsedOutput, context);
|
|
869
|
-
case "InvalidDeploymentConfigNameException":
|
|
870
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentConfigNameException":
|
|
871
|
-
throw await de_InvalidDeploymentConfigNameExceptionRes(parsedOutput, context);
|
|
872
|
-
case "InvalidDeploymentGroupNameException":
|
|
873
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentGroupNameException":
|
|
874
|
-
throw await de_InvalidDeploymentGroupNameExceptionRes(parsedOutput, context);
|
|
875
|
-
case "InvalidFileExistsBehaviorException":
|
|
876
|
-
case "com.amazonaws.codedeploy#InvalidFileExistsBehaviorException":
|
|
877
|
-
throw await de_InvalidFileExistsBehaviorExceptionRes(parsedOutput, context);
|
|
878
|
-
case "InvalidGitHubAccountTokenException":
|
|
879
|
-
case "com.amazonaws.codedeploy#InvalidGitHubAccountTokenException":
|
|
880
|
-
throw await de_InvalidGitHubAccountTokenExceptionRes(parsedOutput, context);
|
|
881
|
-
case "InvalidIgnoreApplicationStopFailuresValueException":
|
|
882
|
-
case "com.amazonaws.codedeploy#InvalidIgnoreApplicationStopFailuresValueException":
|
|
883
|
-
throw await de_InvalidIgnoreApplicationStopFailuresValueExceptionRes(parsedOutput, context);
|
|
884
|
-
case "InvalidLoadBalancerInfoException":
|
|
885
|
-
case "com.amazonaws.codedeploy#InvalidLoadBalancerInfoException":
|
|
886
|
-
throw await de_InvalidLoadBalancerInfoExceptionRes(parsedOutput, context);
|
|
887
|
-
case "InvalidRevisionException":
|
|
888
|
-
case "com.amazonaws.codedeploy#InvalidRevisionException":
|
|
889
|
-
throw await de_InvalidRevisionExceptionRes(parsedOutput, context);
|
|
890
|
-
case "InvalidRoleException":
|
|
891
|
-
case "com.amazonaws.codedeploy#InvalidRoleException":
|
|
892
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
893
|
-
case "InvalidTargetInstancesException":
|
|
894
|
-
case "com.amazonaws.codedeploy#InvalidTargetInstancesException":
|
|
895
|
-
throw await de_InvalidTargetInstancesExceptionRes(parsedOutput, context);
|
|
896
|
-
case "InvalidTrafficRoutingConfigurationException":
|
|
897
|
-
case "com.amazonaws.codedeploy#InvalidTrafficRoutingConfigurationException":
|
|
898
|
-
throw await de_InvalidTrafficRoutingConfigurationExceptionRes(parsedOutput, context);
|
|
899
|
-
case "InvalidUpdateOutdatedInstancesOnlyValueException":
|
|
900
|
-
case "com.amazonaws.codedeploy#InvalidUpdateOutdatedInstancesOnlyValueException":
|
|
901
|
-
throw await de_InvalidUpdateOutdatedInstancesOnlyValueExceptionRes(parsedOutput, context);
|
|
902
|
-
case "RevisionDoesNotExistException":
|
|
903
|
-
case "com.amazonaws.codedeploy#RevisionDoesNotExistException":
|
|
904
|
-
throw await de_RevisionDoesNotExistExceptionRes(parsedOutput, context);
|
|
905
|
-
case "RevisionRequiredException":
|
|
906
|
-
case "com.amazonaws.codedeploy#RevisionRequiredException":
|
|
907
|
-
throw await de_RevisionRequiredExceptionRes(parsedOutput, context);
|
|
908
|
-
case "ThrottlingException":
|
|
909
|
-
case "com.amazonaws.codedeploy#ThrottlingException":
|
|
910
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
911
|
-
default:
|
|
912
|
-
const parsedBody = parsedOutput.body;
|
|
913
|
-
return throwDefaultError({
|
|
914
|
-
output,
|
|
915
|
-
parsedBody,
|
|
916
|
-
errorCode,
|
|
917
|
-
});
|
|
918
|
-
}
|
|
919
|
-
};
|
|
920
|
-
const de_CreateDeploymentConfigCommand = async (output, context) => {
|
|
921
|
-
if (output.statusCode >= 300) {
|
|
922
|
-
return de_CreateDeploymentConfigCommandError(output, context);
|
|
923
|
-
}
|
|
924
|
-
const data = await parseBody(output.body, context);
|
|
925
|
-
let contents = {};
|
|
926
|
-
contents = (0, smithy_client_1._json)(data);
|
|
927
|
-
const response = {
|
|
928
|
-
$metadata: deserializeMetadata(output),
|
|
929
|
-
...contents,
|
|
930
|
-
};
|
|
931
|
-
return response;
|
|
932
|
-
};
|
|
933
|
-
exports.de_CreateDeploymentConfigCommand = de_CreateDeploymentConfigCommand;
|
|
934
|
-
const de_CreateDeploymentConfigCommandError = async (output, context) => {
|
|
935
|
-
const parsedOutput = {
|
|
936
|
-
...output,
|
|
937
|
-
body: await parseErrorBody(output.body, context),
|
|
938
|
-
};
|
|
939
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
940
|
-
switch (errorCode) {
|
|
941
|
-
case "DeploymentConfigAlreadyExistsException":
|
|
942
|
-
case "com.amazonaws.codedeploy#DeploymentConfigAlreadyExistsException":
|
|
943
|
-
throw await de_DeploymentConfigAlreadyExistsExceptionRes(parsedOutput, context);
|
|
944
|
-
case "DeploymentConfigLimitExceededException":
|
|
945
|
-
case "com.amazonaws.codedeploy#DeploymentConfigLimitExceededException":
|
|
946
|
-
throw await de_DeploymentConfigLimitExceededExceptionRes(parsedOutput, context);
|
|
947
|
-
case "DeploymentConfigNameRequiredException":
|
|
948
|
-
case "com.amazonaws.codedeploy#DeploymentConfigNameRequiredException":
|
|
949
|
-
throw await de_DeploymentConfigNameRequiredExceptionRes(parsedOutput, context);
|
|
950
|
-
case "InvalidComputePlatformException":
|
|
951
|
-
case "com.amazonaws.codedeploy#InvalidComputePlatformException":
|
|
952
|
-
throw await de_InvalidComputePlatformExceptionRes(parsedOutput, context);
|
|
953
|
-
case "InvalidDeploymentConfigNameException":
|
|
954
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentConfigNameException":
|
|
955
|
-
throw await de_InvalidDeploymentConfigNameExceptionRes(parsedOutput, context);
|
|
956
|
-
case "InvalidMinimumHealthyHostValueException":
|
|
957
|
-
case "com.amazonaws.codedeploy#InvalidMinimumHealthyHostValueException":
|
|
958
|
-
throw await de_InvalidMinimumHealthyHostValueExceptionRes(parsedOutput, context);
|
|
959
|
-
case "InvalidTrafficRoutingConfigurationException":
|
|
960
|
-
case "com.amazonaws.codedeploy#InvalidTrafficRoutingConfigurationException":
|
|
961
|
-
throw await de_InvalidTrafficRoutingConfigurationExceptionRes(parsedOutput, context);
|
|
962
|
-
case "InvalidZonalDeploymentConfigurationException":
|
|
963
|
-
case "com.amazonaws.codedeploy#InvalidZonalDeploymentConfigurationException":
|
|
964
|
-
throw await de_InvalidZonalDeploymentConfigurationExceptionRes(parsedOutput, context);
|
|
965
|
-
default:
|
|
966
|
-
const parsedBody = parsedOutput.body;
|
|
967
|
-
return throwDefaultError({
|
|
968
|
-
output,
|
|
969
|
-
parsedBody,
|
|
970
|
-
errorCode,
|
|
971
|
-
});
|
|
972
|
-
}
|
|
973
|
-
};
|
|
974
|
-
const de_CreateDeploymentGroupCommand = async (output, context) => {
|
|
975
|
-
if (output.statusCode >= 300) {
|
|
976
|
-
return de_CreateDeploymentGroupCommandError(output, context);
|
|
977
|
-
}
|
|
978
|
-
const data = await parseBody(output.body, context);
|
|
979
|
-
let contents = {};
|
|
980
|
-
contents = (0, smithy_client_1._json)(data);
|
|
981
|
-
const response = {
|
|
982
|
-
$metadata: deserializeMetadata(output),
|
|
983
|
-
...contents,
|
|
984
|
-
};
|
|
985
|
-
return response;
|
|
986
|
-
};
|
|
987
|
-
exports.de_CreateDeploymentGroupCommand = de_CreateDeploymentGroupCommand;
|
|
988
|
-
const de_CreateDeploymentGroupCommandError = async (output, context) => {
|
|
989
|
-
const parsedOutput = {
|
|
990
|
-
...output,
|
|
991
|
-
body: await parseErrorBody(output.body, context),
|
|
992
|
-
};
|
|
993
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
994
|
-
switch (errorCode) {
|
|
995
|
-
case "AlarmsLimitExceededException":
|
|
996
|
-
case "com.amazonaws.codedeploy#AlarmsLimitExceededException":
|
|
997
|
-
throw await de_AlarmsLimitExceededExceptionRes(parsedOutput, context);
|
|
998
|
-
case "ApplicationDoesNotExistException":
|
|
999
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
1000
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
1001
|
-
case "ApplicationNameRequiredException":
|
|
1002
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
1003
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
1004
|
-
case "DeploymentConfigDoesNotExistException":
|
|
1005
|
-
case "com.amazonaws.codedeploy#DeploymentConfigDoesNotExistException":
|
|
1006
|
-
throw await de_DeploymentConfigDoesNotExistExceptionRes(parsedOutput, context);
|
|
1007
|
-
case "DeploymentGroupAlreadyExistsException":
|
|
1008
|
-
case "com.amazonaws.codedeploy#DeploymentGroupAlreadyExistsException":
|
|
1009
|
-
throw await de_DeploymentGroupAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1010
|
-
case "DeploymentGroupLimitExceededException":
|
|
1011
|
-
case "com.amazonaws.codedeploy#DeploymentGroupLimitExceededException":
|
|
1012
|
-
throw await de_DeploymentGroupLimitExceededExceptionRes(parsedOutput, context);
|
|
1013
|
-
case "DeploymentGroupNameRequiredException":
|
|
1014
|
-
case "com.amazonaws.codedeploy#DeploymentGroupNameRequiredException":
|
|
1015
|
-
throw await de_DeploymentGroupNameRequiredExceptionRes(parsedOutput, context);
|
|
1016
|
-
case "ECSServiceMappingLimitExceededException":
|
|
1017
|
-
case "com.amazonaws.codedeploy#ECSServiceMappingLimitExceededException":
|
|
1018
|
-
throw await de_ECSServiceMappingLimitExceededExceptionRes(parsedOutput, context);
|
|
1019
|
-
case "InvalidAlarmConfigException":
|
|
1020
|
-
case "com.amazonaws.codedeploy#InvalidAlarmConfigException":
|
|
1021
|
-
throw await de_InvalidAlarmConfigExceptionRes(parsedOutput, context);
|
|
1022
|
-
case "InvalidApplicationNameException":
|
|
1023
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
1024
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
1025
|
-
case "InvalidAutoRollbackConfigException":
|
|
1026
|
-
case "com.amazonaws.codedeploy#InvalidAutoRollbackConfigException":
|
|
1027
|
-
throw await de_InvalidAutoRollbackConfigExceptionRes(parsedOutput, context);
|
|
1028
|
-
case "InvalidAutoScalingGroupException":
|
|
1029
|
-
case "com.amazonaws.codedeploy#InvalidAutoScalingGroupException":
|
|
1030
|
-
throw await de_InvalidAutoScalingGroupExceptionRes(parsedOutput, context);
|
|
1031
|
-
case "InvalidBlueGreenDeploymentConfigurationException":
|
|
1032
|
-
case "com.amazonaws.codedeploy#InvalidBlueGreenDeploymentConfigurationException":
|
|
1033
|
-
throw await de_InvalidBlueGreenDeploymentConfigurationExceptionRes(parsedOutput, context);
|
|
1034
|
-
case "InvalidDeploymentConfigNameException":
|
|
1035
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentConfigNameException":
|
|
1036
|
-
throw await de_InvalidDeploymentConfigNameExceptionRes(parsedOutput, context);
|
|
1037
|
-
case "InvalidDeploymentGroupNameException":
|
|
1038
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentGroupNameException":
|
|
1039
|
-
throw await de_InvalidDeploymentGroupNameExceptionRes(parsedOutput, context);
|
|
1040
|
-
case "InvalidDeploymentStyleException":
|
|
1041
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentStyleException":
|
|
1042
|
-
throw await de_InvalidDeploymentStyleExceptionRes(parsedOutput, context);
|
|
1043
|
-
case "InvalidEC2TagCombinationException":
|
|
1044
|
-
case "com.amazonaws.codedeploy#InvalidEC2TagCombinationException":
|
|
1045
|
-
throw await de_InvalidEC2TagCombinationExceptionRes(parsedOutput, context);
|
|
1046
|
-
case "InvalidEC2TagException":
|
|
1047
|
-
case "com.amazonaws.codedeploy#InvalidEC2TagException":
|
|
1048
|
-
throw await de_InvalidEC2TagExceptionRes(parsedOutput, context);
|
|
1049
|
-
case "InvalidECSServiceException":
|
|
1050
|
-
case "com.amazonaws.codedeploy#InvalidECSServiceException":
|
|
1051
|
-
throw await de_InvalidECSServiceExceptionRes(parsedOutput, context);
|
|
1052
|
-
case "InvalidInputException":
|
|
1053
|
-
case "com.amazonaws.codedeploy#InvalidInputException":
|
|
1054
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1055
|
-
case "InvalidLoadBalancerInfoException":
|
|
1056
|
-
case "com.amazonaws.codedeploy#InvalidLoadBalancerInfoException":
|
|
1057
|
-
throw await de_InvalidLoadBalancerInfoExceptionRes(parsedOutput, context);
|
|
1058
|
-
case "InvalidOnPremisesTagCombinationException":
|
|
1059
|
-
case "com.amazonaws.codedeploy#InvalidOnPremisesTagCombinationException":
|
|
1060
|
-
throw await de_InvalidOnPremisesTagCombinationExceptionRes(parsedOutput, context);
|
|
1061
|
-
case "InvalidRoleException":
|
|
1062
|
-
case "com.amazonaws.codedeploy#InvalidRoleException":
|
|
1063
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
1064
|
-
case "InvalidTagException":
|
|
1065
|
-
case "com.amazonaws.codedeploy#InvalidTagException":
|
|
1066
|
-
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
1067
|
-
case "InvalidTagsToAddException":
|
|
1068
|
-
case "com.amazonaws.codedeploy#InvalidTagsToAddException":
|
|
1069
|
-
throw await de_InvalidTagsToAddExceptionRes(parsedOutput, context);
|
|
1070
|
-
case "InvalidTargetGroupPairException":
|
|
1071
|
-
case "com.amazonaws.codedeploy#InvalidTargetGroupPairException":
|
|
1072
|
-
throw await de_InvalidTargetGroupPairExceptionRes(parsedOutput, context);
|
|
1073
|
-
case "InvalidTrafficRoutingConfigurationException":
|
|
1074
|
-
case "com.amazonaws.codedeploy#InvalidTrafficRoutingConfigurationException":
|
|
1075
|
-
throw await de_InvalidTrafficRoutingConfigurationExceptionRes(parsedOutput, context);
|
|
1076
|
-
case "InvalidTriggerConfigException":
|
|
1077
|
-
case "com.amazonaws.codedeploy#InvalidTriggerConfigException":
|
|
1078
|
-
throw await de_InvalidTriggerConfigExceptionRes(parsedOutput, context);
|
|
1079
|
-
case "LifecycleHookLimitExceededException":
|
|
1080
|
-
case "com.amazonaws.codedeploy#LifecycleHookLimitExceededException":
|
|
1081
|
-
throw await de_LifecycleHookLimitExceededExceptionRes(parsedOutput, context);
|
|
1082
|
-
case "RoleRequiredException":
|
|
1083
|
-
case "com.amazonaws.codedeploy#RoleRequiredException":
|
|
1084
|
-
throw await de_RoleRequiredExceptionRes(parsedOutput, context);
|
|
1085
|
-
case "TagSetListLimitExceededException":
|
|
1086
|
-
case "com.amazonaws.codedeploy#TagSetListLimitExceededException":
|
|
1087
|
-
throw await de_TagSetListLimitExceededExceptionRes(parsedOutput, context);
|
|
1088
|
-
case "ThrottlingException":
|
|
1089
|
-
case "com.amazonaws.codedeploy#ThrottlingException":
|
|
1090
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1091
|
-
case "TriggerTargetsLimitExceededException":
|
|
1092
|
-
case "com.amazonaws.codedeploy#TriggerTargetsLimitExceededException":
|
|
1093
|
-
throw await de_TriggerTargetsLimitExceededExceptionRes(parsedOutput, context);
|
|
1094
|
-
default:
|
|
1095
|
-
const parsedBody = parsedOutput.body;
|
|
1096
|
-
return throwDefaultError({
|
|
1097
|
-
output,
|
|
1098
|
-
parsedBody,
|
|
1099
|
-
errorCode,
|
|
1100
|
-
});
|
|
1101
|
-
}
|
|
1102
|
-
};
|
|
1103
|
-
const de_DeleteApplicationCommand = async (output, context) => {
|
|
1104
|
-
if (output.statusCode >= 300) {
|
|
1105
|
-
return de_DeleteApplicationCommandError(output, context);
|
|
1106
|
-
}
|
|
1107
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1108
|
-
const response = {
|
|
1109
|
-
$metadata: deserializeMetadata(output),
|
|
1110
|
-
};
|
|
1111
|
-
return response;
|
|
1112
|
-
};
|
|
1113
|
-
exports.de_DeleteApplicationCommand = de_DeleteApplicationCommand;
|
|
1114
|
-
const de_DeleteApplicationCommandError = async (output, context) => {
|
|
1115
|
-
const parsedOutput = {
|
|
1116
|
-
...output,
|
|
1117
|
-
body: await parseErrorBody(output.body, context),
|
|
1118
|
-
};
|
|
1119
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1120
|
-
switch (errorCode) {
|
|
1121
|
-
case "ApplicationNameRequiredException":
|
|
1122
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
1123
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
1124
|
-
case "InvalidApplicationNameException":
|
|
1125
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
1126
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
1127
|
-
case "InvalidRoleException":
|
|
1128
|
-
case "com.amazonaws.codedeploy#InvalidRoleException":
|
|
1129
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
1130
|
-
default:
|
|
1131
|
-
const parsedBody = parsedOutput.body;
|
|
1132
|
-
return throwDefaultError({
|
|
1133
|
-
output,
|
|
1134
|
-
parsedBody,
|
|
1135
|
-
errorCode,
|
|
1136
|
-
});
|
|
1137
|
-
}
|
|
1138
|
-
};
|
|
1139
|
-
const de_DeleteDeploymentConfigCommand = async (output, context) => {
|
|
1140
|
-
if (output.statusCode >= 300) {
|
|
1141
|
-
return de_DeleteDeploymentConfigCommandError(output, context);
|
|
1142
|
-
}
|
|
1143
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1144
|
-
const response = {
|
|
1145
|
-
$metadata: deserializeMetadata(output),
|
|
1146
|
-
};
|
|
1147
|
-
return response;
|
|
1148
|
-
};
|
|
1149
|
-
exports.de_DeleteDeploymentConfigCommand = de_DeleteDeploymentConfigCommand;
|
|
1150
|
-
const de_DeleteDeploymentConfigCommandError = async (output, context) => {
|
|
1151
|
-
const parsedOutput = {
|
|
1152
|
-
...output,
|
|
1153
|
-
body: await parseErrorBody(output.body, context),
|
|
1154
|
-
};
|
|
1155
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1156
|
-
switch (errorCode) {
|
|
1157
|
-
case "DeploymentConfigInUseException":
|
|
1158
|
-
case "com.amazonaws.codedeploy#DeploymentConfigInUseException":
|
|
1159
|
-
throw await de_DeploymentConfigInUseExceptionRes(parsedOutput, context);
|
|
1160
|
-
case "DeploymentConfigNameRequiredException":
|
|
1161
|
-
case "com.amazonaws.codedeploy#DeploymentConfigNameRequiredException":
|
|
1162
|
-
throw await de_DeploymentConfigNameRequiredExceptionRes(parsedOutput, context);
|
|
1163
|
-
case "InvalidDeploymentConfigNameException":
|
|
1164
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentConfigNameException":
|
|
1165
|
-
throw await de_InvalidDeploymentConfigNameExceptionRes(parsedOutput, context);
|
|
1166
|
-
case "InvalidOperationException":
|
|
1167
|
-
case "com.amazonaws.codedeploy#InvalidOperationException":
|
|
1168
|
-
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
|
1169
|
-
default:
|
|
1170
|
-
const parsedBody = parsedOutput.body;
|
|
1171
|
-
return throwDefaultError({
|
|
1172
|
-
output,
|
|
1173
|
-
parsedBody,
|
|
1174
|
-
errorCode,
|
|
1175
|
-
});
|
|
1176
|
-
}
|
|
1177
|
-
};
|
|
1178
|
-
const de_DeleteDeploymentGroupCommand = async (output, context) => {
|
|
1179
|
-
if (output.statusCode >= 300) {
|
|
1180
|
-
return de_DeleteDeploymentGroupCommandError(output, context);
|
|
1181
|
-
}
|
|
1182
|
-
const data = await parseBody(output.body, context);
|
|
1183
|
-
let contents = {};
|
|
1184
|
-
contents = (0, smithy_client_1._json)(data);
|
|
1185
|
-
const response = {
|
|
1186
|
-
$metadata: deserializeMetadata(output),
|
|
1187
|
-
...contents,
|
|
1188
|
-
};
|
|
1189
|
-
return response;
|
|
1190
|
-
};
|
|
1191
|
-
exports.de_DeleteDeploymentGroupCommand = de_DeleteDeploymentGroupCommand;
|
|
1192
|
-
const de_DeleteDeploymentGroupCommandError = async (output, context) => {
|
|
1193
|
-
const parsedOutput = {
|
|
1194
|
-
...output,
|
|
1195
|
-
body: await parseErrorBody(output.body, context),
|
|
1196
|
-
};
|
|
1197
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1198
|
-
switch (errorCode) {
|
|
1199
|
-
case "ApplicationNameRequiredException":
|
|
1200
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
1201
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
1202
|
-
case "DeploymentGroupNameRequiredException":
|
|
1203
|
-
case "com.amazonaws.codedeploy#DeploymentGroupNameRequiredException":
|
|
1204
|
-
throw await de_DeploymentGroupNameRequiredExceptionRes(parsedOutput, context);
|
|
1205
|
-
case "InvalidApplicationNameException":
|
|
1206
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
1207
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
1208
|
-
case "InvalidDeploymentGroupNameException":
|
|
1209
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentGroupNameException":
|
|
1210
|
-
throw await de_InvalidDeploymentGroupNameExceptionRes(parsedOutput, context);
|
|
1211
|
-
case "InvalidRoleException":
|
|
1212
|
-
case "com.amazonaws.codedeploy#InvalidRoleException":
|
|
1213
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
1214
|
-
default:
|
|
1215
|
-
const parsedBody = parsedOutput.body;
|
|
1216
|
-
return throwDefaultError({
|
|
1217
|
-
output,
|
|
1218
|
-
parsedBody,
|
|
1219
|
-
errorCode,
|
|
1220
|
-
});
|
|
1221
|
-
}
|
|
1222
|
-
};
|
|
1223
|
-
const de_DeleteGitHubAccountTokenCommand = async (output, context) => {
|
|
1224
|
-
if (output.statusCode >= 300) {
|
|
1225
|
-
return de_DeleteGitHubAccountTokenCommandError(output, context);
|
|
1226
|
-
}
|
|
1227
|
-
const data = await parseBody(output.body, context);
|
|
1228
|
-
let contents = {};
|
|
1229
|
-
contents = (0, smithy_client_1._json)(data);
|
|
1230
|
-
const response = {
|
|
1231
|
-
$metadata: deserializeMetadata(output),
|
|
1232
|
-
...contents,
|
|
1233
|
-
};
|
|
1234
|
-
return response;
|
|
1235
|
-
};
|
|
1236
|
-
exports.de_DeleteGitHubAccountTokenCommand = de_DeleteGitHubAccountTokenCommand;
|
|
1237
|
-
const de_DeleteGitHubAccountTokenCommandError = async (output, context) => {
|
|
1238
|
-
const parsedOutput = {
|
|
1239
|
-
...output,
|
|
1240
|
-
body: await parseErrorBody(output.body, context),
|
|
1241
|
-
};
|
|
1242
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1243
|
-
switch (errorCode) {
|
|
1244
|
-
case "GitHubAccountTokenDoesNotExistException":
|
|
1245
|
-
case "com.amazonaws.codedeploy#GitHubAccountTokenDoesNotExistException":
|
|
1246
|
-
throw await de_GitHubAccountTokenDoesNotExistExceptionRes(parsedOutput, context);
|
|
1247
|
-
case "GitHubAccountTokenNameRequiredException":
|
|
1248
|
-
case "com.amazonaws.codedeploy#GitHubAccountTokenNameRequiredException":
|
|
1249
|
-
throw await de_GitHubAccountTokenNameRequiredExceptionRes(parsedOutput, context);
|
|
1250
|
-
case "InvalidGitHubAccountTokenNameException":
|
|
1251
|
-
case "com.amazonaws.codedeploy#InvalidGitHubAccountTokenNameException":
|
|
1252
|
-
throw await de_InvalidGitHubAccountTokenNameExceptionRes(parsedOutput, context);
|
|
1253
|
-
case "OperationNotSupportedException":
|
|
1254
|
-
case "com.amazonaws.codedeploy#OperationNotSupportedException":
|
|
1255
|
-
throw await de_OperationNotSupportedExceptionRes(parsedOutput, context);
|
|
1256
|
-
case "ResourceValidationException":
|
|
1257
|
-
case "com.amazonaws.codedeploy#ResourceValidationException":
|
|
1258
|
-
throw await de_ResourceValidationExceptionRes(parsedOutput, context);
|
|
1259
|
-
default:
|
|
1260
|
-
const parsedBody = parsedOutput.body;
|
|
1261
|
-
return throwDefaultError({
|
|
1262
|
-
output,
|
|
1263
|
-
parsedBody,
|
|
1264
|
-
errorCode,
|
|
1265
|
-
});
|
|
1266
|
-
}
|
|
1267
|
-
};
|
|
1268
|
-
const de_DeleteResourcesByExternalIdCommand = async (output, context) => {
|
|
1269
|
-
if (output.statusCode >= 300) {
|
|
1270
|
-
return de_DeleteResourcesByExternalIdCommandError(output, context);
|
|
1271
|
-
}
|
|
1272
|
-
const data = await parseBody(output.body, context);
|
|
1273
|
-
let contents = {};
|
|
1274
|
-
contents = (0, smithy_client_1._json)(data);
|
|
1275
|
-
const response = {
|
|
1276
|
-
$metadata: deserializeMetadata(output),
|
|
1277
|
-
...contents,
|
|
1278
|
-
};
|
|
1279
|
-
return response;
|
|
1280
|
-
};
|
|
1281
|
-
exports.de_DeleteResourcesByExternalIdCommand = de_DeleteResourcesByExternalIdCommand;
|
|
1282
|
-
const de_DeleteResourcesByExternalIdCommandError = async (output, context) => {
|
|
1283
|
-
const parsedOutput = {
|
|
1284
|
-
...output,
|
|
1285
|
-
body: await parseErrorBody(output.body, context),
|
|
1286
|
-
};
|
|
1287
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1288
|
-
const parsedBody = parsedOutput.body;
|
|
1289
|
-
return throwDefaultError({
|
|
1290
|
-
output,
|
|
1291
|
-
parsedBody,
|
|
1292
|
-
errorCode,
|
|
1293
|
-
});
|
|
1294
|
-
};
|
|
1295
|
-
const de_DeregisterOnPremisesInstanceCommand = async (output, context) => {
|
|
1296
|
-
if (output.statusCode >= 300) {
|
|
1297
|
-
return de_DeregisterOnPremisesInstanceCommandError(output, context);
|
|
1298
|
-
}
|
|
1299
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1300
|
-
const response = {
|
|
1301
|
-
$metadata: deserializeMetadata(output),
|
|
1302
|
-
};
|
|
1303
|
-
return response;
|
|
1304
|
-
};
|
|
1305
|
-
exports.de_DeregisterOnPremisesInstanceCommand = de_DeregisterOnPremisesInstanceCommand;
|
|
1306
|
-
const de_DeregisterOnPremisesInstanceCommandError = async (output, context) => {
|
|
1307
|
-
const parsedOutput = {
|
|
1308
|
-
...output,
|
|
1309
|
-
body: await parseErrorBody(output.body, context),
|
|
1310
|
-
};
|
|
1311
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1312
|
-
switch (errorCode) {
|
|
1313
|
-
case "InstanceNameRequiredException":
|
|
1314
|
-
case "com.amazonaws.codedeploy#InstanceNameRequiredException":
|
|
1315
|
-
throw await de_InstanceNameRequiredExceptionRes(parsedOutput, context);
|
|
1316
|
-
case "InvalidInstanceNameException":
|
|
1317
|
-
case "com.amazonaws.codedeploy#InvalidInstanceNameException":
|
|
1318
|
-
throw await de_InvalidInstanceNameExceptionRes(parsedOutput, context);
|
|
1319
|
-
default:
|
|
1320
|
-
const parsedBody = parsedOutput.body;
|
|
1321
|
-
return throwDefaultError({
|
|
1322
|
-
output,
|
|
1323
|
-
parsedBody,
|
|
1324
|
-
errorCode,
|
|
1325
|
-
});
|
|
1326
|
-
}
|
|
1327
|
-
};
|
|
1328
|
-
const de_GetApplicationCommand = async (output, context) => {
|
|
1329
|
-
if (output.statusCode >= 300) {
|
|
1330
|
-
return de_GetApplicationCommandError(output, context);
|
|
1331
|
-
}
|
|
1332
|
-
const data = await parseBody(output.body, context);
|
|
1333
|
-
let contents = {};
|
|
1334
|
-
contents = de_GetApplicationOutput(data, context);
|
|
1335
|
-
const response = {
|
|
1336
|
-
$metadata: deserializeMetadata(output),
|
|
1337
|
-
...contents,
|
|
1338
|
-
};
|
|
1339
|
-
return response;
|
|
1340
|
-
};
|
|
1341
|
-
exports.de_GetApplicationCommand = de_GetApplicationCommand;
|
|
1342
|
-
const de_GetApplicationCommandError = async (output, context) => {
|
|
1343
|
-
const parsedOutput = {
|
|
1344
|
-
...output,
|
|
1345
|
-
body: await parseErrorBody(output.body, context),
|
|
1346
|
-
};
|
|
1347
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1348
|
-
switch (errorCode) {
|
|
1349
|
-
case "ApplicationDoesNotExistException":
|
|
1350
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
1351
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
1352
|
-
case "ApplicationNameRequiredException":
|
|
1353
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
1354
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
1355
|
-
case "InvalidApplicationNameException":
|
|
1356
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
1357
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
1358
|
-
default:
|
|
1359
|
-
const parsedBody = parsedOutput.body;
|
|
1360
|
-
return throwDefaultError({
|
|
1361
|
-
output,
|
|
1362
|
-
parsedBody,
|
|
1363
|
-
errorCode,
|
|
1364
|
-
});
|
|
1365
|
-
}
|
|
1366
|
-
};
|
|
1367
|
-
const de_GetApplicationRevisionCommand = async (output, context) => {
|
|
1368
|
-
if (output.statusCode >= 300) {
|
|
1369
|
-
return de_GetApplicationRevisionCommandError(output, context);
|
|
1370
|
-
}
|
|
1371
|
-
const data = await parseBody(output.body, context);
|
|
1372
|
-
let contents = {};
|
|
1373
|
-
contents = de_GetApplicationRevisionOutput(data, context);
|
|
1374
|
-
const response = {
|
|
1375
|
-
$metadata: deserializeMetadata(output),
|
|
1376
|
-
...contents,
|
|
1377
|
-
};
|
|
1378
|
-
return response;
|
|
1379
|
-
};
|
|
1380
|
-
exports.de_GetApplicationRevisionCommand = de_GetApplicationRevisionCommand;
|
|
1381
|
-
const de_GetApplicationRevisionCommandError = async (output, context) => {
|
|
1382
|
-
const parsedOutput = {
|
|
1383
|
-
...output,
|
|
1384
|
-
body: await parseErrorBody(output.body, context),
|
|
1385
|
-
};
|
|
1386
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1387
|
-
switch (errorCode) {
|
|
1388
|
-
case "ApplicationDoesNotExistException":
|
|
1389
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
1390
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
1391
|
-
case "ApplicationNameRequiredException":
|
|
1392
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
1393
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
1394
|
-
case "InvalidApplicationNameException":
|
|
1395
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
1396
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
1397
|
-
case "InvalidRevisionException":
|
|
1398
|
-
case "com.amazonaws.codedeploy#InvalidRevisionException":
|
|
1399
|
-
throw await de_InvalidRevisionExceptionRes(parsedOutput, context);
|
|
1400
|
-
case "RevisionDoesNotExistException":
|
|
1401
|
-
case "com.amazonaws.codedeploy#RevisionDoesNotExistException":
|
|
1402
|
-
throw await de_RevisionDoesNotExistExceptionRes(parsedOutput, context);
|
|
1403
|
-
case "RevisionRequiredException":
|
|
1404
|
-
case "com.amazonaws.codedeploy#RevisionRequiredException":
|
|
1405
|
-
throw await de_RevisionRequiredExceptionRes(parsedOutput, context);
|
|
1406
|
-
default:
|
|
1407
|
-
const parsedBody = parsedOutput.body;
|
|
1408
|
-
return throwDefaultError({
|
|
1409
|
-
output,
|
|
1410
|
-
parsedBody,
|
|
1411
|
-
errorCode,
|
|
1412
|
-
});
|
|
1413
|
-
}
|
|
1414
|
-
};
|
|
1415
|
-
const de_GetDeploymentCommand = async (output, context) => {
|
|
1416
|
-
if (output.statusCode >= 300) {
|
|
1417
|
-
return de_GetDeploymentCommandError(output, context);
|
|
1418
|
-
}
|
|
1419
|
-
const data = await parseBody(output.body, context);
|
|
1420
|
-
let contents = {};
|
|
1421
|
-
contents = de_GetDeploymentOutput(data, context);
|
|
1422
|
-
const response = {
|
|
1423
|
-
$metadata: deserializeMetadata(output),
|
|
1424
|
-
...contents,
|
|
1425
|
-
};
|
|
1426
|
-
return response;
|
|
1427
|
-
};
|
|
1428
|
-
exports.de_GetDeploymentCommand = de_GetDeploymentCommand;
|
|
1429
|
-
const de_GetDeploymentCommandError = async (output, context) => {
|
|
1430
|
-
const parsedOutput = {
|
|
1431
|
-
...output,
|
|
1432
|
-
body: await parseErrorBody(output.body, context),
|
|
1433
|
-
};
|
|
1434
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1435
|
-
switch (errorCode) {
|
|
1436
|
-
case "DeploymentDoesNotExistException":
|
|
1437
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
1438
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
1439
|
-
case "DeploymentIdRequiredException":
|
|
1440
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
1441
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
1442
|
-
case "InvalidDeploymentIdException":
|
|
1443
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
1444
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
1445
|
-
default:
|
|
1446
|
-
const parsedBody = parsedOutput.body;
|
|
1447
|
-
return throwDefaultError({
|
|
1448
|
-
output,
|
|
1449
|
-
parsedBody,
|
|
1450
|
-
errorCode,
|
|
1451
|
-
});
|
|
1452
|
-
}
|
|
1453
|
-
};
|
|
1454
|
-
const de_GetDeploymentConfigCommand = async (output, context) => {
|
|
1455
|
-
if (output.statusCode >= 300) {
|
|
1456
|
-
return de_GetDeploymentConfigCommandError(output, context);
|
|
1457
|
-
}
|
|
1458
|
-
const data = await parseBody(output.body, context);
|
|
1459
|
-
let contents = {};
|
|
1460
|
-
contents = de_GetDeploymentConfigOutput(data, context);
|
|
1461
|
-
const response = {
|
|
1462
|
-
$metadata: deserializeMetadata(output),
|
|
1463
|
-
...contents,
|
|
1464
|
-
};
|
|
1465
|
-
return response;
|
|
1466
|
-
};
|
|
1467
|
-
exports.de_GetDeploymentConfigCommand = de_GetDeploymentConfigCommand;
|
|
1468
|
-
const de_GetDeploymentConfigCommandError = async (output, context) => {
|
|
1469
|
-
const parsedOutput = {
|
|
1470
|
-
...output,
|
|
1471
|
-
body: await parseErrorBody(output.body, context),
|
|
1472
|
-
};
|
|
1473
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1474
|
-
switch (errorCode) {
|
|
1475
|
-
case "DeploymentConfigDoesNotExistException":
|
|
1476
|
-
case "com.amazonaws.codedeploy#DeploymentConfigDoesNotExistException":
|
|
1477
|
-
throw await de_DeploymentConfigDoesNotExistExceptionRes(parsedOutput, context);
|
|
1478
|
-
case "DeploymentConfigNameRequiredException":
|
|
1479
|
-
case "com.amazonaws.codedeploy#DeploymentConfigNameRequiredException":
|
|
1480
|
-
throw await de_DeploymentConfigNameRequiredExceptionRes(parsedOutput, context);
|
|
1481
|
-
case "InvalidComputePlatformException":
|
|
1482
|
-
case "com.amazonaws.codedeploy#InvalidComputePlatformException":
|
|
1483
|
-
throw await de_InvalidComputePlatformExceptionRes(parsedOutput, context);
|
|
1484
|
-
case "InvalidDeploymentConfigNameException":
|
|
1485
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentConfigNameException":
|
|
1486
|
-
throw await de_InvalidDeploymentConfigNameExceptionRes(parsedOutput, context);
|
|
1487
|
-
default:
|
|
1488
|
-
const parsedBody = parsedOutput.body;
|
|
1489
|
-
return throwDefaultError({
|
|
1490
|
-
output,
|
|
1491
|
-
parsedBody,
|
|
1492
|
-
errorCode,
|
|
1493
|
-
});
|
|
1494
|
-
}
|
|
1495
|
-
};
|
|
1496
|
-
const de_GetDeploymentGroupCommand = async (output, context) => {
|
|
1497
|
-
if (output.statusCode >= 300) {
|
|
1498
|
-
return de_GetDeploymentGroupCommandError(output, context);
|
|
1499
|
-
}
|
|
1500
|
-
const data = await parseBody(output.body, context);
|
|
1501
|
-
let contents = {};
|
|
1502
|
-
contents = de_GetDeploymentGroupOutput(data, context);
|
|
1503
|
-
const response = {
|
|
1504
|
-
$metadata: deserializeMetadata(output),
|
|
1505
|
-
...contents,
|
|
1506
|
-
};
|
|
1507
|
-
return response;
|
|
1508
|
-
};
|
|
1509
|
-
exports.de_GetDeploymentGroupCommand = de_GetDeploymentGroupCommand;
|
|
1510
|
-
const de_GetDeploymentGroupCommandError = async (output, context) => {
|
|
1511
|
-
const parsedOutput = {
|
|
1512
|
-
...output,
|
|
1513
|
-
body: await parseErrorBody(output.body, context),
|
|
1514
|
-
};
|
|
1515
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1516
|
-
switch (errorCode) {
|
|
1517
|
-
case "ApplicationDoesNotExistException":
|
|
1518
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
1519
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
1520
|
-
case "ApplicationNameRequiredException":
|
|
1521
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
1522
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
1523
|
-
case "DeploymentConfigDoesNotExistException":
|
|
1524
|
-
case "com.amazonaws.codedeploy#DeploymentConfigDoesNotExistException":
|
|
1525
|
-
throw await de_DeploymentConfigDoesNotExistExceptionRes(parsedOutput, context);
|
|
1526
|
-
case "DeploymentGroupDoesNotExistException":
|
|
1527
|
-
case "com.amazonaws.codedeploy#DeploymentGroupDoesNotExistException":
|
|
1528
|
-
throw await de_DeploymentGroupDoesNotExistExceptionRes(parsedOutput, context);
|
|
1529
|
-
case "DeploymentGroupNameRequiredException":
|
|
1530
|
-
case "com.amazonaws.codedeploy#DeploymentGroupNameRequiredException":
|
|
1531
|
-
throw await de_DeploymentGroupNameRequiredExceptionRes(parsedOutput, context);
|
|
1532
|
-
case "InvalidApplicationNameException":
|
|
1533
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
1534
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
1535
|
-
case "InvalidDeploymentGroupNameException":
|
|
1536
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentGroupNameException":
|
|
1537
|
-
throw await de_InvalidDeploymentGroupNameExceptionRes(parsedOutput, context);
|
|
1538
|
-
default:
|
|
1539
|
-
const parsedBody = parsedOutput.body;
|
|
1540
|
-
return throwDefaultError({
|
|
1541
|
-
output,
|
|
1542
|
-
parsedBody,
|
|
1543
|
-
errorCode,
|
|
1544
|
-
});
|
|
1545
|
-
}
|
|
1546
|
-
};
|
|
1547
|
-
const de_GetDeploymentInstanceCommand = async (output, context) => {
|
|
1548
|
-
if (output.statusCode >= 300) {
|
|
1549
|
-
return de_GetDeploymentInstanceCommandError(output, context);
|
|
1550
|
-
}
|
|
1551
|
-
const data = await parseBody(output.body, context);
|
|
1552
|
-
let contents = {};
|
|
1553
|
-
contents = de_GetDeploymentInstanceOutput(data, context);
|
|
1554
|
-
const response = {
|
|
1555
|
-
$metadata: deserializeMetadata(output),
|
|
1556
|
-
...contents,
|
|
1557
|
-
};
|
|
1558
|
-
return response;
|
|
1559
|
-
};
|
|
1560
|
-
exports.de_GetDeploymentInstanceCommand = de_GetDeploymentInstanceCommand;
|
|
1561
|
-
const de_GetDeploymentInstanceCommandError = async (output, context) => {
|
|
1562
|
-
const parsedOutput = {
|
|
1563
|
-
...output,
|
|
1564
|
-
body: await parseErrorBody(output.body, context),
|
|
1565
|
-
};
|
|
1566
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1567
|
-
switch (errorCode) {
|
|
1568
|
-
case "DeploymentDoesNotExistException":
|
|
1569
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
1570
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
1571
|
-
case "DeploymentIdRequiredException":
|
|
1572
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
1573
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
1574
|
-
case "InstanceDoesNotExistException":
|
|
1575
|
-
case "com.amazonaws.codedeploy#InstanceDoesNotExistException":
|
|
1576
|
-
throw await de_InstanceDoesNotExistExceptionRes(parsedOutput, context);
|
|
1577
|
-
case "InstanceIdRequiredException":
|
|
1578
|
-
case "com.amazonaws.codedeploy#InstanceIdRequiredException":
|
|
1579
|
-
throw await de_InstanceIdRequiredExceptionRes(parsedOutput, context);
|
|
1580
|
-
case "InvalidComputePlatformException":
|
|
1581
|
-
case "com.amazonaws.codedeploy#InvalidComputePlatformException":
|
|
1582
|
-
throw await de_InvalidComputePlatformExceptionRes(parsedOutput, context);
|
|
1583
|
-
case "InvalidDeploymentIdException":
|
|
1584
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
1585
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
1586
|
-
case "InvalidInstanceNameException":
|
|
1587
|
-
case "com.amazonaws.codedeploy#InvalidInstanceNameException":
|
|
1588
|
-
throw await de_InvalidInstanceNameExceptionRes(parsedOutput, context);
|
|
1589
|
-
default:
|
|
1590
|
-
const parsedBody = parsedOutput.body;
|
|
1591
|
-
return throwDefaultError({
|
|
1592
|
-
output,
|
|
1593
|
-
parsedBody,
|
|
1594
|
-
errorCode,
|
|
1595
|
-
});
|
|
1596
|
-
}
|
|
1597
|
-
};
|
|
1598
|
-
const de_GetDeploymentTargetCommand = async (output, context) => {
|
|
1599
|
-
if (output.statusCode >= 300) {
|
|
1600
|
-
return de_GetDeploymentTargetCommandError(output, context);
|
|
1601
|
-
}
|
|
1602
|
-
const data = await parseBody(output.body, context);
|
|
1603
|
-
let contents = {};
|
|
1604
|
-
contents = de_GetDeploymentTargetOutput(data, context);
|
|
1605
|
-
const response = {
|
|
1606
|
-
$metadata: deserializeMetadata(output),
|
|
1607
|
-
...contents,
|
|
1608
|
-
};
|
|
1609
|
-
return response;
|
|
1610
|
-
};
|
|
1611
|
-
exports.de_GetDeploymentTargetCommand = de_GetDeploymentTargetCommand;
|
|
1612
|
-
const de_GetDeploymentTargetCommandError = async (output, context) => {
|
|
1613
|
-
const parsedOutput = {
|
|
1614
|
-
...output,
|
|
1615
|
-
body: await parseErrorBody(output.body, context),
|
|
1616
|
-
};
|
|
1617
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1618
|
-
switch (errorCode) {
|
|
1619
|
-
case "DeploymentDoesNotExistException":
|
|
1620
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
1621
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
1622
|
-
case "DeploymentIdRequiredException":
|
|
1623
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
1624
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
1625
|
-
case "DeploymentNotStartedException":
|
|
1626
|
-
case "com.amazonaws.codedeploy#DeploymentNotStartedException":
|
|
1627
|
-
throw await de_DeploymentNotStartedExceptionRes(parsedOutput, context);
|
|
1628
|
-
case "DeploymentTargetDoesNotExistException":
|
|
1629
|
-
case "com.amazonaws.codedeploy#DeploymentTargetDoesNotExistException":
|
|
1630
|
-
throw await de_DeploymentTargetDoesNotExistExceptionRes(parsedOutput, context);
|
|
1631
|
-
case "DeploymentTargetIdRequiredException":
|
|
1632
|
-
case "com.amazonaws.codedeploy#DeploymentTargetIdRequiredException":
|
|
1633
|
-
throw await de_DeploymentTargetIdRequiredExceptionRes(parsedOutput, context);
|
|
1634
|
-
case "InvalidDeploymentIdException":
|
|
1635
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
1636
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
1637
|
-
case "InvalidDeploymentTargetIdException":
|
|
1638
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentTargetIdException":
|
|
1639
|
-
throw await de_InvalidDeploymentTargetIdExceptionRes(parsedOutput, context);
|
|
1640
|
-
case "InvalidInstanceNameException":
|
|
1641
|
-
case "com.amazonaws.codedeploy#InvalidInstanceNameException":
|
|
1642
|
-
throw await de_InvalidInstanceNameExceptionRes(parsedOutput, context);
|
|
1643
|
-
default:
|
|
1644
|
-
const parsedBody = parsedOutput.body;
|
|
1645
|
-
return throwDefaultError({
|
|
1646
|
-
output,
|
|
1647
|
-
parsedBody,
|
|
1648
|
-
errorCode,
|
|
1649
|
-
});
|
|
1650
|
-
}
|
|
1651
|
-
};
|
|
1652
|
-
const de_GetOnPremisesInstanceCommand = async (output, context) => {
|
|
1653
|
-
if (output.statusCode >= 300) {
|
|
1654
|
-
return de_GetOnPremisesInstanceCommandError(output, context);
|
|
1655
|
-
}
|
|
1656
|
-
const data = await parseBody(output.body, context);
|
|
1657
|
-
let contents = {};
|
|
1658
|
-
contents = de_GetOnPremisesInstanceOutput(data, context);
|
|
1659
|
-
const response = {
|
|
1660
|
-
$metadata: deserializeMetadata(output),
|
|
1661
|
-
...contents,
|
|
1662
|
-
};
|
|
1663
|
-
return response;
|
|
1664
|
-
};
|
|
1665
|
-
exports.de_GetOnPremisesInstanceCommand = de_GetOnPremisesInstanceCommand;
|
|
1666
|
-
const de_GetOnPremisesInstanceCommandError = async (output, context) => {
|
|
1667
|
-
const parsedOutput = {
|
|
1668
|
-
...output,
|
|
1669
|
-
body: await parseErrorBody(output.body, context),
|
|
1670
|
-
};
|
|
1671
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1672
|
-
switch (errorCode) {
|
|
1673
|
-
case "InstanceNameRequiredException":
|
|
1674
|
-
case "com.amazonaws.codedeploy#InstanceNameRequiredException":
|
|
1675
|
-
throw await de_InstanceNameRequiredExceptionRes(parsedOutput, context);
|
|
1676
|
-
case "InstanceNotRegisteredException":
|
|
1677
|
-
case "com.amazonaws.codedeploy#InstanceNotRegisteredException":
|
|
1678
|
-
throw await de_InstanceNotRegisteredExceptionRes(parsedOutput, context);
|
|
1679
|
-
case "InvalidInstanceNameException":
|
|
1680
|
-
case "com.amazonaws.codedeploy#InvalidInstanceNameException":
|
|
1681
|
-
throw await de_InvalidInstanceNameExceptionRes(parsedOutput, context);
|
|
1682
|
-
default:
|
|
1683
|
-
const parsedBody = parsedOutput.body;
|
|
1684
|
-
return throwDefaultError({
|
|
1685
|
-
output,
|
|
1686
|
-
parsedBody,
|
|
1687
|
-
errorCode,
|
|
1688
|
-
});
|
|
1689
|
-
}
|
|
1690
|
-
};
|
|
1691
|
-
const de_ListApplicationRevisionsCommand = async (output, context) => {
|
|
1692
|
-
if (output.statusCode >= 300) {
|
|
1693
|
-
return de_ListApplicationRevisionsCommandError(output, context);
|
|
1694
|
-
}
|
|
1695
|
-
const data = await parseBody(output.body, context);
|
|
1696
|
-
let contents = {};
|
|
1697
|
-
contents = (0, smithy_client_1._json)(data);
|
|
1698
|
-
const response = {
|
|
1699
|
-
$metadata: deserializeMetadata(output),
|
|
1700
|
-
...contents,
|
|
1701
|
-
};
|
|
1702
|
-
return response;
|
|
1703
|
-
};
|
|
1704
|
-
exports.de_ListApplicationRevisionsCommand = de_ListApplicationRevisionsCommand;
|
|
1705
|
-
const de_ListApplicationRevisionsCommandError = async (output, context) => {
|
|
1706
|
-
const parsedOutput = {
|
|
1707
|
-
...output,
|
|
1708
|
-
body: await parseErrorBody(output.body, context),
|
|
1709
|
-
};
|
|
1710
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1711
|
-
switch (errorCode) {
|
|
1712
|
-
case "ApplicationDoesNotExistException":
|
|
1713
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
1714
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
1715
|
-
case "ApplicationNameRequiredException":
|
|
1716
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
1717
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
1718
|
-
case "BucketNameFilterRequiredException":
|
|
1719
|
-
case "com.amazonaws.codedeploy#BucketNameFilterRequiredException":
|
|
1720
|
-
throw await de_BucketNameFilterRequiredExceptionRes(parsedOutput, context);
|
|
1721
|
-
case "InvalidApplicationNameException":
|
|
1722
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
1723
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
1724
|
-
case "InvalidBucketNameFilterException":
|
|
1725
|
-
case "com.amazonaws.codedeploy#InvalidBucketNameFilterException":
|
|
1726
|
-
throw await de_InvalidBucketNameFilterExceptionRes(parsedOutput, context);
|
|
1727
|
-
case "InvalidDeployedStateFilterException":
|
|
1728
|
-
case "com.amazonaws.codedeploy#InvalidDeployedStateFilterException":
|
|
1729
|
-
throw await de_InvalidDeployedStateFilterExceptionRes(parsedOutput, context);
|
|
1730
|
-
case "InvalidKeyPrefixFilterException":
|
|
1731
|
-
case "com.amazonaws.codedeploy#InvalidKeyPrefixFilterException":
|
|
1732
|
-
throw await de_InvalidKeyPrefixFilterExceptionRes(parsedOutput, context);
|
|
1733
|
-
case "InvalidNextTokenException":
|
|
1734
|
-
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
1735
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1736
|
-
case "InvalidSortByException":
|
|
1737
|
-
case "com.amazonaws.codedeploy#InvalidSortByException":
|
|
1738
|
-
throw await de_InvalidSortByExceptionRes(parsedOutput, context);
|
|
1739
|
-
case "InvalidSortOrderException":
|
|
1740
|
-
case "com.amazonaws.codedeploy#InvalidSortOrderException":
|
|
1741
|
-
throw await de_InvalidSortOrderExceptionRes(parsedOutput, context);
|
|
1742
|
-
default:
|
|
1743
|
-
const parsedBody = parsedOutput.body;
|
|
1744
|
-
return throwDefaultError({
|
|
1745
|
-
output,
|
|
1746
|
-
parsedBody,
|
|
1747
|
-
errorCode,
|
|
1748
|
-
});
|
|
1749
|
-
}
|
|
1750
|
-
};
|
|
1751
|
-
const de_ListApplicationsCommand = async (output, context) => {
|
|
1752
|
-
if (output.statusCode >= 300) {
|
|
1753
|
-
return de_ListApplicationsCommandError(output, context);
|
|
1754
|
-
}
|
|
1755
|
-
const data = await parseBody(output.body, context);
|
|
1756
|
-
let contents = {};
|
|
1757
|
-
contents = (0, smithy_client_1._json)(data);
|
|
1758
|
-
const response = {
|
|
1759
|
-
$metadata: deserializeMetadata(output),
|
|
1760
|
-
...contents,
|
|
1761
|
-
};
|
|
1762
|
-
return response;
|
|
1763
|
-
};
|
|
1764
|
-
exports.de_ListApplicationsCommand = de_ListApplicationsCommand;
|
|
1765
|
-
const de_ListApplicationsCommandError = async (output, context) => {
|
|
1766
|
-
const parsedOutput = {
|
|
1767
|
-
...output,
|
|
1768
|
-
body: await parseErrorBody(output.body, context),
|
|
1769
|
-
};
|
|
1770
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1771
|
-
switch (errorCode) {
|
|
1772
|
-
case "InvalidNextTokenException":
|
|
1773
|
-
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
1774
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1775
|
-
default:
|
|
1776
|
-
const parsedBody = parsedOutput.body;
|
|
1777
|
-
return throwDefaultError({
|
|
1778
|
-
output,
|
|
1779
|
-
parsedBody,
|
|
1780
|
-
errorCode,
|
|
1781
|
-
});
|
|
1782
|
-
}
|
|
1783
|
-
};
|
|
1784
|
-
const de_ListDeploymentConfigsCommand = async (output, context) => {
|
|
1785
|
-
if (output.statusCode >= 300) {
|
|
1786
|
-
return de_ListDeploymentConfigsCommandError(output, context);
|
|
1787
|
-
}
|
|
1788
|
-
const data = await parseBody(output.body, context);
|
|
1789
|
-
let contents = {};
|
|
1790
|
-
contents = (0, smithy_client_1._json)(data);
|
|
1791
|
-
const response = {
|
|
1792
|
-
$metadata: deserializeMetadata(output),
|
|
1793
|
-
...contents,
|
|
1794
|
-
};
|
|
1795
|
-
return response;
|
|
1796
|
-
};
|
|
1797
|
-
exports.de_ListDeploymentConfigsCommand = de_ListDeploymentConfigsCommand;
|
|
1798
|
-
const de_ListDeploymentConfigsCommandError = async (output, context) => {
|
|
1799
|
-
const parsedOutput = {
|
|
1800
|
-
...output,
|
|
1801
|
-
body: await parseErrorBody(output.body, context),
|
|
1802
|
-
};
|
|
1803
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1804
|
-
switch (errorCode) {
|
|
1805
|
-
case "InvalidNextTokenException":
|
|
1806
|
-
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
1807
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1808
|
-
default:
|
|
1809
|
-
const parsedBody = parsedOutput.body;
|
|
1810
|
-
return throwDefaultError({
|
|
1811
|
-
output,
|
|
1812
|
-
parsedBody,
|
|
1813
|
-
errorCode,
|
|
1814
|
-
});
|
|
1815
|
-
}
|
|
1816
|
-
};
|
|
1817
|
-
const de_ListDeploymentGroupsCommand = async (output, context) => {
|
|
1818
|
-
if (output.statusCode >= 300) {
|
|
1819
|
-
return de_ListDeploymentGroupsCommandError(output, context);
|
|
1820
|
-
}
|
|
1821
|
-
const data = await parseBody(output.body, context);
|
|
1822
|
-
let contents = {};
|
|
1823
|
-
contents = (0, smithy_client_1._json)(data);
|
|
1824
|
-
const response = {
|
|
1825
|
-
$metadata: deserializeMetadata(output),
|
|
1826
|
-
...contents,
|
|
1827
|
-
};
|
|
1828
|
-
return response;
|
|
1829
|
-
};
|
|
1830
|
-
exports.de_ListDeploymentGroupsCommand = de_ListDeploymentGroupsCommand;
|
|
1831
|
-
const de_ListDeploymentGroupsCommandError = async (output, context) => {
|
|
1832
|
-
const parsedOutput = {
|
|
1833
|
-
...output,
|
|
1834
|
-
body: await parseErrorBody(output.body, context),
|
|
1835
|
-
};
|
|
1836
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1837
|
-
switch (errorCode) {
|
|
1838
|
-
case "ApplicationDoesNotExistException":
|
|
1839
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
1840
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
1841
|
-
case "ApplicationNameRequiredException":
|
|
1842
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
1843
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
1844
|
-
case "InvalidApplicationNameException":
|
|
1845
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
1846
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
1847
|
-
case "InvalidNextTokenException":
|
|
1848
|
-
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
1849
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1850
|
-
default:
|
|
1851
|
-
const parsedBody = parsedOutput.body;
|
|
1852
|
-
return throwDefaultError({
|
|
1853
|
-
output,
|
|
1854
|
-
parsedBody,
|
|
1855
|
-
errorCode,
|
|
1856
|
-
});
|
|
1857
|
-
}
|
|
1858
|
-
};
|
|
1859
|
-
const de_ListDeploymentInstancesCommand = async (output, context) => {
|
|
1860
|
-
if (output.statusCode >= 300) {
|
|
1861
|
-
return de_ListDeploymentInstancesCommandError(output, context);
|
|
1862
|
-
}
|
|
1863
|
-
const data = await parseBody(output.body, context);
|
|
1864
|
-
let contents = {};
|
|
1865
|
-
contents = (0, smithy_client_1._json)(data);
|
|
1866
|
-
const response = {
|
|
1867
|
-
$metadata: deserializeMetadata(output),
|
|
1868
|
-
...contents,
|
|
1869
|
-
};
|
|
1870
|
-
return response;
|
|
1871
|
-
};
|
|
1872
|
-
exports.de_ListDeploymentInstancesCommand = de_ListDeploymentInstancesCommand;
|
|
1873
|
-
const de_ListDeploymentInstancesCommandError = async (output, context) => {
|
|
1874
|
-
const parsedOutput = {
|
|
1875
|
-
...output,
|
|
1876
|
-
body: await parseErrorBody(output.body, context),
|
|
1877
|
-
};
|
|
1878
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1879
|
-
switch (errorCode) {
|
|
1880
|
-
case "DeploymentDoesNotExistException":
|
|
1881
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
1882
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
1883
|
-
case "DeploymentIdRequiredException":
|
|
1884
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
1885
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
1886
|
-
case "DeploymentNotStartedException":
|
|
1887
|
-
case "com.amazonaws.codedeploy#DeploymentNotStartedException":
|
|
1888
|
-
throw await de_DeploymentNotStartedExceptionRes(parsedOutput, context);
|
|
1889
|
-
case "InvalidComputePlatformException":
|
|
1890
|
-
case "com.amazonaws.codedeploy#InvalidComputePlatformException":
|
|
1891
|
-
throw await de_InvalidComputePlatformExceptionRes(parsedOutput, context);
|
|
1892
|
-
case "InvalidDeploymentIdException":
|
|
1893
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
1894
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
1895
|
-
case "InvalidDeploymentInstanceTypeException":
|
|
1896
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentInstanceTypeException":
|
|
1897
|
-
throw await de_InvalidDeploymentInstanceTypeExceptionRes(parsedOutput, context);
|
|
1898
|
-
case "InvalidInstanceStatusException":
|
|
1899
|
-
case "com.amazonaws.codedeploy#InvalidInstanceStatusException":
|
|
1900
|
-
throw await de_InvalidInstanceStatusExceptionRes(parsedOutput, context);
|
|
1901
|
-
case "InvalidInstanceTypeException":
|
|
1902
|
-
case "com.amazonaws.codedeploy#InvalidInstanceTypeException":
|
|
1903
|
-
throw await de_InvalidInstanceTypeExceptionRes(parsedOutput, context);
|
|
1904
|
-
case "InvalidNextTokenException":
|
|
1905
|
-
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
1906
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1907
|
-
case "InvalidTargetFilterNameException":
|
|
1908
|
-
case "com.amazonaws.codedeploy#InvalidTargetFilterNameException":
|
|
1909
|
-
throw await de_InvalidTargetFilterNameExceptionRes(parsedOutput, context);
|
|
1910
|
-
default:
|
|
1911
|
-
const parsedBody = parsedOutput.body;
|
|
1912
|
-
return throwDefaultError({
|
|
1913
|
-
output,
|
|
1914
|
-
parsedBody,
|
|
1915
|
-
errorCode,
|
|
1916
|
-
});
|
|
1917
|
-
}
|
|
1918
|
-
};
|
|
1919
|
-
const de_ListDeploymentsCommand = async (output, context) => {
|
|
1920
|
-
if (output.statusCode >= 300) {
|
|
1921
|
-
return de_ListDeploymentsCommandError(output, context);
|
|
1922
|
-
}
|
|
1923
|
-
const data = await parseBody(output.body, context);
|
|
1924
|
-
let contents = {};
|
|
1925
|
-
contents = (0, smithy_client_1._json)(data);
|
|
1926
|
-
const response = {
|
|
1927
|
-
$metadata: deserializeMetadata(output),
|
|
1928
|
-
...contents,
|
|
1929
|
-
};
|
|
1930
|
-
return response;
|
|
1931
|
-
};
|
|
1932
|
-
exports.de_ListDeploymentsCommand = de_ListDeploymentsCommand;
|
|
1933
|
-
const de_ListDeploymentsCommandError = async (output, context) => {
|
|
1934
|
-
const parsedOutput = {
|
|
1935
|
-
...output,
|
|
1936
|
-
body: await parseErrorBody(output.body, context),
|
|
1937
|
-
};
|
|
1938
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1939
|
-
switch (errorCode) {
|
|
1940
|
-
case "ApplicationDoesNotExistException":
|
|
1941
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
1942
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
1943
|
-
case "ApplicationNameRequiredException":
|
|
1944
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
1945
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
1946
|
-
case "DeploymentGroupDoesNotExistException":
|
|
1947
|
-
case "com.amazonaws.codedeploy#DeploymentGroupDoesNotExistException":
|
|
1948
|
-
throw await de_DeploymentGroupDoesNotExistExceptionRes(parsedOutput, context);
|
|
1949
|
-
case "DeploymentGroupNameRequiredException":
|
|
1950
|
-
case "com.amazonaws.codedeploy#DeploymentGroupNameRequiredException":
|
|
1951
|
-
throw await de_DeploymentGroupNameRequiredExceptionRes(parsedOutput, context);
|
|
1952
|
-
case "InvalidApplicationNameException":
|
|
1953
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
1954
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
1955
|
-
case "InvalidDeploymentGroupNameException":
|
|
1956
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentGroupNameException":
|
|
1957
|
-
throw await de_InvalidDeploymentGroupNameExceptionRes(parsedOutput, context);
|
|
1958
|
-
case "InvalidDeploymentStatusException":
|
|
1959
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentStatusException":
|
|
1960
|
-
throw await de_InvalidDeploymentStatusExceptionRes(parsedOutput, context);
|
|
1961
|
-
case "InvalidExternalIdException":
|
|
1962
|
-
case "com.amazonaws.codedeploy#InvalidExternalIdException":
|
|
1963
|
-
throw await de_InvalidExternalIdExceptionRes(parsedOutput, context);
|
|
1964
|
-
case "InvalidInputException":
|
|
1965
|
-
case "com.amazonaws.codedeploy#InvalidInputException":
|
|
1966
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1967
|
-
case "InvalidNextTokenException":
|
|
1968
|
-
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
1969
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1970
|
-
case "InvalidTimeRangeException":
|
|
1971
|
-
case "com.amazonaws.codedeploy#InvalidTimeRangeException":
|
|
1972
|
-
throw await de_InvalidTimeRangeExceptionRes(parsedOutput, context);
|
|
1973
|
-
default:
|
|
1974
|
-
const parsedBody = parsedOutput.body;
|
|
1975
|
-
return throwDefaultError({
|
|
1976
|
-
output,
|
|
1977
|
-
parsedBody,
|
|
1978
|
-
errorCode,
|
|
1979
|
-
});
|
|
1980
|
-
}
|
|
1981
|
-
};
|
|
1982
|
-
const de_ListDeploymentTargetsCommand = async (output, context) => {
|
|
1983
|
-
if (output.statusCode >= 300) {
|
|
1984
|
-
return de_ListDeploymentTargetsCommandError(output, context);
|
|
1985
|
-
}
|
|
1986
|
-
const data = await parseBody(output.body, context);
|
|
1987
|
-
let contents = {};
|
|
1988
|
-
contents = (0, smithy_client_1._json)(data);
|
|
1989
|
-
const response = {
|
|
1990
|
-
$metadata: deserializeMetadata(output),
|
|
1991
|
-
...contents,
|
|
1992
|
-
};
|
|
1993
|
-
return response;
|
|
1994
|
-
};
|
|
1995
|
-
exports.de_ListDeploymentTargetsCommand = de_ListDeploymentTargetsCommand;
|
|
1996
|
-
const de_ListDeploymentTargetsCommandError = async (output, context) => {
|
|
1997
|
-
const parsedOutput = {
|
|
1998
|
-
...output,
|
|
1999
|
-
body: await parseErrorBody(output.body, context),
|
|
2000
|
-
};
|
|
2001
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2002
|
-
switch (errorCode) {
|
|
2003
|
-
case "DeploymentDoesNotExistException":
|
|
2004
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
2005
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
2006
|
-
case "DeploymentIdRequiredException":
|
|
2007
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
2008
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
2009
|
-
case "DeploymentNotStartedException":
|
|
2010
|
-
case "com.amazonaws.codedeploy#DeploymentNotStartedException":
|
|
2011
|
-
throw await de_DeploymentNotStartedExceptionRes(parsedOutput, context);
|
|
2012
|
-
case "InvalidDeploymentIdException":
|
|
2013
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
2014
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
2015
|
-
case "InvalidDeploymentInstanceTypeException":
|
|
2016
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentInstanceTypeException":
|
|
2017
|
-
throw await de_InvalidDeploymentInstanceTypeExceptionRes(parsedOutput, context);
|
|
2018
|
-
case "InvalidInstanceStatusException":
|
|
2019
|
-
case "com.amazonaws.codedeploy#InvalidInstanceStatusException":
|
|
2020
|
-
throw await de_InvalidInstanceStatusExceptionRes(parsedOutput, context);
|
|
2021
|
-
case "InvalidInstanceTypeException":
|
|
2022
|
-
case "com.amazonaws.codedeploy#InvalidInstanceTypeException":
|
|
2023
|
-
throw await de_InvalidInstanceTypeExceptionRes(parsedOutput, context);
|
|
2024
|
-
case "InvalidNextTokenException":
|
|
2025
|
-
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
2026
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2027
|
-
case "InvalidTargetFilterNameException":
|
|
2028
|
-
case "com.amazonaws.codedeploy#InvalidTargetFilterNameException":
|
|
2029
|
-
throw await de_InvalidTargetFilterNameExceptionRes(parsedOutput, context);
|
|
2030
|
-
default:
|
|
2031
|
-
const parsedBody = parsedOutput.body;
|
|
2032
|
-
return throwDefaultError({
|
|
2033
|
-
output,
|
|
2034
|
-
parsedBody,
|
|
2035
|
-
errorCode,
|
|
2036
|
-
});
|
|
2037
|
-
}
|
|
2038
|
-
};
|
|
2039
|
-
const de_ListGitHubAccountTokenNamesCommand = async (output, context) => {
|
|
2040
|
-
if (output.statusCode >= 300) {
|
|
2041
|
-
return de_ListGitHubAccountTokenNamesCommandError(output, context);
|
|
2042
|
-
}
|
|
2043
|
-
const data = await parseBody(output.body, context);
|
|
2044
|
-
let contents = {};
|
|
2045
|
-
contents = (0, smithy_client_1._json)(data);
|
|
2046
|
-
const response = {
|
|
2047
|
-
$metadata: deserializeMetadata(output),
|
|
2048
|
-
...contents,
|
|
2049
|
-
};
|
|
2050
|
-
return response;
|
|
2051
|
-
};
|
|
2052
|
-
exports.de_ListGitHubAccountTokenNamesCommand = de_ListGitHubAccountTokenNamesCommand;
|
|
2053
|
-
const de_ListGitHubAccountTokenNamesCommandError = async (output, context) => {
|
|
2054
|
-
const parsedOutput = {
|
|
2055
|
-
...output,
|
|
2056
|
-
body: await parseErrorBody(output.body, context),
|
|
2057
|
-
};
|
|
2058
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2059
|
-
switch (errorCode) {
|
|
2060
|
-
case "InvalidNextTokenException":
|
|
2061
|
-
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
2062
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2063
|
-
case "OperationNotSupportedException":
|
|
2064
|
-
case "com.amazonaws.codedeploy#OperationNotSupportedException":
|
|
2065
|
-
throw await de_OperationNotSupportedExceptionRes(parsedOutput, context);
|
|
2066
|
-
case "ResourceValidationException":
|
|
2067
|
-
case "com.amazonaws.codedeploy#ResourceValidationException":
|
|
2068
|
-
throw await de_ResourceValidationExceptionRes(parsedOutput, context);
|
|
2069
|
-
default:
|
|
2070
|
-
const parsedBody = parsedOutput.body;
|
|
2071
|
-
return throwDefaultError({
|
|
2072
|
-
output,
|
|
2073
|
-
parsedBody,
|
|
2074
|
-
errorCode,
|
|
2075
|
-
});
|
|
2076
|
-
}
|
|
2077
|
-
};
|
|
2078
|
-
const de_ListOnPremisesInstancesCommand = async (output, context) => {
|
|
2079
|
-
if (output.statusCode >= 300) {
|
|
2080
|
-
return de_ListOnPremisesInstancesCommandError(output, context);
|
|
2081
|
-
}
|
|
2082
|
-
const data = await parseBody(output.body, context);
|
|
2083
|
-
let contents = {};
|
|
2084
|
-
contents = (0, smithy_client_1._json)(data);
|
|
2085
|
-
const response = {
|
|
2086
|
-
$metadata: deserializeMetadata(output),
|
|
2087
|
-
...contents,
|
|
2088
|
-
};
|
|
2089
|
-
return response;
|
|
2090
|
-
};
|
|
2091
|
-
exports.de_ListOnPremisesInstancesCommand = de_ListOnPremisesInstancesCommand;
|
|
2092
|
-
const de_ListOnPremisesInstancesCommandError = async (output, context) => {
|
|
2093
|
-
const parsedOutput = {
|
|
2094
|
-
...output,
|
|
2095
|
-
body: await parseErrorBody(output.body, context),
|
|
2096
|
-
};
|
|
2097
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2098
|
-
switch (errorCode) {
|
|
2099
|
-
case "InvalidNextTokenException":
|
|
2100
|
-
case "com.amazonaws.codedeploy#InvalidNextTokenException":
|
|
2101
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2102
|
-
case "InvalidRegistrationStatusException":
|
|
2103
|
-
case "com.amazonaws.codedeploy#InvalidRegistrationStatusException":
|
|
2104
|
-
throw await de_InvalidRegistrationStatusExceptionRes(parsedOutput, context);
|
|
2105
|
-
case "InvalidTagFilterException":
|
|
2106
|
-
case "com.amazonaws.codedeploy#InvalidTagFilterException":
|
|
2107
|
-
throw await de_InvalidTagFilterExceptionRes(parsedOutput, context);
|
|
2108
|
-
default:
|
|
2109
|
-
const parsedBody = parsedOutput.body;
|
|
2110
|
-
return throwDefaultError({
|
|
2111
|
-
output,
|
|
2112
|
-
parsedBody,
|
|
2113
|
-
errorCode,
|
|
2114
|
-
});
|
|
2115
|
-
}
|
|
2116
|
-
};
|
|
2117
|
-
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
2118
|
-
if (output.statusCode >= 300) {
|
|
2119
|
-
return de_ListTagsForResourceCommandError(output, context);
|
|
2120
|
-
}
|
|
2121
|
-
const data = await parseBody(output.body, context);
|
|
2122
|
-
let contents = {};
|
|
2123
|
-
contents = (0, smithy_client_1._json)(data);
|
|
2124
|
-
const response = {
|
|
2125
|
-
$metadata: deserializeMetadata(output),
|
|
2126
|
-
...contents,
|
|
2127
|
-
};
|
|
2128
|
-
return response;
|
|
2129
|
-
};
|
|
2130
|
-
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
2131
|
-
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
2132
|
-
const parsedOutput = {
|
|
2133
|
-
...output,
|
|
2134
|
-
body: await parseErrorBody(output.body, context),
|
|
2135
|
-
};
|
|
2136
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2137
|
-
switch (errorCode) {
|
|
2138
|
-
case "ArnNotSupportedException":
|
|
2139
|
-
case "com.amazonaws.codedeploy#ArnNotSupportedException":
|
|
2140
|
-
throw await de_ArnNotSupportedExceptionRes(parsedOutput, context);
|
|
2141
|
-
case "InvalidArnException":
|
|
2142
|
-
case "com.amazonaws.codedeploy#InvalidArnException":
|
|
2143
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
2144
|
-
case "ResourceArnRequiredException":
|
|
2145
|
-
case "com.amazonaws.codedeploy#ResourceArnRequiredException":
|
|
2146
|
-
throw await de_ResourceArnRequiredExceptionRes(parsedOutput, context);
|
|
2147
|
-
default:
|
|
2148
|
-
const parsedBody = parsedOutput.body;
|
|
2149
|
-
return throwDefaultError({
|
|
2150
|
-
output,
|
|
2151
|
-
parsedBody,
|
|
2152
|
-
errorCode,
|
|
2153
|
-
});
|
|
2154
|
-
}
|
|
2155
|
-
};
|
|
2156
|
-
const de_PutLifecycleEventHookExecutionStatusCommand = async (output, context) => {
|
|
2157
|
-
if (output.statusCode >= 300) {
|
|
2158
|
-
return de_PutLifecycleEventHookExecutionStatusCommandError(output, context);
|
|
2159
|
-
}
|
|
2160
|
-
const data = await parseBody(output.body, context);
|
|
2161
|
-
let contents = {};
|
|
2162
|
-
contents = (0, smithy_client_1._json)(data);
|
|
2163
|
-
const response = {
|
|
2164
|
-
$metadata: deserializeMetadata(output),
|
|
2165
|
-
...contents,
|
|
2166
|
-
};
|
|
2167
|
-
return response;
|
|
2168
|
-
};
|
|
2169
|
-
exports.de_PutLifecycleEventHookExecutionStatusCommand = de_PutLifecycleEventHookExecutionStatusCommand;
|
|
2170
|
-
const de_PutLifecycleEventHookExecutionStatusCommandError = async (output, context) => {
|
|
2171
|
-
const parsedOutput = {
|
|
2172
|
-
...output,
|
|
2173
|
-
body: await parseErrorBody(output.body, context),
|
|
2174
|
-
};
|
|
2175
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2176
|
-
switch (errorCode) {
|
|
2177
|
-
case "DeploymentDoesNotExistException":
|
|
2178
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
2179
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
2180
|
-
case "DeploymentIdRequiredException":
|
|
2181
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
2182
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
2183
|
-
case "InvalidDeploymentIdException":
|
|
2184
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
2185
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
2186
|
-
case "InvalidLifecycleEventHookExecutionIdException":
|
|
2187
|
-
case "com.amazonaws.codedeploy#InvalidLifecycleEventHookExecutionIdException":
|
|
2188
|
-
throw await de_InvalidLifecycleEventHookExecutionIdExceptionRes(parsedOutput, context);
|
|
2189
|
-
case "InvalidLifecycleEventHookExecutionStatusException":
|
|
2190
|
-
case "com.amazonaws.codedeploy#InvalidLifecycleEventHookExecutionStatusException":
|
|
2191
|
-
throw await de_InvalidLifecycleEventHookExecutionStatusExceptionRes(parsedOutput, context);
|
|
2192
|
-
case "LifecycleEventAlreadyCompletedException":
|
|
2193
|
-
case "com.amazonaws.codedeploy#LifecycleEventAlreadyCompletedException":
|
|
2194
|
-
throw await de_LifecycleEventAlreadyCompletedExceptionRes(parsedOutput, context);
|
|
2195
|
-
case "UnsupportedActionForDeploymentTypeException":
|
|
2196
|
-
case "com.amazonaws.codedeploy#UnsupportedActionForDeploymentTypeException":
|
|
2197
|
-
throw await de_UnsupportedActionForDeploymentTypeExceptionRes(parsedOutput, context);
|
|
2198
|
-
default:
|
|
2199
|
-
const parsedBody = parsedOutput.body;
|
|
2200
|
-
return throwDefaultError({
|
|
2201
|
-
output,
|
|
2202
|
-
parsedBody,
|
|
2203
|
-
errorCode,
|
|
2204
|
-
});
|
|
2205
|
-
}
|
|
2206
|
-
};
|
|
2207
|
-
const de_RegisterApplicationRevisionCommand = async (output, context) => {
|
|
2208
|
-
if (output.statusCode >= 300) {
|
|
2209
|
-
return de_RegisterApplicationRevisionCommandError(output, context);
|
|
2210
|
-
}
|
|
2211
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2212
|
-
const response = {
|
|
2213
|
-
$metadata: deserializeMetadata(output),
|
|
2214
|
-
};
|
|
2215
|
-
return response;
|
|
2216
|
-
};
|
|
2217
|
-
exports.de_RegisterApplicationRevisionCommand = de_RegisterApplicationRevisionCommand;
|
|
2218
|
-
const de_RegisterApplicationRevisionCommandError = async (output, context) => {
|
|
2219
|
-
const parsedOutput = {
|
|
2220
|
-
...output,
|
|
2221
|
-
body: await parseErrorBody(output.body, context),
|
|
2222
|
-
};
|
|
2223
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2224
|
-
switch (errorCode) {
|
|
2225
|
-
case "ApplicationDoesNotExistException":
|
|
2226
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
2227
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
2228
|
-
case "ApplicationNameRequiredException":
|
|
2229
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
2230
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
2231
|
-
case "DescriptionTooLongException":
|
|
2232
|
-
case "com.amazonaws.codedeploy#DescriptionTooLongException":
|
|
2233
|
-
throw await de_DescriptionTooLongExceptionRes(parsedOutput, context);
|
|
2234
|
-
case "InvalidApplicationNameException":
|
|
2235
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
2236
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
2237
|
-
case "InvalidRevisionException":
|
|
2238
|
-
case "com.amazonaws.codedeploy#InvalidRevisionException":
|
|
2239
|
-
throw await de_InvalidRevisionExceptionRes(parsedOutput, context);
|
|
2240
|
-
case "RevisionRequiredException":
|
|
2241
|
-
case "com.amazonaws.codedeploy#RevisionRequiredException":
|
|
2242
|
-
throw await de_RevisionRequiredExceptionRes(parsedOutput, context);
|
|
2243
|
-
default:
|
|
2244
|
-
const parsedBody = parsedOutput.body;
|
|
2245
|
-
return throwDefaultError({
|
|
2246
|
-
output,
|
|
2247
|
-
parsedBody,
|
|
2248
|
-
errorCode,
|
|
2249
|
-
});
|
|
2250
|
-
}
|
|
2251
|
-
};
|
|
2252
|
-
const de_RegisterOnPremisesInstanceCommand = async (output, context) => {
|
|
2253
|
-
if (output.statusCode >= 300) {
|
|
2254
|
-
return de_RegisterOnPremisesInstanceCommandError(output, context);
|
|
2255
|
-
}
|
|
2256
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2257
|
-
const response = {
|
|
2258
|
-
$metadata: deserializeMetadata(output),
|
|
2259
|
-
};
|
|
2260
|
-
return response;
|
|
2261
|
-
};
|
|
2262
|
-
exports.de_RegisterOnPremisesInstanceCommand = de_RegisterOnPremisesInstanceCommand;
|
|
2263
|
-
const de_RegisterOnPremisesInstanceCommandError = async (output, context) => {
|
|
2264
|
-
const parsedOutput = {
|
|
2265
|
-
...output,
|
|
2266
|
-
body: await parseErrorBody(output.body, context),
|
|
2267
|
-
};
|
|
2268
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2269
|
-
switch (errorCode) {
|
|
2270
|
-
case "IamArnRequiredException":
|
|
2271
|
-
case "com.amazonaws.codedeploy#IamArnRequiredException":
|
|
2272
|
-
throw await de_IamArnRequiredExceptionRes(parsedOutput, context);
|
|
2273
|
-
case "IamSessionArnAlreadyRegisteredException":
|
|
2274
|
-
case "com.amazonaws.codedeploy#IamSessionArnAlreadyRegisteredException":
|
|
2275
|
-
throw await de_IamSessionArnAlreadyRegisteredExceptionRes(parsedOutput, context);
|
|
2276
|
-
case "IamUserArnAlreadyRegisteredException":
|
|
2277
|
-
case "com.amazonaws.codedeploy#IamUserArnAlreadyRegisteredException":
|
|
2278
|
-
throw await de_IamUserArnAlreadyRegisteredExceptionRes(parsedOutput, context);
|
|
2279
|
-
case "IamUserArnRequiredException":
|
|
2280
|
-
case "com.amazonaws.codedeploy#IamUserArnRequiredException":
|
|
2281
|
-
throw await de_IamUserArnRequiredExceptionRes(parsedOutput, context);
|
|
2282
|
-
case "InstanceNameAlreadyRegisteredException":
|
|
2283
|
-
case "com.amazonaws.codedeploy#InstanceNameAlreadyRegisteredException":
|
|
2284
|
-
throw await de_InstanceNameAlreadyRegisteredExceptionRes(parsedOutput, context);
|
|
2285
|
-
case "InstanceNameRequiredException":
|
|
2286
|
-
case "com.amazonaws.codedeploy#InstanceNameRequiredException":
|
|
2287
|
-
throw await de_InstanceNameRequiredExceptionRes(parsedOutput, context);
|
|
2288
|
-
case "InvalidIamSessionArnException":
|
|
2289
|
-
case "com.amazonaws.codedeploy#InvalidIamSessionArnException":
|
|
2290
|
-
throw await de_InvalidIamSessionArnExceptionRes(parsedOutput, context);
|
|
2291
|
-
case "InvalidIamUserArnException":
|
|
2292
|
-
case "com.amazonaws.codedeploy#InvalidIamUserArnException":
|
|
2293
|
-
throw await de_InvalidIamUserArnExceptionRes(parsedOutput, context);
|
|
2294
|
-
case "InvalidInstanceNameException":
|
|
2295
|
-
case "com.amazonaws.codedeploy#InvalidInstanceNameException":
|
|
2296
|
-
throw await de_InvalidInstanceNameExceptionRes(parsedOutput, context);
|
|
2297
|
-
case "MultipleIamArnsProvidedException":
|
|
2298
|
-
case "com.amazonaws.codedeploy#MultipleIamArnsProvidedException":
|
|
2299
|
-
throw await de_MultipleIamArnsProvidedExceptionRes(parsedOutput, context);
|
|
2300
|
-
default:
|
|
2301
|
-
const parsedBody = parsedOutput.body;
|
|
2302
|
-
return throwDefaultError({
|
|
2303
|
-
output,
|
|
2304
|
-
parsedBody,
|
|
2305
|
-
errorCode,
|
|
2306
|
-
});
|
|
2307
|
-
}
|
|
2308
|
-
};
|
|
2309
|
-
const de_RemoveTagsFromOnPremisesInstancesCommand = async (output, context) => {
|
|
2310
|
-
if (output.statusCode >= 300) {
|
|
2311
|
-
return de_RemoveTagsFromOnPremisesInstancesCommandError(output, context);
|
|
2312
|
-
}
|
|
2313
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2314
|
-
const response = {
|
|
2315
|
-
$metadata: deserializeMetadata(output),
|
|
2316
|
-
};
|
|
2317
|
-
return response;
|
|
2318
|
-
};
|
|
2319
|
-
exports.de_RemoveTagsFromOnPremisesInstancesCommand = de_RemoveTagsFromOnPremisesInstancesCommand;
|
|
2320
|
-
const de_RemoveTagsFromOnPremisesInstancesCommandError = async (output, context) => {
|
|
2321
|
-
const parsedOutput = {
|
|
2322
|
-
...output,
|
|
2323
|
-
body: await parseErrorBody(output.body, context),
|
|
2324
|
-
};
|
|
2325
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2326
|
-
switch (errorCode) {
|
|
2327
|
-
case "InstanceLimitExceededException":
|
|
2328
|
-
case "com.amazonaws.codedeploy#InstanceLimitExceededException":
|
|
2329
|
-
throw await de_InstanceLimitExceededExceptionRes(parsedOutput, context);
|
|
2330
|
-
case "InstanceNameRequiredException":
|
|
2331
|
-
case "com.amazonaws.codedeploy#InstanceNameRequiredException":
|
|
2332
|
-
throw await de_InstanceNameRequiredExceptionRes(parsedOutput, context);
|
|
2333
|
-
case "InstanceNotRegisteredException":
|
|
2334
|
-
case "com.amazonaws.codedeploy#InstanceNotRegisteredException":
|
|
2335
|
-
throw await de_InstanceNotRegisteredExceptionRes(parsedOutput, context);
|
|
2336
|
-
case "InvalidInstanceNameException":
|
|
2337
|
-
case "com.amazonaws.codedeploy#InvalidInstanceNameException":
|
|
2338
|
-
throw await de_InvalidInstanceNameExceptionRes(parsedOutput, context);
|
|
2339
|
-
case "InvalidTagException":
|
|
2340
|
-
case "com.amazonaws.codedeploy#InvalidTagException":
|
|
2341
|
-
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
2342
|
-
case "TagLimitExceededException":
|
|
2343
|
-
case "com.amazonaws.codedeploy#TagLimitExceededException":
|
|
2344
|
-
throw await de_TagLimitExceededExceptionRes(parsedOutput, context);
|
|
2345
|
-
case "TagRequiredException":
|
|
2346
|
-
case "com.amazonaws.codedeploy#TagRequiredException":
|
|
2347
|
-
throw await de_TagRequiredExceptionRes(parsedOutput, context);
|
|
2348
|
-
default:
|
|
2349
|
-
const parsedBody = parsedOutput.body;
|
|
2350
|
-
return throwDefaultError({
|
|
2351
|
-
output,
|
|
2352
|
-
parsedBody,
|
|
2353
|
-
errorCode,
|
|
2354
|
-
});
|
|
2355
|
-
}
|
|
2356
|
-
};
|
|
2357
|
-
const de_SkipWaitTimeForInstanceTerminationCommand = async (output, context) => {
|
|
2358
|
-
if (output.statusCode >= 300) {
|
|
2359
|
-
return de_SkipWaitTimeForInstanceTerminationCommandError(output, context);
|
|
2360
|
-
}
|
|
2361
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2362
|
-
const response = {
|
|
2363
|
-
$metadata: deserializeMetadata(output),
|
|
2364
|
-
};
|
|
2365
|
-
return response;
|
|
2366
|
-
};
|
|
2367
|
-
exports.de_SkipWaitTimeForInstanceTerminationCommand = de_SkipWaitTimeForInstanceTerminationCommand;
|
|
2368
|
-
const de_SkipWaitTimeForInstanceTerminationCommandError = async (output, context) => {
|
|
2369
|
-
const parsedOutput = {
|
|
2370
|
-
...output,
|
|
2371
|
-
body: await parseErrorBody(output.body, context),
|
|
2372
|
-
};
|
|
2373
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2374
|
-
switch (errorCode) {
|
|
2375
|
-
case "DeploymentAlreadyCompletedException":
|
|
2376
|
-
case "com.amazonaws.codedeploy#DeploymentAlreadyCompletedException":
|
|
2377
|
-
throw await de_DeploymentAlreadyCompletedExceptionRes(parsedOutput, context);
|
|
2378
|
-
case "DeploymentDoesNotExistException":
|
|
2379
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
2380
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
2381
|
-
case "DeploymentIdRequiredException":
|
|
2382
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
2383
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
2384
|
-
case "DeploymentNotStartedException":
|
|
2385
|
-
case "com.amazonaws.codedeploy#DeploymentNotStartedException":
|
|
2386
|
-
throw await de_DeploymentNotStartedExceptionRes(parsedOutput, context);
|
|
2387
|
-
case "InvalidDeploymentIdException":
|
|
2388
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
2389
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
2390
|
-
case "UnsupportedActionForDeploymentTypeException":
|
|
2391
|
-
case "com.amazonaws.codedeploy#UnsupportedActionForDeploymentTypeException":
|
|
2392
|
-
throw await de_UnsupportedActionForDeploymentTypeExceptionRes(parsedOutput, context);
|
|
2393
|
-
default:
|
|
2394
|
-
const parsedBody = parsedOutput.body;
|
|
2395
|
-
return throwDefaultError({
|
|
2396
|
-
output,
|
|
2397
|
-
parsedBody,
|
|
2398
|
-
errorCode,
|
|
2399
|
-
});
|
|
2400
|
-
}
|
|
2401
|
-
};
|
|
2402
|
-
const de_StopDeploymentCommand = async (output, context) => {
|
|
2403
|
-
if (output.statusCode >= 300) {
|
|
2404
|
-
return de_StopDeploymentCommandError(output, context);
|
|
2405
|
-
}
|
|
2406
|
-
const data = await parseBody(output.body, context);
|
|
2407
|
-
let contents = {};
|
|
2408
|
-
contents = (0, smithy_client_1._json)(data);
|
|
2409
|
-
const response = {
|
|
2410
|
-
$metadata: deserializeMetadata(output),
|
|
2411
|
-
...contents,
|
|
2412
|
-
};
|
|
2413
|
-
return response;
|
|
2414
|
-
};
|
|
2415
|
-
exports.de_StopDeploymentCommand = de_StopDeploymentCommand;
|
|
2416
|
-
const de_StopDeploymentCommandError = async (output, context) => {
|
|
2417
|
-
const parsedOutput = {
|
|
2418
|
-
...output,
|
|
2419
|
-
body: await parseErrorBody(output.body, context),
|
|
2420
|
-
};
|
|
2421
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2422
|
-
switch (errorCode) {
|
|
2423
|
-
case "DeploymentAlreadyCompletedException":
|
|
2424
|
-
case "com.amazonaws.codedeploy#DeploymentAlreadyCompletedException":
|
|
2425
|
-
throw await de_DeploymentAlreadyCompletedExceptionRes(parsedOutput, context);
|
|
2426
|
-
case "DeploymentDoesNotExistException":
|
|
2427
|
-
case "com.amazonaws.codedeploy#DeploymentDoesNotExistException":
|
|
2428
|
-
throw await de_DeploymentDoesNotExistExceptionRes(parsedOutput, context);
|
|
2429
|
-
case "DeploymentGroupDoesNotExistException":
|
|
2430
|
-
case "com.amazonaws.codedeploy#DeploymentGroupDoesNotExistException":
|
|
2431
|
-
throw await de_DeploymentGroupDoesNotExistExceptionRes(parsedOutput, context);
|
|
2432
|
-
case "DeploymentIdRequiredException":
|
|
2433
|
-
case "com.amazonaws.codedeploy#DeploymentIdRequiredException":
|
|
2434
|
-
throw await de_DeploymentIdRequiredExceptionRes(parsedOutput, context);
|
|
2435
|
-
case "InvalidDeploymentIdException":
|
|
2436
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentIdException":
|
|
2437
|
-
throw await de_InvalidDeploymentIdExceptionRes(parsedOutput, context);
|
|
2438
|
-
case "UnsupportedActionForDeploymentTypeException":
|
|
2439
|
-
case "com.amazonaws.codedeploy#UnsupportedActionForDeploymentTypeException":
|
|
2440
|
-
throw await de_UnsupportedActionForDeploymentTypeExceptionRes(parsedOutput, context);
|
|
2441
|
-
default:
|
|
2442
|
-
const parsedBody = parsedOutput.body;
|
|
2443
|
-
return throwDefaultError({
|
|
2444
|
-
output,
|
|
2445
|
-
parsedBody,
|
|
2446
|
-
errorCode,
|
|
2447
|
-
});
|
|
2448
|
-
}
|
|
2449
|
-
};
|
|
2450
|
-
const de_TagResourceCommand = async (output, context) => {
|
|
2451
|
-
if (output.statusCode >= 300) {
|
|
2452
|
-
return de_TagResourceCommandError(output, context);
|
|
2453
|
-
}
|
|
2454
|
-
const data = await parseBody(output.body, context);
|
|
2455
|
-
let contents = {};
|
|
2456
|
-
contents = (0, smithy_client_1._json)(data);
|
|
2457
|
-
const response = {
|
|
2458
|
-
$metadata: deserializeMetadata(output),
|
|
2459
|
-
...contents,
|
|
2460
|
-
};
|
|
2461
|
-
return response;
|
|
2462
|
-
};
|
|
2463
|
-
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
2464
|
-
const de_TagResourceCommandError = async (output, context) => {
|
|
2465
|
-
const parsedOutput = {
|
|
2466
|
-
...output,
|
|
2467
|
-
body: await parseErrorBody(output.body, context),
|
|
2468
|
-
};
|
|
2469
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2470
|
-
switch (errorCode) {
|
|
2471
|
-
case "ApplicationDoesNotExistException":
|
|
2472
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
2473
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
2474
|
-
case "ArnNotSupportedException":
|
|
2475
|
-
case "com.amazonaws.codedeploy#ArnNotSupportedException":
|
|
2476
|
-
throw await de_ArnNotSupportedExceptionRes(parsedOutput, context);
|
|
2477
|
-
case "DeploymentConfigDoesNotExistException":
|
|
2478
|
-
case "com.amazonaws.codedeploy#DeploymentConfigDoesNotExistException":
|
|
2479
|
-
throw await de_DeploymentConfigDoesNotExistExceptionRes(parsedOutput, context);
|
|
2480
|
-
case "DeploymentGroupDoesNotExistException":
|
|
2481
|
-
case "com.amazonaws.codedeploy#DeploymentGroupDoesNotExistException":
|
|
2482
|
-
throw await de_DeploymentGroupDoesNotExistExceptionRes(parsedOutput, context);
|
|
2483
|
-
case "InvalidArnException":
|
|
2484
|
-
case "com.amazonaws.codedeploy#InvalidArnException":
|
|
2485
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
2486
|
-
case "InvalidTagsToAddException":
|
|
2487
|
-
case "com.amazonaws.codedeploy#InvalidTagsToAddException":
|
|
2488
|
-
throw await de_InvalidTagsToAddExceptionRes(parsedOutput, context);
|
|
2489
|
-
case "ResourceArnRequiredException":
|
|
2490
|
-
case "com.amazonaws.codedeploy#ResourceArnRequiredException":
|
|
2491
|
-
throw await de_ResourceArnRequiredExceptionRes(parsedOutput, context);
|
|
2492
|
-
case "TagRequiredException":
|
|
2493
|
-
case "com.amazonaws.codedeploy#TagRequiredException":
|
|
2494
|
-
throw await de_TagRequiredExceptionRes(parsedOutput, context);
|
|
2495
|
-
default:
|
|
2496
|
-
const parsedBody = parsedOutput.body;
|
|
2497
|
-
return throwDefaultError({
|
|
2498
|
-
output,
|
|
2499
|
-
parsedBody,
|
|
2500
|
-
errorCode,
|
|
2501
|
-
});
|
|
2502
|
-
}
|
|
2503
|
-
};
|
|
2504
|
-
const de_UntagResourceCommand = async (output, context) => {
|
|
2505
|
-
if (output.statusCode >= 300) {
|
|
2506
|
-
return de_UntagResourceCommandError(output, context);
|
|
2507
|
-
}
|
|
2508
|
-
const data = await parseBody(output.body, context);
|
|
2509
|
-
let contents = {};
|
|
2510
|
-
contents = (0, smithy_client_1._json)(data);
|
|
2511
|
-
const response = {
|
|
2512
|
-
$metadata: deserializeMetadata(output),
|
|
2513
|
-
...contents,
|
|
2514
|
-
};
|
|
2515
|
-
return response;
|
|
2516
|
-
};
|
|
2517
|
-
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
2518
|
-
const de_UntagResourceCommandError = async (output, context) => {
|
|
2519
|
-
const parsedOutput = {
|
|
2520
|
-
...output,
|
|
2521
|
-
body: await parseErrorBody(output.body, context),
|
|
2522
|
-
};
|
|
2523
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2524
|
-
switch (errorCode) {
|
|
2525
|
-
case "ApplicationDoesNotExistException":
|
|
2526
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
2527
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
2528
|
-
case "ArnNotSupportedException":
|
|
2529
|
-
case "com.amazonaws.codedeploy#ArnNotSupportedException":
|
|
2530
|
-
throw await de_ArnNotSupportedExceptionRes(parsedOutput, context);
|
|
2531
|
-
case "DeploymentConfigDoesNotExistException":
|
|
2532
|
-
case "com.amazonaws.codedeploy#DeploymentConfigDoesNotExistException":
|
|
2533
|
-
throw await de_DeploymentConfigDoesNotExistExceptionRes(parsedOutput, context);
|
|
2534
|
-
case "DeploymentGroupDoesNotExistException":
|
|
2535
|
-
case "com.amazonaws.codedeploy#DeploymentGroupDoesNotExistException":
|
|
2536
|
-
throw await de_DeploymentGroupDoesNotExistExceptionRes(parsedOutput, context);
|
|
2537
|
-
case "InvalidArnException":
|
|
2538
|
-
case "com.amazonaws.codedeploy#InvalidArnException":
|
|
2539
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
2540
|
-
case "InvalidTagsToAddException":
|
|
2541
|
-
case "com.amazonaws.codedeploy#InvalidTagsToAddException":
|
|
2542
|
-
throw await de_InvalidTagsToAddExceptionRes(parsedOutput, context);
|
|
2543
|
-
case "ResourceArnRequiredException":
|
|
2544
|
-
case "com.amazonaws.codedeploy#ResourceArnRequiredException":
|
|
2545
|
-
throw await de_ResourceArnRequiredExceptionRes(parsedOutput, context);
|
|
2546
|
-
case "TagRequiredException":
|
|
2547
|
-
case "com.amazonaws.codedeploy#TagRequiredException":
|
|
2548
|
-
throw await de_TagRequiredExceptionRes(parsedOutput, context);
|
|
2549
|
-
default:
|
|
2550
|
-
const parsedBody = parsedOutput.body;
|
|
2551
|
-
return throwDefaultError({
|
|
2552
|
-
output,
|
|
2553
|
-
parsedBody,
|
|
2554
|
-
errorCode,
|
|
2555
|
-
});
|
|
2556
|
-
}
|
|
2557
|
-
};
|
|
2558
|
-
const de_UpdateApplicationCommand = async (output, context) => {
|
|
2559
|
-
if (output.statusCode >= 300) {
|
|
2560
|
-
return de_UpdateApplicationCommandError(output, context);
|
|
2561
|
-
}
|
|
2562
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2563
|
-
const response = {
|
|
2564
|
-
$metadata: deserializeMetadata(output),
|
|
2565
|
-
};
|
|
2566
|
-
return response;
|
|
2567
|
-
};
|
|
2568
|
-
exports.de_UpdateApplicationCommand = de_UpdateApplicationCommand;
|
|
2569
|
-
const de_UpdateApplicationCommandError = async (output, context) => {
|
|
2570
|
-
const parsedOutput = {
|
|
2571
|
-
...output,
|
|
2572
|
-
body: await parseErrorBody(output.body, context),
|
|
2573
|
-
};
|
|
2574
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2575
|
-
switch (errorCode) {
|
|
2576
|
-
case "ApplicationAlreadyExistsException":
|
|
2577
|
-
case "com.amazonaws.codedeploy#ApplicationAlreadyExistsException":
|
|
2578
|
-
throw await de_ApplicationAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2579
|
-
case "ApplicationDoesNotExistException":
|
|
2580
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
2581
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
2582
|
-
case "ApplicationNameRequiredException":
|
|
2583
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
2584
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
2585
|
-
case "InvalidApplicationNameException":
|
|
2586
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
2587
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
2588
|
-
default:
|
|
2589
|
-
const parsedBody = parsedOutput.body;
|
|
2590
|
-
return throwDefaultError({
|
|
2591
|
-
output,
|
|
2592
|
-
parsedBody,
|
|
2593
|
-
errorCode,
|
|
2594
|
-
});
|
|
2595
|
-
}
|
|
2596
|
-
};
|
|
2597
|
-
const de_UpdateDeploymentGroupCommand = async (output, context) => {
|
|
2598
|
-
if (output.statusCode >= 300) {
|
|
2599
|
-
return de_UpdateDeploymentGroupCommandError(output, context);
|
|
2600
|
-
}
|
|
2601
|
-
const data = await parseBody(output.body, context);
|
|
2602
|
-
let contents = {};
|
|
2603
|
-
contents = (0, smithy_client_1._json)(data);
|
|
2604
|
-
const response = {
|
|
2605
|
-
$metadata: deserializeMetadata(output),
|
|
2606
|
-
...contents,
|
|
2607
|
-
};
|
|
2608
|
-
return response;
|
|
2609
|
-
};
|
|
2610
|
-
exports.de_UpdateDeploymentGroupCommand = de_UpdateDeploymentGroupCommand;
|
|
2611
|
-
const de_UpdateDeploymentGroupCommandError = async (output, context) => {
|
|
2612
|
-
const parsedOutput = {
|
|
2613
|
-
...output,
|
|
2614
|
-
body: await parseErrorBody(output.body, context),
|
|
2615
|
-
};
|
|
2616
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2617
|
-
switch (errorCode) {
|
|
2618
|
-
case "AlarmsLimitExceededException":
|
|
2619
|
-
case "com.amazonaws.codedeploy#AlarmsLimitExceededException":
|
|
2620
|
-
throw await de_AlarmsLimitExceededExceptionRes(parsedOutput, context);
|
|
2621
|
-
case "ApplicationDoesNotExistException":
|
|
2622
|
-
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
2623
|
-
throw await de_ApplicationDoesNotExistExceptionRes(parsedOutput, context);
|
|
2624
|
-
case "ApplicationNameRequiredException":
|
|
2625
|
-
case "com.amazonaws.codedeploy#ApplicationNameRequiredException":
|
|
2626
|
-
throw await de_ApplicationNameRequiredExceptionRes(parsedOutput, context);
|
|
2627
|
-
case "DeploymentConfigDoesNotExistException":
|
|
2628
|
-
case "com.amazonaws.codedeploy#DeploymentConfigDoesNotExistException":
|
|
2629
|
-
throw await de_DeploymentConfigDoesNotExistExceptionRes(parsedOutput, context);
|
|
2630
|
-
case "DeploymentGroupAlreadyExistsException":
|
|
2631
|
-
case "com.amazonaws.codedeploy#DeploymentGroupAlreadyExistsException":
|
|
2632
|
-
throw await de_DeploymentGroupAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2633
|
-
case "DeploymentGroupDoesNotExistException":
|
|
2634
|
-
case "com.amazonaws.codedeploy#DeploymentGroupDoesNotExistException":
|
|
2635
|
-
throw await de_DeploymentGroupDoesNotExistExceptionRes(parsedOutput, context);
|
|
2636
|
-
case "DeploymentGroupNameRequiredException":
|
|
2637
|
-
case "com.amazonaws.codedeploy#DeploymentGroupNameRequiredException":
|
|
2638
|
-
throw await de_DeploymentGroupNameRequiredExceptionRes(parsedOutput, context);
|
|
2639
|
-
case "ECSServiceMappingLimitExceededException":
|
|
2640
|
-
case "com.amazonaws.codedeploy#ECSServiceMappingLimitExceededException":
|
|
2641
|
-
throw await de_ECSServiceMappingLimitExceededExceptionRes(parsedOutput, context);
|
|
2642
|
-
case "InvalidAlarmConfigException":
|
|
2643
|
-
case "com.amazonaws.codedeploy#InvalidAlarmConfigException":
|
|
2644
|
-
throw await de_InvalidAlarmConfigExceptionRes(parsedOutput, context);
|
|
2645
|
-
case "InvalidApplicationNameException":
|
|
2646
|
-
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
2647
|
-
throw await de_InvalidApplicationNameExceptionRes(parsedOutput, context);
|
|
2648
|
-
case "InvalidAutoRollbackConfigException":
|
|
2649
|
-
case "com.amazonaws.codedeploy#InvalidAutoRollbackConfigException":
|
|
2650
|
-
throw await de_InvalidAutoRollbackConfigExceptionRes(parsedOutput, context);
|
|
2651
|
-
case "InvalidAutoScalingGroupException":
|
|
2652
|
-
case "com.amazonaws.codedeploy#InvalidAutoScalingGroupException":
|
|
2653
|
-
throw await de_InvalidAutoScalingGroupExceptionRes(parsedOutput, context);
|
|
2654
|
-
case "InvalidBlueGreenDeploymentConfigurationException":
|
|
2655
|
-
case "com.amazonaws.codedeploy#InvalidBlueGreenDeploymentConfigurationException":
|
|
2656
|
-
throw await de_InvalidBlueGreenDeploymentConfigurationExceptionRes(parsedOutput, context);
|
|
2657
|
-
case "InvalidDeploymentConfigNameException":
|
|
2658
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentConfigNameException":
|
|
2659
|
-
throw await de_InvalidDeploymentConfigNameExceptionRes(parsedOutput, context);
|
|
2660
|
-
case "InvalidDeploymentGroupNameException":
|
|
2661
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentGroupNameException":
|
|
2662
|
-
throw await de_InvalidDeploymentGroupNameExceptionRes(parsedOutput, context);
|
|
2663
|
-
case "InvalidDeploymentStyleException":
|
|
2664
|
-
case "com.amazonaws.codedeploy#InvalidDeploymentStyleException":
|
|
2665
|
-
throw await de_InvalidDeploymentStyleExceptionRes(parsedOutput, context);
|
|
2666
|
-
case "InvalidEC2TagCombinationException":
|
|
2667
|
-
case "com.amazonaws.codedeploy#InvalidEC2TagCombinationException":
|
|
2668
|
-
throw await de_InvalidEC2TagCombinationExceptionRes(parsedOutput, context);
|
|
2669
|
-
case "InvalidEC2TagException":
|
|
2670
|
-
case "com.amazonaws.codedeploy#InvalidEC2TagException":
|
|
2671
|
-
throw await de_InvalidEC2TagExceptionRes(parsedOutput, context);
|
|
2672
|
-
case "InvalidECSServiceException":
|
|
2673
|
-
case "com.amazonaws.codedeploy#InvalidECSServiceException":
|
|
2674
|
-
throw await de_InvalidECSServiceExceptionRes(parsedOutput, context);
|
|
2675
|
-
case "InvalidInputException":
|
|
2676
|
-
case "com.amazonaws.codedeploy#InvalidInputException":
|
|
2677
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2678
|
-
case "InvalidLoadBalancerInfoException":
|
|
2679
|
-
case "com.amazonaws.codedeploy#InvalidLoadBalancerInfoException":
|
|
2680
|
-
throw await de_InvalidLoadBalancerInfoExceptionRes(parsedOutput, context);
|
|
2681
|
-
case "InvalidOnPremisesTagCombinationException":
|
|
2682
|
-
case "com.amazonaws.codedeploy#InvalidOnPremisesTagCombinationException":
|
|
2683
|
-
throw await de_InvalidOnPremisesTagCombinationExceptionRes(parsedOutput, context);
|
|
2684
|
-
case "InvalidRoleException":
|
|
2685
|
-
case "com.amazonaws.codedeploy#InvalidRoleException":
|
|
2686
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
2687
|
-
case "InvalidTagException":
|
|
2688
|
-
case "com.amazonaws.codedeploy#InvalidTagException":
|
|
2689
|
-
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
2690
|
-
case "InvalidTargetGroupPairException":
|
|
2691
|
-
case "com.amazonaws.codedeploy#InvalidTargetGroupPairException":
|
|
2692
|
-
throw await de_InvalidTargetGroupPairExceptionRes(parsedOutput, context);
|
|
2693
|
-
case "InvalidTrafficRoutingConfigurationException":
|
|
2694
|
-
case "com.amazonaws.codedeploy#InvalidTrafficRoutingConfigurationException":
|
|
2695
|
-
throw await de_InvalidTrafficRoutingConfigurationExceptionRes(parsedOutput, context);
|
|
2696
|
-
case "InvalidTriggerConfigException":
|
|
2697
|
-
case "com.amazonaws.codedeploy#InvalidTriggerConfigException":
|
|
2698
|
-
throw await de_InvalidTriggerConfigExceptionRes(parsedOutput, context);
|
|
2699
|
-
case "LifecycleHookLimitExceededException":
|
|
2700
|
-
case "com.amazonaws.codedeploy#LifecycleHookLimitExceededException":
|
|
2701
|
-
throw await de_LifecycleHookLimitExceededExceptionRes(parsedOutput, context);
|
|
2702
|
-
case "TagSetListLimitExceededException":
|
|
2703
|
-
case "com.amazonaws.codedeploy#TagSetListLimitExceededException":
|
|
2704
|
-
throw await de_TagSetListLimitExceededExceptionRes(parsedOutput, context);
|
|
2705
|
-
case "ThrottlingException":
|
|
2706
|
-
case "com.amazonaws.codedeploy#ThrottlingException":
|
|
2707
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2708
|
-
case "TriggerTargetsLimitExceededException":
|
|
2709
|
-
case "com.amazonaws.codedeploy#TriggerTargetsLimitExceededException":
|
|
2710
|
-
throw await de_TriggerTargetsLimitExceededExceptionRes(parsedOutput, context);
|
|
2711
|
-
default:
|
|
2712
|
-
const parsedBody = parsedOutput.body;
|
|
2713
|
-
return throwDefaultError({
|
|
2714
|
-
output,
|
|
2715
|
-
parsedBody,
|
|
2716
|
-
errorCode,
|
|
2717
|
-
});
|
|
2718
|
-
}
|
|
2719
|
-
};
|
|
2720
|
-
const de_AlarmsLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2721
|
-
const body = parsedOutput.body;
|
|
2722
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2723
|
-
const exception = new models_0_1.AlarmsLimitExceededException({
|
|
2724
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2725
|
-
...deserialized,
|
|
2726
|
-
});
|
|
2727
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2728
|
-
};
|
|
2729
|
-
const de_ApplicationAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
2730
|
-
const body = parsedOutput.body;
|
|
2731
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2732
|
-
const exception = new models_0_1.ApplicationAlreadyExistsException({
|
|
2733
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2734
|
-
...deserialized,
|
|
2735
|
-
});
|
|
2736
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2737
|
-
};
|
|
2738
|
-
const de_ApplicationDoesNotExistExceptionRes = async (parsedOutput, context) => {
|
|
2739
|
-
const body = parsedOutput.body;
|
|
2740
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2741
|
-
const exception = new models_0_1.ApplicationDoesNotExistException({
|
|
2742
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2743
|
-
...deserialized,
|
|
2744
|
-
});
|
|
2745
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2746
|
-
};
|
|
2747
|
-
const de_ApplicationLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2748
|
-
const body = parsedOutput.body;
|
|
2749
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2750
|
-
const exception = new models_0_1.ApplicationLimitExceededException({
|
|
2751
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2752
|
-
...deserialized,
|
|
2753
|
-
});
|
|
2754
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2755
|
-
};
|
|
2756
|
-
const de_ApplicationNameRequiredExceptionRes = async (parsedOutput, context) => {
|
|
2757
|
-
const body = parsedOutput.body;
|
|
2758
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2759
|
-
const exception = new models_0_1.ApplicationNameRequiredException({
|
|
2760
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2761
|
-
...deserialized,
|
|
2762
|
-
});
|
|
2763
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2764
|
-
};
|
|
2765
|
-
const de_ArnNotSupportedExceptionRes = async (parsedOutput, context) => {
|
|
2766
|
-
const body = parsedOutput.body;
|
|
2767
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2768
|
-
const exception = new models_0_1.ArnNotSupportedException({
|
|
2769
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2770
|
-
...deserialized,
|
|
2771
|
-
});
|
|
2772
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2773
|
-
};
|
|
2774
|
-
const de_BatchLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2775
|
-
const body = parsedOutput.body;
|
|
2776
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2777
|
-
const exception = new models_0_1.BatchLimitExceededException({
|
|
2778
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2779
|
-
...deserialized,
|
|
2780
|
-
});
|
|
2781
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2782
|
-
};
|
|
2783
|
-
const de_BucketNameFilterRequiredExceptionRes = async (parsedOutput, context) => {
|
|
2784
|
-
const body = parsedOutput.body;
|
|
2785
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2786
|
-
const exception = new models_0_1.BucketNameFilterRequiredException({
|
|
2787
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2788
|
-
...deserialized,
|
|
2789
|
-
});
|
|
2790
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2791
|
-
};
|
|
2792
|
-
const de_DeploymentAlreadyCompletedExceptionRes = async (parsedOutput, context) => {
|
|
2793
|
-
const body = parsedOutput.body;
|
|
2794
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2795
|
-
const exception = new models_0_1.DeploymentAlreadyCompletedException({
|
|
2796
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2797
|
-
...deserialized,
|
|
2798
|
-
});
|
|
2799
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2800
|
-
};
|
|
2801
|
-
const de_DeploymentConfigAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
2802
|
-
const body = parsedOutput.body;
|
|
2803
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2804
|
-
const exception = new models_0_1.DeploymentConfigAlreadyExistsException({
|
|
2805
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2806
|
-
...deserialized,
|
|
2807
|
-
});
|
|
2808
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2809
|
-
};
|
|
2810
|
-
const de_DeploymentConfigDoesNotExistExceptionRes = async (parsedOutput, context) => {
|
|
2811
|
-
const body = parsedOutput.body;
|
|
2812
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2813
|
-
const exception = new models_0_1.DeploymentConfigDoesNotExistException({
|
|
2814
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2815
|
-
...deserialized,
|
|
2816
|
-
});
|
|
2817
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2818
|
-
};
|
|
2819
|
-
const de_DeploymentConfigInUseExceptionRes = async (parsedOutput, context) => {
|
|
2820
|
-
const body = parsedOutput.body;
|
|
2821
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2822
|
-
const exception = new models_0_1.DeploymentConfigInUseException({
|
|
2823
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2824
|
-
...deserialized,
|
|
2825
|
-
});
|
|
2826
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2827
|
-
};
|
|
2828
|
-
const de_DeploymentConfigLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2829
|
-
const body = parsedOutput.body;
|
|
2830
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2831
|
-
const exception = new models_0_1.DeploymentConfigLimitExceededException({
|
|
2832
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2833
|
-
...deserialized,
|
|
2834
|
-
});
|
|
2835
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2836
|
-
};
|
|
2837
|
-
const de_DeploymentConfigNameRequiredExceptionRes = async (parsedOutput, context) => {
|
|
2838
|
-
const body = parsedOutput.body;
|
|
2839
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2840
|
-
const exception = new models_0_1.DeploymentConfigNameRequiredException({
|
|
2841
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2842
|
-
...deserialized,
|
|
2843
|
-
});
|
|
2844
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2845
|
-
};
|
|
2846
|
-
const de_DeploymentDoesNotExistExceptionRes = async (parsedOutput, context) => {
|
|
2847
|
-
const body = parsedOutput.body;
|
|
2848
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2849
|
-
const exception = new models_0_1.DeploymentDoesNotExistException({
|
|
2850
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2851
|
-
...deserialized,
|
|
2852
|
-
});
|
|
2853
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2854
|
-
};
|
|
2855
|
-
const de_DeploymentGroupAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
2856
|
-
const body = parsedOutput.body;
|
|
2857
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2858
|
-
const exception = new models_0_1.DeploymentGroupAlreadyExistsException({
|
|
2859
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2860
|
-
...deserialized,
|
|
2861
|
-
});
|
|
2862
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2863
|
-
};
|
|
2864
|
-
const de_DeploymentGroupDoesNotExistExceptionRes = async (parsedOutput, context) => {
|
|
2865
|
-
const body = parsedOutput.body;
|
|
2866
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2867
|
-
const exception = new models_0_1.DeploymentGroupDoesNotExistException({
|
|
2868
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2869
|
-
...deserialized,
|
|
2870
|
-
});
|
|
2871
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2872
|
-
};
|
|
2873
|
-
const de_DeploymentGroupLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2874
|
-
const body = parsedOutput.body;
|
|
2875
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2876
|
-
const exception = new models_0_1.DeploymentGroupLimitExceededException({
|
|
2877
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2878
|
-
...deserialized,
|
|
2879
|
-
});
|
|
2880
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2881
|
-
};
|
|
2882
|
-
const de_DeploymentGroupNameRequiredExceptionRes = async (parsedOutput, context) => {
|
|
2883
|
-
const body = parsedOutput.body;
|
|
2884
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2885
|
-
const exception = new models_0_1.DeploymentGroupNameRequiredException({
|
|
2886
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2887
|
-
...deserialized,
|
|
2888
|
-
});
|
|
2889
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2890
|
-
};
|
|
2891
|
-
const de_DeploymentIdRequiredExceptionRes = async (parsedOutput, context) => {
|
|
2892
|
-
const body = parsedOutput.body;
|
|
2893
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2894
|
-
const exception = new models_0_1.DeploymentIdRequiredException({
|
|
2895
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2896
|
-
...deserialized,
|
|
2897
|
-
});
|
|
2898
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2899
|
-
};
|
|
2900
|
-
const de_DeploymentIsNotInReadyStateExceptionRes = async (parsedOutput, context) => {
|
|
2901
|
-
const body = parsedOutput.body;
|
|
2902
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2903
|
-
const exception = new models_0_1.DeploymentIsNotInReadyStateException({
|
|
2904
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2905
|
-
...deserialized,
|
|
2906
|
-
});
|
|
2907
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2908
|
-
};
|
|
2909
|
-
const de_DeploymentLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2910
|
-
const body = parsedOutput.body;
|
|
2911
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2912
|
-
const exception = new models_0_1.DeploymentLimitExceededException({
|
|
2913
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2914
|
-
...deserialized,
|
|
2915
|
-
});
|
|
2916
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2917
|
-
};
|
|
2918
|
-
const de_DeploymentNotStartedExceptionRes = async (parsedOutput, context) => {
|
|
2919
|
-
const body = parsedOutput.body;
|
|
2920
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2921
|
-
const exception = new models_0_1.DeploymentNotStartedException({
|
|
2922
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2923
|
-
...deserialized,
|
|
2924
|
-
});
|
|
2925
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2926
|
-
};
|
|
2927
|
-
const de_DeploymentTargetDoesNotExistExceptionRes = async (parsedOutput, context) => {
|
|
2928
|
-
const body = parsedOutput.body;
|
|
2929
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2930
|
-
const exception = new models_0_1.DeploymentTargetDoesNotExistException({
|
|
2931
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2932
|
-
...deserialized,
|
|
2933
|
-
});
|
|
2934
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2935
|
-
};
|
|
2936
|
-
const de_DeploymentTargetIdRequiredExceptionRes = async (parsedOutput, context) => {
|
|
2937
|
-
const body = parsedOutput.body;
|
|
2938
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2939
|
-
const exception = new models_0_1.DeploymentTargetIdRequiredException({
|
|
2940
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2941
|
-
...deserialized,
|
|
2942
|
-
});
|
|
2943
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2944
|
-
};
|
|
2945
|
-
const de_DeploymentTargetListSizeExceededExceptionRes = async (parsedOutput, context) => {
|
|
2946
|
-
const body = parsedOutput.body;
|
|
2947
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2948
|
-
const exception = new models_0_1.DeploymentTargetListSizeExceededException({
|
|
2949
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2950
|
-
...deserialized,
|
|
2951
|
-
});
|
|
2952
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2953
|
-
};
|
|
2954
|
-
const de_DescriptionTooLongExceptionRes = async (parsedOutput, context) => {
|
|
2955
|
-
const body = parsedOutput.body;
|
|
2956
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2957
|
-
const exception = new models_0_1.DescriptionTooLongException({
|
|
2958
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2959
|
-
...deserialized,
|
|
2960
|
-
});
|
|
2961
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2962
|
-
};
|
|
2963
|
-
const de_ECSServiceMappingLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2964
|
-
const body = parsedOutput.body;
|
|
2965
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2966
|
-
const exception = new models_0_1.ECSServiceMappingLimitExceededException({
|
|
2967
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2968
|
-
...deserialized,
|
|
2969
|
-
});
|
|
2970
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2971
|
-
};
|
|
2972
|
-
const de_GitHubAccountTokenDoesNotExistExceptionRes = async (parsedOutput, context) => {
|
|
2973
|
-
const body = parsedOutput.body;
|
|
2974
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2975
|
-
const exception = new models_0_1.GitHubAccountTokenDoesNotExistException({
|
|
2976
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2977
|
-
...deserialized,
|
|
2978
|
-
});
|
|
2979
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2980
|
-
};
|
|
2981
|
-
const de_GitHubAccountTokenNameRequiredExceptionRes = async (parsedOutput, context) => {
|
|
2982
|
-
const body = parsedOutput.body;
|
|
2983
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2984
|
-
const exception = new models_0_1.GitHubAccountTokenNameRequiredException({
|
|
2985
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2986
|
-
...deserialized,
|
|
2987
|
-
});
|
|
2988
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2989
|
-
};
|
|
2990
|
-
const de_IamArnRequiredExceptionRes = async (parsedOutput, context) => {
|
|
2991
|
-
const body = parsedOutput.body;
|
|
2992
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
2993
|
-
const exception = new models_0_1.IamArnRequiredException({
|
|
2994
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2995
|
-
...deserialized,
|
|
2996
|
-
});
|
|
2997
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2998
|
-
};
|
|
2999
|
-
const de_IamSessionArnAlreadyRegisteredExceptionRes = async (parsedOutput, context) => {
|
|
3000
|
-
const body = parsedOutput.body;
|
|
3001
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3002
|
-
const exception = new models_0_1.IamSessionArnAlreadyRegisteredException({
|
|
3003
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3004
|
-
...deserialized,
|
|
3005
|
-
});
|
|
3006
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3007
|
-
};
|
|
3008
|
-
const de_IamUserArnAlreadyRegisteredExceptionRes = async (parsedOutput, context) => {
|
|
3009
|
-
const body = parsedOutput.body;
|
|
3010
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3011
|
-
const exception = new models_0_1.IamUserArnAlreadyRegisteredException({
|
|
3012
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3013
|
-
...deserialized,
|
|
3014
|
-
});
|
|
3015
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3016
|
-
};
|
|
3017
|
-
const de_IamUserArnRequiredExceptionRes = async (parsedOutput, context) => {
|
|
3018
|
-
const body = parsedOutput.body;
|
|
3019
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3020
|
-
const exception = new models_0_1.IamUserArnRequiredException({
|
|
3021
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3022
|
-
...deserialized,
|
|
3023
|
-
});
|
|
3024
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3025
|
-
};
|
|
3026
|
-
const de_InstanceDoesNotExistExceptionRes = async (parsedOutput, context) => {
|
|
3027
|
-
const body = parsedOutput.body;
|
|
3028
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3029
|
-
const exception = new models_0_1.InstanceDoesNotExistException({
|
|
3030
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3031
|
-
...deserialized,
|
|
3032
|
-
});
|
|
3033
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3034
|
-
};
|
|
3035
|
-
const de_InstanceIdRequiredExceptionRes = async (parsedOutput, context) => {
|
|
3036
|
-
const body = parsedOutput.body;
|
|
3037
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3038
|
-
const exception = new models_0_1.InstanceIdRequiredException({
|
|
3039
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3040
|
-
...deserialized,
|
|
3041
|
-
});
|
|
3042
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3043
|
-
};
|
|
3044
|
-
const de_InstanceLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
3045
|
-
const body = parsedOutput.body;
|
|
3046
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3047
|
-
const exception = new models_0_1.InstanceLimitExceededException({
|
|
3048
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3049
|
-
...deserialized,
|
|
3050
|
-
});
|
|
3051
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3052
|
-
};
|
|
3053
|
-
const de_InstanceNameAlreadyRegisteredExceptionRes = async (parsedOutput, context) => {
|
|
3054
|
-
const body = parsedOutput.body;
|
|
3055
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3056
|
-
const exception = new models_0_1.InstanceNameAlreadyRegisteredException({
|
|
3057
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3058
|
-
...deserialized,
|
|
3059
|
-
});
|
|
3060
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3061
|
-
};
|
|
3062
|
-
const de_InstanceNameRequiredExceptionRes = async (parsedOutput, context) => {
|
|
3063
|
-
const body = parsedOutput.body;
|
|
3064
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3065
|
-
const exception = new models_0_1.InstanceNameRequiredException({
|
|
3066
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3067
|
-
...deserialized,
|
|
3068
|
-
});
|
|
3069
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3070
|
-
};
|
|
3071
|
-
const de_InstanceNotRegisteredExceptionRes = async (parsedOutput, context) => {
|
|
3072
|
-
const body = parsedOutput.body;
|
|
3073
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3074
|
-
const exception = new models_0_1.InstanceNotRegisteredException({
|
|
3075
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3076
|
-
...deserialized,
|
|
3077
|
-
});
|
|
3078
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3079
|
-
};
|
|
3080
|
-
const de_InvalidAlarmConfigExceptionRes = async (parsedOutput, context) => {
|
|
3081
|
-
const body = parsedOutput.body;
|
|
3082
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3083
|
-
const exception = new models_0_1.InvalidAlarmConfigException({
|
|
3084
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3085
|
-
...deserialized,
|
|
3086
|
-
});
|
|
3087
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3088
|
-
};
|
|
3089
|
-
const de_InvalidApplicationNameExceptionRes = async (parsedOutput, context) => {
|
|
3090
|
-
const body = parsedOutput.body;
|
|
3091
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3092
|
-
const exception = new models_0_1.InvalidApplicationNameException({
|
|
3093
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3094
|
-
...deserialized,
|
|
3095
|
-
});
|
|
3096
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3097
|
-
};
|
|
3098
|
-
const de_InvalidArnExceptionRes = async (parsedOutput, context) => {
|
|
3099
|
-
const body = parsedOutput.body;
|
|
3100
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3101
|
-
const exception = new models_0_1.InvalidArnException({
|
|
3102
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3103
|
-
...deserialized,
|
|
3104
|
-
});
|
|
3105
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3106
|
-
};
|
|
3107
|
-
const de_InvalidAutoRollbackConfigExceptionRes = async (parsedOutput, context) => {
|
|
3108
|
-
const body = parsedOutput.body;
|
|
3109
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3110
|
-
const exception = new models_0_1.InvalidAutoRollbackConfigException({
|
|
3111
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3112
|
-
...deserialized,
|
|
3113
|
-
});
|
|
3114
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3115
|
-
};
|
|
3116
|
-
const de_InvalidAutoScalingGroupExceptionRes = async (parsedOutput, context) => {
|
|
3117
|
-
const body = parsedOutput.body;
|
|
3118
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3119
|
-
const exception = new models_0_1.InvalidAutoScalingGroupException({
|
|
3120
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3121
|
-
...deserialized,
|
|
3122
|
-
});
|
|
3123
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3124
|
-
};
|
|
3125
|
-
const de_InvalidBlueGreenDeploymentConfigurationExceptionRes = async (parsedOutput, context) => {
|
|
3126
|
-
const body = parsedOutput.body;
|
|
3127
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3128
|
-
const exception = new models_0_1.InvalidBlueGreenDeploymentConfigurationException({
|
|
3129
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3130
|
-
...deserialized,
|
|
3131
|
-
});
|
|
3132
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3133
|
-
};
|
|
3134
|
-
const de_InvalidBucketNameFilterExceptionRes = async (parsedOutput, context) => {
|
|
3135
|
-
const body = parsedOutput.body;
|
|
3136
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3137
|
-
const exception = new models_0_1.InvalidBucketNameFilterException({
|
|
3138
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3139
|
-
...deserialized,
|
|
3140
|
-
});
|
|
3141
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3142
|
-
};
|
|
3143
|
-
const de_InvalidComputePlatformExceptionRes = async (parsedOutput, context) => {
|
|
3144
|
-
const body = parsedOutput.body;
|
|
3145
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3146
|
-
const exception = new models_0_1.InvalidComputePlatformException({
|
|
3147
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3148
|
-
...deserialized,
|
|
3149
|
-
});
|
|
3150
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3151
|
-
};
|
|
3152
|
-
const de_InvalidDeployedStateFilterExceptionRes = async (parsedOutput, context) => {
|
|
3153
|
-
const body = parsedOutput.body;
|
|
3154
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3155
|
-
const exception = new models_0_1.InvalidDeployedStateFilterException({
|
|
3156
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3157
|
-
...deserialized,
|
|
3158
|
-
});
|
|
3159
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3160
|
-
};
|
|
3161
|
-
const de_InvalidDeploymentConfigNameExceptionRes = async (parsedOutput, context) => {
|
|
3162
|
-
const body = parsedOutput.body;
|
|
3163
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3164
|
-
const exception = new models_0_1.InvalidDeploymentConfigNameException({
|
|
3165
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3166
|
-
...deserialized,
|
|
3167
|
-
});
|
|
3168
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3169
|
-
};
|
|
3170
|
-
const de_InvalidDeploymentGroupNameExceptionRes = async (parsedOutput, context) => {
|
|
3171
|
-
const body = parsedOutput.body;
|
|
3172
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3173
|
-
const exception = new models_0_1.InvalidDeploymentGroupNameException({
|
|
3174
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3175
|
-
...deserialized,
|
|
3176
|
-
});
|
|
3177
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3178
|
-
};
|
|
3179
|
-
const de_InvalidDeploymentIdExceptionRes = async (parsedOutput, context) => {
|
|
3180
|
-
const body = parsedOutput.body;
|
|
3181
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3182
|
-
const exception = new models_0_1.InvalidDeploymentIdException({
|
|
3183
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3184
|
-
...deserialized,
|
|
3185
|
-
});
|
|
3186
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3187
|
-
};
|
|
3188
|
-
const de_InvalidDeploymentInstanceTypeExceptionRes = async (parsedOutput, context) => {
|
|
3189
|
-
const body = parsedOutput.body;
|
|
3190
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3191
|
-
const exception = new models_0_1.InvalidDeploymentInstanceTypeException({
|
|
3192
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3193
|
-
...deserialized,
|
|
3194
|
-
});
|
|
3195
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3196
|
-
};
|
|
3197
|
-
const de_InvalidDeploymentStatusExceptionRes = async (parsedOutput, context) => {
|
|
3198
|
-
const body = parsedOutput.body;
|
|
3199
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3200
|
-
const exception = new models_0_1.InvalidDeploymentStatusException({
|
|
3201
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3202
|
-
...deserialized,
|
|
3203
|
-
});
|
|
3204
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3205
|
-
};
|
|
3206
|
-
const de_InvalidDeploymentStyleExceptionRes = async (parsedOutput, context) => {
|
|
3207
|
-
const body = parsedOutput.body;
|
|
3208
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3209
|
-
const exception = new models_0_1.InvalidDeploymentStyleException({
|
|
3210
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3211
|
-
...deserialized,
|
|
3212
|
-
});
|
|
3213
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3214
|
-
};
|
|
3215
|
-
const de_InvalidDeploymentTargetIdExceptionRes = async (parsedOutput, context) => {
|
|
3216
|
-
const body = parsedOutput.body;
|
|
3217
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3218
|
-
const exception = new models_0_1.InvalidDeploymentTargetIdException({
|
|
3219
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3220
|
-
...deserialized,
|
|
3221
|
-
});
|
|
3222
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3223
|
-
};
|
|
3224
|
-
const de_InvalidDeploymentWaitTypeExceptionRes = async (parsedOutput, context) => {
|
|
3225
|
-
const body = parsedOutput.body;
|
|
3226
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3227
|
-
const exception = new models_0_1.InvalidDeploymentWaitTypeException({
|
|
3228
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3229
|
-
...deserialized,
|
|
3230
|
-
});
|
|
3231
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3232
|
-
};
|
|
3233
|
-
const de_InvalidEC2TagCombinationExceptionRes = async (parsedOutput, context) => {
|
|
3234
|
-
const body = parsedOutput.body;
|
|
3235
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3236
|
-
const exception = new models_0_1.InvalidEC2TagCombinationException({
|
|
3237
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3238
|
-
...deserialized,
|
|
3239
|
-
});
|
|
3240
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3241
|
-
};
|
|
3242
|
-
const de_InvalidEC2TagExceptionRes = async (parsedOutput, context) => {
|
|
3243
|
-
const body = parsedOutput.body;
|
|
3244
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3245
|
-
const exception = new models_0_1.InvalidEC2TagException({
|
|
3246
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3247
|
-
...deserialized,
|
|
3248
|
-
});
|
|
3249
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3250
|
-
};
|
|
3251
|
-
const de_InvalidECSServiceExceptionRes = async (parsedOutput, context) => {
|
|
3252
|
-
const body = parsedOutput.body;
|
|
3253
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3254
|
-
const exception = new models_0_1.InvalidECSServiceException({
|
|
3255
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3256
|
-
...deserialized,
|
|
3257
|
-
});
|
|
3258
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3259
|
-
};
|
|
3260
|
-
const de_InvalidExternalIdExceptionRes = async (parsedOutput, context) => {
|
|
3261
|
-
const body = parsedOutput.body;
|
|
3262
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3263
|
-
const exception = new models_0_1.InvalidExternalIdException({
|
|
3264
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3265
|
-
...deserialized,
|
|
3266
|
-
});
|
|
3267
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3268
|
-
};
|
|
3269
|
-
const de_InvalidFileExistsBehaviorExceptionRes = async (parsedOutput, context) => {
|
|
3270
|
-
const body = parsedOutput.body;
|
|
3271
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3272
|
-
const exception = new models_0_1.InvalidFileExistsBehaviorException({
|
|
3273
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3274
|
-
...deserialized,
|
|
3275
|
-
});
|
|
3276
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3277
|
-
};
|
|
3278
|
-
const de_InvalidGitHubAccountTokenExceptionRes = async (parsedOutput, context) => {
|
|
3279
|
-
const body = parsedOutput.body;
|
|
3280
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3281
|
-
const exception = new models_0_1.InvalidGitHubAccountTokenException({
|
|
3282
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3283
|
-
...deserialized,
|
|
3284
|
-
});
|
|
3285
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3286
|
-
};
|
|
3287
|
-
const de_InvalidGitHubAccountTokenNameExceptionRes = async (parsedOutput, context) => {
|
|
3288
|
-
const body = parsedOutput.body;
|
|
3289
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3290
|
-
const exception = new models_0_1.InvalidGitHubAccountTokenNameException({
|
|
3291
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3292
|
-
...deserialized,
|
|
3293
|
-
});
|
|
3294
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3295
|
-
};
|
|
3296
|
-
const de_InvalidIamSessionArnExceptionRes = async (parsedOutput, context) => {
|
|
3297
|
-
const body = parsedOutput.body;
|
|
3298
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3299
|
-
const exception = new models_0_1.InvalidIamSessionArnException({
|
|
3300
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3301
|
-
...deserialized,
|
|
3302
|
-
});
|
|
3303
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3304
|
-
};
|
|
3305
|
-
const de_InvalidIamUserArnExceptionRes = async (parsedOutput, context) => {
|
|
3306
|
-
const body = parsedOutput.body;
|
|
3307
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3308
|
-
const exception = new models_0_1.InvalidIamUserArnException({
|
|
3309
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3310
|
-
...deserialized,
|
|
3311
|
-
});
|
|
3312
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3313
|
-
};
|
|
3314
|
-
const de_InvalidIgnoreApplicationStopFailuresValueExceptionRes = async (parsedOutput, context) => {
|
|
3315
|
-
const body = parsedOutput.body;
|
|
3316
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3317
|
-
const exception = new models_0_1.InvalidIgnoreApplicationStopFailuresValueException({
|
|
3318
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3319
|
-
...deserialized,
|
|
3320
|
-
});
|
|
3321
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3322
|
-
};
|
|
3323
|
-
const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
3324
|
-
const body = parsedOutput.body;
|
|
3325
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3326
|
-
const exception = new models_0_1.InvalidInputException({
|
|
3327
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3328
|
-
...deserialized,
|
|
3329
|
-
});
|
|
3330
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3331
|
-
};
|
|
3332
|
-
const de_InvalidInstanceNameExceptionRes = async (parsedOutput, context) => {
|
|
3333
|
-
const body = parsedOutput.body;
|
|
3334
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3335
|
-
const exception = new models_0_1.InvalidInstanceNameException({
|
|
3336
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3337
|
-
...deserialized,
|
|
3338
|
-
});
|
|
3339
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3340
|
-
};
|
|
3341
|
-
const de_InvalidInstanceStatusExceptionRes = async (parsedOutput, context) => {
|
|
3342
|
-
const body = parsedOutput.body;
|
|
3343
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3344
|
-
const exception = new models_0_1.InvalidInstanceStatusException({
|
|
3345
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3346
|
-
...deserialized,
|
|
3347
|
-
});
|
|
3348
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3349
|
-
};
|
|
3350
|
-
const de_InvalidInstanceTypeExceptionRes = async (parsedOutput, context) => {
|
|
3351
|
-
const body = parsedOutput.body;
|
|
3352
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3353
|
-
const exception = new models_0_1.InvalidInstanceTypeException({
|
|
3354
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3355
|
-
...deserialized,
|
|
3356
|
-
});
|
|
3357
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3358
|
-
};
|
|
3359
|
-
const de_InvalidKeyPrefixFilterExceptionRes = async (parsedOutput, context) => {
|
|
3360
|
-
const body = parsedOutput.body;
|
|
3361
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3362
|
-
const exception = new models_0_1.InvalidKeyPrefixFilterException({
|
|
3363
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3364
|
-
...deserialized,
|
|
3365
|
-
});
|
|
3366
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3367
|
-
};
|
|
3368
|
-
const de_InvalidLifecycleEventHookExecutionIdExceptionRes = async (parsedOutput, context) => {
|
|
3369
|
-
const body = parsedOutput.body;
|
|
3370
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3371
|
-
const exception = new models_0_1.InvalidLifecycleEventHookExecutionIdException({
|
|
3372
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3373
|
-
...deserialized,
|
|
3374
|
-
});
|
|
3375
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3376
|
-
};
|
|
3377
|
-
const de_InvalidLifecycleEventHookExecutionStatusExceptionRes = async (parsedOutput, context) => {
|
|
3378
|
-
const body = parsedOutput.body;
|
|
3379
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3380
|
-
const exception = new models_0_1.InvalidLifecycleEventHookExecutionStatusException({
|
|
3381
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3382
|
-
...deserialized,
|
|
3383
|
-
});
|
|
3384
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3385
|
-
};
|
|
3386
|
-
const de_InvalidLoadBalancerInfoExceptionRes = async (parsedOutput, context) => {
|
|
3387
|
-
const body = parsedOutput.body;
|
|
3388
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3389
|
-
const exception = new models_0_1.InvalidLoadBalancerInfoException({
|
|
3390
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3391
|
-
...deserialized,
|
|
3392
|
-
});
|
|
3393
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3394
|
-
};
|
|
3395
|
-
const de_InvalidMinimumHealthyHostValueExceptionRes = async (parsedOutput, context) => {
|
|
3396
|
-
const body = parsedOutput.body;
|
|
3397
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3398
|
-
const exception = new models_0_1.InvalidMinimumHealthyHostValueException({
|
|
3399
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3400
|
-
...deserialized,
|
|
3401
|
-
});
|
|
3402
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3403
|
-
};
|
|
3404
|
-
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
3405
|
-
const body = parsedOutput.body;
|
|
3406
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3407
|
-
const exception = new models_0_1.InvalidNextTokenException({
|
|
3408
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3409
|
-
...deserialized,
|
|
3410
|
-
});
|
|
3411
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3412
|
-
};
|
|
3413
|
-
const de_InvalidOnPremisesTagCombinationExceptionRes = async (parsedOutput, context) => {
|
|
3414
|
-
const body = parsedOutput.body;
|
|
3415
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3416
|
-
const exception = new models_0_1.InvalidOnPremisesTagCombinationException({
|
|
3417
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3418
|
-
...deserialized,
|
|
3419
|
-
});
|
|
3420
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3421
|
-
};
|
|
3422
|
-
const de_InvalidOperationExceptionRes = async (parsedOutput, context) => {
|
|
3423
|
-
const body = parsedOutput.body;
|
|
3424
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3425
|
-
const exception = new models_0_1.InvalidOperationException({
|
|
3426
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3427
|
-
...deserialized,
|
|
3428
|
-
});
|
|
3429
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3430
|
-
};
|
|
3431
|
-
const de_InvalidRegistrationStatusExceptionRes = async (parsedOutput, context) => {
|
|
3432
|
-
const body = parsedOutput.body;
|
|
3433
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3434
|
-
const exception = new models_0_1.InvalidRegistrationStatusException({
|
|
3435
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3436
|
-
...deserialized,
|
|
3437
|
-
});
|
|
3438
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3439
|
-
};
|
|
3440
|
-
const de_InvalidRevisionExceptionRes = async (parsedOutput, context) => {
|
|
3441
|
-
const body = parsedOutput.body;
|
|
3442
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3443
|
-
const exception = new models_0_1.InvalidRevisionException({
|
|
3444
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3445
|
-
...deserialized,
|
|
3446
|
-
});
|
|
3447
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3448
|
-
};
|
|
3449
|
-
const de_InvalidRoleExceptionRes = async (parsedOutput, context) => {
|
|
3450
|
-
const body = parsedOutput.body;
|
|
3451
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3452
|
-
const exception = new models_0_1.InvalidRoleException({
|
|
3453
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3454
|
-
...deserialized,
|
|
3455
|
-
});
|
|
3456
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3457
|
-
};
|
|
3458
|
-
const de_InvalidSortByExceptionRes = async (parsedOutput, context) => {
|
|
3459
|
-
const body = parsedOutput.body;
|
|
3460
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3461
|
-
const exception = new models_0_1.InvalidSortByException({
|
|
3462
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3463
|
-
...deserialized,
|
|
3464
|
-
});
|
|
3465
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3466
|
-
};
|
|
3467
|
-
const de_InvalidSortOrderExceptionRes = async (parsedOutput, context) => {
|
|
3468
|
-
const body = parsedOutput.body;
|
|
3469
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3470
|
-
const exception = new models_0_1.InvalidSortOrderException({
|
|
3471
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3472
|
-
...deserialized,
|
|
3473
|
-
});
|
|
3474
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3475
|
-
};
|
|
3476
|
-
const de_InvalidTagExceptionRes = async (parsedOutput, context) => {
|
|
3477
|
-
const body = parsedOutput.body;
|
|
3478
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3479
|
-
const exception = new models_0_1.InvalidTagException({
|
|
3480
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3481
|
-
...deserialized,
|
|
3482
|
-
});
|
|
3483
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3484
|
-
};
|
|
3485
|
-
const de_InvalidTagFilterExceptionRes = async (parsedOutput, context) => {
|
|
3486
|
-
const body = parsedOutput.body;
|
|
3487
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3488
|
-
const exception = new models_0_1.InvalidTagFilterException({
|
|
3489
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3490
|
-
...deserialized,
|
|
3491
|
-
});
|
|
3492
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3493
|
-
};
|
|
3494
|
-
const de_InvalidTagsToAddExceptionRes = async (parsedOutput, context) => {
|
|
3495
|
-
const body = parsedOutput.body;
|
|
3496
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3497
|
-
const exception = new models_0_1.InvalidTagsToAddException({
|
|
3498
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3499
|
-
...deserialized,
|
|
3500
|
-
});
|
|
3501
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3502
|
-
};
|
|
3503
|
-
const de_InvalidTargetFilterNameExceptionRes = async (parsedOutput, context) => {
|
|
3504
|
-
const body = parsedOutput.body;
|
|
3505
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3506
|
-
const exception = new models_0_1.InvalidTargetFilterNameException({
|
|
3507
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3508
|
-
...deserialized,
|
|
3509
|
-
});
|
|
3510
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3511
|
-
};
|
|
3512
|
-
const de_InvalidTargetGroupPairExceptionRes = async (parsedOutput, context) => {
|
|
3513
|
-
const body = parsedOutput.body;
|
|
3514
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3515
|
-
const exception = new models_0_1.InvalidTargetGroupPairException({
|
|
3516
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3517
|
-
...deserialized,
|
|
3518
|
-
});
|
|
3519
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3520
|
-
};
|
|
3521
|
-
const de_InvalidTargetInstancesExceptionRes = async (parsedOutput, context) => {
|
|
3522
|
-
const body = parsedOutput.body;
|
|
3523
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3524
|
-
const exception = new models_0_1.InvalidTargetInstancesException({
|
|
3525
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3526
|
-
...deserialized,
|
|
3527
|
-
});
|
|
3528
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3529
|
-
};
|
|
3530
|
-
const de_InvalidTimeRangeExceptionRes = async (parsedOutput, context) => {
|
|
3531
|
-
const body = parsedOutput.body;
|
|
3532
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3533
|
-
const exception = new models_0_1.InvalidTimeRangeException({
|
|
3534
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3535
|
-
...deserialized,
|
|
3536
|
-
});
|
|
3537
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3538
|
-
};
|
|
3539
|
-
const de_InvalidTrafficRoutingConfigurationExceptionRes = async (parsedOutput, context) => {
|
|
3540
|
-
const body = parsedOutput.body;
|
|
3541
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3542
|
-
const exception = new models_0_1.InvalidTrafficRoutingConfigurationException({
|
|
3543
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3544
|
-
...deserialized,
|
|
3545
|
-
});
|
|
3546
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3547
|
-
};
|
|
3548
|
-
const de_InvalidTriggerConfigExceptionRes = async (parsedOutput, context) => {
|
|
3549
|
-
const body = parsedOutput.body;
|
|
3550
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3551
|
-
const exception = new models_0_1.InvalidTriggerConfigException({
|
|
3552
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3553
|
-
...deserialized,
|
|
3554
|
-
});
|
|
3555
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3556
|
-
};
|
|
3557
|
-
const de_InvalidUpdateOutdatedInstancesOnlyValueExceptionRes = async (parsedOutput, context) => {
|
|
3558
|
-
const body = parsedOutput.body;
|
|
3559
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3560
|
-
const exception = new models_0_1.InvalidUpdateOutdatedInstancesOnlyValueException({
|
|
3561
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3562
|
-
...deserialized,
|
|
3563
|
-
});
|
|
3564
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3565
|
-
};
|
|
3566
|
-
const de_InvalidZonalDeploymentConfigurationExceptionRes = async (parsedOutput, context) => {
|
|
3567
|
-
const body = parsedOutput.body;
|
|
3568
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3569
|
-
const exception = new models_0_1.InvalidZonalDeploymentConfigurationException({
|
|
3570
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3571
|
-
...deserialized,
|
|
3572
|
-
});
|
|
3573
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3574
|
-
};
|
|
3575
|
-
const de_LifecycleEventAlreadyCompletedExceptionRes = async (parsedOutput, context) => {
|
|
3576
|
-
const body = parsedOutput.body;
|
|
3577
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3578
|
-
const exception = new models_0_1.LifecycleEventAlreadyCompletedException({
|
|
3579
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3580
|
-
...deserialized,
|
|
3581
|
-
});
|
|
3582
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3583
|
-
};
|
|
3584
|
-
const de_LifecycleHookLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
3585
|
-
const body = parsedOutput.body;
|
|
3586
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3587
|
-
const exception = new models_0_1.LifecycleHookLimitExceededException({
|
|
3588
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3589
|
-
...deserialized,
|
|
3590
|
-
});
|
|
3591
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3592
|
-
};
|
|
3593
|
-
const de_MultipleIamArnsProvidedExceptionRes = async (parsedOutput, context) => {
|
|
3594
|
-
const body = parsedOutput.body;
|
|
3595
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3596
|
-
const exception = new models_0_1.MultipleIamArnsProvidedException({
|
|
3597
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3598
|
-
...deserialized,
|
|
3599
|
-
});
|
|
3600
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3601
|
-
};
|
|
3602
|
-
const de_OperationNotSupportedExceptionRes = async (parsedOutput, context) => {
|
|
3603
|
-
const body = parsedOutput.body;
|
|
3604
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3605
|
-
const exception = new models_0_1.OperationNotSupportedException({
|
|
3606
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3607
|
-
...deserialized,
|
|
3608
|
-
});
|
|
3609
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3610
|
-
};
|
|
3611
|
-
const de_ResourceArnRequiredExceptionRes = async (parsedOutput, context) => {
|
|
3612
|
-
const body = parsedOutput.body;
|
|
3613
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3614
|
-
const exception = new models_0_1.ResourceArnRequiredException({
|
|
3615
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3616
|
-
...deserialized,
|
|
3617
|
-
});
|
|
3618
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3619
|
-
};
|
|
3620
|
-
const de_ResourceValidationExceptionRes = async (parsedOutput, context) => {
|
|
3621
|
-
const body = parsedOutput.body;
|
|
3622
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3623
|
-
const exception = new models_0_1.ResourceValidationException({
|
|
3624
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3625
|
-
...deserialized,
|
|
3626
|
-
});
|
|
3627
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3628
|
-
};
|
|
3629
|
-
const de_RevisionDoesNotExistExceptionRes = async (parsedOutput, context) => {
|
|
3630
|
-
const body = parsedOutput.body;
|
|
3631
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3632
|
-
const exception = new models_0_1.RevisionDoesNotExistException({
|
|
3633
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3634
|
-
...deserialized,
|
|
3635
|
-
});
|
|
3636
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3637
|
-
};
|
|
3638
|
-
const de_RevisionRequiredExceptionRes = async (parsedOutput, context) => {
|
|
3639
|
-
const body = parsedOutput.body;
|
|
3640
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3641
|
-
const exception = new models_0_1.RevisionRequiredException({
|
|
3642
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3643
|
-
...deserialized,
|
|
3644
|
-
});
|
|
3645
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3646
|
-
};
|
|
3647
|
-
const de_RoleRequiredExceptionRes = async (parsedOutput, context) => {
|
|
3648
|
-
const body = parsedOutput.body;
|
|
3649
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3650
|
-
const exception = new models_0_1.RoleRequiredException({
|
|
3651
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3652
|
-
...deserialized,
|
|
3653
|
-
});
|
|
3654
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3655
|
-
};
|
|
3656
|
-
const de_TagLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
3657
|
-
const body = parsedOutput.body;
|
|
3658
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3659
|
-
const exception = new models_0_1.TagLimitExceededException({
|
|
3660
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3661
|
-
...deserialized,
|
|
3662
|
-
});
|
|
3663
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3664
|
-
};
|
|
3665
|
-
const de_TagRequiredExceptionRes = async (parsedOutput, context) => {
|
|
3666
|
-
const body = parsedOutput.body;
|
|
3667
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3668
|
-
const exception = new models_0_1.TagRequiredException({
|
|
3669
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3670
|
-
...deserialized,
|
|
3671
|
-
});
|
|
3672
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3673
|
-
};
|
|
3674
|
-
const de_TagSetListLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
3675
|
-
const body = parsedOutput.body;
|
|
3676
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3677
|
-
const exception = new models_0_1.TagSetListLimitExceededException({
|
|
3678
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3679
|
-
...deserialized,
|
|
3680
|
-
});
|
|
3681
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3682
|
-
};
|
|
3683
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
3684
|
-
const body = parsedOutput.body;
|
|
3685
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3686
|
-
const exception = new models_0_1.ThrottlingException({
|
|
3687
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3688
|
-
...deserialized,
|
|
3689
|
-
});
|
|
3690
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3691
|
-
};
|
|
3692
|
-
const de_TriggerTargetsLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
3693
|
-
const body = parsedOutput.body;
|
|
3694
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3695
|
-
const exception = new models_0_1.TriggerTargetsLimitExceededException({
|
|
3696
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3697
|
-
...deserialized,
|
|
3698
|
-
});
|
|
3699
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3700
|
-
};
|
|
3701
|
-
const de_UnsupportedActionForDeploymentTypeExceptionRes = async (parsedOutput, context) => {
|
|
3702
|
-
const body = parsedOutput.body;
|
|
3703
|
-
const deserialized = (0, smithy_client_1._json)(body);
|
|
3704
|
-
const exception = new models_0_1.UnsupportedActionForDeploymentTypeException({
|
|
3705
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3706
|
-
...deserialized,
|
|
3707
|
-
});
|
|
3708
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3709
|
-
};
|
|
3710
|
-
const se_ListDeploymentsInput = (input, context) => {
|
|
3711
|
-
return (0, smithy_client_1.take)(input, {
|
|
3712
|
-
applicationName: [],
|
|
3713
|
-
createTimeRange: (_) => se_TimeRange(_, context),
|
|
3714
|
-
deploymentGroupName: [],
|
|
3715
|
-
externalId: [],
|
|
3716
|
-
includeOnlyStatuses: smithy_client_1._json,
|
|
3717
|
-
nextToken: [],
|
|
3718
|
-
});
|
|
3719
|
-
};
|
|
3720
|
-
const se_TimeRange = (input, context) => {
|
|
3721
|
-
return (0, smithy_client_1.take)(input, {
|
|
3722
|
-
end: (_) => Math.round(_.getTime() / 1000),
|
|
3723
|
-
start: (_) => Math.round(_.getTime() / 1000),
|
|
3724
|
-
});
|
|
3725
|
-
};
|
|
3726
|
-
const de_ApplicationInfo = (output, context) => {
|
|
3727
|
-
return (0, smithy_client_1.take)(output, {
|
|
3728
|
-
applicationId: smithy_client_1.expectString,
|
|
3729
|
-
applicationName: smithy_client_1.expectString,
|
|
3730
|
-
computePlatform: smithy_client_1.expectString,
|
|
3731
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3732
|
-
gitHubAccountName: smithy_client_1.expectString,
|
|
3733
|
-
linkedToGitHub: smithy_client_1.expectBoolean,
|
|
3734
|
-
});
|
|
3735
|
-
};
|
|
3736
|
-
const de_ApplicationsInfoList = (output, context) => {
|
|
3737
|
-
const retVal = (output || [])
|
|
3738
|
-
.filter((e) => e != null)
|
|
3739
|
-
.map((entry) => {
|
|
3740
|
-
return de_ApplicationInfo(entry, context);
|
|
3741
|
-
});
|
|
3742
|
-
return retVal;
|
|
3743
|
-
};
|
|
3744
|
-
const de_BatchGetApplicationRevisionsOutput = (output, context) => {
|
|
3745
|
-
return (0, smithy_client_1.take)(output, {
|
|
3746
|
-
applicationName: smithy_client_1.expectString,
|
|
3747
|
-
errorMessage: smithy_client_1.expectString,
|
|
3748
|
-
revisions: (_) => de_RevisionInfoList(_, context),
|
|
3749
|
-
});
|
|
3750
|
-
};
|
|
3751
|
-
const de_BatchGetApplicationsOutput = (output, context) => {
|
|
3752
|
-
return (0, smithy_client_1.take)(output, {
|
|
3753
|
-
applicationsInfo: (_) => de_ApplicationsInfoList(_, context),
|
|
3754
|
-
});
|
|
3755
|
-
};
|
|
3756
|
-
const de_BatchGetDeploymentGroupsOutput = (output, context) => {
|
|
3757
|
-
return (0, smithy_client_1.take)(output, {
|
|
3758
|
-
deploymentGroupsInfo: (_) => de_DeploymentGroupInfoList(_, context),
|
|
3759
|
-
errorMessage: smithy_client_1.expectString,
|
|
3760
|
-
});
|
|
3761
|
-
};
|
|
3762
|
-
const de_BatchGetDeploymentInstancesOutput = (output, context) => {
|
|
3763
|
-
return (0, smithy_client_1.take)(output, {
|
|
3764
|
-
errorMessage: smithy_client_1.expectString,
|
|
3765
|
-
instancesSummary: (_) => de_InstanceSummaryList(_, context),
|
|
3766
|
-
});
|
|
3767
|
-
};
|
|
3768
|
-
const de_BatchGetDeploymentsOutput = (output, context) => {
|
|
3769
|
-
return (0, smithy_client_1.take)(output, {
|
|
3770
|
-
deploymentsInfo: (_) => de_DeploymentsInfoList(_, context),
|
|
3771
|
-
});
|
|
3772
|
-
};
|
|
3773
|
-
const de_BatchGetDeploymentTargetsOutput = (output, context) => {
|
|
3774
|
-
return (0, smithy_client_1.take)(output, {
|
|
3775
|
-
deploymentTargets: (_) => de_DeploymentTargetList(_, context),
|
|
3776
|
-
});
|
|
3777
|
-
};
|
|
3778
|
-
const de_BatchGetOnPremisesInstancesOutput = (output, context) => {
|
|
3779
|
-
return (0, smithy_client_1.take)(output, {
|
|
3780
|
-
instanceInfos: (_) => de_InstanceInfoList(_, context),
|
|
3781
|
-
});
|
|
3782
|
-
};
|
|
3783
|
-
const de_CloudFormationTarget = (output, context) => {
|
|
3784
|
-
return (0, smithy_client_1.take)(output, {
|
|
3785
|
-
deploymentId: smithy_client_1.expectString,
|
|
3786
|
-
lastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3787
|
-
lifecycleEvents: (_) => de_LifecycleEventList(_, context),
|
|
3788
|
-
resourceType: smithy_client_1.expectString,
|
|
3789
|
-
status: smithy_client_1.expectString,
|
|
3790
|
-
targetId: smithy_client_1.expectString,
|
|
3791
|
-
targetVersionWeight: smithy_client_1.limitedParseDouble,
|
|
3792
|
-
});
|
|
3793
|
-
};
|
|
3794
|
-
const de_DeploymentConfigInfo = (output, context) => {
|
|
3795
|
-
return (0, smithy_client_1.take)(output, {
|
|
3796
|
-
computePlatform: smithy_client_1.expectString,
|
|
3797
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3798
|
-
deploymentConfigId: smithy_client_1.expectString,
|
|
3799
|
-
deploymentConfigName: smithy_client_1.expectString,
|
|
3800
|
-
minimumHealthyHosts: smithy_client_1._json,
|
|
3801
|
-
trafficRoutingConfig: smithy_client_1._json,
|
|
3802
|
-
zonalConfig: smithy_client_1._json,
|
|
3803
|
-
});
|
|
3804
|
-
};
|
|
3805
|
-
const de_DeploymentGroupInfo = (output, context) => {
|
|
3806
|
-
return (0, smithy_client_1.take)(output, {
|
|
3807
|
-
alarmConfiguration: smithy_client_1._json,
|
|
3808
|
-
applicationName: smithy_client_1.expectString,
|
|
3809
|
-
autoRollbackConfiguration: smithy_client_1._json,
|
|
3810
|
-
autoScalingGroups: smithy_client_1._json,
|
|
3811
|
-
blueGreenDeploymentConfiguration: smithy_client_1._json,
|
|
3812
|
-
computePlatform: smithy_client_1.expectString,
|
|
3813
|
-
deploymentConfigName: smithy_client_1.expectString,
|
|
3814
|
-
deploymentGroupId: smithy_client_1.expectString,
|
|
3815
|
-
deploymentGroupName: smithy_client_1.expectString,
|
|
3816
|
-
deploymentStyle: smithy_client_1._json,
|
|
3817
|
-
ec2TagFilters: smithy_client_1._json,
|
|
3818
|
-
ec2TagSet: smithy_client_1._json,
|
|
3819
|
-
ecsServices: smithy_client_1._json,
|
|
3820
|
-
lastAttemptedDeployment: (_) => de_LastDeploymentInfo(_, context),
|
|
3821
|
-
lastSuccessfulDeployment: (_) => de_LastDeploymentInfo(_, context),
|
|
3822
|
-
loadBalancerInfo: smithy_client_1._json,
|
|
3823
|
-
onPremisesInstanceTagFilters: smithy_client_1._json,
|
|
3824
|
-
onPremisesTagSet: smithy_client_1._json,
|
|
3825
|
-
outdatedInstancesStrategy: smithy_client_1.expectString,
|
|
3826
|
-
serviceRoleArn: smithy_client_1.expectString,
|
|
3827
|
-
targetRevision: smithy_client_1._json,
|
|
3828
|
-
terminationHookEnabled: smithy_client_1.expectBoolean,
|
|
3829
|
-
triggerConfigurations: smithy_client_1._json,
|
|
3830
|
-
});
|
|
3831
|
-
};
|
|
3832
|
-
const de_DeploymentGroupInfoList = (output, context) => {
|
|
3833
|
-
const retVal = (output || [])
|
|
3834
|
-
.filter((e) => e != null)
|
|
3835
|
-
.map((entry) => {
|
|
3836
|
-
return de_DeploymentGroupInfo(entry, context);
|
|
3837
|
-
});
|
|
3838
|
-
return retVal;
|
|
3839
|
-
};
|
|
3840
|
-
const de_DeploymentInfo = (output, context) => {
|
|
3841
|
-
return (0, smithy_client_1.take)(output, {
|
|
3842
|
-
additionalDeploymentStatusInfo: smithy_client_1.expectString,
|
|
3843
|
-
applicationName: smithy_client_1.expectString,
|
|
3844
|
-
autoRollbackConfiguration: smithy_client_1._json,
|
|
3845
|
-
blueGreenDeploymentConfiguration: smithy_client_1._json,
|
|
3846
|
-
completeTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3847
|
-
computePlatform: smithy_client_1.expectString,
|
|
3848
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3849
|
-
creator: smithy_client_1.expectString,
|
|
3850
|
-
deploymentConfigName: smithy_client_1.expectString,
|
|
3851
|
-
deploymentGroupName: smithy_client_1.expectString,
|
|
3852
|
-
deploymentId: smithy_client_1.expectString,
|
|
3853
|
-
deploymentOverview: smithy_client_1._json,
|
|
3854
|
-
deploymentStatusMessages: smithy_client_1._json,
|
|
3855
|
-
deploymentStyle: smithy_client_1._json,
|
|
3856
|
-
description: smithy_client_1.expectString,
|
|
3857
|
-
errorInformation: smithy_client_1._json,
|
|
3858
|
-
externalId: smithy_client_1.expectString,
|
|
3859
|
-
fileExistsBehavior: smithy_client_1.expectString,
|
|
3860
|
-
ignoreApplicationStopFailures: smithy_client_1.expectBoolean,
|
|
3861
|
-
instanceTerminationWaitTimeStarted: smithy_client_1.expectBoolean,
|
|
3862
|
-
loadBalancerInfo: smithy_client_1._json,
|
|
3863
|
-
overrideAlarmConfiguration: smithy_client_1._json,
|
|
3864
|
-
previousRevision: smithy_client_1._json,
|
|
3865
|
-
relatedDeployments: smithy_client_1._json,
|
|
3866
|
-
revision: smithy_client_1._json,
|
|
3867
|
-
rollbackInfo: smithy_client_1._json,
|
|
3868
|
-
startTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3869
|
-
status: smithy_client_1.expectString,
|
|
3870
|
-
targetInstances: smithy_client_1._json,
|
|
3871
|
-
updateOutdatedInstancesOnly: smithy_client_1.expectBoolean,
|
|
3872
|
-
});
|
|
3873
|
-
};
|
|
3874
|
-
const de_DeploymentsInfoList = (output, context) => {
|
|
3875
|
-
const retVal = (output || [])
|
|
3876
|
-
.filter((e) => e != null)
|
|
3877
|
-
.map((entry) => {
|
|
3878
|
-
return de_DeploymentInfo(entry, context);
|
|
3879
|
-
});
|
|
3880
|
-
return retVal;
|
|
3881
|
-
};
|
|
3882
|
-
const de_DeploymentTarget = (output, context) => {
|
|
3883
|
-
return (0, smithy_client_1.take)(output, {
|
|
3884
|
-
cloudFormationTarget: (_) => de_CloudFormationTarget(_, context),
|
|
3885
|
-
deploymentTargetType: smithy_client_1.expectString,
|
|
3886
|
-
ecsTarget: (_) => de_ECSTarget(_, context),
|
|
3887
|
-
instanceTarget: (_) => de_InstanceTarget(_, context),
|
|
3888
|
-
lambdaTarget: (_) => de_LambdaTarget(_, context),
|
|
3889
|
-
});
|
|
3890
|
-
};
|
|
3891
|
-
const de_DeploymentTargetList = (output, context) => {
|
|
3892
|
-
const retVal = (output || [])
|
|
3893
|
-
.filter((e) => e != null)
|
|
3894
|
-
.map((entry) => {
|
|
3895
|
-
return de_DeploymentTarget(entry, context);
|
|
3896
|
-
});
|
|
3897
|
-
return retVal;
|
|
3898
|
-
};
|
|
3899
|
-
const de_ECSTarget = (output, context) => {
|
|
3900
|
-
return (0, smithy_client_1.take)(output, {
|
|
3901
|
-
deploymentId: smithy_client_1.expectString,
|
|
3902
|
-
lastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3903
|
-
lifecycleEvents: (_) => de_LifecycleEventList(_, context),
|
|
3904
|
-
status: smithy_client_1.expectString,
|
|
3905
|
-
targetArn: smithy_client_1.expectString,
|
|
3906
|
-
targetId: smithy_client_1.expectString,
|
|
3907
|
-
taskSetsInfo: (_) => de_ECSTaskSetList(_, context),
|
|
3908
|
-
});
|
|
3909
|
-
};
|
|
3910
|
-
const de_ECSTaskSet = (output, context) => {
|
|
3911
|
-
return (0, smithy_client_1.take)(output, {
|
|
3912
|
-
desiredCount: smithy_client_1.expectLong,
|
|
3913
|
-
identifer: smithy_client_1.expectString,
|
|
3914
|
-
pendingCount: smithy_client_1.expectLong,
|
|
3915
|
-
runningCount: smithy_client_1.expectLong,
|
|
3916
|
-
status: smithy_client_1.expectString,
|
|
3917
|
-
targetGroup: smithy_client_1._json,
|
|
3918
|
-
taskSetLabel: smithy_client_1.expectString,
|
|
3919
|
-
trafficWeight: smithy_client_1.limitedParseDouble,
|
|
3920
|
-
});
|
|
3921
|
-
};
|
|
3922
|
-
const de_ECSTaskSetList = (output, context) => {
|
|
3923
|
-
const retVal = (output || [])
|
|
3924
|
-
.filter((e) => e != null)
|
|
3925
|
-
.map((entry) => {
|
|
3926
|
-
return de_ECSTaskSet(entry, context);
|
|
3927
|
-
});
|
|
3928
|
-
return retVal;
|
|
3929
|
-
};
|
|
3930
|
-
const de_GenericRevisionInfo = (output, context) => {
|
|
3931
|
-
return (0, smithy_client_1.take)(output, {
|
|
3932
|
-
deploymentGroups: smithy_client_1._json,
|
|
3933
|
-
description: smithy_client_1.expectString,
|
|
3934
|
-
firstUsedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3935
|
-
lastUsedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3936
|
-
registerTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3937
|
-
});
|
|
3938
|
-
};
|
|
3939
|
-
const de_GetApplicationOutput = (output, context) => {
|
|
3940
|
-
return (0, smithy_client_1.take)(output, {
|
|
3941
|
-
application: (_) => de_ApplicationInfo(_, context),
|
|
3942
|
-
});
|
|
3943
|
-
};
|
|
3944
|
-
const de_GetApplicationRevisionOutput = (output, context) => {
|
|
3945
|
-
return (0, smithy_client_1.take)(output, {
|
|
3946
|
-
applicationName: smithy_client_1.expectString,
|
|
3947
|
-
revision: smithy_client_1._json,
|
|
3948
|
-
revisionInfo: (_) => de_GenericRevisionInfo(_, context),
|
|
3949
|
-
});
|
|
3950
|
-
};
|
|
3951
|
-
const de_GetDeploymentConfigOutput = (output, context) => {
|
|
3952
|
-
return (0, smithy_client_1.take)(output, {
|
|
3953
|
-
deploymentConfigInfo: (_) => de_DeploymentConfigInfo(_, context),
|
|
3954
|
-
});
|
|
3955
|
-
};
|
|
3956
|
-
const de_GetDeploymentGroupOutput = (output, context) => {
|
|
3957
|
-
return (0, smithy_client_1.take)(output, {
|
|
3958
|
-
deploymentGroupInfo: (_) => de_DeploymentGroupInfo(_, context),
|
|
3959
|
-
});
|
|
3960
|
-
};
|
|
3961
|
-
const de_GetDeploymentInstanceOutput = (output, context) => {
|
|
3962
|
-
return (0, smithy_client_1.take)(output, {
|
|
3963
|
-
instanceSummary: (_) => de_InstanceSummary(_, context),
|
|
3964
|
-
});
|
|
3965
|
-
};
|
|
3966
|
-
const de_GetDeploymentOutput = (output, context) => {
|
|
3967
|
-
return (0, smithy_client_1.take)(output, {
|
|
3968
|
-
deploymentInfo: (_) => de_DeploymentInfo(_, context),
|
|
3969
|
-
});
|
|
3970
|
-
};
|
|
3971
|
-
const de_GetDeploymentTargetOutput = (output, context) => {
|
|
3972
|
-
return (0, smithy_client_1.take)(output, {
|
|
3973
|
-
deploymentTarget: (_) => de_DeploymentTarget(_, context),
|
|
3974
|
-
});
|
|
3975
|
-
};
|
|
3976
|
-
const de_GetOnPremisesInstanceOutput = (output, context) => {
|
|
3977
|
-
return (0, smithy_client_1.take)(output, {
|
|
3978
|
-
instanceInfo: (_) => de_InstanceInfo(_, context),
|
|
3979
|
-
});
|
|
3980
|
-
};
|
|
3981
|
-
const de_InstanceInfo = (output, context) => {
|
|
3982
|
-
return (0, smithy_client_1.take)(output, {
|
|
3983
|
-
deregisterTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3984
|
-
iamSessionArn: smithy_client_1.expectString,
|
|
3985
|
-
iamUserArn: smithy_client_1.expectString,
|
|
3986
|
-
instanceArn: smithy_client_1.expectString,
|
|
3987
|
-
instanceName: smithy_client_1.expectString,
|
|
3988
|
-
registerTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3989
|
-
tags: smithy_client_1._json,
|
|
3990
|
-
});
|
|
3991
|
-
};
|
|
3992
|
-
const de_InstanceInfoList = (output, context) => {
|
|
3993
|
-
const retVal = (output || [])
|
|
3994
|
-
.filter((e) => e != null)
|
|
3995
|
-
.map((entry) => {
|
|
3996
|
-
return de_InstanceInfo(entry, context);
|
|
3997
|
-
});
|
|
3998
|
-
return retVal;
|
|
3999
|
-
};
|
|
4000
|
-
const de_InstanceSummary = (output, context) => {
|
|
4001
|
-
return (0, smithy_client_1.take)(output, {
|
|
4002
|
-
deploymentId: smithy_client_1.expectString,
|
|
4003
|
-
instanceId: smithy_client_1.expectString,
|
|
4004
|
-
instanceType: smithy_client_1.expectString,
|
|
4005
|
-
lastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4006
|
-
lifecycleEvents: (_) => de_LifecycleEventList(_, context),
|
|
4007
|
-
status: smithy_client_1.expectString,
|
|
4008
|
-
});
|
|
4009
|
-
};
|
|
4010
|
-
const de_InstanceSummaryList = (output, context) => {
|
|
4011
|
-
const retVal = (output || [])
|
|
4012
|
-
.filter((e) => e != null)
|
|
4013
|
-
.map((entry) => {
|
|
4014
|
-
return de_InstanceSummary(entry, context);
|
|
4015
|
-
});
|
|
4016
|
-
return retVal;
|
|
4017
|
-
};
|
|
4018
|
-
const de_InstanceTarget = (output, context) => {
|
|
4019
|
-
return (0, smithy_client_1.take)(output, {
|
|
4020
|
-
deploymentId: smithy_client_1.expectString,
|
|
4021
|
-
instanceLabel: smithy_client_1.expectString,
|
|
4022
|
-
lastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4023
|
-
lifecycleEvents: (_) => de_LifecycleEventList(_, context),
|
|
4024
|
-
status: smithy_client_1.expectString,
|
|
4025
|
-
targetArn: smithy_client_1.expectString,
|
|
4026
|
-
targetId: smithy_client_1.expectString,
|
|
4027
|
-
});
|
|
4028
|
-
};
|
|
4029
|
-
const de_LambdaFunctionInfo = (output, context) => {
|
|
4030
|
-
return (0, smithy_client_1.take)(output, {
|
|
4031
|
-
currentVersion: smithy_client_1.expectString,
|
|
4032
|
-
functionAlias: smithy_client_1.expectString,
|
|
4033
|
-
functionName: smithy_client_1.expectString,
|
|
4034
|
-
targetVersion: smithy_client_1.expectString,
|
|
4035
|
-
targetVersionWeight: smithy_client_1.limitedParseDouble,
|
|
4036
|
-
});
|
|
4037
|
-
};
|
|
4038
|
-
const de_LambdaTarget = (output, context) => {
|
|
4039
|
-
return (0, smithy_client_1.take)(output, {
|
|
4040
|
-
deploymentId: smithy_client_1.expectString,
|
|
4041
|
-
lambdaFunctionInfo: (_) => de_LambdaFunctionInfo(_, context),
|
|
4042
|
-
lastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4043
|
-
lifecycleEvents: (_) => de_LifecycleEventList(_, context),
|
|
4044
|
-
status: smithy_client_1.expectString,
|
|
4045
|
-
targetArn: smithy_client_1.expectString,
|
|
4046
|
-
targetId: smithy_client_1.expectString,
|
|
4047
|
-
});
|
|
4048
|
-
};
|
|
4049
|
-
const de_LastDeploymentInfo = (output, context) => {
|
|
4050
|
-
return (0, smithy_client_1.take)(output, {
|
|
4051
|
-
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4052
|
-
deploymentId: smithy_client_1.expectString,
|
|
4053
|
-
endTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4054
|
-
status: smithy_client_1.expectString,
|
|
4055
|
-
});
|
|
4056
|
-
};
|
|
4057
|
-
const de_LifecycleEvent = (output, context) => {
|
|
4058
|
-
return (0, smithy_client_1.take)(output, {
|
|
4059
|
-
diagnostics: smithy_client_1._json,
|
|
4060
|
-
endTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4061
|
-
lifecycleEventName: smithy_client_1.expectString,
|
|
4062
|
-
startTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4063
|
-
status: smithy_client_1.expectString,
|
|
4064
|
-
});
|
|
4065
|
-
};
|
|
4066
|
-
const de_LifecycleEventList = (output, context) => {
|
|
4067
|
-
const retVal = (output || [])
|
|
4068
|
-
.filter((e) => e != null)
|
|
4069
|
-
.map((entry) => {
|
|
4070
|
-
return de_LifecycleEvent(entry, context);
|
|
4071
|
-
});
|
|
4072
|
-
return retVal;
|
|
4073
|
-
};
|
|
4074
|
-
const de_RevisionInfo = (output, context) => {
|
|
4075
|
-
return (0, smithy_client_1.take)(output, {
|
|
4076
|
-
genericRevisionInfo: (_) => de_GenericRevisionInfo(_, context),
|
|
4077
|
-
revisionLocation: smithy_client_1._json,
|
|
4078
|
-
});
|
|
4079
|
-
};
|
|
4080
|
-
const de_RevisionInfoList = (output, context) => {
|
|
4081
|
-
const retVal = (output || [])
|
|
4082
|
-
.filter((e) => e != null)
|
|
4083
|
-
.map((entry) => {
|
|
4084
|
-
return de_RevisionInfo(entry, context);
|
|
4085
|
-
});
|
|
4086
|
-
return retVal;
|
|
4087
|
-
};
|
|
4088
|
-
const deserializeMetadata = (output) => ({
|
|
4089
|
-
httpStatusCode: output.statusCode,
|
|
4090
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
4091
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
4092
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
4093
|
-
});
|
|
4094
|
-
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
4095
|
-
const throwDefaultError = (0, smithy_client_1.withBaseException)(CodeDeployServiceException_1.CodeDeployServiceException);
|
|
4096
|
-
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
4097
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
4098
|
-
const contents = {
|
|
4099
|
-
protocol,
|
|
4100
|
-
hostname,
|
|
4101
|
-
port,
|
|
4102
|
-
method: "POST",
|
|
4103
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
4104
|
-
headers,
|
|
4105
|
-
};
|
|
4106
|
-
if (resolvedHostname !== undefined) {
|
|
4107
|
-
contents.hostname = resolvedHostname;
|
|
4108
|
-
}
|
|
4109
|
-
if (body !== undefined) {
|
|
4110
|
-
contents.body = body;
|
|
4111
|
-
}
|
|
4112
|
-
return new protocol_http_1.HttpRequest(contents);
|
|
4113
|
-
};
|
|
4114
|
-
function sharedHeaders(operation) {
|
|
4115
|
-
return {
|
|
4116
|
-
"content-type": "application/x-amz-json-1.1",
|
|
4117
|
-
"x-amz-target": `CodeDeploy_20141006.${operation}`,
|
|
4118
|
-
};
|
|
4119
|
-
}
|
|
4120
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
4121
|
-
if (encoded.length) {
|
|
4122
|
-
return JSON.parse(encoded);
|
|
4123
|
-
}
|
|
4124
|
-
return {};
|
|
4125
|
-
});
|
|
4126
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
4127
|
-
const value = await parseBody(errorBody, context);
|
|
4128
|
-
value.message = value.message ?? value.Message;
|
|
4129
|
-
return value;
|
|
4130
|
-
};
|
|
4131
|
-
const loadRestJsonErrorCode = (output, data) => {
|
|
4132
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
4133
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
4134
|
-
let cleanValue = rawValue;
|
|
4135
|
-
if (typeof cleanValue === "number") {
|
|
4136
|
-
cleanValue = cleanValue.toString();
|
|
4137
|
-
}
|
|
4138
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
4139
|
-
cleanValue = cleanValue.split(",")[0];
|
|
4140
|
-
}
|
|
4141
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
4142
|
-
cleanValue = cleanValue.split(":")[0];
|
|
4143
|
-
}
|
|
4144
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
4145
|
-
cleanValue = cleanValue.split("#")[1];
|
|
4146
|
-
}
|
|
4147
|
-
return cleanValue;
|
|
4148
|
-
};
|
|
4149
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
4150
|
-
if (headerKey !== undefined) {
|
|
4151
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
4152
|
-
}
|
|
4153
|
-
if (data.code !== undefined) {
|
|
4154
|
-
return sanitizeErrorCode(data.code);
|
|
4155
|
-
}
|
|
4156
|
-
if (data["__type"] !== undefined) {
|
|
4157
|
-
return sanitizeErrorCode(data["__type"]);
|
|
4158
|
-
}
|
|
4159
|
-
};
|
|
1
|
+
module.exports = require("../index.js");
|