@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
|
@@ -117,7 +117,7 @@ export interface Alarm {
|
|
|
117
117
|
name?: string;
|
|
118
118
|
}
|
|
119
119
|
/**
|
|
120
|
-
* <p>Information about alarms associated with
|
|
120
|
+
* <p>Information about alarms associated with a deployment or deployment group.</p>
|
|
121
121
|
*/
|
|
122
122
|
export interface AlarmConfiguration {
|
|
123
123
|
/**
|
|
@@ -142,8 +142,8 @@ export interface AlarmConfiguration {
|
|
|
142
142
|
*/
|
|
143
143
|
ignorePollAlarmFailure?: boolean;
|
|
144
144
|
/**
|
|
145
|
-
* <p>A list of alarms configured for the deployment group. A maximum of 10
|
|
146
|
-
*
|
|
145
|
+
* <p>A list of alarms configured for the deployment or deployment group. A maximum of 10
|
|
146
|
+
* alarms can be added.</p>
|
|
147
147
|
*/
|
|
148
148
|
alarms?: Alarm[];
|
|
149
149
|
}
|
|
@@ -159,8 +159,7 @@ export declare class AlarmsLimitExceededException extends __BaseException {
|
|
|
159
159
|
constructor(opts: __ExceptionOptionType<AlarmsLimitExceededException, __BaseException>);
|
|
160
160
|
}
|
|
161
161
|
/**
|
|
162
|
-
* <p>An application with the specified name with the IAM user or
|
|
163
|
-
* exists.</p>
|
|
162
|
+
* <p>An application with the specified name with the IAM user or Amazon Web Services account already exists.</p>
|
|
164
163
|
*/
|
|
165
164
|
export declare class ApplicationAlreadyExistsException extends __BaseException {
|
|
166
165
|
readonly name: "ApplicationAlreadyExistsException";
|
|
@@ -171,7 +170,7 @@ export declare class ApplicationAlreadyExistsException extends __BaseException {
|
|
|
171
170
|
constructor(opts: __ExceptionOptionType<ApplicationAlreadyExistsException, __BaseException>);
|
|
172
171
|
}
|
|
173
172
|
/**
|
|
174
|
-
* <p>The application does not exist with the IAM user or
|
|
173
|
+
* <p>The application does not exist with the IAM user or Amazon Web Services account.</p>
|
|
175
174
|
*/
|
|
176
175
|
export declare class ApplicationDoesNotExistException extends __BaseException {
|
|
177
176
|
readonly name: "ApplicationDoesNotExistException";
|
|
@@ -212,8 +211,7 @@ export interface ApplicationInfo {
|
|
|
212
211
|
*/
|
|
213
212
|
gitHubAccountName?: string;
|
|
214
213
|
/**
|
|
215
|
-
* <p>The destination platform type for deployment of the application (<code>Lambda</code>
|
|
216
|
-
* or <code>Server</code>).</p>
|
|
214
|
+
* <p>The destination platform type for deployment of the application (<code>Lambda</code> or <code>Server</code>).</p>
|
|
217
215
|
*/
|
|
218
216
|
computePlatform?: ComputePlatform | string;
|
|
219
217
|
}
|
|
@@ -245,22 +243,21 @@ export declare enum ApplicationRevisionSortBy {
|
|
|
245
243
|
RegisterTime = "registerTime"
|
|
246
244
|
}
|
|
247
245
|
/**
|
|
248
|
-
* <p> A revision for an
|
|
249
|
-
* JSON-formatted string. For
|
|
250
|
-
*
|
|
251
|
-
* data type. </p>
|
|
246
|
+
* <p> A revision for an Lambda or Amazon ECS deployment that is a
|
|
247
|
+
* YAML-formatted or JSON-formatted string. For Lambda and Amazon ECS deployments, the revision is the same as the AppSpec file. This method replaces the
|
|
248
|
+
* deprecated <code>RawString</code> data type. </p>
|
|
252
249
|
*/
|
|
253
250
|
export interface AppSpecContent {
|
|
254
251
|
/**
|
|
255
252
|
* <p> The YAML-formatted or JSON-formatted revision string. </p>
|
|
256
|
-
* <p> For an
|
|
257
|
-
* for its original version, and the alias for its replacement
|
|
258
|
-
* shifts traffic from the original version of the Lambda function to the replacement
|
|
259
|
-
*
|
|
260
|
-
*
|
|
261
|
-
*
|
|
262
|
-
*
|
|
263
|
-
*
|
|
253
|
+
* <p> For an Lambda deployment, the content includes a Lambda
|
|
254
|
+
* function name, the alias for its original version, and the alias for its replacement
|
|
255
|
+
* version. The deployment shifts traffic from the original version of the Lambda function to the replacement version. </p>
|
|
256
|
+
* <p> For an Amazon ECS deployment, the content includes the task name, information
|
|
257
|
+
* about the load balancer that serves traffic to the container, and more. </p>
|
|
258
|
+
* <p> For both types of deployments, the content can specify Lambda functions
|
|
259
|
+
* that run at specified hooks, such as <code>BeforeInstall</code>, during a deployment.
|
|
260
|
+
* </p>
|
|
264
261
|
*/
|
|
265
262
|
content?: string;
|
|
266
263
|
/**
|
|
@@ -347,7 +344,8 @@ export declare enum BundleType {
|
|
|
347
344
|
*/
|
|
348
345
|
export interface S3Location {
|
|
349
346
|
/**
|
|
350
|
-
* <p>The name of the Amazon S3 bucket where the application revision is
|
|
347
|
+
* <p>The name of the Amazon S3 bucket where the application revision is
|
|
348
|
+
* stored.</p>
|
|
351
349
|
*/
|
|
352
350
|
bucket?: string;
|
|
353
351
|
/**
|
|
@@ -374,8 +372,8 @@ export interface S3Location {
|
|
|
374
372
|
*/
|
|
375
373
|
bundleType?: BundleType | string;
|
|
376
374
|
/**
|
|
377
|
-
* <p>A specific version of the Amazon S3 object that represents the bundled
|
|
378
|
-
* the application revision.</p>
|
|
375
|
+
* <p>A specific version of the Amazon S3 object that represents the bundled
|
|
376
|
+
* artifacts for the application revision.</p>
|
|
379
377
|
* <p>If the version is not specified, the system uses the most recent version by
|
|
380
378
|
* default.</p>
|
|
381
379
|
*/
|
|
@@ -391,14 +389,15 @@ export interface S3Location {
|
|
|
391
389
|
/**
|
|
392
390
|
* @deprecated
|
|
393
391
|
*
|
|
394
|
-
* <p>A revision for an
|
|
395
|
-
* string. For
|
|
392
|
+
* <p>A revision for an Lambda deployment that is a YAML-formatted or
|
|
393
|
+
* JSON-formatted string. For Lambda deployments, the revision is the same
|
|
394
|
+
* as the AppSpec file.</p>
|
|
396
395
|
*/
|
|
397
396
|
export interface RawString {
|
|
398
397
|
/**
|
|
399
398
|
* <p>The YAML-formatted or JSON-formatted revision string. It includes information about
|
|
400
|
-
* which Lambda function to update and optional Lambda functions
|
|
401
|
-
* lifecycle events.</p>
|
|
399
|
+
* which Lambda function to update and optional Lambda functions
|
|
400
|
+
* that validate deployment lifecycle events.</p>
|
|
402
401
|
*/
|
|
403
402
|
content?: string;
|
|
404
403
|
/**
|
|
@@ -421,13 +420,14 @@ export interface RevisionLocation {
|
|
|
421
420
|
* only).</p>
|
|
422
421
|
* </li>
|
|
423
422
|
* <li>
|
|
424
|
-
* <p>String: A YAML-formatted or JSON-formatted string (
|
|
425
|
-
* only).</p>
|
|
423
|
+
* <p>String: A YAML-formatted or JSON-formatted string (Lambda
|
|
424
|
+
* deployments only).</p>
|
|
426
425
|
* </li>
|
|
427
426
|
* <li>
|
|
428
427
|
* <p>AppSpecContent: An <code>AppSpecContent</code> object that contains the
|
|
429
|
-
* contents of an AppSpec file for an
|
|
430
|
-
* content is formatted as JSON or YAML stored as a
|
|
428
|
+
* contents of an AppSpec file for an Lambda or Amazon ECS
|
|
429
|
+
* deployment. The content is formatted as JSON or YAML stored as a
|
|
430
|
+
* RawString.</p>
|
|
431
431
|
* </li>
|
|
432
432
|
* </ul>
|
|
433
433
|
*/
|
|
@@ -443,13 +443,13 @@ export interface RevisionLocation {
|
|
|
443
443
|
/**
|
|
444
444
|
* @deprecated
|
|
445
445
|
*
|
|
446
|
-
* <p>Information about the location of an
|
|
447
|
-
* RawString.</p>
|
|
446
|
+
* <p>Information about the location of an Lambda deployment revision stored
|
|
447
|
+
* as a RawString.</p>
|
|
448
448
|
*/
|
|
449
449
|
string?: RawString;
|
|
450
450
|
/**
|
|
451
|
-
* <p> The content of an AppSpec file for an
|
|
452
|
-
* content is formatted as JSON or YAML and stored as a RawString. </p>
|
|
451
|
+
* <p> The content of an AppSpec file for an Lambda or Amazon ECS
|
|
452
|
+
* deployment. The content is formatted as JSON or YAML and stored as a RawString. </p>
|
|
453
453
|
*/
|
|
454
454
|
appSpecContent?: AppSpecContent;
|
|
455
455
|
}
|
|
@@ -458,7 +458,7 @@ export interface RevisionLocation {
|
|
|
458
458
|
*/
|
|
459
459
|
export interface BatchGetApplicationRevisionsInput {
|
|
460
460
|
/**
|
|
461
|
-
* <p>The name of an
|
|
461
|
+
* <p>The name of an CodeDeploy application about which to get revision
|
|
462
462
|
* information.</p>
|
|
463
463
|
*/
|
|
464
464
|
applicationName: string | undefined;
|
|
@@ -482,15 +482,15 @@ export interface GenericRevisionInfo {
|
|
|
482
482
|
*/
|
|
483
483
|
deploymentGroups?: string[];
|
|
484
484
|
/**
|
|
485
|
-
* <p>When the revision was first used by
|
|
485
|
+
* <p>When the revision was first used by CodeDeploy.</p>
|
|
486
486
|
*/
|
|
487
487
|
firstUsedTime?: Date;
|
|
488
488
|
/**
|
|
489
|
-
* <p>When the revision was last used by
|
|
489
|
+
* <p>When the revision was last used by CodeDeploy.</p>
|
|
490
490
|
*/
|
|
491
491
|
lastUsedTime?: Date;
|
|
492
492
|
/**
|
|
493
|
-
* <p>When the revision was registered with
|
|
493
|
+
* <p>When the revision was registered with CodeDeploy.</p>
|
|
494
494
|
*/
|
|
495
495
|
registerTime?: Date;
|
|
496
496
|
}
|
|
@@ -593,8 +593,8 @@ export interface BatchGetApplicationsOutput {
|
|
|
593
593
|
*/
|
|
594
594
|
export interface BatchGetDeploymentGroupsInput {
|
|
595
595
|
/**
|
|
596
|
-
* <p>The name of an
|
|
597
|
-
*
|
|
596
|
+
* <p>The name of an CodeDeploy application associated with the applicable
|
|
597
|
+
* IAM or Amazon Web Services account.</p>
|
|
598
598
|
*/
|
|
599
599
|
applicationName: string | undefined;
|
|
600
600
|
/**
|
|
@@ -655,8 +655,8 @@ export interface GreenFleetProvisioningOption {
|
|
|
655
655
|
* </li>
|
|
656
656
|
* <li>
|
|
657
657
|
* <p>
|
|
658
|
-
* <code>COPY_AUTO_SCALING_GROUP</code>: Use settings from a specified Auto
|
|
659
|
-
*
|
|
658
|
+
* <code>COPY_AUTO_SCALING_GROUP</code>: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling
|
|
659
|
+
* group.</p>
|
|
660
660
|
* </li>
|
|
661
661
|
* </ul>
|
|
662
662
|
*/
|
|
@@ -694,9 +694,9 @@ export interface BlueInstanceTerminationOption {
|
|
|
694
694
|
* <p>For an Amazon EC2 deployment, the number of minutes to wait after a successful
|
|
695
695
|
* blue/green deployment before terminating instances from the original environment.</p>
|
|
696
696
|
*
|
|
697
|
-
* <p> For an Amazon ECS deployment, the number of minutes before deleting the
|
|
698
|
-
* (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts
|
|
699
|
-
* original (blue) task set to a replacement (green) task set. </p>
|
|
697
|
+
* <p> For an Amazon ECS deployment, the number of minutes before deleting the
|
|
698
|
+
* original (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts
|
|
699
|
+
* traffic from the original (blue) task set to a replacement (green) task set. </p>
|
|
700
700
|
*
|
|
701
701
|
* <p> The maximum setting is 2880 minutes (2 days). </p>
|
|
702
702
|
*/
|
|
@@ -781,19 +781,19 @@ export interface EC2TagFilter {
|
|
|
781
781
|
Type?: EC2TagFilterType | string;
|
|
782
782
|
}
|
|
783
783
|
/**
|
|
784
|
-
* <p>Information about groups of EC2 instance tags.</p>
|
|
784
|
+
* <p>Information about groups of Amazon EC2 instance tags.</p>
|
|
785
785
|
*/
|
|
786
786
|
export interface EC2TagSet {
|
|
787
787
|
/**
|
|
788
|
-
* <p>A list that contains other lists of EC2 instance tag groups. For an
|
|
789
|
-
* included in the deployment group, it must be identified by all of the tag
|
|
790
|
-
* list.</p>
|
|
788
|
+
* <p>A list that contains other lists of Amazon EC2 instance tag groups. For an
|
|
789
|
+
* instance to be included in the deployment group, it must be identified by all of the tag
|
|
790
|
+
* groups in the list.</p>
|
|
791
791
|
*/
|
|
792
792
|
ec2TagSetList?: EC2TagFilter[][];
|
|
793
793
|
}
|
|
794
794
|
/**
|
|
795
|
-
* <p> Contains the service and cluster names used to identify an Amazon ECS
|
|
796
|
-
* target. </p>
|
|
795
|
+
* <p> Contains the service and cluster names used to identify an Amazon ECS
|
|
796
|
+
* deployment's target. </p>
|
|
797
797
|
*/
|
|
798
798
|
export interface ECSService {
|
|
799
799
|
/**
|
|
@@ -801,7 +801,8 @@ export interface ECSService {
|
|
|
801
801
|
*/
|
|
802
802
|
serviceName?: string;
|
|
803
803
|
/**
|
|
804
|
-
* <p> The name of the cluster that the Amazon ECS service is associated with.
|
|
804
|
+
* <p> The name of the cluster that the Amazon ECS service is associated with.
|
|
805
|
+
* </p>
|
|
805
806
|
*/
|
|
806
807
|
clusterName?: string;
|
|
807
808
|
}
|
|
@@ -882,8 +883,7 @@ export interface TrafficRoute {
|
|
|
882
883
|
listenerArns?: string[];
|
|
883
884
|
}
|
|
884
885
|
/**
|
|
885
|
-
* <p> Information about two target groups and how traffic is routed during an Amazon ECS
|
|
886
|
-
* deployment. An optional test traffic route can be specified. </p>
|
|
886
|
+
* <p> Information about two target groups and how traffic is routed during an Amazon ECS deployment. An optional test traffic route can be specified. </p>
|
|
887
887
|
*/
|
|
888
888
|
export interface TargetGroupPairInfo {
|
|
889
889
|
/**
|
|
@@ -893,14 +893,12 @@ export interface TargetGroupPairInfo {
|
|
|
893
893
|
*/
|
|
894
894
|
targetGroups?: TargetGroupInfo[];
|
|
895
895
|
/**
|
|
896
|
-
* <p> The path used by a load balancer to route production traffic when an Amazon ECS
|
|
897
|
-
* deployment is complete. </p>
|
|
896
|
+
* <p> The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete. </p>
|
|
898
897
|
*/
|
|
899
898
|
prodTrafficRoute?: TrafficRoute;
|
|
900
899
|
/**
|
|
901
|
-
* <p> An optional path used by a load balancer to route test traffic after an Amazon ECS
|
|
902
|
-
* deployment.
|
|
903
|
-
* </p>
|
|
900
|
+
* <p> An optional path used by a load balancer to route test traffic after an Amazon ECS deployment. Validation can occur while test traffic is served during a
|
|
901
|
+
* deployment. </p>
|
|
904
902
|
*/
|
|
905
903
|
testTrafficRoute?: TrafficRoute;
|
|
906
904
|
}
|
|
@@ -1032,8 +1030,8 @@ export interface DeploymentGroupInfo {
|
|
|
1032
1030
|
*/
|
|
1033
1031
|
deploymentConfigName?: string;
|
|
1034
1032
|
/**
|
|
1035
|
-
* <p>The Amazon EC2 tags on which to filter. The deployment group includes EC2
|
|
1036
|
-
* with any of the specified tags.</p>
|
|
1033
|
+
* <p>The Amazon EC2 tags on which to filter. The deployment group includes EC2
|
|
1034
|
+
* instances with any of the specified tags.</p>
|
|
1037
1035
|
*/
|
|
1038
1036
|
ec2TagFilters?: EC2TagFilter[];
|
|
1039
1037
|
/**
|
|
@@ -1047,9 +1045,8 @@ export interface DeploymentGroupInfo {
|
|
|
1047
1045
|
autoScalingGroups?: AutoScalingGroup[];
|
|
1048
1046
|
/**
|
|
1049
1047
|
* <p>A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make
|
|
1050
|
-
* calls to
|
|
1051
|
-
* Service Role for
|
|
1052
|
-
* Guide</i>.</p>
|
|
1048
|
+
* calls to Amazon Web Services services on your behalf. For more information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/getting-started-create-service-role.html">Create a
|
|
1049
|
+
* Service Role for CodeDeploy</a> in the <i>CodeDeploy User Guide</i>.</p>
|
|
1053
1050
|
*/
|
|
1054
1051
|
serviceRoleArn?: string;
|
|
1055
1052
|
/**
|
|
@@ -1076,14 +1073,14 @@ export interface DeploymentGroupInfo {
|
|
|
1076
1073
|
*/
|
|
1077
1074
|
deploymentStyle?: DeploymentStyle;
|
|
1078
1075
|
/**
|
|
1079
|
-
* <p>Indicates what happens when new EC2 instances are launched
|
|
1080
|
-
* receive the deployed application revision.</p>
|
|
1076
|
+
* <p>Indicates what happens when new Amazon EC2 instances are launched
|
|
1077
|
+
* mid-deployment and do not receive the deployed application revision.</p>
|
|
1081
1078
|
* <p>If this option is set to <code>UPDATE</code> or is unspecified, CodeDeploy initiates
|
|
1082
1079
|
* one or more 'auto-update outdated instances' deployments to apply the deployed
|
|
1083
|
-
* application revision to the new EC2 instances.</p>
|
|
1080
|
+
* application revision to the new Amazon EC2 instances.</p>
|
|
1084
1081
|
* <p>If this option is set to <code>IGNORE</code>, CodeDeploy does not initiate a
|
|
1085
|
-
* deployment to update the new EC2 instances. This may result in instances
|
|
1086
|
-
* different revisions.</p>
|
|
1082
|
+
* deployment to update the new Amazon EC2 instances. This may result in instances
|
|
1083
|
+
* having different revisions.</p>
|
|
1087
1084
|
*/
|
|
1088
1085
|
outdatedInstancesStrategy?: OutdatedInstancesStrategy | string;
|
|
1089
1086
|
/**
|
|
@@ -1104,9 +1101,9 @@ export interface DeploymentGroupInfo {
|
|
|
1104
1101
|
*/
|
|
1105
1102
|
lastAttemptedDeployment?: LastDeploymentInfo;
|
|
1106
1103
|
/**
|
|
1107
|
-
* <p>Information about groups of tags applied to an EC2 instance. The
|
|
1108
|
-
* includes only EC2 instances identified by all of the tag
|
|
1109
|
-
* same call as ec2TagFilters.</p>
|
|
1104
|
+
* <p>Information about groups of tags applied to an Amazon EC2 instance. The
|
|
1105
|
+
* deployment group includes only Amazon EC2 instances identified by all of the tag
|
|
1106
|
+
* groups. Cannot be used in the same call as ec2TagFilters.</p>
|
|
1110
1107
|
*/
|
|
1111
1108
|
ec2TagSet?: EC2TagSet;
|
|
1112
1109
|
/**
|
|
@@ -1122,9 +1119,8 @@ export interface DeploymentGroupInfo {
|
|
|
1122
1119
|
computePlatform?: ComputePlatform | string;
|
|
1123
1120
|
/**
|
|
1124
1121
|
* <p> The target Amazon ECS services in the deployment group. This applies only to
|
|
1125
|
-
* deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service
|
|
1126
|
-
*
|
|
1127
|
-
* <code><clustername>:<servicename></code>. </p>
|
|
1122
|
+
* deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name
|
|
1123
|
+
* pair using the format <code><clustername>:<servicename></code>. </p>
|
|
1128
1124
|
*/
|
|
1129
1125
|
ecsServices?: ECSService[];
|
|
1130
1126
|
}
|
|
@@ -1142,7 +1138,8 @@ export interface BatchGetDeploymentGroupsOutput {
|
|
|
1142
1138
|
errorMessage?: string;
|
|
1143
1139
|
}
|
|
1144
1140
|
/**
|
|
1145
|
-
* <p>The deployment configuration does not exist with the IAM user or
|
|
1141
|
+
* <p>The deployment configuration does not exist with the IAM user or
|
|
1142
|
+
* Amazon Web Services account.</p>
|
|
1146
1143
|
*/
|
|
1147
1144
|
export declare class DeploymentConfigDoesNotExistException extends __BaseException {
|
|
1148
1145
|
readonly name: "DeploymentConfigDoesNotExistException";
|
|
@@ -1241,7 +1238,8 @@ export interface Diagnostics {
|
|
|
1241
1238
|
message?: string;
|
|
1242
1239
|
/**
|
|
1243
1240
|
* <p>The last portion of the diagnostic log.</p>
|
|
1244
|
-
* <p>If available,
|
|
1241
|
+
* <p>If available, CodeDeploy returns up to the last 4 KB of the diagnostic
|
|
1242
|
+
* log.</p>
|
|
1245
1243
|
*/
|
|
1246
1244
|
logTail?: string;
|
|
1247
1245
|
}
|
|
@@ -1394,7 +1392,8 @@ export interface BatchGetDeploymentInstancesOutput {
|
|
|
1394
1392
|
errorMessage?: string;
|
|
1395
1393
|
}
|
|
1396
1394
|
/**
|
|
1397
|
-
* <p>The deployment with the IAM user or
|
|
1395
|
+
* <p>The deployment with the IAM user or Amazon Web Services account does not
|
|
1396
|
+
* exist.</p>
|
|
1398
1397
|
*/
|
|
1399
1398
|
export declare class DeploymentDoesNotExistException extends __BaseException {
|
|
1400
1399
|
readonly name: "DeploymentDoesNotExistException";
|
|
@@ -1429,8 +1428,7 @@ export declare class InstanceIdRequiredException extends __BaseException {
|
|
|
1429
1428
|
constructor(opts: __ExceptionOptionType<InstanceIdRequiredException, __BaseException>);
|
|
1430
1429
|
}
|
|
1431
1430
|
/**
|
|
1432
|
-
* <p>The computePlatform is invalid. The computePlatform should be <code>Lambda</code>,
|
|
1433
|
-
* <code>Server</code>, or <code>ECS</code>.</p>
|
|
1431
|
+
* <p>The computePlatform is invalid. The computePlatform should be <code>Lambda</code>, <code>Server</code>, or <code>ECS</code>.</p>
|
|
1434
1432
|
*/
|
|
1435
1433
|
export declare class InvalidComputePlatformException extends __BaseException {
|
|
1436
1434
|
readonly name: "InvalidComputePlatformException";
|
|
@@ -1542,8 +1540,7 @@ export declare enum ErrorCode {
|
|
|
1542
1540
|
*/
|
|
1543
1541
|
export interface ErrorInformation {
|
|
1544
1542
|
/**
|
|
1545
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/error-codes.html">Error Codes for
|
|
1546
|
-
* CodeDeploy</a> in the <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide">AWS CodeDeploy User Guide</a>.</p>
|
|
1543
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/error-codes.html">Error Codes for CodeDeploy</a> in the <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide">CodeDeploy User Guide</a>.</p>
|
|
1547
1544
|
* <p>The error code:</p>
|
|
1548
1545
|
* <ul>
|
|
1549
1546
|
* <li>
|
|
@@ -1568,15 +1565,14 @@ export interface ErrorInformation {
|
|
|
1568
1565
|
* <p>IAM_ROLE_MISSING: The service role cannot be accessed.</p>
|
|
1569
1566
|
* </li>
|
|
1570
1567
|
* <li>
|
|
1571
|
-
* <p>IAM_ROLE_PERMISSIONS: The service role does not have the
|
|
1572
|
-
* permissions.</p>
|
|
1568
|
+
* <p>IAM_ROLE_PERMISSIONS: The service role does not have the
|
|
1569
|
+
* correct permissions.</p>
|
|
1573
1570
|
* </li>
|
|
1574
1571
|
* <li>
|
|
1575
1572
|
* <p>INTERNAL_ERROR: There was an internal error.</p>
|
|
1576
1573
|
* </li>
|
|
1577
1574
|
* <li>
|
|
1578
|
-
* <p>NO_EC2_SUBSCRIPTION: The calling account is not subscribed to Amazon
|
|
1579
|
-
* EC2.</p>
|
|
1575
|
+
* <p>NO_EC2_SUBSCRIPTION: The calling account is not subscribed to Amazon EC2.</p>
|
|
1580
1576
|
* </li>
|
|
1581
1577
|
* <li>
|
|
1582
1578
|
* <p>NO_INSTANCES: No instances were specified, or no instances can be
|
|
@@ -1587,7 +1583,7 @@ export interface ErrorInformation {
|
|
|
1587
1583
|
* </li>
|
|
1588
1584
|
* <li>
|
|
1589
1585
|
* <p>THROTTLED: The operation was throttled because the calling account exceeded
|
|
1590
|
-
* the throttling limits of one or more
|
|
1586
|
+
* the throttling limits of one or more Amazon Web Services services.</p>
|
|
1591
1587
|
* </li>
|
|
1592
1588
|
* <li>
|
|
1593
1589
|
* <p>TIMEOUT: The deployment has timed out.</p>
|
|
@@ -1655,14 +1651,15 @@ export interface TargetInstances {
|
|
|
1655
1651
|
*/
|
|
1656
1652
|
tagFilters?: EC2TagFilter[];
|
|
1657
1653
|
/**
|
|
1658
|
-
* <p>The names of one or more Auto Scaling groups to identify a replacement
|
|
1659
|
-
* a blue/green deployment.</p>
|
|
1654
|
+
* <p>The names of one or more Auto Scaling groups to identify a replacement
|
|
1655
|
+
* environment for a blue/green deployment.</p>
|
|
1660
1656
|
*/
|
|
1661
1657
|
autoScalingGroups?: string[];
|
|
1662
1658
|
/**
|
|
1663
|
-
* <p>Information about the groups of EC2 instance tags that an instance must
|
|
1664
|
-
* by in order for it to be included in the replacement environment for a
|
|
1665
|
-
* deployment. Cannot be used in the same call as
|
|
1659
|
+
* <p>Information about the groups of Amazon EC2 instance tags that an instance must
|
|
1660
|
+
* be identified by in order for it to be included in the replacement environment for a
|
|
1661
|
+
* blue/green deployment. Cannot be used in the same call as
|
|
1662
|
+
* <code>tagFilters</code>.</p>
|
|
1666
1663
|
*/
|
|
1667
1664
|
ec2TagSet?: EC2TagSet;
|
|
1668
1665
|
}
|
|
@@ -1737,8 +1734,7 @@ export interface DeploymentInfo {
|
|
|
1737
1734
|
* </li>
|
|
1738
1735
|
* <li>
|
|
1739
1736
|
* <p>
|
|
1740
|
-
* <code>autoscaling</code>: Amazon EC2 Auto Scaling created the
|
|
1741
|
-
* deployment.</p>
|
|
1737
|
+
* <code>autoscaling</code>: Amazon EC2 Auto Scaling created the deployment.</p>
|
|
1742
1738
|
* </li>
|
|
1743
1739
|
* <li>
|
|
1744
1740
|
* <p>
|
|
@@ -1748,7 +1744,7 @@ export interface DeploymentInfo {
|
|
|
1748
1744
|
* <li>
|
|
1749
1745
|
* <p>
|
|
1750
1746
|
* <code>CodeDeployAutoUpdate</code>: An auto-update process created the
|
|
1751
|
-
* deployment when it detected outdated EC2 instances.</p>
|
|
1747
|
+
* deployment when it detected outdated Amazon EC2 instances.</p>
|
|
1752
1748
|
* </li>
|
|
1753
1749
|
* </ul>
|
|
1754
1750
|
*/
|
|
@@ -1767,7 +1763,7 @@ export interface DeploymentInfo {
|
|
|
1767
1763
|
* deployment and the number of healthy hosts is not less than the minimum number of
|
|
1768
1764
|
* healthy hosts, then a deployment to the next instance is attempted. </p>
|
|
1769
1765
|
*
|
|
1770
|
-
* <p> During a deployment, the
|
|
1766
|
+
* <p> During a deployment, the CodeDeploy agent runs the scripts specified for
|
|
1771
1767
|
* <code>ApplicationStop</code>, <code>BeforeBlockTraffic</code>, and
|
|
1772
1768
|
* <code>AfterBlockTraffic</code> in the AppSpec file from the previous successful
|
|
1773
1769
|
* deployment. (All other scripts are run from the AppSpec file in the current deployment.)
|
|
@@ -1827,8 +1823,9 @@ export interface DeploymentInfo {
|
|
|
1827
1823
|
*/
|
|
1828
1824
|
additionalDeploymentStatusInfo?: string;
|
|
1829
1825
|
/**
|
|
1830
|
-
* <p>Information about how
|
|
1831
|
-
* target location but weren't part of the previous successful
|
|
1826
|
+
* <p>Information about how CodeDeploy handles files that already exist in a
|
|
1827
|
+
* deployment target location but weren't part of the previous successful
|
|
1828
|
+
* deployment.</p>
|
|
1832
1829
|
* <ul>
|
|
1833
1830
|
* <li>
|
|
1834
1831
|
* <p>
|
|
@@ -1858,14 +1855,18 @@ export interface DeploymentInfo {
|
|
|
1858
1855
|
*/
|
|
1859
1856
|
computePlatform?: ComputePlatform | string;
|
|
1860
1857
|
/**
|
|
1861
|
-
* <p>The unique ID for an external resource (for example, a CloudFormation stack
|
|
1862
|
-
* is linked to this deployment.</p>
|
|
1858
|
+
* <p>The unique ID for an external resource (for example, a CloudFormation stack
|
|
1859
|
+
* ID) that is linked to this deployment.</p>
|
|
1863
1860
|
*/
|
|
1864
1861
|
externalId?: string;
|
|
1865
1862
|
/**
|
|
1866
1863
|
* <p>Information about deployments related to the specified deployment.</p>
|
|
1867
1864
|
*/
|
|
1868
1865
|
relatedDeployments?: RelatedDeployments;
|
|
1866
|
+
/**
|
|
1867
|
+
* <p>Information about alarms associated with a deployment or deployment group.</p>
|
|
1868
|
+
*/
|
|
1869
|
+
overrideAlarmConfiguration?: AlarmConfiguration;
|
|
1869
1870
|
}
|
|
1870
1871
|
/**
|
|
1871
1872
|
* <p> Represents the output of a <code>BatchGetDeployments</code> operation. </p>
|
|
@@ -1888,24 +1889,24 @@ export interface BatchGetDeploymentTargetsInput {
|
|
|
1888
1889
|
* <ul>
|
|
1889
1890
|
* <li>
|
|
1890
1891
|
* <p> For deployments that use the EC2/On-premises compute platform, the target IDs
|
|
1891
|
-
* are EC2 or on-premises instances IDs, and their target type is
|
|
1892
|
+
* are Amazon EC2 or on-premises instances IDs, and their target type is
|
|
1892
1893
|
* <code>instanceTarget</code>. </p>
|
|
1893
1894
|
* </li>
|
|
1894
1895
|
* <li>
|
|
1895
|
-
* <p> For deployments that use the
|
|
1896
|
-
* the names of Lambda functions, and their target type
|
|
1897
|
-
*
|
|
1896
|
+
* <p> For deployments that use the Lambda compute platform, the
|
|
1897
|
+
* target IDs are the names of Lambda functions, and their target type
|
|
1898
|
+
* is <code>instanceTarget</code>. </p>
|
|
1898
1899
|
* </li>
|
|
1899
1900
|
* <li>
|
|
1900
|
-
* <p> For deployments that use the Amazon ECS compute platform, the target
|
|
1901
|
-
* pairs of Amazon ECS clusters and services specified using the
|
|
1902
|
-
*
|
|
1903
|
-
*
|
|
1901
|
+
* <p> For deployments that use the Amazon ECS compute platform, the target
|
|
1902
|
+
* IDs are pairs of Amazon ECS clusters and services specified using the
|
|
1903
|
+
* format <code><clustername>:<servicename></code>. Their target type
|
|
1904
|
+
* is <code>ecsTarget</code>. </p>
|
|
1904
1905
|
* </li>
|
|
1905
1906
|
* <li>
|
|
1906
|
-
* <p> For deployments that are deployed with
|
|
1907
|
-
*
|
|
1908
|
-
*
|
|
1907
|
+
* <p> For deployments that are deployed with CloudFormation, the target IDs are
|
|
1908
|
+
* CloudFormation stack IDs. Their target type is
|
|
1909
|
+
* <code>cloudFormationTarget</code>. </p>
|
|
1909
1910
|
* </li>
|
|
1910
1911
|
* </ul>
|
|
1911
1912
|
*/
|
|
@@ -1921,13 +1922,12 @@ export declare enum TargetStatus {
|
|
|
1921
1922
|
UNKNOWN = "Unknown"
|
|
1922
1923
|
}
|
|
1923
1924
|
/**
|
|
1924
|
-
* <p> Information about the target to be updated by an
|
|
1925
|
-
* deployment. This target type is used for all deployments initiated by a CloudFormation
|
|
1926
|
-
* stack update.</p>
|
|
1925
|
+
* <p> Information about the target to be updated by an CloudFormation blue/green
|
|
1926
|
+
* deployment. This target type is used for all deployments initiated by a CloudFormation stack update.</p>
|
|
1927
1927
|
*/
|
|
1928
1928
|
export interface CloudFormationTarget {
|
|
1929
1929
|
/**
|
|
1930
|
-
* <p>The unique ID of an
|
|
1930
|
+
* <p>The unique ID of an CloudFormation blue/green deployment.</p>
|
|
1931
1931
|
*/
|
|
1932
1932
|
deploymentId?: string;
|
|
1933
1933
|
/**
|
|
@@ -1936,26 +1936,26 @@ export interface CloudFormationTarget {
|
|
|
1936
1936
|
*/
|
|
1937
1937
|
targetId?: string;
|
|
1938
1938
|
/**
|
|
1939
|
-
* <p> The date and time when the target application was updated by an
|
|
1939
|
+
* <p> The date and time when the target application was updated by an CloudFormation
|
|
1940
1940
|
* blue/green deployment. </p>
|
|
1941
1941
|
*/
|
|
1942
1942
|
lastUpdatedAt?: Date;
|
|
1943
1943
|
/**
|
|
1944
|
-
* <p> The lifecycle events of the
|
|
1944
|
+
* <p> The lifecycle events of the CloudFormation blue/green deployment to this target
|
|
1945
1945
|
* application. </p>
|
|
1946
1946
|
*/
|
|
1947
1947
|
lifecycleEvents?: LifecycleEvent[];
|
|
1948
1948
|
/**
|
|
1949
|
-
* <p> The status of an
|
|
1949
|
+
* <p> The status of an CloudFormation blue/green deployment's target application.
|
|
1950
1950
|
* </p>
|
|
1951
1951
|
*/
|
|
1952
1952
|
status?: TargetStatus | string;
|
|
1953
1953
|
/**
|
|
1954
|
-
* <p>The resource type for the
|
|
1954
|
+
* <p>The resource type for the CloudFormation blue/green deployment.</p>
|
|
1955
1955
|
*/
|
|
1956
1956
|
resourceType?: string;
|
|
1957
1957
|
/**
|
|
1958
|
-
* <p>The percentage of production traffic that the target version of an
|
|
1958
|
+
* <p>The percentage of production traffic that the target version of an CloudFormation
|
|
1959
1959
|
* blue/green deployment receives.</p>
|
|
1960
1960
|
*/
|
|
1961
1961
|
targetVersionWeight?: number;
|
|
@@ -1971,11 +1971,12 @@ export declare enum TargetLabel {
|
|
|
1971
1971
|
GREEN = "Green"
|
|
1972
1972
|
}
|
|
1973
1973
|
/**
|
|
1974
|
-
* <p> Information about a set of Amazon ECS tasks in an
|
|
1975
|
-
* Amazon ECS task set includes details such as the desired number
|
|
1976
|
-
* are running, and whether the task set serves production
|
|
1977
|
-
* application that uses the Amazon ECS compute
|
|
1978
|
-
* application in an Amazon ECS service as a task
|
|
1974
|
+
* <p> Information about a set of Amazon ECS tasks in an CodeDeploy
|
|
1975
|
+
* deployment. An Amazon ECS task set includes details such as the desired number
|
|
1976
|
+
* of tasks, how many tasks are running, and whether the task set serves production
|
|
1977
|
+
* traffic. An CodeDeploy application that uses the Amazon ECS compute
|
|
1978
|
+
* platform deploys a containerized application in an Amazon ECS service as a task
|
|
1979
|
+
* set. </p>
|
|
1979
1980
|
*/
|
|
1980
1981
|
export interface ECSTaskSet {
|
|
1981
1982
|
/**
|
|
@@ -1983,24 +1984,23 @@ export interface ECSTaskSet {
|
|
|
1983
1984
|
*/
|
|
1984
1985
|
identifer?: string;
|
|
1985
1986
|
/**
|
|
1986
|
-
* <p> The number of tasks in a task set. During a deployment that uses the Amazon ECS
|
|
1987
|
-
*
|
|
1988
|
-
*
|
|
1989
|
-
* CodeDeploy shifts traffic to the new task set. </p>
|
|
1987
|
+
* <p> The number of tasks in a task set. During a deployment that uses the Amazon ECS compute type, CodeDeploy instructs Amazon ECS to create a new task set and
|
|
1988
|
+
* uses this value to determine how many tasks to create. After the updated task set is
|
|
1989
|
+
* created, CodeDeploy shifts traffic to the new task set. </p>
|
|
1990
1990
|
*/
|
|
1991
1991
|
desiredCount?: number;
|
|
1992
1992
|
/**
|
|
1993
1993
|
* <p> The number of tasks in the task set that are in the <code>PENDING</code> status
|
|
1994
|
-
* during an Amazon ECS deployment. A task in the <code>PENDING</code> state is
|
|
1995
|
-
* to enter the <code>RUNNING</code> state. A task set enters the
|
|
1996
|
-
*
|
|
1997
|
-
*
|
|
1994
|
+
* during an Amazon ECS deployment. A task in the <code>PENDING</code> state is
|
|
1995
|
+
* preparing to enter the <code>RUNNING</code> state. A task set enters the
|
|
1996
|
+
* <code>PENDING</code> status when it launches for the first time, or when it is
|
|
1997
|
+
* restarted after being in the <code>STOPPED</code> state. </p>
|
|
1998
1998
|
*/
|
|
1999
1999
|
pendingCount?: number;
|
|
2000
2000
|
/**
|
|
2001
2001
|
* <p> The number of tasks in the task set that are in the <code>RUNNING</code> status
|
|
2002
|
-
* during an Amazon ECS deployment. A task in the <code>RUNNING</code> state is
|
|
2003
|
-
* ready for use. </p>
|
|
2002
|
+
* during an Amazon ECS deployment. A task in the <code>RUNNING</code> state is
|
|
2003
|
+
* running and ready for use. </p>
|
|
2004
2004
|
*/
|
|
2005
2005
|
runningCount?: number;
|
|
2006
2006
|
/**
|
|
@@ -2030,8 +2030,7 @@ export interface ECSTaskSet {
|
|
|
2030
2030
|
*/
|
|
2031
2031
|
trafficWeight?: number;
|
|
2032
2032
|
/**
|
|
2033
|
-
* <p> The target group associated with the task set. The target group is used by
|
|
2034
|
-
* CodeDeploy to manage traffic to a task set. </p>
|
|
2033
|
+
* <p> The target group associated with the task set. The target group is used by CodeDeploy to manage traffic to a task set. </p>
|
|
2035
2034
|
*/
|
|
2036
2035
|
targetGroup?: TargetGroupInfo;
|
|
2037
2036
|
/**
|
|
@@ -2058,12 +2057,13 @@ export interface ECSTarget {
|
|
|
2058
2057
|
*/
|
|
2059
2058
|
targetArn?: string;
|
|
2060
2059
|
/**
|
|
2061
|
-
* <p> The date and time when the target Amazon ECS application was updated by a
|
|
2062
|
-
*
|
|
2060
|
+
* <p> The date and time when the target Amazon ECS application was updated by a
|
|
2061
|
+
* deployment. </p>
|
|
2063
2062
|
*/
|
|
2064
2063
|
lastUpdatedAt?: Date;
|
|
2065
2064
|
/**
|
|
2066
|
-
* <p> The lifecycle events of the deployment to this target Amazon ECS application.
|
|
2065
|
+
* <p> The lifecycle events of the deployment to this target Amazon ECS application.
|
|
2066
|
+
* </p>
|
|
2067
2067
|
*/
|
|
2068
2068
|
lifecycleEvents?: LifecycleEvent[];
|
|
2069
2069
|
/**
|
|
@@ -2120,28 +2120,28 @@ export interface LambdaFunctionInfo {
|
|
|
2120
2120
|
*/
|
|
2121
2121
|
functionName?: string;
|
|
2122
2122
|
/**
|
|
2123
|
-
* <p> The alias of a Lambda function. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/aliases-intro.html">
|
|
2124
|
-
*
|
|
2123
|
+
* <p> The alias of a Lambda function. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/aliases-intro.html">Lambda Function Aliases</a> in the <i>Lambda Developer
|
|
2124
|
+
* Guide</i>.</p>
|
|
2125
2125
|
*/
|
|
2126
2126
|
functionAlias?: string;
|
|
2127
2127
|
/**
|
|
2128
|
-
* <p> The version of a Lambda function that production traffic points to.
|
|
2128
|
+
* <p> The version of a Lambda function that production traffic points to.
|
|
2129
|
+
* </p>
|
|
2129
2130
|
*/
|
|
2130
2131
|
currentVersion?: string;
|
|
2131
2132
|
/**
|
|
2132
|
-
* <p> The version of a Lambda function that production traffic points to after
|
|
2133
|
-
* function is deployed. </p>
|
|
2133
|
+
* <p> The version of a Lambda function that production traffic points to after
|
|
2134
|
+
* the Lambda function is deployed. </p>
|
|
2134
2135
|
*/
|
|
2135
2136
|
targetVersion?: string;
|
|
2136
2137
|
/**
|
|
2137
|
-
* <p> The percentage of production traffic that the target version of a Lambda
|
|
2138
|
-
* receives. </p>
|
|
2138
|
+
* <p> The percentage of production traffic that the target version of a Lambda
|
|
2139
|
+
* function receives. </p>
|
|
2139
2140
|
*/
|
|
2140
2141
|
targetVersionWeight?: number;
|
|
2141
2142
|
}
|
|
2142
2143
|
/**
|
|
2143
|
-
* <p> Information about the target
|
|
2144
|
-
* </p>
|
|
2144
|
+
* <p> Information about the target Lambda function during an Lambda deployment. </p>
|
|
2145
2145
|
*/
|
|
2146
2146
|
export interface LambdaTarget {
|
|
2147
2147
|
/**
|
|
@@ -2158,21 +2158,23 @@ export interface LambdaTarget {
|
|
|
2158
2158
|
*/
|
|
2159
2159
|
targetArn?: string;
|
|
2160
2160
|
/**
|
|
2161
|
-
* <p> The status an
|
|
2161
|
+
* <p> The status an Lambda deployment's target Lambda function.
|
|
2162
|
+
* </p>
|
|
2162
2163
|
*/
|
|
2163
2164
|
status?: TargetStatus | string;
|
|
2164
2165
|
/**
|
|
2165
|
-
* <p> The date and time when the target Lambda function was updated by a
|
|
2166
|
-
*
|
|
2166
|
+
* <p> The date and time when the target Lambda function was updated by a
|
|
2167
|
+
* deployment. </p>
|
|
2167
2168
|
*/
|
|
2168
2169
|
lastUpdatedAt?: Date;
|
|
2169
2170
|
/**
|
|
2170
|
-
* <p> The lifecycle events of the deployment to this target Lambda function.
|
|
2171
|
+
* <p> The lifecycle events of the deployment to this target Lambda function.
|
|
2172
|
+
* </p>
|
|
2171
2173
|
*/
|
|
2172
2174
|
lifecycleEvents?: LifecycleEvent[];
|
|
2173
2175
|
/**
|
|
2174
|
-
* <p> A <code>LambdaFunctionInfo</code> object that describes a target Lambda
|
|
2175
|
-
*
|
|
2176
|
+
* <p> A <code>LambdaFunctionInfo</code> object that describes a target Lambda
|
|
2177
|
+
* function. </p>
|
|
2176
2178
|
*/
|
|
2177
2179
|
lambdaFunctionInfo?: LambdaFunctionInfo;
|
|
2178
2180
|
}
|
|
@@ -2191,19 +2193,18 @@ export interface DeploymentTarget {
|
|
|
2191
2193
|
*/
|
|
2192
2194
|
instanceTarget?: InstanceTarget;
|
|
2193
2195
|
/**
|
|
2194
|
-
* <p> Information about the target for a deployment that uses the
|
|
2195
|
-
* platform. </p>
|
|
2196
|
+
* <p> Information about the target for a deployment that uses the Lambda
|
|
2197
|
+
* compute platform. </p>
|
|
2196
2198
|
*/
|
|
2197
2199
|
lambdaTarget?: LambdaTarget;
|
|
2198
2200
|
/**
|
|
2199
|
-
* <p> Information about the target for a deployment that uses the Amazon ECS
|
|
2200
|
-
* platform. </p>
|
|
2201
|
+
* <p> Information about the target for a deployment that uses the Amazon ECS
|
|
2202
|
+
* compute platform. </p>
|
|
2201
2203
|
*/
|
|
2202
2204
|
ecsTarget?: ECSTarget;
|
|
2203
2205
|
/**
|
|
2204
|
-
* <p> Information about the target to be updated by an
|
|
2205
|
-
* deployment. This target type is used for all deployments initiated by a CloudFormation
|
|
2206
|
-
* stack update.</p>
|
|
2206
|
+
* <p> Information about the target to be updated by an CloudFormation blue/green
|
|
2207
|
+
* deployment. This target type is used for all deployments initiated by a CloudFormation stack update.</p>
|
|
2207
2208
|
*/
|
|
2208
2209
|
cloudFormationTarget?: CloudFormationTarget;
|
|
2209
2210
|
}
|
|
@@ -2215,23 +2216,23 @@ export interface BatchGetDeploymentTargetsOutput {
|
|
|
2215
2216
|
* <ul>
|
|
2216
2217
|
* <li>
|
|
2217
2218
|
* <p>
|
|
2218
|
-
* <b>EC2/On-premises</b>: Each target object is an
|
|
2219
|
-
*
|
|
2219
|
+
* <b>EC2/On-premises</b>: Each target object is an
|
|
2220
|
+
* Amazon EC2 or on-premises instance. </p>
|
|
2220
2221
|
* </li>
|
|
2221
2222
|
* <li>
|
|
2222
2223
|
* <p>
|
|
2223
|
-
* <b>
|
|
2224
|
-
* version of an
|
|
2224
|
+
* <b>Lambda</b>: The target object is a
|
|
2225
|
+
* specific version of an Lambda function. </p>
|
|
2225
2226
|
* </li>
|
|
2226
2227
|
* <li>
|
|
2227
2228
|
* <p>
|
|
2228
|
-
* <b>Amazon ECS</b>: The target object is an
|
|
2229
|
-
*
|
|
2229
|
+
* <b>Amazon ECS</b>: The target object is an
|
|
2230
|
+
* Amazon ECS service. </p>
|
|
2230
2231
|
* </li>
|
|
2231
2232
|
* <li>
|
|
2232
2233
|
* <p>
|
|
2233
|
-
* <b>CloudFormation</b>: The target object is
|
|
2234
|
-
* CloudFormation blue/green deployment. </p>
|
|
2234
|
+
* <b>CloudFormation</b>: The target object is
|
|
2235
|
+
* an CloudFormation blue/green deployment. </p>
|
|
2235
2236
|
* </li>
|
|
2236
2237
|
* </ul>
|
|
2237
2238
|
*/
|
|
@@ -2271,9 +2272,10 @@ export declare class DeploymentTargetIdRequiredException extends __BaseException
|
|
|
2271
2272
|
constructor(opts: __ExceptionOptionType<DeploymentTargetIdRequiredException, __BaseException>);
|
|
2272
2273
|
}
|
|
2273
2274
|
/**
|
|
2274
|
-
* <p> The maximum number of targets that can be associated with an Amazon ECS or
|
|
2275
|
-
*
|
|
2276
|
-
* one item. This exception does not apply to EC2/On-premises
|
|
2275
|
+
* <p> The maximum number of targets that can be associated with an Amazon ECS or
|
|
2276
|
+
* Lambda deployment was exceeded. The target list of both types of
|
|
2277
|
+
* deployments must have exactly one item. This exception does not apply to EC2/On-premises
|
|
2278
|
+
* deployments. </p>
|
|
2277
2279
|
*/
|
|
2278
2280
|
export declare class DeploymentTargetListSizeExceededException extends __BaseException {
|
|
2279
2281
|
readonly name: "DeploymentTargetListSizeExceededException";
|
|
@@ -2449,8 +2451,7 @@ export declare class UnsupportedActionForDeploymentTypeException extends __BaseE
|
|
|
2449
2451
|
*/
|
|
2450
2452
|
export interface CreateApplicationInput {
|
|
2451
2453
|
/**
|
|
2452
|
-
* <p>The name of the application. This name must be unique with the applicable IAM
|
|
2453
|
-
* AWS account.</p>
|
|
2454
|
+
* <p>The name of the application. This name must be unique with the applicable IAM or Amazon Web Services account.</p>
|
|
2454
2455
|
*/
|
|
2455
2456
|
applicationName: string | undefined;
|
|
2456
2457
|
/**
|
|
@@ -2490,8 +2491,7 @@ export declare class InvalidTagsToAddException extends __BaseException {
|
|
|
2490
2491
|
*/
|
|
2491
2492
|
export interface CreateDeploymentInput {
|
|
2492
2493
|
/**
|
|
2493
|
-
* <p>The name of an
|
|
2494
|
-
* account.</p>
|
|
2494
|
+
* <p>The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.</p>
|
|
2495
2495
|
*/
|
|
2496
2496
|
applicationName: string | undefined;
|
|
2497
2497
|
/**
|
|
@@ -2503,8 +2503,8 @@ export interface CreateDeploymentInput {
|
|
|
2503
2503
|
*/
|
|
2504
2504
|
revision?: RevisionLocation;
|
|
2505
2505
|
/**
|
|
2506
|
-
* <p>The name of a deployment configuration associated with the IAM user or
|
|
2507
|
-
*
|
|
2506
|
+
* <p>The name of a deployment configuration associated with the IAM user or
|
|
2507
|
+
* Amazon Web Services account.</p>
|
|
2508
2508
|
* <p>If not specified, the value configured in the deployment group is used as the default.
|
|
2509
2509
|
* If the deployment group does not have a deployment configuration associated with it,
|
|
2510
2510
|
* <code>CodeDeployDefault</code>.<code>OneAtATime</code> is used by default.</p>
|
|
@@ -2528,7 +2528,7 @@ export interface CreateDeploymentInput {
|
|
|
2528
2528
|
* deployment and the number of healthy hosts is not less than the minimum number of
|
|
2529
2529
|
* healthy hosts, then a deployment to the next instance is attempted. </p>
|
|
2530
2530
|
*
|
|
2531
|
-
* <p> During a deployment, the
|
|
2531
|
+
* <p> During a deployment, the CodeDeploy agent runs the scripts specified for
|
|
2532
2532
|
* <code>ApplicationStop</code>, <code>BeforeBlockTraffic</code>, and
|
|
2533
2533
|
* <code>AfterBlockTraffic</code> in the AppSpec file from the previous successful
|
|
2534
2534
|
* deployment. (All other scripts are run from the AppSpec file in the current deployment.)
|
|
@@ -2558,8 +2558,9 @@ export interface CreateDeploymentInput {
|
|
|
2558
2558
|
*/
|
|
2559
2559
|
updateOutdatedInstancesOnly?: boolean;
|
|
2560
2560
|
/**
|
|
2561
|
-
* <p>Information about how
|
|
2562
|
-
* target location but weren't part of the previous successful
|
|
2561
|
+
* <p>Information about how CodeDeploy handles files that already exist in a
|
|
2562
|
+
* deployment target location but weren't part of the previous successful
|
|
2563
|
+
* deployment.</p>
|
|
2563
2564
|
* <p>The <code>fileExistsBehavior</code> parameter takes any of the following
|
|
2564
2565
|
* values:</p>
|
|
2565
2566
|
* <ul>
|
|
@@ -2578,6 +2579,23 @@ export interface CreateDeploymentInput {
|
|
|
2578
2579
|
* </ul>
|
|
2579
2580
|
*/
|
|
2580
2581
|
fileExistsBehavior?: FileExistsBehavior | string;
|
|
2582
|
+
/**
|
|
2583
|
+
* <p>Allows you to specify information about alarms associated with a deployment. The alarm
|
|
2584
|
+
* configuration that you specify here will override the alarm configuration at the
|
|
2585
|
+
* deployment group level. Consider overriding the alarm configuration if you have set up
|
|
2586
|
+
* alarms at the deployment group level that are causing deployment failures. In this case,
|
|
2587
|
+
* you would call <code>CreateDeployment</code> to create a new deployment that uses a
|
|
2588
|
+
* previous application revision that is known to work, and set its alarm configuration to
|
|
2589
|
+
* turn off alarm polling. Turning off alarm polling ensures that the new deployment
|
|
2590
|
+
* proceeds without being blocked by the alarm that was generated by the previous, failed,
|
|
2591
|
+
* deployment.</p>
|
|
2592
|
+
* <note>
|
|
2593
|
+
* <p>If you specify an <code>overrideAlarmConfiguration</code>, you need the
|
|
2594
|
+
* <code>UpdateDeploymentGroup</code> IAM permission when calling
|
|
2595
|
+
* <code>CreateDeployment</code>.</p>
|
|
2596
|
+
* </note>
|
|
2597
|
+
*/
|
|
2598
|
+
overrideAlarmConfiguration?: AlarmConfiguration;
|
|
2581
2599
|
}
|
|
2582
2600
|
/**
|
|
2583
2601
|
* <p> Represents the output of a <code>CreateDeployment</code> operation. </p>
|
|
@@ -2589,7 +2607,7 @@ export interface CreateDeploymentOutput {
|
|
|
2589
2607
|
deploymentId?: string;
|
|
2590
2608
|
}
|
|
2591
2609
|
/**
|
|
2592
|
-
* <p>The named deployment group with the IAM user or
|
|
2610
|
+
* <p>The named deployment group with the IAM user or Amazon Web Services account does not exist.</p>
|
|
2593
2611
|
*/
|
|
2594
2612
|
export declare class DeploymentGroupDoesNotExistException extends __BaseException {
|
|
2595
2613
|
readonly name: "DeploymentGroupDoesNotExistException";
|
|
@@ -2621,6 +2639,34 @@ export declare class DescriptionTooLongException extends __BaseException {
|
|
|
2621
2639
|
*/
|
|
2622
2640
|
constructor(opts: __ExceptionOptionType<DescriptionTooLongException, __BaseException>);
|
|
2623
2641
|
}
|
|
2642
|
+
/**
|
|
2643
|
+
* <p>The format of the alarm configuration is invalid. Possible causes include:</p>
|
|
2644
|
+
* <ul>
|
|
2645
|
+
* <li>
|
|
2646
|
+
* <p>The alarm list is null.</p>
|
|
2647
|
+
* </li>
|
|
2648
|
+
* <li>
|
|
2649
|
+
* <p>The alarm object is null.</p>
|
|
2650
|
+
* </li>
|
|
2651
|
+
* <li>
|
|
2652
|
+
* <p>The alarm name is empty or null or exceeds the limit of 255 characters.</p>
|
|
2653
|
+
* </li>
|
|
2654
|
+
* <li>
|
|
2655
|
+
* <p>Two alarms with the same name have been specified.</p>
|
|
2656
|
+
* </li>
|
|
2657
|
+
* <li>
|
|
2658
|
+
* <p>The alarm configuration is enabled, but the alarm list is empty.</p>
|
|
2659
|
+
* </li>
|
|
2660
|
+
* </ul>
|
|
2661
|
+
*/
|
|
2662
|
+
export declare class InvalidAlarmConfigException extends __BaseException {
|
|
2663
|
+
readonly name: "InvalidAlarmConfigException";
|
|
2664
|
+
readonly $fault: "client";
|
|
2665
|
+
/**
|
|
2666
|
+
* @internal
|
|
2667
|
+
*/
|
|
2668
|
+
constructor(opts: __ExceptionOptionType<InvalidAlarmConfigException, __BaseException>);
|
|
2669
|
+
}
|
|
2624
2670
|
/**
|
|
2625
2671
|
* <p>The automatic rollback configuration was specified in an invalid format. For example,
|
|
2626
2672
|
* automatic rollback is enabled, but an invalid triggering event type or no event types
|
|
@@ -2635,7 +2681,8 @@ export declare class InvalidAutoRollbackConfigException extends __BaseException
|
|
|
2635
2681
|
constructor(opts: __ExceptionOptionType<InvalidAutoRollbackConfigException, __BaseException>);
|
|
2636
2682
|
}
|
|
2637
2683
|
/**
|
|
2638
|
-
* <p>The Auto Scaling group was specified in an invalid format or does not
|
|
2684
|
+
* <p>The Auto Scaling group was specified in an invalid format or does not
|
|
2685
|
+
* exist.</p>
|
|
2639
2686
|
*/
|
|
2640
2687
|
export declare class InvalidAutoScalingGroupException extends __BaseException {
|
|
2641
2688
|
readonly name: "InvalidAutoScalingGroupException";
|
|
@@ -2657,10 +2704,9 @@ export declare class InvalidDeploymentConfigNameException extends __BaseExceptio
|
|
|
2657
2704
|
constructor(opts: __ExceptionOptionType<InvalidDeploymentConfigNameException, __BaseException>);
|
|
2658
2705
|
}
|
|
2659
2706
|
/**
|
|
2660
|
-
* <p>An invalid fileExistsBehavior option was specified to determine how
|
|
2661
|
-
*
|
|
2662
|
-
*
|
|
2663
|
-
* "OVERWRITE," and "RETAIN."</p>
|
|
2707
|
+
* <p>An invalid fileExistsBehavior option was specified to determine how CodeDeploy handles files or directories that already exist in a deployment
|
|
2708
|
+
* target location, but weren't part of the previous successful deployment. Valid values
|
|
2709
|
+
* include "DISALLOW," "OVERWRITE," and "RETAIN."</p>
|
|
2664
2710
|
*/
|
|
2665
2711
|
export declare class InvalidFileExistsBehaviorException extends __BaseException {
|
|
2666
2712
|
readonly name: "InvalidFileExistsBehaviorException";
|
|
@@ -2682,9 +2728,9 @@ export declare class InvalidGitHubAccountTokenException extends __BaseException
|
|
|
2682
2728
|
constructor(opts: __ExceptionOptionType<InvalidGitHubAccountTokenException, __BaseException>);
|
|
2683
2729
|
}
|
|
2684
2730
|
/**
|
|
2685
|
-
* <p>The IgnoreApplicationStopFailures value is invalid. For
|
|
2686
|
-
*
|
|
2687
|
-
*
|
|
2731
|
+
* <p>The IgnoreApplicationStopFailures value is invalid. For Lambda
|
|
2732
|
+
* deployments, <code>false</code> is expected. For EC2/On-premises deployments,
|
|
2733
|
+
* <code>true</code> or <code>false</code> is expected.</p>
|
|
2688
2734
|
*/
|
|
2689
2735
|
export declare class InvalidIgnoreApplicationStopFailuresValueException extends __BaseException {
|
|
2690
2736
|
readonly name: "InvalidIgnoreApplicationStopFailuresValueException";
|
|
@@ -2706,9 +2752,9 @@ export declare class InvalidLoadBalancerInfoException extends __BaseException {
|
|
|
2706
2752
|
constructor(opts: __ExceptionOptionType<InvalidLoadBalancerInfoException, __BaseException>);
|
|
2707
2753
|
}
|
|
2708
2754
|
/**
|
|
2709
|
-
* <p>The service role ARN was specified in an invalid format. Or, if an Auto Scaling
|
|
2710
|
-
* was specified, the specified service role does not grant the appropriate
|
|
2711
|
-
* Amazon EC2 Auto Scaling.</p>
|
|
2755
|
+
* <p>The service role ARN was specified in an invalid format. Or, if an Auto Scaling
|
|
2756
|
+
* group was specified, the specified service role does not grant the appropriate
|
|
2757
|
+
* permissions to Amazon EC2 Auto Scaling.</p>
|
|
2712
2758
|
*/
|
|
2713
2759
|
export declare class InvalidRoleException extends __BaseException {
|
|
2714
2760
|
readonly name: "InvalidRoleException";
|
|
@@ -2757,9 +2803,9 @@ export declare class InvalidTrafficRoutingConfigurationException extends __BaseE
|
|
|
2757
2803
|
constructor(opts: __ExceptionOptionType<InvalidTrafficRoutingConfigurationException, __BaseException>);
|
|
2758
2804
|
}
|
|
2759
2805
|
/**
|
|
2760
|
-
* <p>The UpdateOutdatedInstancesOnly value is invalid. For
|
|
2761
|
-
*
|
|
2762
|
-
*
|
|
2806
|
+
* <p>The UpdateOutdatedInstancesOnly value is invalid. For Lambda
|
|
2807
|
+
* deployments, <code>false</code> is expected. For EC2/On-premises deployments,
|
|
2808
|
+
* <code>true</code> or <code>false</code> is expected.</p>
|
|
2763
2809
|
*/
|
|
2764
2810
|
export declare class InvalidUpdateOutdatedInstancesOnlyValueException extends __BaseException {
|
|
2765
2811
|
readonly name: "InvalidUpdateOutdatedInstancesOnlyValueException";
|
|
@@ -2770,7 +2816,7 @@ export declare class InvalidUpdateOutdatedInstancesOnlyValueException extends __
|
|
|
2770
2816
|
constructor(opts: __ExceptionOptionType<InvalidUpdateOutdatedInstancesOnlyValueException, __BaseException>);
|
|
2771
2817
|
}
|
|
2772
2818
|
/**
|
|
2773
|
-
* <p>The named revision does not exist with the IAM user or
|
|
2819
|
+
* <p>The named revision does not exist with the IAM user or Amazon Web Services account.</p>
|
|
2774
2820
|
*/
|
|
2775
2821
|
export declare class RevisionDoesNotExistException extends __BaseException {
|
|
2776
2822
|
readonly name: "RevisionDoesNotExistException";
|
|
@@ -2791,7 +2837,10 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
2791
2837
|
*/
|
|
2792
2838
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
2793
2839
|
}
|
|
2794
|
-
export declare
|
|
2840
|
+
export declare enum MinimumHealthyHostsType {
|
|
2841
|
+
FLEET_PERCENT = "FLEET_PERCENT",
|
|
2842
|
+
HOST_COUNT = "HOST_COUNT"
|
|
2843
|
+
}
|
|
2795
2844
|
/**
|
|
2796
2845
|
* <p>Information about minimum healthy instance.</p>
|
|
2797
2846
|
*/
|
|
@@ -2821,14 +2870,15 @@ export interface MinimumHealthyHosts {
|
|
|
2821
2870
|
* returns a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This
|
|
2822
2871
|
* means a deployment to only one instance at a time. (You cannot set the type to
|
|
2823
2872
|
* MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with
|
|
2824
|
-
* CodeDeployDefault.OneAtATime,
|
|
2825
|
-
* but one are kept in a healthy state during the deployment. Although this
|
|
2826
|
-
* instance at a time to be taken offline for a new deployment, it also
|
|
2827
|
-
* the deployment to the last instance fails, the overall deployment is
|
|
2828
|
-
* successful.</p>
|
|
2873
|
+
* CodeDeployDefault.OneAtATime, CodeDeploy attempts to ensure that all
|
|
2874
|
+
* instances but one are kept in a healthy state during the deployment. Although this
|
|
2875
|
+
* allows one instance at a time to be taken offline for a new deployment, it also
|
|
2876
|
+
* means that if the deployment to the last instance fails, the overall deployment is
|
|
2877
|
+
* still successful.</p>
|
|
2829
2878
|
* </note>
|
|
2830
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/instances-health.html">
|
|
2831
|
-
* Health</a> in the <i>
|
|
2879
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/instances-health.html">CodeDeploy
|
|
2880
|
+
* Instance Health</a> in the <i>CodeDeploy User
|
|
2881
|
+
* Guide</i>.</p>
|
|
2832
2882
|
*/
|
|
2833
2883
|
type?: MinimumHealthyHostsType | string;
|
|
2834
2884
|
/**
|
|
@@ -2837,9 +2887,10 @@ export interface MinimumHealthyHosts {
|
|
|
2837
2887
|
value?: number;
|
|
2838
2888
|
}
|
|
2839
2889
|
/**
|
|
2840
|
-
* <p>A configuration that shifts traffic from one version of a Lambda function
|
|
2841
|
-
* set to another in two increments. The original and target
|
|
2842
|
-
*
|
|
2890
|
+
* <p>A configuration that shifts traffic from one version of a Lambda function
|
|
2891
|
+
* or Amazon ECS task set to another in two increments. The original and target
|
|
2892
|
+
* Lambda function versions or ECS task sets are specified in the
|
|
2893
|
+
* deployment's AppSpec file.</p>
|
|
2843
2894
|
*/
|
|
2844
2895
|
export interface TimeBasedCanary {
|
|
2845
2896
|
/**
|
|
@@ -2854,10 +2905,10 @@ export interface TimeBasedCanary {
|
|
|
2854
2905
|
canaryInterval?: number;
|
|
2855
2906
|
}
|
|
2856
2907
|
/**
|
|
2857
|
-
* <p>A configuration that shifts traffic from one version of a Lambda function
|
|
2858
|
-
* set to another in equal increments, with an equal number of minutes between
|
|
2859
|
-
* increment. The original and target Lambda function versions or ECS task
|
|
2860
|
-
* specified in the deployment's AppSpec file.</p>
|
|
2908
|
+
* <p>A configuration that shifts traffic from one version of a Lambda function
|
|
2909
|
+
* or ECS task set to another in equal increments, with an equal number of minutes between
|
|
2910
|
+
* each increment. The original and target Lambda function versions or ECS task
|
|
2911
|
+
* sets are specified in the deployment's AppSpec file.</p>
|
|
2861
2912
|
*/
|
|
2862
2913
|
export interface TimeBasedLinear {
|
|
2863
2914
|
/**
|
|
@@ -2877,9 +2928,9 @@ export declare enum TrafficRoutingType {
|
|
|
2877
2928
|
TimeBasedLinear = "TimeBasedLinear"
|
|
2878
2929
|
}
|
|
2879
2930
|
/**
|
|
2880
|
-
* <p>The configuration that specifies how traffic is shifted from one version of a Lambda
|
|
2881
|
-
*
|
|
2882
|
-
*
|
|
2931
|
+
* <p>The configuration that specifies how traffic is shifted from one version of a Lambda function to another version during an Lambda deployment,
|
|
2932
|
+
* or from one Amazon ECS task set to another during an Amazon ECS
|
|
2933
|
+
* deployment.</p>
|
|
2883
2934
|
*/
|
|
2884
2935
|
export interface TrafficRoutingConfig {
|
|
2885
2936
|
/**
|
|
@@ -2888,16 +2939,18 @@ export interface TrafficRoutingConfig {
|
|
|
2888
2939
|
*/
|
|
2889
2940
|
type?: TrafficRoutingType | string;
|
|
2890
2941
|
/**
|
|
2891
|
-
* <p>A configuration that shifts traffic from one version of a Lambda function
|
|
2892
|
-
* set to another in two increments. The original and target Lambda
|
|
2893
|
-
* ECS task sets are specified in the deployment's AppSpec
|
|
2942
|
+
* <p>A configuration that shifts traffic from one version of a Lambda function
|
|
2943
|
+
* or ECS task set to another in two increments. The original and target Lambda
|
|
2944
|
+
* function versions or ECS task sets are specified in the deployment's AppSpec
|
|
2945
|
+
* file.</p>
|
|
2894
2946
|
*/
|
|
2895
2947
|
timeBasedCanary?: TimeBasedCanary;
|
|
2896
2948
|
/**
|
|
2897
|
-
* <p>A configuration that shifts traffic from one version of a Lambda function
|
|
2898
|
-
* set to another in equal increments, with an equal number of
|
|
2899
|
-
* increment. The original and target Lambda function
|
|
2900
|
-
* specified in the deployment's AppSpec
|
|
2949
|
+
* <p>A configuration that shifts traffic from one version of a Lambda function
|
|
2950
|
+
* or Amazon ECS task set to another in equal increments, with an equal number of
|
|
2951
|
+
* minutes between each increment. The original and target Lambda function
|
|
2952
|
+
* versions or Amazon ECS task sets are specified in the deployment's AppSpec
|
|
2953
|
+
* file.</p>
|
|
2901
2954
|
*/
|
|
2902
2955
|
timeBasedLinear?: TimeBasedLinear;
|
|
2903
2956
|
}
|
|
@@ -2921,8 +2974,7 @@ export interface CreateDeploymentConfigInput {
|
|
|
2921
2974
|
* <li>
|
|
2922
2975
|
* <p>FLEET_PERCENT: The value parameter represents the minimum number of healthy
|
|
2923
2976
|
* instances as a percentage of the total number of instances in the deployment. If
|
|
2924
|
-
* you specify FLEET_PERCENT, at the start of the deployment,
|
|
2925
|
-
* converts the percentage to the equivalent number of instances and rounds up
|
|
2977
|
+
* you specify FLEET_PERCENT, at the start of the deployment, CodeDeploy converts the percentage to the equivalent number of instances and rounds up
|
|
2926
2978
|
* fractional instances.</p>
|
|
2927
2979
|
* </li>
|
|
2928
2980
|
* </ul>
|
|
@@ -2951,8 +3003,8 @@ export interface CreateDeploymentConfigOutput {
|
|
|
2951
3003
|
deploymentConfigId?: string;
|
|
2952
3004
|
}
|
|
2953
3005
|
/**
|
|
2954
|
-
* <p>A deployment configuration with the specified name with the IAM user or
|
|
2955
|
-
*
|
|
3006
|
+
* <p>A deployment configuration with the specified name with the IAM user or
|
|
3007
|
+
* Amazon Web Services account already exists.</p>
|
|
2956
3008
|
*/
|
|
2957
3009
|
export declare class DeploymentConfigAlreadyExistsException extends __BaseException {
|
|
2958
3010
|
readonly name: "DeploymentConfigAlreadyExistsException";
|
|
@@ -3000,8 +3052,7 @@ export declare class InvalidMinimumHealthyHostValueException extends __BaseExcep
|
|
|
3000
3052
|
*/
|
|
3001
3053
|
export interface CreateDeploymentGroupInput {
|
|
3002
3054
|
/**
|
|
3003
|
-
* <p>The name of an
|
|
3004
|
-
* account.</p>
|
|
3055
|
+
* <p>The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.</p>
|
|
3005
3056
|
*/
|
|
3006
3057
|
applicationName: string | undefined;
|
|
3007
3058
|
/**
|
|
@@ -3010,21 +3061,19 @@ export interface CreateDeploymentGroupInput {
|
|
|
3010
3061
|
deploymentGroupName: string | undefined;
|
|
3011
3062
|
/**
|
|
3012
3063
|
* <p>If specified, the deployment configuration name can be either one of the predefined
|
|
3013
|
-
* configurations provided with
|
|
3014
|
-
* you create by calling the create deployment configuration operation.</p>
|
|
3064
|
+
* configurations provided with CodeDeploy or a custom deployment configuration
|
|
3065
|
+
* that you create by calling the create deployment configuration operation.</p>
|
|
3015
3066
|
* <p>
|
|
3016
3067
|
* <code>CodeDeployDefault.OneAtATime</code> is the default deployment configuration. It
|
|
3017
3068
|
* is used if a configuration isn't specified for the deployment or deployment
|
|
3018
3069
|
* group.</p>
|
|
3019
|
-
* <p>For more information about the predefined deployment configurations in
|
|
3020
|
-
*
|
|
3021
|
-
* Deployment Configurations in CodeDeploy</a> in the <i>AWS CodeDeploy User
|
|
3022
|
-
* Guide</i>.</p>
|
|
3070
|
+
* <p>For more information about the predefined deployment configurations in CodeDeploy, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations.html">Working with
|
|
3071
|
+
* Deployment Configurations in CodeDeploy</a> in the <i>CodeDeploy User Guide</i>.</p>
|
|
3023
3072
|
*/
|
|
3024
3073
|
deploymentConfigName?: string;
|
|
3025
3074
|
/**
|
|
3026
|
-
* <p>The Amazon EC2 tags on which to filter. The deployment group includes EC2 instances
|
|
3027
|
-
*
|
|
3075
|
+
* <p>The Amazon EC2 tags on which to filter. The deployment group includes Amazon EC2 instances with any of the specified tags. Cannot be used in the same call
|
|
3076
|
+
* as ec2TagSet.</p>
|
|
3028
3077
|
*/
|
|
3029
3078
|
ec2TagFilters?: EC2TagFilter[];
|
|
3030
3079
|
/**
|
|
@@ -3038,15 +3087,15 @@ export interface CreateDeploymentGroupInput {
|
|
|
3038
3087
|
*/
|
|
3039
3088
|
autoScalingGroups?: string[];
|
|
3040
3089
|
/**
|
|
3041
|
-
* <p>A service role Amazon Resource Name (ARN) that allows
|
|
3042
|
-
* user's behalf when interacting with
|
|
3090
|
+
* <p>A service role Amazon Resource Name (ARN) that allows CodeDeploy to act on
|
|
3091
|
+
* the user's behalf when interacting with Amazon Web Services services.</p>
|
|
3043
3092
|
*/
|
|
3044
3093
|
serviceRoleArn: string | undefined;
|
|
3045
3094
|
/**
|
|
3046
3095
|
* <p>Information about triggers to create when the deployment group is created. For
|
|
3047
3096
|
* examples, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-sns.html">Create a Trigger for an
|
|
3048
|
-
*
|
|
3049
|
-
*
|
|
3097
|
+
* CodeDeploy Event</a> in the <i>CodeDeploy
|
|
3098
|
+
* User Guide</i>.</p>
|
|
3050
3099
|
*/
|
|
3051
3100
|
triggerConfigurations?: TriggerConfig[];
|
|
3052
3101
|
/**
|
|
@@ -3060,14 +3109,14 @@ export interface CreateDeploymentGroupInput {
|
|
|
3060
3109
|
*/
|
|
3061
3110
|
autoRollbackConfiguration?: AutoRollbackConfiguration;
|
|
3062
3111
|
/**
|
|
3063
|
-
* <p>Indicates what happens when new EC2 instances are launched
|
|
3064
|
-
* receive the deployed application revision.</p>
|
|
3112
|
+
* <p>Indicates what happens when new Amazon EC2 instances are launched
|
|
3113
|
+
* mid-deployment and do not receive the deployed application revision.</p>
|
|
3065
3114
|
* <p>If this option is set to <code>UPDATE</code> or is unspecified, CodeDeploy initiates
|
|
3066
3115
|
* one or more 'auto-update outdated instances' deployments to apply the deployed
|
|
3067
|
-
* application revision to the new EC2 instances.</p>
|
|
3116
|
+
* application revision to the new Amazon EC2 instances.</p>
|
|
3068
3117
|
* <p>If this option is set to <code>IGNORE</code>, CodeDeploy does not initiate a
|
|
3069
|
-
* deployment to update the new EC2 instances. This may result in instances
|
|
3070
|
-
* different revisions.</p>
|
|
3118
|
+
* deployment to update the new Amazon EC2 instances. This may result in instances
|
|
3119
|
+
* having different revisions.</p>
|
|
3071
3120
|
*/
|
|
3072
3121
|
outdatedInstancesStrategy?: OutdatedInstancesStrategy | string;
|
|
3073
3122
|
/**
|
|
@@ -3084,16 +3133,15 @@ export interface CreateDeploymentGroupInput {
|
|
|
3084
3133
|
*/
|
|
3085
3134
|
loadBalancerInfo?: LoadBalancerInfo;
|
|
3086
3135
|
/**
|
|
3087
|
-
* <p>Information about groups of tags applied to EC2 instances. The
|
|
3088
|
-
* includes only EC2 instances identified by all the tag
|
|
3089
|
-
* call as <code>ec2TagFilters</code>.</p>
|
|
3136
|
+
* <p>Information about groups of tags applied to Amazon EC2 instances. The
|
|
3137
|
+
* deployment group includes only Amazon EC2 instances identified by all the tag
|
|
3138
|
+
* groups. Cannot be used in the same call as <code>ec2TagFilters</code>.</p>
|
|
3090
3139
|
*/
|
|
3091
3140
|
ec2TagSet?: EC2TagSet;
|
|
3092
3141
|
/**
|
|
3093
3142
|
* <p> The target Amazon ECS services in the deployment group. This applies only to
|
|
3094
|
-
* deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service
|
|
3095
|
-
*
|
|
3096
|
-
* <code><clustername>:<servicename></code>. </p>
|
|
3143
|
+
* deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name
|
|
3144
|
+
* pair using the format <code><clustername>:<servicename></code>. </p>
|
|
3097
3145
|
*/
|
|
3098
3146
|
ecsServices?: ECSService[];
|
|
3099
3147
|
/**
|
|
@@ -3119,8 +3167,7 @@ export interface CreateDeploymentGroupOutput {
|
|
|
3119
3167
|
deploymentGroupId?: string;
|
|
3120
3168
|
}
|
|
3121
3169
|
/**
|
|
3122
|
-
* <p>A deployment group with the specified name with the IAM user or
|
|
3123
|
-
* exists.</p>
|
|
3170
|
+
* <p>A deployment group with the specified name with the IAM user or Amazon Web Services account already exists.</p>
|
|
3124
3171
|
*/
|
|
3125
3172
|
export declare class DeploymentGroupAlreadyExistsException extends __BaseException {
|
|
3126
3173
|
readonly name: "DeploymentGroupAlreadyExistsException";
|
|
@@ -3142,8 +3189,8 @@ export declare class DeploymentGroupLimitExceededException extends __BaseExcepti
|
|
|
3142
3189
|
constructor(opts: __ExceptionOptionType<DeploymentGroupLimitExceededException, __BaseException>);
|
|
3143
3190
|
}
|
|
3144
3191
|
/**
|
|
3145
|
-
* <p> The Amazon ECS service is associated with more than one deployment groups. An
|
|
3146
|
-
* ECS service can be associated with only one deployment group. </p>
|
|
3192
|
+
* <p> The Amazon ECS service is associated with more than one deployment groups. An
|
|
3193
|
+
* Amazon ECS service can be associated with only one deployment group. </p>
|
|
3147
3194
|
*/
|
|
3148
3195
|
export declare class ECSServiceMappingLimitExceededException extends __BaseException {
|
|
3149
3196
|
readonly name: "ECSServiceMappingLimitExceededException";
|
|
@@ -3153,34 +3200,6 @@ export declare class ECSServiceMappingLimitExceededException extends __BaseExcep
|
|
|
3153
3200
|
*/
|
|
3154
3201
|
constructor(opts: __ExceptionOptionType<ECSServiceMappingLimitExceededException, __BaseException>);
|
|
3155
3202
|
}
|
|
3156
|
-
/**
|
|
3157
|
-
* <p>The format of the alarm configuration is invalid. Possible causes include:</p>
|
|
3158
|
-
* <ul>
|
|
3159
|
-
* <li>
|
|
3160
|
-
* <p>The alarm list is null.</p>
|
|
3161
|
-
* </li>
|
|
3162
|
-
* <li>
|
|
3163
|
-
* <p>The alarm object is null.</p>
|
|
3164
|
-
* </li>
|
|
3165
|
-
* <li>
|
|
3166
|
-
* <p>The alarm name is empty or null or exceeds the limit of 255 characters.</p>
|
|
3167
|
-
* </li>
|
|
3168
|
-
* <li>
|
|
3169
|
-
* <p>Two alarms with the same name have been specified.</p>
|
|
3170
|
-
* </li>
|
|
3171
|
-
* <li>
|
|
3172
|
-
* <p>The alarm configuration is enabled, but the alarm list is empty.</p>
|
|
3173
|
-
* </li>
|
|
3174
|
-
* </ul>
|
|
3175
|
-
*/
|
|
3176
|
-
export declare class InvalidAlarmConfigException extends __BaseException {
|
|
3177
|
-
readonly name: "InvalidAlarmConfigException";
|
|
3178
|
-
readonly $fault: "client";
|
|
3179
|
-
/**
|
|
3180
|
-
* @internal
|
|
3181
|
-
*/
|
|
3182
|
-
constructor(opts: __ExceptionOptionType<InvalidAlarmConfigException, __BaseException>);
|
|
3183
|
-
}
|
|
3184
3203
|
/**
|
|
3185
3204
|
* <p>The configuration for the blue/green deployment group was provided in an invalid
|
|
3186
3205
|
* format. For information about deployment configuration format, see <a>CreateDeploymentConfig</a>.</p>
|
|
@@ -3335,8 +3354,7 @@ export declare class TriggerTargetsLimitExceededException extends __BaseExceptio
|
|
|
3335
3354
|
*/
|
|
3336
3355
|
export interface DeleteApplicationInput {
|
|
3337
3356
|
/**
|
|
3338
|
-
* <p>The name of an
|
|
3339
|
-
* account.</p>
|
|
3357
|
+
* <p>The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.</p>
|
|
3340
3358
|
*/
|
|
3341
3359
|
applicationName: string | undefined;
|
|
3342
3360
|
}
|
|
@@ -3345,8 +3363,8 @@ export interface DeleteApplicationInput {
|
|
|
3345
3363
|
*/
|
|
3346
3364
|
export interface DeleteDeploymentConfigInput {
|
|
3347
3365
|
/**
|
|
3348
|
-
* <p>The name of a deployment configuration associated with the IAM user or
|
|
3349
|
-
*
|
|
3366
|
+
* <p>The name of a deployment configuration associated with the IAM user or
|
|
3367
|
+
* Amazon Web Services account.</p>
|
|
3350
3368
|
*/
|
|
3351
3369
|
deploymentConfigName: string | undefined;
|
|
3352
3370
|
}
|
|
@@ -3377,8 +3395,7 @@ export declare class InvalidOperationException extends __BaseException {
|
|
|
3377
3395
|
*/
|
|
3378
3396
|
export interface DeleteDeploymentGroupInput {
|
|
3379
3397
|
/**
|
|
3380
|
-
* <p>The name of an
|
|
3381
|
-
* account.</p>
|
|
3398
|
+
* <p>The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.</p>
|
|
3382
3399
|
*/
|
|
3383
3400
|
applicationName: string | undefined;
|
|
3384
3401
|
/**
|
|
@@ -3392,10 +3409,10 @@ export interface DeleteDeploymentGroupInput {
|
|
|
3392
3409
|
export interface DeleteDeploymentGroupOutput {
|
|
3393
3410
|
/**
|
|
3394
3411
|
* <p>If the output contains no data, and the corresponding deployment group contained at
|
|
3395
|
-
* least one Auto Scaling group,
|
|
3396
|
-
* Scaling lifecycle event hooks from the Amazon EC2
|
|
3397
|
-
* If the output contains data,
|
|
3398
|
-
*
|
|
3412
|
+
* least one Auto Scaling group, CodeDeploy successfully removed all
|
|
3413
|
+
* corresponding Auto Scaling lifecycle event hooks from the Amazon EC2
|
|
3414
|
+
* instances in the Auto Scaling group. If the output contains data, CodeDeploy could not remove some Auto Scaling lifecycle event hooks from
|
|
3415
|
+
* the Amazon EC2 instances in the Auto Scaling group.</p>
|
|
3399
3416
|
*/
|
|
3400
3417
|
hooksNotCleanedUp?: AutoScalingGroup[];
|
|
3401
3418
|
}
|
|
@@ -3474,8 +3491,8 @@ export declare class ResourceValidationException extends __BaseException {
|
|
|
3474
3491
|
}
|
|
3475
3492
|
export interface DeleteResourcesByExternalIdInput {
|
|
3476
3493
|
/**
|
|
3477
|
-
* <p>The unique ID of an external resource (for example, a CloudFormation stack
|
|
3478
|
-
* linked to one or more CodeDeploy resources.</p>
|
|
3494
|
+
* <p>The unique ID of an external resource (for example, a CloudFormation stack
|
|
3495
|
+
* ID) that is linked to one or more CodeDeploy resources.</p>
|
|
3479
3496
|
*/
|
|
3480
3497
|
externalId?: string;
|
|
3481
3498
|
}
|
|
@@ -3495,8 +3512,7 @@ export interface DeregisterOnPremisesInstanceInput {
|
|
|
3495
3512
|
*/
|
|
3496
3513
|
export interface GetApplicationInput {
|
|
3497
3514
|
/**
|
|
3498
|
-
* <p>The name of an
|
|
3499
|
-
* account.</p>
|
|
3515
|
+
* <p>The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.</p>
|
|
3500
3516
|
*/
|
|
3501
3517
|
applicationName: string | undefined;
|
|
3502
3518
|
}
|
|
@@ -3544,7 +3560,7 @@ export interface GetApplicationRevisionOutput {
|
|
|
3544
3560
|
*/
|
|
3545
3561
|
export interface GetDeploymentInput {
|
|
3546
3562
|
/**
|
|
3547
|
-
* <p> The unique ID of a deployment associated with the IAM user or
|
|
3563
|
+
* <p> The unique ID of a deployment associated with the IAM user or Amazon Web Services account. </p>
|
|
3548
3564
|
*/
|
|
3549
3565
|
deploymentId: string | undefined;
|
|
3550
3566
|
}
|
|
@@ -3562,8 +3578,8 @@ export interface GetDeploymentOutput {
|
|
|
3562
3578
|
*/
|
|
3563
3579
|
export interface GetDeploymentConfigInput {
|
|
3564
3580
|
/**
|
|
3565
|
-
* <p>The name of a deployment configuration associated with the IAM user or
|
|
3566
|
-
*
|
|
3581
|
+
* <p>The name of a deployment configuration associated with the IAM user or
|
|
3582
|
+
* Amazon Web Services account.</p>
|
|
3567
3583
|
*/
|
|
3568
3584
|
deploymentConfigName: string | undefined;
|
|
3569
3585
|
}
|
|
@@ -3594,7 +3610,8 @@ export interface DeploymentConfigInfo {
|
|
|
3594
3610
|
computePlatform?: ComputePlatform | string;
|
|
3595
3611
|
/**
|
|
3596
3612
|
* <p>The configuration that specifies how the deployment traffic is routed. Used for
|
|
3597
|
-
* deployments with a Lambda or ECS compute platform
|
|
3613
|
+
* deployments with a Lambda or Amazon ECS compute platform
|
|
3614
|
+
* only.</p>
|
|
3598
3615
|
*/
|
|
3599
3616
|
trafficRoutingConfig?: TrafficRoutingConfig;
|
|
3600
3617
|
}
|
|
@@ -3612,8 +3629,7 @@ export interface GetDeploymentConfigOutput {
|
|
|
3612
3629
|
*/
|
|
3613
3630
|
export interface GetDeploymentGroupInput {
|
|
3614
3631
|
/**
|
|
3615
|
-
* <p>The name of an
|
|
3616
|
-
* account.</p>
|
|
3632
|
+
* <p>The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.</p>
|
|
3617
3633
|
*/
|
|
3618
3634
|
applicationName: string | undefined;
|
|
3619
3635
|
/**
|
|
@@ -3773,8 +3789,7 @@ export declare enum SortOrder {
|
|
|
3773
3789
|
*/
|
|
3774
3790
|
export interface ListApplicationRevisionsInput {
|
|
3775
3791
|
/**
|
|
3776
|
-
* <p> The name of an
|
|
3777
|
-
* account. </p>
|
|
3792
|
+
* <p> The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account. </p>
|
|
3778
3793
|
*/
|
|
3779
3794
|
applicationName: string | undefined;
|
|
3780
3795
|
/**
|
|
@@ -3783,7 +3798,7 @@ export interface ListApplicationRevisionsInput {
|
|
|
3783
3798
|
* <li>
|
|
3784
3799
|
* <p>
|
|
3785
3800
|
* <code>registerTime</code>: Sort by the time the revisions were registered with
|
|
3786
|
-
*
|
|
3801
|
+
* CodeDeploy.</p>
|
|
3787
3802
|
* </li>
|
|
3788
3803
|
* <li>
|
|
3789
3804
|
* <p>
|
|
@@ -3822,8 +3837,8 @@ export interface ListApplicationRevisionsInput {
|
|
|
3822
3837
|
*/
|
|
3823
3838
|
s3Bucket?: string;
|
|
3824
3839
|
/**
|
|
3825
|
-
* <p> A key prefix for the set of Amazon S3 objects to limit the search for
|
|
3826
|
-
*
|
|
3840
|
+
* <p> A key prefix for the set of Amazon S3 objects to limit the search for
|
|
3841
|
+
* revisions. </p>
|
|
3827
3842
|
*/
|
|
3828
3843
|
s3KeyPrefix?: string;
|
|
3829
3844
|
/**
|
|
@@ -3924,8 +3939,7 @@ export interface ListDeploymentConfigsOutput {
|
|
|
3924
3939
|
*/
|
|
3925
3940
|
export interface ListDeploymentGroupsInput {
|
|
3926
3941
|
/**
|
|
3927
|
-
* <p>The name of an
|
|
3928
|
-
* account.</p>
|
|
3942
|
+
* <p>The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.</p>
|
|
3929
3943
|
*/
|
|
3930
3944
|
applicationName: string | undefined;
|
|
3931
3945
|
/**
|
|
@@ -4114,8 +4128,7 @@ export interface TimeRange {
|
|
|
4114
4128
|
*/
|
|
4115
4129
|
export interface ListDeploymentsInput {
|
|
4116
4130
|
/**
|
|
4117
|
-
* <p>The name of an
|
|
4118
|
-
* account.</p>
|
|
4131
|
+
* <p>The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.</p>
|
|
4119
4132
|
* <note>
|
|
4120
4133
|
* <p>If <code>applicationName</code> is specified, then
|
|
4121
4134
|
* <code>deploymentGroupName</code> must be specified. If it is not specified, then
|
|
@@ -4400,8 +4413,8 @@ export declare class InvalidLifecycleEventHookExecutionIdException extends __Bas
|
|
|
4400
4413
|
constructor(opts: __ExceptionOptionType<InvalidLifecycleEventHookExecutionIdException, __BaseException>);
|
|
4401
4414
|
}
|
|
4402
4415
|
/**
|
|
4403
|
-
* <p>The result of a Lambda validation function that verifies a lifecycle event
|
|
4404
|
-
* It should return <code>Succeeded</code> or <code>Failed</code>.</p>
|
|
4416
|
+
* <p>The result of a Lambda validation function that verifies a lifecycle event
|
|
4417
|
+
* is invalid. It should return <code>Succeeded</code> or <code>Failed</code>.</p>
|
|
4405
4418
|
*/
|
|
4406
4419
|
export declare class InvalidLifecycleEventHookExecutionStatusException extends __BaseException {
|
|
4407
4420
|
readonly name: "InvalidLifecycleEventHookExecutionStatusException";
|
|
@@ -4425,8 +4438,8 @@ export declare class LifecycleEventAlreadyCompletedException extends __BaseExcep
|
|
|
4425
4438
|
}
|
|
4426
4439
|
export interface PutLifecycleEventHookExecutionStatusInput {
|
|
4427
4440
|
/**
|
|
4428
|
-
* <p> The unique ID of a deployment. Pass this ID to a Lambda function that
|
|
4429
|
-
* deployment lifecycle event. </p>
|
|
4441
|
+
* <p> The unique ID of a deployment. Pass this ID to a Lambda function that
|
|
4442
|
+
* validates a deployment lifecycle event. </p>
|
|
4430
4443
|
*/
|
|
4431
4444
|
deploymentId?: string;
|
|
4432
4445
|
/**
|
|
@@ -4435,9 +4448,10 @@ export interface PutLifecycleEventHookExecutionStatusInput {
|
|
|
4435
4448
|
*/
|
|
4436
4449
|
lifecycleEventHookExecutionId?: string;
|
|
4437
4450
|
/**
|
|
4438
|
-
* <p>The result of a Lambda function that validates a deployment lifecycle
|
|
4439
|
-
*
|
|
4440
|
-
*
|
|
4451
|
+
* <p>The result of a Lambda function that validates a deployment lifecycle
|
|
4452
|
+
* event. The values listed in <b>Valid Values</b> are valid for
|
|
4453
|
+
* lifecycle statuses in general; however, only <code>Succeeded</code> and
|
|
4454
|
+
* <code>Failed</code> can be passed successfully in your API call.</p>
|
|
4441
4455
|
*/
|
|
4442
4456
|
status?: LifecycleEventStatus | string;
|
|
4443
4457
|
}
|
|
@@ -4453,8 +4467,7 @@ export interface PutLifecycleEventHookExecutionStatusOutput {
|
|
|
4453
4467
|
*/
|
|
4454
4468
|
export interface RegisterApplicationRevisionInput {
|
|
4455
4469
|
/**
|
|
4456
|
-
* <p>The name of an
|
|
4457
|
-
* account.</p>
|
|
4470
|
+
* <p>The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.</p>
|
|
4458
4471
|
*/
|
|
4459
4472
|
applicationName: string | undefined;
|
|
4460
4473
|
/**
|
|
@@ -4468,8 +4481,7 @@ export interface RegisterApplicationRevisionInput {
|
|
|
4468
4481
|
revision: RevisionLocation | undefined;
|
|
4469
4482
|
}
|
|
4470
4483
|
/**
|
|
4471
|
-
* <p>No IAM ARN was included in the request. You must use an IAM session ARN or IAM user
|
|
4472
|
-
* ARN in the request.</p>
|
|
4484
|
+
* <p>No IAM ARN was included in the request. You must use an IAM session ARN or IAM user ARN in the request.</p>
|
|
4473
4485
|
*/
|
|
4474
4486
|
export declare class IamArnRequiredException extends __BaseException {
|
|
4475
4487
|
readonly name: "IamArnRequiredException";
|
|
@@ -4480,8 +4492,8 @@ export declare class IamArnRequiredException extends __BaseException {
|
|
|
4480
4492
|
constructor(opts: __ExceptionOptionType<IamArnRequiredException, __BaseException>);
|
|
4481
4493
|
}
|
|
4482
4494
|
/**
|
|
4483
|
-
* <p>The request included an IAM session ARN that has already been used to
|
|
4484
|
-
* different instance.</p>
|
|
4495
|
+
* <p>The request included an IAM session ARN that has already been used to
|
|
4496
|
+
* register a different instance.</p>
|
|
4485
4497
|
*/
|
|
4486
4498
|
export declare class IamSessionArnAlreadyRegisteredException extends __BaseException {
|
|
4487
4499
|
readonly name: "IamSessionArnAlreadyRegisteredException";
|
|
@@ -4492,7 +4504,8 @@ export declare class IamSessionArnAlreadyRegisteredException extends __BaseExcep
|
|
|
4492
4504
|
constructor(opts: __ExceptionOptionType<IamSessionArnAlreadyRegisteredException, __BaseException>);
|
|
4493
4505
|
}
|
|
4494
4506
|
/**
|
|
4495
|
-
* <p>The specified IAM user ARN is already registered with an on-premises
|
|
4507
|
+
* <p>The specified IAM user ARN is already registered with an on-premises
|
|
4508
|
+
* instance.</p>
|
|
4496
4509
|
*/
|
|
4497
4510
|
export declare class IamUserArnAlreadyRegisteredException extends __BaseException {
|
|
4498
4511
|
readonly name: "IamUserArnAlreadyRegisteredException";
|
|
@@ -4547,8 +4560,8 @@ export declare class InvalidIamUserArnException extends __BaseException {
|
|
|
4547
4560
|
constructor(opts: __ExceptionOptionType<InvalidIamUserArnException, __BaseException>);
|
|
4548
4561
|
}
|
|
4549
4562
|
/**
|
|
4550
|
-
* <p>Both an IAM user ARN and an IAM session ARN were
|
|
4551
|
-
* ARN type.</p>
|
|
4563
|
+
* <p>Both an IAM user ARN and an IAM session ARN were
|
|
4564
|
+
* included in the request. Use only one ARN type.</p>
|
|
4552
4565
|
*/
|
|
4553
4566
|
export declare class MultipleIamArnsProvidedException extends __BaseException {
|
|
4554
4567
|
readonly name: "MultipleIamArnsProvidedException";
|
|
@@ -4567,11 +4580,13 @@ export interface RegisterOnPremisesInstanceInput {
|
|
|
4567
4580
|
*/
|
|
4568
4581
|
instanceName: string | undefined;
|
|
4569
4582
|
/**
|
|
4570
|
-
* <p>The ARN of the IAM session to associate with the on-premises
|
|
4583
|
+
* <p>The ARN of the IAM session to associate with the on-premises
|
|
4584
|
+
* instance.</p>
|
|
4571
4585
|
*/
|
|
4572
4586
|
iamSessionArn?: string;
|
|
4573
4587
|
/**
|
|
4574
|
-
* <p>The ARN of the IAM user to associate with the on-premises
|
|
4588
|
+
* <p>The ARN of the IAM user to associate with the on-premises
|
|
4589
|
+
* instance.</p>
|
|
4575
4590
|
*/
|
|
4576
4591
|
iamUserArn?: string;
|
|
4577
4592
|
}
|
|
@@ -4697,9 +4712,9 @@ export interface UpdateDeploymentGroupInput {
|
|
|
4697
4712
|
*/
|
|
4698
4713
|
deploymentConfigName?: string;
|
|
4699
4714
|
/**
|
|
4700
|
-
* <p>The replacement set of Amazon EC2 tags on which to filter, if you want to
|
|
4701
|
-
* To keep the existing tags, enter their names. To remove tags, do not enter
|
|
4702
|
-
* names.</p>
|
|
4715
|
+
* <p>The replacement set of Amazon EC2 tags on which to filter, if you want to
|
|
4716
|
+
* change them. To keep the existing tags, enter their names. To remove tags, do not enter
|
|
4717
|
+
* any tag names.</p>
|
|
4703
4718
|
*/
|
|
4704
4719
|
ec2TagFilters?: EC2TagFilter[];
|
|
4705
4720
|
/**
|
|
@@ -4709,9 +4724,19 @@ export interface UpdateDeploymentGroupInput {
|
|
|
4709
4724
|
*/
|
|
4710
4725
|
onPremisesInstanceTagFilters?: TagFilter[];
|
|
4711
4726
|
/**
|
|
4712
|
-
* <p>The replacement list of Auto Scaling groups to be included in the deployment
|
|
4713
|
-
* you want to change them
|
|
4714
|
-
*
|
|
4727
|
+
* <p>The replacement list of Auto Scaling groups to be included in the deployment
|
|
4728
|
+
* group, if you want to change them.</p>
|
|
4729
|
+
* <ul>
|
|
4730
|
+
* <li>
|
|
4731
|
+
* <p>To keep the Auto Scaling groups, enter their names or do not specify this
|
|
4732
|
+
* parameter. </p>
|
|
4733
|
+
* </li>
|
|
4734
|
+
* <li>
|
|
4735
|
+
* <p>To remove Auto Scaling groups, specify a non-null empty list of Auto Scaling group names to detach all CodeDeploy-managed Auto Scaling lifecycle hooks. For examples, see <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/codedeploy/latest/userguide/troubleshooting-auto-scaling.html#troubleshooting-auto-scaling-heartbeat">Amazon EC2 instances in an Amazon EC2 Auto Scaling group fail to
|
|
4736
|
+
* launch and receive the error "Heartbeat Timeout"</a> in the
|
|
4737
|
+
* <i>CodeDeploy User Guide</i>.</p>
|
|
4738
|
+
* </li>
|
|
4739
|
+
* </ul>
|
|
4715
4740
|
*/
|
|
4716
4741
|
autoScalingGroups?: string[];
|
|
4717
4742
|
/**
|
|
@@ -4721,7 +4746,7 @@ export interface UpdateDeploymentGroupInput {
|
|
|
4721
4746
|
/**
|
|
4722
4747
|
* <p>Information about triggers to change when the deployment group is updated. For
|
|
4723
4748
|
* examples, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-edit.html">Edit a Trigger in a
|
|
4724
|
-
* CodeDeploy Deployment Group</a> in the <i>
|
|
4749
|
+
* CodeDeploy Deployment Group</a> in the <i>CodeDeploy User
|
|
4725
4750
|
* Guide</i>.</p>
|
|
4726
4751
|
*/
|
|
4727
4752
|
triggerConfigurations?: TriggerConfig[];
|
|
@@ -4736,14 +4761,14 @@ export interface UpdateDeploymentGroupInput {
|
|
|
4736
4761
|
*/
|
|
4737
4762
|
autoRollbackConfiguration?: AutoRollbackConfiguration;
|
|
4738
4763
|
/**
|
|
4739
|
-
* <p>Indicates what happens when new EC2 instances are launched
|
|
4740
|
-
* receive the deployed application revision.</p>
|
|
4764
|
+
* <p>Indicates what happens when new Amazon EC2 instances are launched
|
|
4765
|
+
* mid-deployment and do not receive the deployed application revision.</p>
|
|
4741
4766
|
* <p>If this option is set to <code>UPDATE</code> or is unspecified, CodeDeploy initiates
|
|
4742
4767
|
* one or more 'auto-update outdated instances' deployments to apply the deployed
|
|
4743
|
-
* application revision to the new EC2 instances.</p>
|
|
4768
|
+
* application revision to the new Amazon EC2 instances.</p>
|
|
4744
4769
|
* <p>If this option is set to <code>IGNORE</code>, CodeDeploy does not initiate a
|
|
4745
|
-
* deployment to update the new EC2 instances. This may result in instances
|
|
4746
|
-
* different revisions.</p>
|
|
4770
|
+
* deployment to update the new Amazon EC2 instances. This may result in instances
|
|
4771
|
+
* having different revisions.</p>
|
|
4747
4772
|
*/
|
|
4748
4773
|
outdatedInstancesStrategy?: OutdatedInstancesStrategy | string;
|
|
4749
4774
|
/**
|
|
@@ -4761,14 +4786,14 @@ export interface UpdateDeploymentGroupInput {
|
|
|
4761
4786
|
loadBalancerInfo?: LoadBalancerInfo;
|
|
4762
4787
|
/**
|
|
4763
4788
|
* <p>Information about groups of tags applied to on-premises instances. The deployment
|
|
4764
|
-
* group includes only EC2 instances identified by all the tag
|
|
4789
|
+
* group includes only Amazon EC2 instances identified by all the tag
|
|
4790
|
+
* groups.</p>
|
|
4765
4791
|
*/
|
|
4766
4792
|
ec2TagSet?: EC2TagSet;
|
|
4767
4793
|
/**
|
|
4768
4794
|
* <p> The target Amazon ECS services in the deployment group. This applies only to
|
|
4769
|
-
* deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service
|
|
4770
|
-
*
|
|
4771
|
-
* <code><clustername>:<servicename></code>. </p>
|
|
4795
|
+
* deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name
|
|
4796
|
+
* pair using the format <code><clustername>:<servicename></code>. </p>
|
|
4772
4797
|
*/
|
|
4773
4798
|
ecsServices?: ECSService[];
|
|
4774
4799
|
/**
|
|
@@ -4783,10 +4808,8 @@ export interface UpdateDeploymentGroupInput {
|
|
|
4783
4808
|
export interface UpdateDeploymentGroupOutput {
|
|
4784
4809
|
/**
|
|
4785
4810
|
* <p>If the output contains no data, and the corresponding deployment group contained at
|
|
4786
|
-
* least one Auto Scaling group,
|
|
4787
|
-
* Scaling lifecycle event hooks from the
|
|
4788
|
-
* CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the AWS
|
|
4789
|
-
* account.</p>
|
|
4811
|
+
* least one Auto Scaling group, CodeDeploy successfully removed all
|
|
4812
|
+
* corresponding Auto Scaling lifecycle event hooks from the Amazon Web Services account. If the output contains data, CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the Amazon Web Services account.</p>
|
|
4790
4813
|
*/
|
|
4791
4814
|
hooksNotCleanedUp?: AutoScalingGroup[];
|
|
4792
4815
|
}
|