@aws-sdk/client-codedeploy 3.181.0 → 3.182.0
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/CHANGELOG.md +11 -0
- package/README.md +42 -50
- package/dist-cjs/models/models_0.js +23 -18
- package/dist-cjs/protocols/Aws_json1_1.js +12 -0
- package/dist-es/models/models_0.js +17 -12
- package/dist-es/protocols/Aws_json1_1.js +90 -77
- package/dist-types/CodeDeploy.d.ts +71 -79
- package/dist-types/CodeDeployClient.d.ts +42 -49
- package/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +7 -8
- package/dist-types/commands/ListApplicationsCommand.d.ts +1 -1
- package/dist-types/commands/ListDeploymentConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListDeploymentGroupsCommand.d.ts +2 -2
- package/dist-types/commands/ListDeploymentInstancesCommand.d.ts +4 -3
- package/dist-types/commands/ListDeploymentsCommand.d.ts +2 -2
- package/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +9 -9
- package/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +1 -1
- package/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +375 -352
- package/dist-types/ts3.4/models/models_0.d.ts +13 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.182.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.181.0...v3.182.0) (2022-09-30)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-codedeploy:** This release allows you to override the alarm configurations when creating a deployment. ([593dbc2](https://github.com/aws/aws-sdk-js-v3/commit/593dbc27b0e0e91958ab73211ce7d1eceb51016c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.181.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.180.0...v3.181.0) (2022-09-29)
|
|
7
18
|
|
|
8
19
|
|
package/README.md
CHANGED
|
@@ -9,31 +9,29 @@
|
|
|
9
9
|
|
|
10
10
|
AWS SDK for JavaScript CodeDeploy Client for Node.js, Browser and React Native.
|
|
11
11
|
|
|
12
|
-
<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
Lambda functions, or applications in an Amazon ECS service.</p>
|
|
12
|
+
<p>CodeDeploy is a deployment service that automates application deployments
|
|
13
|
+
to Amazon EC2 instances, on-premises instances running in your own facility,
|
|
14
|
+
serverless Lambda functions, or applications in an Amazon ECS
|
|
15
|
+
service.</p>
|
|
17
16
|
<p>You can deploy a nearly unlimited variety of application content, such as an updated
|
|
18
|
-
Lambda function, updated applications in an Amazon ECS service,
|
|
19
|
-
configuration files, executables, packages, scripts, multimedia files, and
|
|
20
|
-
CodeDeploy can deploy application content stored in Amazon S3
|
|
21
|
-
repositories, or Bitbucket repositories. You do not need to make changes
|
|
22
|
-
existing code before you can use
|
|
23
|
-
<p>
|
|
24
|
-
avoid downtime during application deployment, and handles the complexity of updating
|
|
17
|
+
Lambda function, updated applications in an Amazon ECS service,
|
|
18
|
+
code, web and configuration files, executables, packages, scripts, multimedia files, and
|
|
19
|
+
so on. CodeDeploy can deploy application content stored in Amazon S3
|
|
20
|
+
buckets, GitHub repositories, or Bitbucket repositories. You do not need to make changes
|
|
21
|
+
to your existing code before you can use CodeDeploy.</p>
|
|
22
|
+
<p>CodeDeploy makes it easier for you to rapidly release new features, helps
|
|
23
|
+
you avoid downtime during application deployment, and handles the complexity of updating
|
|
25
24
|
your applications, without many of the risks associated with error-prone manual
|
|
26
25
|
deployments.</p>
|
|
27
26
|
<p>
|
|
28
|
-
<b>
|
|
27
|
+
<b>CodeDeploy Components</b>
|
|
29
28
|
</p>
|
|
30
|
-
<p>Use the information in this guide to help you work with the following
|
|
31
|
-
components:</p>
|
|
29
|
+
<p>Use the information in this guide to help you work with the following CodeDeploy components:</p>
|
|
32
30
|
<ul>
|
|
33
31
|
<li>
|
|
34
32
|
<p>
|
|
35
33
|
<b>Application</b>: A name that uniquely identifies
|
|
36
|
-
the application you want to deploy.
|
|
34
|
+
the application you want to deploy. CodeDeploy uses this name, which
|
|
37
35
|
functions as a container, to ensure the correct combination of revision,
|
|
38
36
|
deployment configuration, and deployment group are referenced during a
|
|
39
37
|
deployment.</p>
|
|
@@ -41,72 +39,66 @@ deployment.</p>
|
|
|
41
39
|
<li>
|
|
42
40
|
<p>
|
|
43
41
|
<b>Deployment group</b>: A set of individual
|
|
44
|
-
instances, CodeDeploy
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
specifies the service created in Amazon ECS to deploy, a load balancer, and a
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
groups can specify optional trigger, alarm, and rollback settings.</p>
|
|
42
|
+
instances, CodeDeploy
|
|
43
|
+
Lambda deployment configuration settings, or an Amazon ECS
|
|
44
|
+
service and network details. A Lambda deployment group specifies how
|
|
45
|
+
to route traffic to a new version of a Lambda function. An Amazon ECS deployment group specifies the service created in Amazon ECS to deploy, a load balancer, and a listener to reroute production
|
|
46
|
+
traffic to an updated containerized application. An Amazon EC2/On-premises deployment group contains individually tagged instances, Amazon EC2 instances in Amazon EC2 Auto Scaling groups, or both. All
|
|
47
|
+
deployment groups can specify optional trigger, alarm, and rollback
|
|
48
|
+
settings.</p>
|
|
52
49
|
</li>
|
|
53
50
|
<li>
|
|
54
51
|
<p>
|
|
55
52
|
<b>Deployment configuration</b>: A set of deployment
|
|
56
|
-
rules and deployment success and failure conditions used by
|
|
57
|
-
during a deployment.</p>
|
|
53
|
+
rules and deployment success and failure conditions used by CodeDeploy during a deployment.</p>
|
|
58
54
|
</li>
|
|
59
55
|
<li>
|
|
60
56
|
<p>
|
|
61
57
|
<b>Deployment</b>: The process and the components used
|
|
62
|
-
when updating a Lambda function, a containerized application in an
|
|
63
|
-
service, or of installing content on one or more
|
|
58
|
+
when updating a Lambda function, a containerized application in an
|
|
59
|
+
Amazon ECS service, or of installing content on one or more
|
|
60
|
+
instances. </p>
|
|
64
61
|
</li>
|
|
65
62
|
<li>
|
|
66
63
|
<p>
|
|
67
|
-
<b>Application revisions</b>: For an
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
object key and its ETag, version, or both. For GitHub, a revision is uniquely
|
|
64
|
+
<b>Application revisions</b>: For an Lambda deployment, this is an AppSpec file that specifies the
|
|
65
|
+
Lambda function to be updated and one or more functions to
|
|
66
|
+
validate deployment lifecycle events. For an Amazon ECS deployment, this
|
|
67
|
+
is an AppSpec file that specifies the Amazon ECS task definition,
|
|
68
|
+
container, and port where production traffic is rerouted. For an EC2/On-premises
|
|
69
|
+
deployment, this is an archive file that contains source content—source code,
|
|
70
|
+
webpages, executable files, and deployment scripts—along with an AppSpec file.
|
|
71
|
+
Revisions are stored in Amazon S3 buckets or GitHub repositories. For
|
|
72
|
+
Amazon S3, a revision is uniquely identified by its Amazon S3 object key and its ETag, version, or both. For GitHub, a revision is uniquely
|
|
77
73
|
identified by its commit ID.</p>
|
|
78
74
|
</li>
|
|
79
75
|
</ul>
|
|
80
76
|
<p>This guide also contains information to help you get details about the instances in
|
|
81
|
-
your deployments, to make on-premises instances available for
|
|
82
|
-
deployments, to get details about a Lambda function deployment, and to get
|
|
83
|
-
Amazon ECS service deployments.</p>
|
|
77
|
+
your deployments, to make on-premises instances available for CodeDeploy
|
|
78
|
+
deployments, to get details about a Lambda function deployment, and to get
|
|
79
|
+
details about Amazon ECS service deployments.</p>
|
|
84
80
|
<p>
|
|
85
|
-
<b>
|
|
81
|
+
<b>CodeDeploy Information Resources</b>
|
|
86
82
|
</p>
|
|
87
83
|
<ul>
|
|
88
84
|
<li>
|
|
89
85
|
<p>
|
|
90
|
-
<a href="https://docs.aws.amazon.com/codedeploy/latest/userguide">
|
|
91
|
-
User Guide</a>
|
|
86
|
+
<a href="https://docs.aws.amazon.com/codedeploy/latest/userguide">CodeDeploy User Guide</a>
|
|
92
87
|
</p>
|
|
93
88
|
</li>
|
|
94
89
|
<li>
|
|
95
90
|
<p>
|
|
96
|
-
<a href="https://docs.aws.amazon.com/codedeploy/latest/APIReference/">
|
|
97
|
-
CodeDeploy API Reference Guide</a>
|
|
91
|
+
<a href="https://docs.aws.amazon.com/codedeploy/latest/APIReference/">CodeDeploy API Reference Guide</a>
|
|
98
92
|
</p>
|
|
99
93
|
</li>
|
|
100
94
|
<li>
|
|
101
95
|
<p>
|
|
102
|
-
<a href="https://docs.aws.amazon.com/cli/latest/reference/deploy/index.html">
|
|
103
|
-
CLI Reference for AWS CodeDeploy</a>
|
|
96
|
+
<a href="https://docs.aws.amazon.com/cli/latest/reference/deploy/index.html">CLI Reference for CodeDeploy</a>
|
|
104
97
|
</p>
|
|
105
98
|
</li>
|
|
106
99
|
<li>
|
|
107
100
|
<p>
|
|
108
|
-
<a href="https://forums.aws.amazon.com/forum.jspa?forumID=179">
|
|
109
|
-
Developer Forum</a>
|
|
101
|
+
<a href="https://forums.aws.amazon.com/forum.jspa?forumID=179">CodeDeploy Developer Forum</a>
|
|
110
102
|
</p>
|
|
111
103
|
</li>
|
|
112
104
|
</ul>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TargetLabel = exports.DeploymentTargetType = exports.TargetStatus = exports.FileExistsBehavior = exports.ErrorCode = exports.DeploymentCreator = exports.InvalidDeploymentIdException = exports.InvalidComputePlatformException = exports.InstanceIdRequiredException = exports.DeploymentIdRequiredException = exports.DeploymentDoesNotExistException = exports.InstanceStatus = exports.LifecycleEventStatus = exports.LifecycleErrorCode = exports._InstanceType = exports.InvalidDeploymentGroupNameException = exports.DeploymentGroupNameRequiredException = exports.DeploymentConfigDoesNotExistException = exports.TriggerEventType = exports.OutdatedInstancesStrategy = exports.TagFilterType = exports.DeploymentStatus = exports.EC2TagFilterType = exports.DeploymentType = exports.DeploymentOption = exports.InstanceAction = exports.GreenFleetProvisioningAction = exports.DeploymentReadyAction = exports.RevisionRequiredException = exports.InvalidRevisionException = exports.InvalidApplicationNameException = exports.BatchLimitExceededException = exports.BundleType = exports.RevisionLocationType = exports.AutoRollbackEvent = exports.ArnNotSupportedException = exports.ApplicationRevisionSortBy = exports.ApplicationNameRequiredException = exports.ApplicationLimitExceededException = exports.ComputePlatform = exports.ApplicationDoesNotExistException = exports.ApplicationAlreadyExistsException = exports.AlarmsLimitExceededException = exports.TagRequiredException = exports.TagLimitExceededException = exports.InvalidTagException = exports.InvalidInstanceNameException = exports.InstanceNotRegisteredException = exports.InstanceNameRequiredException = exports.InstanceLimitExceededException = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.UpdateDeploymentGroupOutputFilterSensitiveLog = exports.UpdateDeploymentGroupInputFilterSensitiveLog = exports.UpdateApplicationInputFilterSensitiveLog = exports.UntagResourceOutputFilterSensitiveLog = exports.UntagResourceInputFilterSensitiveLog = exports.TagResourceOutputFilterSensitiveLog = exports.TagResourceInputFilterSensitiveLog = exports.StopDeploymentOutputFilterSensitiveLog = exports.StopDeploymentInputFilterSensitiveLog = exports.SkipWaitTimeForInstanceTerminationInputFilterSensitiveLog = exports.RemoveTagsFromOnPremisesInstancesInputFilterSensitiveLog = exports.RegisterOnPremisesInstanceInputFilterSensitiveLog = exports.RegisterApplicationRevisionInputFilterSensitiveLog = exports.PutLifecycleEventHookExecutionStatusOutputFilterSensitiveLog = exports.PutLifecycleEventHookExecutionStatusInputFilterSensitiveLog = exports.ListTagsForResourceOutputFilterSensitiveLog = exports.ListTagsForResourceInputFilterSensitiveLog = exports.ListOnPremisesInstancesOutputFilterSensitiveLog = exports.ListOnPremisesInstancesInputFilterSensitiveLog = exports.ListGitHubAccountTokenNamesOutputFilterSensitiveLog = exports.ListGitHubAccountTokenNamesInputFilterSensitiveLog = exports.ListDeploymentTargetsOutputFilterSensitiveLog = exports.ListDeploymentTargetsInputFilterSensitiveLog = exports.ListDeploymentsOutputFilterSensitiveLog = exports.ListDeploymentsInputFilterSensitiveLog = exports.TimeRangeFilterSensitiveLog = exports.ListDeploymentInstancesOutputFilterSensitiveLog = exports.ListDeploymentInstancesInputFilterSensitiveLog = exports.ListDeploymentGroupsOutputFilterSensitiveLog = void 0;
|
|
4
|
+
exports.LifecycleHookLimitExceededException = exports.InvalidTriggerConfigException = exports.InvalidTargetGroupPairException = exports.InvalidOnPremisesTagCombinationException = exports.InvalidInputException = exports.InvalidECSServiceException = exports.InvalidEC2TagException = exports.InvalidEC2TagCombinationException = exports.InvalidDeploymentStyleException = exports.InvalidBlueGreenDeploymentConfigurationException = exports.ECSServiceMappingLimitExceededException = exports.DeploymentGroupLimitExceededException = exports.DeploymentGroupAlreadyExistsException = exports.InvalidMinimumHealthyHostValueException = exports.DeploymentConfigNameRequiredException = exports.DeploymentConfigLimitExceededException = exports.DeploymentConfigAlreadyExistsException = exports.TrafficRoutingType = exports.MinimumHealthyHostsType = exports.ThrottlingException = exports.RevisionDoesNotExistException = exports.InvalidUpdateOutdatedInstancesOnlyValueException = exports.InvalidTrafficRoutingConfigurationException = exports.InvalidTargetInstancesException = exports.InvalidRoleException = exports.InvalidLoadBalancerInfoException = exports.InvalidIgnoreApplicationStopFailuresValueException = exports.InvalidGitHubAccountTokenException = exports.InvalidFileExistsBehaviorException = exports.InvalidDeploymentConfigNameException = exports.InvalidAutoScalingGroupException = exports.InvalidAutoRollbackConfigException = exports.InvalidAlarmConfigException = exports.DescriptionTooLongException = exports.DeploymentLimitExceededException = exports.DeploymentGroupDoesNotExistException = exports.InvalidTagsToAddException = exports.UnsupportedActionForDeploymentTypeException = exports.InvalidDeploymentWaitTypeException = exports.InvalidDeploymentStatusException = exports.DeploymentIsNotInReadyStateException = exports.DeploymentAlreadyCompletedException = exports.DeploymentWaitType = exports.BucketNameFilterRequiredException = exports.InvalidDeploymentTargetIdException = exports.InstanceDoesNotExistException = exports.DeploymentTargetListSizeExceededException = exports.DeploymentTargetIdRequiredException = exports.DeploymentTargetDoesNotExistException = exports.DeploymentNotStartedException = void 0;
|
|
5
|
+
exports.AutoScalingGroupFilterSensitiveLog = exports.AutoRollbackConfigurationFilterSensitiveLog = exports.AppSpecContentFilterSensitiveLog = exports.ApplicationInfoFilterSensitiveLog = exports.AlarmConfigurationFilterSensitiveLog = exports.AlarmFilterSensitiveLog = exports.AddTagsToOnPremisesInstancesInputFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.StopStatus = exports.MultipleIamArnsProvidedException = exports.InvalidIamUserArnException = exports.InvalidIamSessionArnException = exports.InstanceNameAlreadyRegisteredException = exports.IamUserArnRequiredException = exports.IamUserArnAlreadyRegisteredException = exports.IamSessionArnAlreadyRegisteredException = exports.IamArnRequiredException = exports.LifecycleEventAlreadyCompletedException = exports.InvalidLifecycleEventHookExecutionStatusException = exports.InvalidLifecycleEventHookExecutionIdException = exports.ResourceArnRequiredException = exports.InvalidArnException = exports.RegistrationStatus = exports.InvalidTagFilterException = exports.InvalidRegistrationStatusException = exports.TargetFilterName = exports.InvalidTimeRangeException = exports.InvalidExternalIdException = exports.InvalidTargetFilterNameException = exports.InvalidInstanceTypeException = exports.InvalidInstanceStatusException = exports.InvalidDeploymentInstanceTypeException = exports.SortOrder = exports.ListStateFilterAction = exports.InvalidSortOrderException = exports.InvalidSortByException = exports.InvalidNextTokenException = exports.InvalidKeyPrefixFilterException = exports.InvalidDeployedStateFilterException = exports.InvalidBucketNameFilterException = exports.ResourceValidationException = exports.OperationNotSupportedException = exports.InvalidGitHubAccountTokenNameException = exports.GitHubAccountTokenNameRequiredException = exports.GitHubAccountTokenDoesNotExistException = exports.InvalidOperationException = exports.DeploymentConfigInUseException = exports.TriggerTargetsLimitExceededException = exports.TagSetListLimitExceededException = exports.RoleRequiredException = void 0;
|
|
6
|
+
exports.LambdaTargetFilterSensitiveLog = exports.LambdaFunctionInfoFilterSensitiveLog = exports.InstanceTargetFilterSensitiveLog = exports.ECSTargetFilterSensitiveLog = exports.ECSTaskSetFilterSensitiveLog = exports.CloudFormationTargetFilterSensitiveLog = exports.BatchGetDeploymentTargetsInputFilterSensitiveLog = exports.BatchGetDeploymentsOutputFilterSensitiveLog = exports.DeploymentInfoFilterSensitiveLog = exports.TargetInstancesFilterSensitiveLog = exports.RollbackInfoFilterSensitiveLog = exports.RelatedDeploymentsFilterSensitiveLog = exports.ErrorInformationFilterSensitiveLog = exports.DeploymentOverviewFilterSensitiveLog = exports.BatchGetDeploymentsInputFilterSensitiveLog = exports.BatchGetDeploymentInstancesOutputFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.LifecycleEventFilterSensitiveLog = exports.DiagnosticsFilterSensitiveLog = exports.BatchGetDeploymentInstancesInputFilterSensitiveLog = exports.BatchGetDeploymentGroupsOutputFilterSensitiveLog = exports.DeploymentGroupInfoFilterSensitiveLog = exports.TriggerConfigFilterSensitiveLog = exports.OnPremisesTagSetFilterSensitiveLog = exports.TagFilterFilterSensitiveLog = exports.LoadBalancerInfoFilterSensitiveLog = exports.TargetGroupPairInfoFilterSensitiveLog = exports.TrafficRouteFilterSensitiveLog = exports.TargetGroupInfoFilterSensitiveLog = exports.ELBInfoFilterSensitiveLog = exports.LastDeploymentInfoFilterSensitiveLog = exports.ECSServiceFilterSensitiveLog = exports.EC2TagSetFilterSensitiveLog = exports.EC2TagFilterFilterSensitiveLog = exports.DeploymentStyleFilterSensitiveLog = exports.BlueGreenDeploymentConfigurationFilterSensitiveLog = exports.BlueInstanceTerminationOptionFilterSensitiveLog = exports.GreenFleetProvisioningOptionFilterSensitiveLog = exports.DeploymentReadyOptionFilterSensitiveLog = exports.BatchGetDeploymentGroupsInputFilterSensitiveLog = exports.BatchGetApplicationsOutputFilterSensitiveLog = exports.BatchGetApplicationsInputFilterSensitiveLog = exports.BatchGetApplicationRevisionsOutputFilterSensitiveLog = exports.RevisionInfoFilterSensitiveLog = exports.GenericRevisionInfoFilterSensitiveLog = exports.BatchGetApplicationRevisionsInputFilterSensitiveLog = exports.RevisionLocationFilterSensitiveLog = exports.RawStringFilterSensitiveLog = exports.S3LocationFilterSensitiveLog = exports.GitHubLocationFilterSensitiveLog = void 0;
|
|
7
|
+
exports.ListDeploymentConfigsOutputFilterSensitiveLog = exports.ListDeploymentConfigsInputFilterSensitiveLog = exports.ListApplicationsOutputFilterSensitiveLog = exports.ListApplicationsInputFilterSensitiveLog = exports.ListApplicationRevisionsOutputFilterSensitiveLog = exports.ListApplicationRevisionsInputFilterSensitiveLog = exports.GetOnPremisesInstanceOutputFilterSensitiveLog = exports.GetOnPremisesInstanceInputFilterSensitiveLog = exports.GetDeploymentTargetOutputFilterSensitiveLog = exports.GetDeploymentTargetInputFilterSensitiveLog = exports.GetDeploymentInstanceOutputFilterSensitiveLog = exports.GetDeploymentInstanceInputFilterSensitiveLog = exports.GetDeploymentGroupOutputFilterSensitiveLog = exports.GetDeploymentGroupInputFilterSensitiveLog = exports.GetDeploymentConfigOutputFilterSensitiveLog = exports.DeploymentConfigInfoFilterSensitiveLog = exports.GetDeploymentConfigInputFilterSensitiveLog = exports.GetDeploymentOutputFilterSensitiveLog = exports.GetDeploymentInputFilterSensitiveLog = exports.GetApplicationRevisionOutputFilterSensitiveLog = exports.GetApplicationRevisionInputFilterSensitiveLog = exports.GetApplicationOutputFilterSensitiveLog = exports.GetApplicationInputFilterSensitiveLog = exports.DeregisterOnPremisesInstanceInputFilterSensitiveLog = exports.DeleteResourcesByExternalIdOutputFilterSensitiveLog = exports.DeleteResourcesByExternalIdInputFilterSensitiveLog = exports.DeleteGitHubAccountTokenOutputFilterSensitiveLog = exports.DeleteGitHubAccountTokenInputFilterSensitiveLog = exports.DeleteDeploymentGroupOutputFilterSensitiveLog = exports.DeleteDeploymentGroupInputFilterSensitiveLog = exports.DeleteDeploymentConfigInputFilterSensitiveLog = exports.DeleteApplicationInputFilterSensitiveLog = exports.CreateDeploymentGroupOutputFilterSensitiveLog = exports.CreateDeploymentGroupInputFilterSensitiveLog = exports.CreateDeploymentConfigOutputFilterSensitiveLog = exports.CreateDeploymentConfigInputFilterSensitiveLog = exports.TrafficRoutingConfigFilterSensitiveLog = exports.TimeBasedLinearFilterSensitiveLog = exports.TimeBasedCanaryFilterSensitiveLog = exports.MinimumHealthyHostsFilterSensitiveLog = exports.CreateDeploymentOutputFilterSensitiveLog = exports.CreateDeploymentInputFilterSensitiveLog = exports.CreateApplicationOutputFilterSensitiveLog = exports.CreateApplicationInputFilterSensitiveLog = exports.ContinueDeploymentInputFilterSensitiveLog = exports.BatchGetOnPremisesInstancesOutputFilterSensitiveLog = exports.InstanceInfoFilterSensitiveLog = exports.BatchGetOnPremisesInstancesInputFilterSensitiveLog = exports.BatchGetDeploymentTargetsOutputFilterSensitiveLog = exports.DeploymentTargetFilterSensitiveLog = void 0;
|
|
8
|
+
exports.UpdateDeploymentGroupOutputFilterSensitiveLog = exports.UpdateDeploymentGroupInputFilterSensitiveLog = exports.UpdateApplicationInputFilterSensitiveLog = exports.UntagResourceOutputFilterSensitiveLog = exports.UntagResourceInputFilterSensitiveLog = exports.TagResourceOutputFilterSensitiveLog = exports.TagResourceInputFilterSensitiveLog = exports.StopDeploymentOutputFilterSensitiveLog = exports.StopDeploymentInputFilterSensitiveLog = exports.SkipWaitTimeForInstanceTerminationInputFilterSensitiveLog = exports.RemoveTagsFromOnPremisesInstancesInputFilterSensitiveLog = exports.RegisterOnPremisesInstanceInputFilterSensitiveLog = exports.RegisterApplicationRevisionInputFilterSensitiveLog = exports.PutLifecycleEventHookExecutionStatusOutputFilterSensitiveLog = exports.PutLifecycleEventHookExecutionStatusInputFilterSensitiveLog = exports.ListTagsForResourceOutputFilterSensitiveLog = exports.ListTagsForResourceInputFilterSensitiveLog = exports.ListOnPremisesInstancesOutputFilterSensitiveLog = exports.ListOnPremisesInstancesInputFilterSensitiveLog = exports.ListGitHubAccountTokenNamesOutputFilterSensitiveLog = exports.ListGitHubAccountTokenNamesInputFilterSensitiveLog = exports.ListDeploymentTargetsOutputFilterSensitiveLog = exports.ListDeploymentTargetsInputFilterSensitiveLog = exports.ListDeploymentsOutputFilterSensitiveLog = exports.ListDeploymentsInputFilterSensitiveLog = exports.TimeRangeFilterSensitiveLog = exports.ListDeploymentInstancesOutputFilterSensitiveLog = exports.ListDeploymentInstancesInputFilterSensitiveLog = exports.ListDeploymentGroupsOutputFilterSensitiveLog = exports.ListDeploymentGroupsInputFilterSensitiveLog = void 0;
|
|
9
9
|
const CodeDeployServiceException_1 = require("./CodeDeployServiceException");
|
|
10
10
|
class InstanceLimitExceededException extends CodeDeployServiceException_1.CodeDeployServiceException {
|
|
11
11
|
constructor(opts) {
|
|
@@ -752,6 +752,19 @@ class DescriptionTooLongException extends CodeDeployServiceException_1.CodeDeplo
|
|
|
752
752
|
}
|
|
753
753
|
}
|
|
754
754
|
exports.DescriptionTooLongException = DescriptionTooLongException;
|
|
755
|
+
class InvalidAlarmConfigException extends CodeDeployServiceException_1.CodeDeployServiceException {
|
|
756
|
+
constructor(opts) {
|
|
757
|
+
super({
|
|
758
|
+
name: "InvalidAlarmConfigException",
|
|
759
|
+
$fault: "client",
|
|
760
|
+
...opts,
|
|
761
|
+
});
|
|
762
|
+
this.name = "InvalidAlarmConfigException";
|
|
763
|
+
this.$fault = "client";
|
|
764
|
+
Object.setPrototypeOf(this, InvalidAlarmConfigException.prototype);
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
exports.InvalidAlarmConfigException = InvalidAlarmConfigException;
|
|
755
768
|
class InvalidAutoRollbackConfigException extends CodeDeployServiceException_1.CodeDeployServiceException {
|
|
756
769
|
constructor(opts) {
|
|
757
770
|
super({
|
|
@@ -921,6 +934,11 @@ class ThrottlingException extends CodeDeployServiceException_1.CodeDeployService
|
|
|
921
934
|
}
|
|
922
935
|
}
|
|
923
936
|
exports.ThrottlingException = ThrottlingException;
|
|
937
|
+
var MinimumHealthyHostsType;
|
|
938
|
+
(function (MinimumHealthyHostsType) {
|
|
939
|
+
MinimumHealthyHostsType["FLEET_PERCENT"] = "FLEET_PERCENT";
|
|
940
|
+
MinimumHealthyHostsType["HOST_COUNT"] = "HOST_COUNT";
|
|
941
|
+
})(MinimumHealthyHostsType = exports.MinimumHealthyHostsType || (exports.MinimumHealthyHostsType = {}));
|
|
924
942
|
var TrafficRoutingType;
|
|
925
943
|
(function (TrafficRoutingType) {
|
|
926
944
|
TrafficRoutingType["AllAtOnce"] = "AllAtOnce";
|
|
@@ -1018,19 +1036,6 @@ class ECSServiceMappingLimitExceededException extends CodeDeployServiceException
|
|
|
1018
1036
|
}
|
|
1019
1037
|
}
|
|
1020
1038
|
exports.ECSServiceMappingLimitExceededException = ECSServiceMappingLimitExceededException;
|
|
1021
|
-
class InvalidAlarmConfigException extends CodeDeployServiceException_1.CodeDeployServiceException {
|
|
1022
|
-
constructor(opts) {
|
|
1023
|
-
super({
|
|
1024
|
-
name: "InvalidAlarmConfigException",
|
|
1025
|
-
$fault: "client",
|
|
1026
|
-
...opts,
|
|
1027
|
-
});
|
|
1028
|
-
this.name = "InvalidAlarmConfigException";
|
|
1029
|
-
this.$fault = "client";
|
|
1030
|
-
Object.setPrototypeOf(this, InvalidAlarmConfigException.prototype);
|
|
1031
|
-
}
|
|
1032
|
-
}
|
|
1033
|
-
exports.InvalidAlarmConfigException = InvalidAlarmConfigException;
|
|
1034
1039
|
class InvalidBlueGreenDeploymentConfigurationException extends CodeDeployServiceException_1.CodeDeployServiceException {
|
|
1035
1040
|
constructor(opts) {
|
|
1036
1041
|
super({
|
|
@@ -981,6 +981,9 @@ const deserializeAws_json1_1CreateDeploymentCommandError = async (output, contex
|
|
|
981
981
|
};
|
|
982
982
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
983
983
|
switch (errorCode) {
|
|
984
|
+
case "AlarmsLimitExceededException":
|
|
985
|
+
case "com.amazonaws.codedeploy#AlarmsLimitExceededException":
|
|
986
|
+
throw await deserializeAws_json1_1AlarmsLimitExceededExceptionResponse(parsedOutput, context);
|
|
984
987
|
case "ApplicationDoesNotExistException":
|
|
985
988
|
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException":
|
|
986
989
|
throw await deserializeAws_json1_1ApplicationDoesNotExistExceptionResponse(parsedOutput, context);
|
|
@@ -1002,6 +1005,9 @@ const deserializeAws_json1_1CreateDeploymentCommandError = async (output, contex
|
|
|
1002
1005
|
case "DescriptionTooLongException":
|
|
1003
1006
|
case "com.amazonaws.codedeploy#DescriptionTooLongException":
|
|
1004
1007
|
throw await deserializeAws_json1_1DescriptionTooLongExceptionResponse(parsedOutput, context);
|
|
1008
|
+
case "InvalidAlarmConfigException":
|
|
1009
|
+
case "com.amazonaws.codedeploy#InvalidAlarmConfigException":
|
|
1010
|
+
throw await deserializeAws_json1_1InvalidAlarmConfigExceptionResponse(parsedOutput, context);
|
|
1005
1011
|
case "InvalidApplicationNameException":
|
|
1006
1012
|
case "com.amazonaws.codedeploy#InvalidApplicationNameException":
|
|
1007
1013
|
throw await deserializeAws_json1_1InvalidApplicationNameExceptionResponse(parsedOutput, context);
|
|
@@ -4082,6 +4088,9 @@ const serializeAws_json1_1CreateDeploymentInput = (input, context) => {
|
|
|
4082
4088
|
...(input.ignoreApplicationStopFailures != null && {
|
|
4083
4089
|
ignoreApplicationStopFailures: input.ignoreApplicationStopFailures,
|
|
4084
4090
|
}),
|
|
4091
|
+
...(input.overrideAlarmConfiguration != null && {
|
|
4092
|
+
overrideAlarmConfiguration: serializeAws_json1_1AlarmConfiguration(input.overrideAlarmConfiguration, context),
|
|
4093
|
+
}),
|
|
4085
4094
|
...(input.revision != null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) }),
|
|
4086
4095
|
...(input.targetInstances != null && {
|
|
4087
4096
|
targetInstances: serializeAws_json1_1TargetInstances(input.targetInstances, context),
|
|
@@ -5165,6 +5174,9 @@ const deserializeAws_json1_1DeploymentInfo = (output, context) => {
|
|
|
5165
5174
|
loadBalancerInfo: output.loadBalancerInfo != null
|
|
5166
5175
|
? deserializeAws_json1_1LoadBalancerInfo(output.loadBalancerInfo, context)
|
|
5167
5176
|
: undefined,
|
|
5177
|
+
overrideAlarmConfiguration: output.overrideAlarmConfiguration != null
|
|
5178
|
+
? deserializeAws_json1_1AlarmConfiguration(output.overrideAlarmConfiguration, context)
|
|
5179
|
+
: undefined,
|
|
5168
5180
|
previousRevision: output.previousRevision != null
|
|
5169
5181
|
? deserializeAws_json1_1RevisionLocation(output.previousRevision, context)
|
|
5170
5182
|
: undefined,
|
|
@@ -704,6 +704,18 @@ var DescriptionTooLongException = (function (_super) {
|
|
|
704
704
|
return DescriptionTooLongException;
|
|
705
705
|
}(__BaseException));
|
|
706
706
|
export { DescriptionTooLongException };
|
|
707
|
+
var InvalidAlarmConfigException = (function (_super) {
|
|
708
|
+
__extends(InvalidAlarmConfigException, _super);
|
|
709
|
+
function InvalidAlarmConfigException(opts) {
|
|
710
|
+
var _this = _super.call(this, __assign({ name: "InvalidAlarmConfigException", $fault: "client" }, opts)) || this;
|
|
711
|
+
_this.name = "InvalidAlarmConfigException";
|
|
712
|
+
_this.$fault = "client";
|
|
713
|
+
Object.setPrototypeOf(_this, InvalidAlarmConfigException.prototype);
|
|
714
|
+
return _this;
|
|
715
|
+
}
|
|
716
|
+
return InvalidAlarmConfigException;
|
|
717
|
+
}(__BaseException));
|
|
718
|
+
export { InvalidAlarmConfigException };
|
|
707
719
|
var InvalidAutoRollbackConfigException = (function (_super) {
|
|
708
720
|
__extends(InvalidAutoRollbackConfigException, _super);
|
|
709
721
|
function InvalidAutoRollbackConfigException(opts) {
|
|
@@ -860,6 +872,11 @@ var ThrottlingException = (function (_super) {
|
|
|
860
872
|
return ThrottlingException;
|
|
861
873
|
}(__BaseException));
|
|
862
874
|
export { ThrottlingException };
|
|
875
|
+
export var MinimumHealthyHostsType;
|
|
876
|
+
(function (MinimumHealthyHostsType) {
|
|
877
|
+
MinimumHealthyHostsType["FLEET_PERCENT"] = "FLEET_PERCENT";
|
|
878
|
+
MinimumHealthyHostsType["HOST_COUNT"] = "HOST_COUNT";
|
|
879
|
+
})(MinimumHealthyHostsType || (MinimumHealthyHostsType = {}));
|
|
863
880
|
export var TrafficRoutingType;
|
|
864
881
|
(function (TrafficRoutingType) {
|
|
865
882
|
TrafficRoutingType["AllAtOnce"] = "AllAtOnce";
|
|
@@ -950,18 +967,6 @@ var ECSServiceMappingLimitExceededException = (function (_super) {
|
|
|
950
967
|
return ECSServiceMappingLimitExceededException;
|
|
951
968
|
}(__BaseException));
|
|
952
969
|
export { ECSServiceMappingLimitExceededException };
|
|
953
|
-
var InvalidAlarmConfigException = (function (_super) {
|
|
954
|
-
__extends(InvalidAlarmConfigException, _super);
|
|
955
|
-
function InvalidAlarmConfigException(opts) {
|
|
956
|
-
var _this = _super.call(this, __assign({ name: "InvalidAlarmConfigException", $fault: "client" }, opts)) || this;
|
|
957
|
-
_this.name = "InvalidAlarmConfigException";
|
|
958
|
-
_this.$fault = "client";
|
|
959
|
-
Object.setPrototypeOf(_this, InvalidAlarmConfigException.prototype);
|
|
960
|
-
return _this;
|
|
961
|
-
}
|
|
962
|
-
return InvalidAlarmConfigException;
|
|
963
|
-
}(__BaseException));
|
|
964
|
-
export { InvalidAlarmConfigException };
|
|
965
970
|
var InvalidBlueGreenDeploymentConfigurationException = (function (_super) {
|
|
966
971
|
__extends(InvalidBlueGreenDeploymentConfigurationException, _super);
|
|
967
972
|
function InvalidBlueGreenDeploymentConfigurationException(opts) {
|
|
@@ -1262,105 +1262,113 @@ var deserializeAws_json1_1CreateDeploymentCommandError = function (output, conte
|
|
|
1262
1262
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1263
1263
|
_b = errorCode;
|
|
1264
1264
|
switch (_b) {
|
|
1265
|
-
case "
|
|
1266
|
-
case "com.amazonaws.codedeploy#
|
|
1267
|
-
case "
|
|
1268
|
-
case "com.amazonaws.codedeploy#
|
|
1269
|
-
case "
|
|
1270
|
-
case "com.amazonaws.codedeploy#
|
|
1271
|
-
case "
|
|
1272
|
-
case "com.amazonaws.codedeploy#
|
|
1273
|
-
case "
|
|
1274
|
-
case "com.amazonaws.codedeploy#
|
|
1275
|
-
case "
|
|
1276
|
-
case "com.amazonaws.codedeploy#
|
|
1277
|
-
case "
|
|
1278
|
-
case "com.amazonaws.codedeploy#
|
|
1279
|
-
case "
|
|
1280
|
-
case "com.amazonaws.codedeploy#
|
|
1281
|
-
case "
|
|
1282
|
-
case "com.amazonaws.codedeploy#
|
|
1283
|
-
case "
|
|
1284
|
-
case "com.amazonaws.codedeploy#
|
|
1285
|
-
case "
|
|
1286
|
-
case "com.amazonaws.codedeploy#
|
|
1287
|
-
case "
|
|
1288
|
-
case "com.amazonaws.codedeploy#
|
|
1289
|
-
case "
|
|
1290
|
-
case "com.amazonaws.codedeploy#
|
|
1291
|
-
case "
|
|
1292
|
-
case "com.amazonaws.codedeploy#
|
|
1293
|
-
case "
|
|
1294
|
-
case "com.amazonaws.codedeploy#
|
|
1295
|
-
case "
|
|
1296
|
-
case "com.amazonaws.codedeploy#
|
|
1297
|
-
case "
|
|
1298
|
-
case "com.amazonaws.codedeploy#
|
|
1299
|
-
case "
|
|
1300
|
-
case "com.amazonaws.codedeploy#
|
|
1301
|
-
case "
|
|
1302
|
-
case "com.amazonaws.codedeploy#
|
|
1303
|
-
case "
|
|
1304
|
-
case "com.amazonaws.codedeploy#
|
|
1305
|
-
case "
|
|
1306
|
-
case "com.amazonaws.codedeploy#
|
|
1307
|
-
case "
|
|
1308
|
-
case "com.amazonaws.codedeploy#
|
|
1309
|
-
case "
|
|
1310
|
-
case "com.amazonaws.codedeploy#
|
|
1311
|
-
case "
|
|
1312
|
-
case "com.amazonaws.codedeploy#
|
|
1265
|
+
case "AlarmsLimitExceededException": return [3, 2];
|
|
1266
|
+
case "com.amazonaws.codedeploy#AlarmsLimitExceededException": return [3, 2];
|
|
1267
|
+
case "ApplicationDoesNotExistException": return [3, 4];
|
|
1268
|
+
case "com.amazonaws.codedeploy#ApplicationDoesNotExistException": return [3, 4];
|
|
1269
|
+
case "ApplicationNameRequiredException": return [3, 6];
|
|
1270
|
+
case "com.amazonaws.codedeploy#ApplicationNameRequiredException": return [3, 6];
|
|
1271
|
+
case "DeploymentConfigDoesNotExistException": return [3, 8];
|
|
1272
|
+
case "com.amazonaws.codedeploy#DeploymentConfigDoesNotExistException": return [3, 8];
|
|
1273
|
+
case "DeploymentGroupDoesNotExistException": return [3, 10];
|
|
1274
|
+
case "com.amazonaws.codedeploy#DeploymentGroupDoesNotExistException": return [3, 10];
|
|
1275
|
+
case "DeploymentGroupNameRequiredException": return [3, 12];
|
|
1276
|
+
case "com.amazonaws.codedeploy#DeploymentGroupNameRequiredException": return [3, 12];
|
|
1277
|
+
case "DeploymentLimitExceededException": return [3, 14];
|
|
1278
|
+
case "com.amazonaws.codedeploy#DeploymentLimitExceededException": return [3, 14];
|
|
1279
|
+
case "DescriptionTooLongException": return [3, 16];
|
|
1280
|
+
case "com.amazonaws.codedeploy#DescriptionTooLongException": return [3, 16];
|
|
1281
|
+
case "InvalidAlarmConfigException": return [3, 18];
|
|
1282
|
+
case "com.amazonaws.codedeploy#InvalidAlarmConfigException": return [3, 18];
|
|
1283
|
+
case "InvalidApplicationNameException": return [3, 20];
|
|
1284
|
+
case "com.amazonaws.codedeploy#InvalidApplicationNameException": return [3, 20];
|
|
1285
|
+
case "InvalidAutoRollbackConfigException": return [3, 22];
|
|
1286
|
+
case "com.amazonaws.codedeploy#InvalidAutoRollbackConfigException": return [3, 22];
|
|
1287
|
+
case "InvalidAutoScalingGroupException": return [3, 24];
|
|
1288
|
+
case "com.amazonaws.codedeploy#InvalidAutoScalingGroupException": return [3, 24];
|
|
1289
|
+
case "InvalidDeploymentConfigNameException": return [3, 26];
|
|
1290
|
+
case "com.amazonaws.codedeploy#InvalidDeploymentConfigNameException": return [3, 26];
|
|
1291
|
+
case "InvalidDeploymentGroupNameException": return [3, 28];
|
|
1292
|
+
case "com.amazonaws.codedeploy#InvalidDeploymentGroupNameException": return [3, 28];
|
|
1293
|
+
case "InvalidFileExistsBehaviorException": return [3, 30];
|
|
1294
|
+
case "com.amazonaws.codedeploy#InvalidFileExistsBehaviorException": return [3, 30];
|
|
1295
|
+
case "InvalidGitHubAccountTokenException": return [3, 32];
|
|
1296
|
+
case "com.amazonaws.codedeploy#InvalidGitHubAccountTokenException": return [3, 32];
|
|
1297
|
+
case "InvalidIgnoreApplicationStopFailuresValueException": return [3, 34];
|
|
1298
|
+
case "com.amazonaws.codedeploy#InvalidIgnoreApplicationStopFailuresValueException": return [3, 34];
|
|
1299
|
+
case "InvalidLoadBalancerInfoException": return [3, 36];
|
|
1300
|
+
case "com.amazonaws.codedeploy#InvalidLoadBalancerInfoException": return [3, 36];
|
|
1301
|
+
case "InvalidRevisionException": return [3, 38];
|
|
1302
|
+
case "com.amazonaws.codedeploy#InvalidRevisionException": return [3, 38];
|
|
1303
|
+
case "InvalidRoleException": return [3, 40];
|
|
1304
|
+
case "com.amazonaws.codedeploy#InvalidRoleException": return [3, 40];
|
|
1305
|
+
case "InvalidTargetInstancesException": return [3, 42];
|
|
1306
|
+
case "com.amazonaws.codedeploy#InvalidTargetInstancesException": return [3, 42];
|
|
1307
|
+
case "InvalidTrafficRoutingConfigurationException": return [3, 44];
|
|
1308
|
+
case "com.amazonaws.codedeploy#InvalidTrafficRoutingConfigurationException": return [3, 44];
|
|
1309
|
+
case "InvalidUpdateOutdatedInstancesOnlyValueException": return [3, 46];
|
|
1310
|
+
case "com.amazonaws.codedeploy#InvalidUpdateOutdatedInstancesOnlyValueException": return [3, 46];
|
|
1311
|
+
case "RevisionDoesNotExistException": return [3, 48];
|
|
1312
|
+
case "com.amazonaws.codedeploy#RevisionDoesNotExistException": return [3, 48];
|
|
1313
|
+
case "RevisionRequiredException": return [3, 50];
|
|
1314
|
+
case "com.amazonaws.codedeploy#RevisionRequiredException": return [3, 50];
|
|
1315
|
+
case "ThrottlingException": return [3, 52];
|
|
1316
|
+
case "com.amazonaws.codedeploy#ThrottlingException": return [3, 52];
|
|
1313
1317
|
}
|
|
1314
|
-
return [3,
|
|
1315
|
-
case 2: return [4,
|
|
1318
|
+
return [3, 54];
|
|
1319
|
+
case 2: return [4, deserializeAws_json1_1AlarmsLimitExceededExceptionResponse(parsedOutput, context)];
|
|
1316
1320
|
case 3: throw _d.sent();
|
|
1317
|
-
case 4: return [4,
|
|
1321
|
+
case 4: return [4, deserializeAws_json1_1ApplicationDoesNotExistExceptionResponse(parsedOutput, context)];
|
|
1318
1322
|
case 5: throw _d.sent();
|
|
1319
|
-
case 6: return [4,
|
|
1323
|
+
case 6: return [4, deserializeAws_json1_1ApplicationNameRequiredExceptionResponse(parsedOutput, context)];
|
|
1320
1324
|
case 7: throw _d.sent();
|
|
1321
|
-
case 8: return [4,
|
|
1325
|
+
case 8: return [4, deserializeAws_json1_1DeploymentConfigDoesNotExistExceptionResponse(parsedOutput, context)];
|
|
1322
1326
|
case 9: throw _d.sent();
|
|
1323
|
-
case 10: return [4,
|
|
1327
|
+
case 10: return [4, deserializeAws_json1_1DeploymentGroupDoesNotExistExceptionResponse(parsedOutput, context)];
|
|
1324
1328
|
case 11: throw _d.sent();
|
|
1325
|
-
case 12: return [4,
|
|
1329
|
+
case 12: return [4, deserializeAws_json1_1DeploymentGroupNameRequiredExceptionResponse(parsedOutput, context)];
|
|
1326
1330
|
case 13: throw _d.sent();
|
|
1327
|
-
case 14: return [4,
|
|
1331
|
+
case 14: return [4, deserializeAws_json1_1DeploymentLimitExceededExceptionResponse(parsedOutput, context)];
|
|
1328
1332
|
case 15: throw _d.sent();
|
|
1329
|
-
case 16: return [4,
|
|
1333
|
+
case 16: return [4, deserializeAws_json1_1DescriptionTooLongExceptionResponse(parsedOutput, context)];
|
|
1330
1334
|
case 17: throw _d.sent();
|
|
1331
|
-
case 18: return [4,
|
|
1335
|
+
case 18: return [4, deserializeAws_json1_1InvalidAlarmConfigExceptionResponse(parsedOutput, context)];
|
|
1332
1336
|
case 19: throw _d.sent();
|
|
1333
|
-
case 20: return [4,
|
|
1337
|
+
case 20: return [4, deserializeAws_json1_1InvalidApplicationNameExceptionResponse(parsedOutput, context)];
|
|
1334
1338
|
case 21: throw _d.sent();
|
|
1335
|
-
case 22: return [4,
|
|
1339
|
+
case 22: return [4, deserializeAws_json1_1InvalidAutoRollbackConfigExceptionResponse(parsedOutput, context)];
|
|
1336
1340
|
case 23: throw _d.sent();
|
|
1337
|
-
case 24: return [4,
|
|
1341
|
+
case 24: return [4, deserializeAws_json1_1InvalidAutoScalingGroupExceptionResponse(parsedOutput, context)];
|
|
1338
1342
|
case 25: throw _d.sent();
|
|
1339
|
-
case 26: return [4,
|
|
1343
|
+
case 26: return [4, deserializeAws_json1_1InvalidDeploymentConfigNameExceptionResponse(parsedOutput, context)];
|
|
1340
1344
|
case 27: throw _d.sent();
|
|
1341
|
-
case 28: return [4,
|
|
1345
|
+
case 28: return [4, deserializeAws_json1_1InvalidDeploymentGroupNameExceptionResponse(parsedOutput, context)];
|
|
1342
1346
|
case 29: throw _d.sent();
|
|
1343
|
-
case 30: return [4,
|
|
1347
|
+
case 30: return [4, deserializeAws_json1_1InvalidFileExistsBehaviorExceptionResponse(parsedOutput, context)];
|
|
1344
1348
|
case 31: throw _d.sent();
|
|
1345
|
-
case 32: return [4,
|
|
1349
|
+
case 32: return [4, deserializeAws_json1_1InvalidGitHubAccountTokenExceptionResponse(parsedOutput, context)];
|
|
1346
1350
|
case 33: throw _d.sent();
|
|
1347
|
-
case 34: return [4,
|
|
1351
|
+
case 34: return [4, deserializeAws_json1_1InvalidIgnoreApplicationStopFailuresValueExceptionResponse(parsedOutput, context)];
|
|
1348
1352
|
case 35: throw _d.sent();
|
|
1349
|
-
case 36: return [4,
|
|
1353
|
+
case 36: return [4, deserializeAws_json1_1InvalidLoadBalancerInfoExceptionResponse(parsedOutput, context)];
|
|
1350
1354
|
case 37: throw _d.sent();
|
|
1351
|
-
case 38: return [4,
|
|
1355
|
+
case 38: return [4, deserializeAws_json1_1InvalidRevisionExceptionResponse(parsedOutput, context)];
|
|
1352
1356
|
case 39: throw _d.sent();
|
|
1353
|
-
case 40: return [4,
|
|
1357
|
+
case 40: return [4, deserializeAws_json1_1InvalidRoleExceptionResponse(parsedOutput, context)];
|
|
1354
1358
|
case 41: throw _d.sent();
|
|
1355
|
-
case 42: return [4,
|
|
1359
|
+
case 42: return [4, deserializeAws_json1_1InvalidTargetInstancesExceptionResponse(parsedOutput, context)];
|
|
1356
1360
|
case 43: throw _d.sent();
|
|
1357
|
-
case 44: return [4,
|
|
1361
|
+
case 44: return [4, deserializeAws_json1_1InvalidTrafficRoutingConfigurationExceptionResponse(parsedOutput, context)];
|
|
1358
1362
|
case 45: throw _d.sent();
|
|
1359
|
-
case 46: return [4,
|
|
1363
|
+
case 46: return [4, deserializeAws_json1_1InvalidUpdateOutdatedInstancesOnlyValueExceptionResponse(parsedOutput, context)];
|
|
1360
1364
|
case 47: throw _d.sent();
|
|
1361
|
-
case 48: return [4,
|
|
1365
|
+
case 48: return [4, deserializeAws_json1_1RevisionDoesNotExistExceptionResponse(parsedOutput, context)];
|
|
1362
1366
|
case 49: throw _d.sent();
|
|
1363
|
-
case 50:
|
|
1367
|
+
case 50: return [4, deserializeAws_json1_1RevisionRequiredExceptionResponse(parsedOutput, context)];
|
|
1368
|
+
case 51: throw _d.sent();
|
|
1369
|
+
case 52: return [4, deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1370
|
+
case 53: throw _d.sent();
|
|
1371
|
+
case 54:
|
|
1364
1372
|
parsedBody = parsedOutput.body;
|
|
1365
1373
|
throwDefaultError({
|
|
1366
1374
|
output: output,
|
|
@@ -1368,8 +1376,8 @@ var deserializeAws_json1_1CreateDeploymentCommandError = function (output, conte
|
|
|
1368
1376
|
exceptionCtor: __BaseException,
|
|
1369
1377
|
errorCode: errorCode,
|
|
1370
1378
|
});
|
|
1371
|
-
_d.label =
|
|
1372
|
-
case
|
|
1379
|
+
_d.label = 55;
|
|
1380
|
+
case 55: return [2];
|
|
1373
1381
|
}
|
|
1374
1382
|
});
|
|
1375
1383
|
}); };
|
|
@@ -5153,10 +5161,12 @@ var serializeAws_json1_1CreateDeploymentGroupInput = function (input, context) {
|
|
|
5153
5161
|
}));
|
|
5154
5162
|
};
|
|
5155
5163
|
var serializeAws_json1_1CreateDeploymentInput = function (input, context) {
|
|
5156
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.autoRollbackConfiguration != null && {
|
|
5164
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.applicationName != null && { applicationName: input.applicationName })), (input.autoRollbackConfiguration != null && {
|
|
5157
5165
|
autoRollbackConfiguration: serializeAws_json1_1AutoRollbackConfiguration(input.autoRollbackConfiguration, context),
|
|
5158
5166
|
})), (input.deploymentConfigName != null && { deploymentConfigName: input.deploymentConfigName })), (input.deploymentGroupName != null && { deploymentGroupName: input.deploymentGroupName })), (input.description != null && { description: input.description })), (input.fileExistsBehavior != null && { fileExistsBehavior: input.fileExistsBehavior })), (input.ignoreApplicationStopFailures != null && {
|
|
5159
5167
|
ignoreApplicationStopFailures: input.ignoreApplicationStopFailures,
|
|
5168
|
+
})), (input.overrideAlarmConfiguration != null && {
|
|
5169
|
+
overrideAlarmConfiguration: serializeAws_json1_1AlarmConfiguration(input.overrideAlarmConfiguration, context),
|
|
5160
5170
|
})), (input.revision != null && { revision: serializeAws_json1_1RevisionLocation(input.revision, context) })), (input.targetInstances != null && {
|
|
5161
5171
|
targetInstances: serializeAws_json1_1TargetInstances(input.targetInstances, context),
|
|
5162
5172
|
})), (input.updateOutdatedInstancesOnly != null && {
|
|
@@ -6033,6 +6043,9 @@ var deserializeAws_json1_1DeploymentInfo = function (output, context) {
|
|
|
6033
6043
|
loadBalancerInfo: output.loadBalancerInfo != null
|
|
6034
6044
|
? deserializeAws_json1_1LoadBalancerInfo(output.loadBalancerInfo, context)
|
|
6035
6045
|
: undefined,
|
|
6046
|
+
overrideAlarmConfiguration: output.overrideAlarmConfiguration != null
|
|
6047
|
+
? deserializeAws_json1_1AlarmConfiguration(output.overrideAlarmConfiguration, context)
|
|
6048
|
+
: undefined,
|
|
6036
6049
|
previousRevision: output.previousRevision != null
|
|
6037
6050
|
? deserializeAws_json1_1RevisionLocation(output.previousRevision, context)
|
|
6038
6051
|
: undefined,
|