@aws-sdk/client-codedeploy 3.181.0 → 3.183.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 +19 -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/CodeDeploy.js +190 -197
- package/dist-es/CodeDeployClient.js +22 -28
- package/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js +22 -29
- package/dist-es/commands/BatchGetApplicationRevisionsCommand.js +21 -28
- package/dist-es/commands/BatchGetApplicationsCommand.js +21 -28
- package/dist-es/commands/BatchGetDeploymentGroupsCommand.js +21 -28
- package/dist-es/commands/BatchGetDeploymentInstancesCommand.js +21 -28
- package/dist-es/commands/BatchGetDeploymentTargetsCommand.js +21 -28
- package/dist-es/commands/BatchGetDeploymentsCommand.js +21 -28
- package/dist-es/commands/BatchGetOnPremisesInstancesCommand.js +21 -28
- package/dist-es/commands/ContinueDeploymentCommand.js +22 -29
- package/dist-es/commands/CreateApplicationCommand.js +21 -28
- package/dist-es/commands/CreateDeploymentCommand.js +21 -28
- package/dist-es/commands/CreateDeploymentConfigCommand.js +21 -28
- package/dist-es/commands/CreateDeploymentGroupCommand.js +21 -28
- package/dist-es/commands/DeleteApplicationCommand.js +22 -29
- package/dist-es/commands/DeleteDeploymentConfigCommand.js +22 -29
- package/dist-es/commands/DeleteDeploymentGroupCommand.js +21 -28
- package/dist-es/commands/DeleteGitHubAccountTokenCommand.js +21 -28
- package/dist-es/commands/DeleteResourcesByExternalIdCommand.js +21 -28
- package/dist-es/commands/DeregisterOnPremisesInstanceCommand.js +22 -29
- package/dist-es/commands/GetApplicationCommand.js +21 -28
- package/dist-es/commands/GetApplicationRevisionCommand.js +21 -28
- package/dist-es/commands/GetDeploymentCommand.js +21 -28
- package/dist-es/commands/GetDeploymentConfigCommand.js +21 -28
- package/dist-es/commands/GetDeploymentGroupCommand.js +21 -28
- package/dist-es/commands/GetDeploymentInstanceCommand.js +21 -28
- package/dist-es/commands/GetDeploymentTargetCommand.js +21 -28
- package/dist-es/commands/GetOnPremisesInstanceCommand.js +21 -28
- package/dist-es/commands/ListApplicationRevisionsCommand.js +21 -28
- package/dist-es/commands/ListApplicationsCommand.js +21 -28
- package/dist-es/commands/ListDeploymentConfigsCommand.js +21 -28
- package/dist-es/commands/ListDeploymentGroupsCommand.js +21 -28
- package/dist-es/commands/ListDeploymentInstancesCommand.js +21 -28
- package/dist-es/commands/ListDeploymentTargetsCommand.js +21 -28
- package/dist-es/commands/ListDeploymentsCommand.js +21 -28
- package/dist-es/commands/ListGitHubAccountTokenNamesCommand.js +21 -28
- package/dist-es/commands/ListOnPremisesInstancesCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +21 -28
- package/dist-es/commands/RegisterApplicationRevisionCommand.js +22 -29
- package/dist-es/commands/RegisterOnPremisesInstanceCommand.js +22 -29
- package/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js +22 -29
- package/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js +22 -29
- package/dist-es/commands/StopDeploymentCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateApplicationCommand.js +22 -29
- package/dist-es/commands/UpdateDeploymentGroupCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/CodeDeployServiceException.js +5 -10
- package/dist-es/models/models_0.js +1727 -1447
- package/dist-es/pagination/ListApplicationRevisionsPaginator.js +24 -67
- package/dist-es/pagination/ListApplicationsPaginator.js +24 -67
- package/dist-es/pagination/ListDeploymentConfigsPaginator.js +24 -67
- package/dist-es/pagination/ListDeploymentGroupsPaginator.js +24 -67
- package/dist-es/pagination/ListDeploymentInstancesPaginator.js +24 -67
- package/dist-es/pagination/ListDeploymentsPaginator.js +24 -67
- package/dist-es/protocols/Aws_json1_1.js +4823 -5800
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-es/waiters/waitForDeploymentSuccessful.js +45 -65
- 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 +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-codedeploy
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.182.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.181.0...v3.182.0) (2022-09-30)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **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))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.181.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.180.0...v3.181.0) (2022-09-29)
|
|
7
26
|
|
|
8
27
|
|
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,
|