@aws-sdk/client-codedeploy 3.405.0 → 3.409.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/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-types/CodeDeploy.d.ts +25 -25
- package/dist-types/CodeDeployClient.d.ts +25 -25
- package/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +2 -2
- package/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +9 -9
- package/dist-types/commands/CreateDeploymentCommand.d.ts +11 -11
- package/dist-types/commands/CreateDeploymentGroupCommand.d.ts +6 -6
- package/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +2 -2
- package/dist-types/commands/GetDeploymentCommand.d.ts +2 -2
- package/dist-types/commands/ListDeploymentInstancesCommand.d.ts +2 -2
- package/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +1 -1
- package/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +6 -6
- package/dist-types/index.d.ts +25 -25
- package/dist-types/models/models_0.d.ts +210 -218
- package/package.json +12 -12
|
@@ -24,7 +24,7 @@ export interface AddTagsToOnPremisesInstancesInput {
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>The tag key-value pairs to add to the on-premises instances.</p>
|
|
27
|
-
*
|
|
27
|
+
* <p>Keys and values are both required. Keys cannot be null or empty strings. Value-only
|
|
28
28
|
* tags are not allowed.</p>
|
|
29
29
|
*/
|
|
30
30
|
tags: Tag[] | undefined;
|
|
@@ -145,14 +145,14 @@ export interface AlarmConfiguration {
|
|
|
145
145
|
* @public
|
|
146
146
|
* <p>Indicates whether a deployment should continue if information about the current state
|
|
147
147
|
* of alarms cannot be retrieved from Amazon CloudWatch. The default value is false.</p>
|
|
148
|
-
*
|
|
148
|
+
* <ul>
|
|
149
149
|
* <li>
|
|
150
|
-
*
|
|
150
|
+
* <p>
|
|
151
151
|
* <code>true</code>: The deployment proceeds even if alarm status information
|
|
152
152
|
* can't be retrieved from Amazon CloudWatch.</p>
|
|
153
153
|
* </li>
|
|
154
154
|
* <li>
|
|
155
|
-
*
|
|
155
|
+
* <p>
|
|
156
156
|
* <code>false</code>: The deployment stops if alarm status information can't be
|
|
157
157
|
* retrieved from Amazon CloudWatch.</p>
|
|
158
158
|
* </li>
|
|
@@ -299,12 +299,12 @@ export interface AppSpecContent {
|
|
|
299
299
|
/**
|
|
300
300
|
* @public
|
|
301
301
|
* <p> The YAML-formatted or JSON-formatted revision string. </p>
|
|
302
|
-
*
|
|
302
|
+
* <p> For an Lambda deployment, the content includes a Lambda
|
|
303
303
|
* function name, the alias for its original version, and the alias for its replacement
|
|
304
304
|
* version. The deployment shifts traffic from the original version of the Lambda function to the replacement version. </p>
|
|
305
|
-
*
|
|
305
|
+
* <p> For an Amazon ECS deployment, the content includes the task name, information
|
|
306
306
|
* about the load balancer that serves traffic to the container, and more. </p>
|
|
307
|
-
*
|
|
307
|
+
* <p> For both types of deployments, the content can specify Lambda functions
|
|
308
308
|
* that run at specified hooks, such as <code>BeforeInstall</code>, during a deployment.
|
|
309
309
|
* </p>
|
|
310
310
|
*/
|
|
@@ -384,7 +384,7 @@ export interface GitHubLocation {
|
|
|
384
384
|
* @public
|
|
385
385
|
* <p>The GitHub account and repository pair that stores a reference to the commit that
|
|
386
386
|
* represents the bundled artifacts for the application revision. </p>
|
|
387
|
-
*
|
|
387
|
+
* <p>Specified as account/repository.</p>
|
|
388
388
|
*/
|
|
389
389
|
repository?: string;
|
|
390
390
|
/**
|
|
@@ -443,17 +443,17 @@ export interface S3Location {
|
|
|
443
443
|
/**
|
|
444
444
|
* @public
|
|
445
445
|
* <p>The file type of the application revision. Must be one of the following:</p>
|
|
446
|
-
*
|
|
446
|
+
* <ul>
|
|
447
447
|
* <li>
|
|
448
|
-
*
|
|
448
|
+
* <p>
|
|
449
449
|
* <code>tar</code>: A tar archive file.</p>
|
|
450
450
|
* </li>
|
|
451
451
|
* <li>
|
|
452
|
-
*
|
|
452
|
+
* <p>
|
|
453
453
|
* <code>tgz</code>: A compressed tar archive file.</p>
|
|
454
454
|
* </li>
|
|
455
455
|
* <li>
|
|
456
|
-
*
|
|
456
|
+
* <p>
|
|
457
457
|
* <code>zip</code>: A zip archive file.</p>
|
|
458
458
|
* </li>
|
|
459
459
|
* </ul>
|
|
@@ -463,7 +463,7 @@ export interface S3Location {
|
|
|
463
463
|
* @public
|
|
464
464
|
* <p>A specific version of the Amazon S3 object that represents the bundled
|
|
465
465
|
* artifacts for the application revision.</p>
|
|
466
|
-
*
|
|
466
|
+
* <p>If the version is not specified, the system uses the most recent version by
|
|
467
467
|
* default.</p>
|
|
468
468
|
*/
|
|
469
469
|
version?: string;
|
|
@@ -471,7 +471,7 @@ export interface S3Location {
|
|
|
471
471
|
* @public
|
|
472
472
|
* <p>The ETag of the Amazon S3 object that represents the bundled artifacts for the
|
|
473
473
|
* application revision.</p>
|
|
474
|
-
*
|
|
474
|
+
* <p>If the ETag is not specified as an input parameter, ETag validation of the object is
|
|
475
475
|
* skipped.</p>
|
|
476
476
|
*/
|
|
477
477
|
eTag?: string;
|
|
@@ -506,20 +506,20 @@ export interface RevisionLocation {
|
|
|
506
506
|
/**
|
|
507
507
|
* @public
|
|
508
508
|
* <p>The type of application revision:</p>
|
|
509
|
-
*
|
|
509
|
+
* <ul>
|
|
510
510
|
* <li>
|
|
511
|
-
*
|
|
511
|
+
* <p>S3: An application revision stored in Amazon S3.</p>
|
|
512
512
|
* </li>
|
|
513
513
|
* <li>
|
|
514
|
-
*
|
|
514
|
+
* <p>GitHub: An application revision stored in GitHub (EC2/On-premises deployments
|
|
515
515
|
* only).</p>
|
|
516
516
|
* </li>
|
|
517
517
|
* <li>
|
|
518
|
-
*
|
|
518
|
+
* <p>String: A YAML-formatted or JSON-formatted string (Lambda
|
|
519
519
|
* deployments only).</p>
|
|
520
520
|
* </li>
|
|
521
521
|
* <li>
|
|
522
|
-
*
|
|
522
|
+
* <p>AppSpecContent: An <code>AppSpecContent</code> object that contains the
|
|
523
523
|
* contents of an AppSpec file for an Lambda or Amazon ECS
|
|
524
524
|
* deployment. The content is formatted as JSON or YAML stored as a
|
|
525
525
|
* RawString.</p>
|
|
@@ -750,14 +750,14 @@ export interface DeploymentReadyOption {
|
|
|
750
750
|
* @public
|
|
751
751
|
* <p>Information about when to reroute traffic from an original environment to a
|
|
752
752
|
* replacement environment in a blue/green deployment.</p>
|
|
753
|
-
*
|
|
753
|
+
* <ul>
|
|
754
754
|
* <li>
|
|
755
|
-
*
|
|
755
|
+
* <p>CONTINUE_DEPLOYMENT: Register new instances with the load balancer immediately
|
|
756
756
|
* after the new application revision is installed on the instances in the
|
|
757
757
|
* replacement environment.</p>
|
|
758
758
|
* </li>
|
|
759
759
|
* <li>
|
|
760
|
-
*
|
|
760
|
+
* <p>STOP_DEPLOYMENT: Do not register new instances with a load balancer unless
|
|
761
761
|
* traffic rerouting is started using <a>ContinueDeployment</a>. If
|
|
762
762
|
* traffic rerouting is not started before the end of the specified wait period,
|
|
763
763
|
* the deployment status is changed to Stopped.</p>
|
|
@@ -794,14 +794,14 @@ export interface GreenFleetProvisioningOption {
|
|
|
794
794
|
/**
|
|
795
795
|
* @public
|
|
796
796
|
* <p>The method used to add instances to a replacement environment.</p>
|
|
797
|
-
*
|
|
797
|
+
* <ul>
|
|
798
798
|
* <li>
|
|
799
|
-
*
|
|
799
|
+
* <p>
|
|
800
800
|
* <code>DISCOVER_EXISTING</code>: Use instances that already exist or will be
|
|
801
801
|
* created manually.</p>
|
|
802
802
|
* </li>
|
|
803
803
|
* <li>
|
|
804
|
-
*
|
|
804
|
+
* <p>
|
|
805
805
|
* <code>COPY_AUTO_SCALING_GROUP</code>: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling
|
|
806
806
|
* group.</p>
|
|
807
807
|
* </li>
|
|
@@ -832,14 +832,14 @@ export interface BlueInstanceTerminationOption {
|
|
|
832
832
|
* @public
|
|
833
833
|
* <p>The action to take on instances in the original environment after a successful
|
|
834
834
|
* blue/green deployment.</p>
|
|
835
|
-
*
|
|
835
|
+
* <ul>
|
|
836
836
|
* <li>
|
|
837
|
-
*
|
|
837
|
+
* <p>
|
|
838
838
|
* <code>TERMINATE</code>: Instances are terminated after a specified wait
|
|
839
839
|
* time.</p>
|
|
840
840
|
* </li>
|
|
841
841
|
* <li>
|
|
842
|
-
*
|
|
842
|
+
* <p>
|
|
843
843
|
* <code>KEEP_ALIVE</code>: Instances are left running after they are
|
|
844
844
|
* deregistered from the load balancer and removed from the deployment
|
|
845
845
|
* group.</p>
|
|
@@ -851,12 +851,10 @@ export interface BlueInstanceTerminationOption {
|
|
|
851
851
|
* @public
|
|
852
852
|
* <p>For an Amazon EC2 deployment, the number of minutes to wait after a successful
|
|
853
853
|
* blue/green deployment before terminating instances from the original environment.</p>
|
|
854
|
-
*
|
|
855
|
-
* <p> For an Amazon ECS deployment, the number of minutes before deleting the
|
|
854
|
+
* <p> For an Amazon ECS deployment, the number of minutes before deleting the
|
|
856
855
|
* original (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts
|
|
857
856
|
* traffic from the original (blue) task set to a replacement (green) task set. </p>
|
|
858
|
-
*
|
|
859
|
-
* <p> The maximum setting is 2880 minutes (2 days). </p>
|
|
857
|
+
* <p> The maximum setting is 2880 minutes (2 days). </p>
|
|
860
858
|
*/
|
|
861
859
|
terminationWaitTimeInMinutes?: number;
|
|
862
860
|
}
|
|
@@ -956,17 +954,17 @@ export interface EC2TagFilter {
|
|
|
956
954
|
/**
|
|
957
955
|
* @public
|
|
958
956
|
* <p>The tag filter type:</p>
|
|
959
|
-
*
|
|
957
|
+
* <ul>
|
|
960
958
|
* <li>
|
|
961
|
-
*
|
|
959
|
+
* <p>
|
|
962
960
|
* <code>KEY_ONLY</code>: Key only.</p>
|
|
963
961
|
* </li>
|
|
964
962
|
* <li>
|
|
965
|
-
*
|
|
963
|
+
* <p>
|
|
966
964
|
* <code>VALUE_ONLY</code>: Value only.</p>
|
|
967
965
|
* </li>
|
|
968
966
|
* <li>
|
|
969
|
-
*
|
|
967
|
+
* <p>
|
|
970
968
|
* <code>KEY_AND_VALUE</code>: Key and value.</p>
|
|
971
969
|
* </li>
|
|
972
970
|
* </ul>
|
|
@@ -1134,9 +1132,9 @@ export interface LoadBalancerInfo {
|
|
|
1134
1132
|
* <p>An array that contains information about the load balancer to use for load balancing
|
|
1135
1133
|
* in a deployment. In Elastic Load Balancing, load balancers are used with Classic Load
|
|
1136
1134
|
* Balancers.</p>
|
|
1137
|
-
*
|
|
1135
|
+
* <note>
|
|
1138
1136
|
* <p> Adding more than one load balancer to the array is not supported. </p>
|
|
1139
|
-
*
|
|
1137
|
+
* </note>
|
|
1140
1138
|
*/
|
|
1141
1139
|
elbInfoList?: ELBInfo[];
|
|
1142
1140
|
/**
|
|
@@ -1144,9 +1142,9 @@ export interface LoadBalancerInfo {
|
|
|
1144
1142
|
* <p>An array that contains information about the target group to use for load balancing in
|
|
1145
1143
|
* a deployment. In Elastic Load Balancing, target groups are used with Application Load
|
|
1146
1144
|
* Balancers.</p>
|
|
1147
|
-
*
|
|
1145
|
+
* <note>
|
|
1148
1146
|
* <p> Adding more than one target group to the array is not supported. </p>
|
|
1149
|
-
*
|
|
1147
|
+
* </note>
|
|
1150
1148
|
*/
|
|
1151
1149
|
targetGroupInfoList?: TargetGroupInfo[];
|
|
1152
1150
|
/**
|
|
@@ -1187,15 +1185,15 @@ export interface TagFilter {
|
|
|
1187
1185
|
/**
|
|
1188
1186
|
* @public
|
|
1189
1187
|
* <p>The on-premises instance tag filter type:</p>
|
|
1190
|
-
*
|
|
1188
|
+
* <ul>
|
|
1191
1189
|
* <li>
|
|
1192
|
-
*
|
|
1190
|
+
* <p>KEY_ONLY: Key only.</p>
|
|
1193
1191
|
* </li>
|
|
1194
1192
|
* <li>
|
|
1195
|
-
*
|
|
1193
|
+
* <p>VALUE_ONLY: Value only.</p>
|
|
1196
1194
|
* </li>
|
|
1197
1195
|
* <li>
|
|
1198
|
-
*
|
|
1196
|
+
* <p>KEY_AND_VALUE: Key and value.</p>
|
|
1199
1197
|
* </li>
|
|
1200
1198
|
* </ul>
|
|
1201
1199
|
*/
|
|
@@ -1349,10 +1347,10 @@ export interface DeploymentGroupInfo {
|
|
|
1349
1347
|
* @public
|
|
1350
1348
|
* <p>Indicates what happens when new Amazon EC2 instances are launched
|
|
1351
1349
|
* mid-deployment and do not receive the deployed application revision.</p>
|
|
1352
|
-
*
|
|
1350
|
+
* <p>If this option is set to <code>UPDATE</code> or is unspecified, CodeDeploy initiates
|
|
1353
1351
|
* one or more 'auto-update outdated instances' deployments to apply the deployed
|
|
1354
1352
|
* application revision to the new Amazon EC2 instances.</p>
|
|
1355
|
-
*
|
|
1353
|
+
* <p>If this option is set to <code>IGNORE</code>, CodeDeploy does not initiate a
|
|
1356
1354
|
* deployment to update the new Amazon EC2 instances. This may result in instances
|
|
1357
1355
|
* having different revisions.</p>
|
|
1358
1356
|
*/
|
|
@@ -1512,27 +1510,27 @@ export interface Diagnostics {
|
|
|
1512
1510
|
/**
|
|
1513
1511
|
* @public
|
|
1514
1512
|
* <p>The associated error code:</p>
|
|
1515
|
-
*
|
|
1513
|
+
* <ul>
|
|
1516
1514
|
* <li>
|
|
1517
|
-
*
|
|
1515
|
+
* <p>Success: The specified script ran.</p>
|
|
1518
1516
|
* </li>
|
|
1519
1517
|
* <li>
|
|
1520
|
-
*
|
|
1518
|
+
* <p>ScriptMissing: The specified script was not found in the specified
|
|
1521
1519
|
* location.</p>
|
|
1522
1520
|
* </li>
|
|
1523
1521
|
* <li>
|
|
1524
|
-
*
|
|
1522
|
+
* <p>ScriptNotExecutable: The specified script is not a recognized executable file
|
|
1525
1523
|
* type.</p>
|
|
1526
1524
|
* </li>
|
|
1527
1525
|
* <li>
|
|
1528
|
-
*
|
|
1526
|
+
* <p>ScriptTimedOut: The specified script did not finish running in the specified
|
|
1529
1527
|
* time period.</p>
|
|
1530
1528
|
* </li>
|
|
1531
1529
|
* <li>
|
|
1532
|
-
*
|
|
1530
|
+
* <p>ScriptFailed: The specified script failed to run as expected.</p>
|
|
1533
1531
|
* </li>
|
|
1534
1532
|
* <li>
|
|
1535
|
-
*
|
|
1533
|
+
* <p>UnknownError: The specified script did not run for an unknown reason.</p>
|
|
1536
1534
|
* </li>
|
|
1537
1535
|
* </ul>
|
|
1538
1536
|
*/
|
|
@@ -1550,7 +1548,7 @@ export interface Diagnostics {
|
|
|
1550
1548
|
/**
|
|
1551
1549
|
* @public
|
|
1552
1550
|
* <p>The last portion of the diagnostic log.</p>
|
|
1553
|
-
*
|
|
1551
|
+
* <p>If available, CodeDeploy returns up to the last 4 KB of the diagnostic
|
|
1554
1552
|
* log.</p>
|
|
1555
1553
|
*/
|
|
1556
1554
|
logTail?: string;
|
|
@@ -1601,24 +1599,24 @@ export interface LifecycleEvent {
|
|
|
1601
1599
|
/**
|
|
1602
1600
|
* @public
|
|
1603
1601
|
* <p>The deployment lifecycle event status:</p>
|
|
1604
|
-
*
|
|
1602
|
+
* <ul>
|
|
1605
1603
|
* <li>
|
|
1606
|
-
*
|
|
1604
|
+
* <p>Pending: The deployment lifecycle event is pending.</p>
|
|
1607
1605
|
* </li>
|
|
1608
1606
|
* <li>
|
|
1609
|
-
*
|
|
1607
|
+
* <p>InProgress: The deployment lifecycle event is in progress.</p>
|
|
1610
1608
|
* </li>
|
|
1611
1609
|
* <li>
|
|
1612
|
-
*
|
|
1610
|
+
* <p>Succeeded: The deployment lifecycle event ran successfully.</p>
|
|
1613
1611
|
* </li>
|
|
1614
1612
|
* <li>
|
|
1615
|
-
*
|
|
1613
|
+
* <p>Failed: The deployment lifecycle event has failed.</p>
|
|
1616
1614
|
* </li>
|
|
1617
1615
|
* <li>
|
|
1618
|
-
*
|
|
1616
|
+
* <p>Skipped: The deployment lifecycle event has been skipped.</p>
|
|
1619
1617
|
* </li>
|
|
1620
1618
|
* <li>
|
|
1621
|
-
*
|
|
1619
|
+
* <p>Unknown: The deployment lifecycle event is unknown.</p>
|
|
1622
1620
|
* </li>
|
|
1623
1621
|
* </ul>
|
|
1624
1622
|
*/
|
|
@@ -1663,31 +1661,31 @@ export interface InstanceSummary {
|
|
|
1663
1661
|
* @deprecated
|
|
1664
1662
|
*
|
|
1665
1663
|
* <p>The deployment status for this instance:</p>
|
|
1666
|
-
*
|
|
1664
|
+
* <ul>
|
|
1667
1665
|
* <li>
|
|
1668
|
-
*
|
|
1666
|
+
* <p>
|
|
1669
1667
|
* <code>Pending</code>: The deployment is pending for this instance.</p>
|
|
1670
1668
|
* </li>
|
|
1671
1669
|
* <li>
|
|
1672
|
-
*
|
|
1670
|
+
* <p>
|
|
1673
1671
|
* <code>In Progress</code>: The deployment is in progress for this
|
|
1674
1672
|
* instance.</p>
|
|
1675
1673
|
* </li>
|
|
1676
1674
|
* <li>
|
|
1677
|
-
*
|
|
1675
|
+
* <p>
|
|
1678
1676
|
* <code>Succeeded</code>: The deployment has succeeded for this instance.</p>
|
|
1679
1677
|
* </li>
|
|
1680
1678
|
* <li>
|
|
1681
|
-
*
|
|
1679
|
+
* <p>
|
|
1682
1680
|
* <code>Failed</code>: The deployment has failed for this instance.</p>
|
|
1683
1681
|
* </li>
|
|
1684
1682
|
* <li>
|
|
1685
|
-
*
|
|
1683
|
+
* <p>
|
|
1686
1684
|
* <code>Skipped</code>: The deployment has been skipped for this
|
|
1687
1685
|
* instance.</p>
|
|
1688
1686
|
* </li>
|
|
1689
1687
|
* <li>
|
|
1690
|
-
*
|
|
1688
|
+
* <p>
|
|
1691
1689
|
* <code>Unknown</code>: The deployment status is unknown for this
|
|
1692
1690
|
* instance.</p>
|
|
1693
1691
|
* </li>
|
|
@@ -1708,12 +1706,12 @@ export interface InstanceSummary {
|
|
|
1708
1706
|
* @public
|
|
1709
1707
|
* <p>Information about which environment an instance belongs to in a blue/green
|
|
1710
1708
|
* deployment.</p>
|
|
1711
|
-
*
|
|
1709
|
+
* <ul>
|
|
1712
1710
|
* <li>
|
|
1713
|
-
*
|
|
1711
|
+
* <p>BLUE: The instance is part of the original environment.</p>
|
|
1714
1712
|
* </li>
|
|
1715
1713
|
* <li>
|
|
1716
|
-
*
|
|
1714
|
+
* <p>GREEN: The instance is part of the replacement environment.</p>
|
|
1717
1715
|
* </li>
|
|
1718
1716
|
* </ul>
|
|
1719
1717
|
*/
|
|
@@ -1917,55 +1915,55 @@ export interface ErrorInformation {
|
|
|
1917
1915
|
/**
|
|
1918
1916
|
* @public
|
|
1919
1917
|
* <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>
|
|
1920
|
-
*
|
|
1921
|
-
*
|
|
1918
|
+
* <p>The error code:</p>
|
|
1919
|
+
* <ul>
|
|
1922
1920
|
* <li>
|
|
1923
|
-
*
|
|
1921
|
+
* <p>APPLICATION_MISSING: The application was missing. This error code is most
|
|
1924
1922
|
* likely raised if the application is deleted after the deployment is created, but
|
|
1925
1923
|
* before it is started.</p>
|
|
1926
1924
|
* </li>
|
|
1927
1925
|
* <li>
|
|
1928
|
-
*
|
|
1926
|
+
* <p>DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error code is
|
|
1929
1927
|
* most likely raised if the deployment group is deleted after the deployment is
|
|
1930
1928
|
* created, but before it is started.</p>
|
|
1931
1929
|
* </li>
|
|
1932
1930
|
* <li>
|
|
1933
|
-
*
|
|
1931
|
+
* <p>HEALTH_CONSTRAINTS: The deployment failed on too many instances to be
|
|
1934
1932
|
* successfully deployed within the instance health constraints specified.</p>
|
|
1935
1933
|
* </li>
|
|
1936
1934
|
* <li>
|
|
1937
|
-
*
|
|
1935
|
+
* <p>HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully deployed
|
|
1938
1936
|
* within the instance health constraints specified.</p>
|
|
1939
1937
|
* </li>
|
|
1940
1938
|
* <li>
|
|
1941
|
-
*
|
|
1939
|
+
* <p>IAM_ROLE_MISSING: The service role cannot be accessed.</p>
|
|
1942
1940
|
* </li>
|
|
1943
1941
|
* <li>
|
|
1944
|
-
*
|
|
1942
|
+
* <p>IAM_ROLE_PERMISSIONS: The service role does not have the
|
|
1945
1943
|
* correct permissions.</p>
|
|
1946
1944
|
* </li>
|
|
1947
1945
|
* <li>
|
|
1948
|
-
*
|
|
1946
|
+
* <p>INTERNAL_ERROR: There was an internal error.</p>
|
|
1949
1947
|
* </li>
|
|
1950
1948
|
* <li>
|
|
1951
|
-
*
|
|
1949
|
+
* <p>NO_EC2_SUBSCRIPTION: The calling account is not subscribed to Amazon EC2.</p>
|
|
1952
1950
|
* </li>
|
|
1953
1951
|
* <li>
|
|
1954
|
-
*
|
|
1952
|
+
* <p>NO_INSTANCES: No instances were specified, or no instances can be
|
|
1955
1953
|
* found.</p>
|
|
1956
1954
|
* </li>
|
|
1957
1955
|
* <li>
|
|
1958
|
-
*
|
|
1956
|
+
* <p>OVER_MAX_INSTANCES: The maximum number of instances was exceeded.</p>
|
|
1959
1957
|
* </li>
|
|
1960
1958
|
* <li>
|
|
1961
|
-
*
|
|
1959
|
+
* <p>THROTTLED: The operation was throttled because the calling account exceeded
|
|
1962
1960
|
* the throttling limits of one or more Amazon Web Services services.</p>
|
|
1963
1961
|
* </li>
|
|
1964
1962
|
* <li>
|
|
1965
|
-
*
|
|
1963
|
+
* <p>TIMEOUT: The deployment has timed out.</p>
|
|
1966
1964
|
* </li>
|
|
1967
1965
|
* <li>
|
|
1968
|
-
*
|
|
1966
|
+
* <p>REVISION_MISSING: The revision ID was missing. This error code is most likely
|
|
1969
1967
|
* raised if the revision is deleted after the deployment is created, but before it
|
|
1970
1968
|
* is started.</p>
|
|
1971
1969
|
* </li>
|
|
@@ -2115,7 +2113,7 @@ export interface DeploymentInfo {
|
|
|
2115
2113
|
* @public
|
|
2116
2114
|
* <p>A timestamp that indicates when the deployment was deployed to the deployment
|
|
2117
2115
|
* group.</p>
|
|
2118
|
-
*
|
|
2116
|
+
* <p>In some cases, the reported value of the start time might be later than the complete
|
|
2119
2117
|
* time. This is due to differences in the clock settings of backend servers that
|
|
2120
2118
|
* participate in the deployment process.</p>
|
|
2121
2119
|
*/
|
|
@@ -2138,22 +2136,22 @@ export interface DeploymentInfo {
|
|
|
2138
2136
|
/**
|
|
2139
2137
|
* @public
|
|
2140
2138
|
* <p>The means by which the deployment was created:</p>
|
|
2141
|
-
*
|
|
2139
|
+
* <ul>
|
|
2142
2140
|
* <li>
|
|
2143
|
-
*
|
|
2141
|
+
* <p>
|
|
2144
2142
|
* <code>user</code>: A user created the deployment.</p>
|
|
2145
2143
|
* </li>
|
|
2146
2144
|
* <li>
|
|
2147
|
-
*
|
|
2145
|
+
* <p>
|
|
2148
2146
|
* <code>autoscaling</code>: Amazon EC2 Auto Scaling created the deployment.</p>
|
|
2149
2147
|
* </li>
|
|
2150
2148
|
* <li>
|
|
2151
|
-
*
|
|
2149
|
+
* <p>
|
|
2152
2150
|
* <code>codeDeployRollback</code>: A rollback process created the
|
|
2153
2151
|
* deployment.</p>
|
|
2154
2152
|
* </li>
|
|
2155
2153
|
* <li>
|
|
2156
|
-
*
|
|
2154
|
+
* <p>
|
|
2157
2155
|
* <code>CodeDeployAutoUpdate</code>: An auto-update process created the
|
|
2158
2156
|
* deployment when it detected outdated Amazon EC2 instances.</p>
|
|
2159
2157
|
* </li>
|
|
@@ -2169,20 +2167,17 @@ export interface DeploymentInfo {
|
|
|
2169
2167
|
* <code>BeforeBlockTraffic</code> fails, the deployment continues with
|
|
2170
2168
|
* <code>BlockTraffic</code>. If <code>AfterBlockTraffic</code> fails, the deployment
|
|
2171
2169
|
* continues with <code>ApplicationStop</code>. </p>
|
|
2172
|
-
*
|
|
2173
|
-
* <p> If false or not specified, then if a lifecycle event fails during a deployment to an
|
|
2170
|
+
* <p> If false or not specified, then if a lifecycle event fails during a deployment to an
|
|
2174
2171
|
* instance, that deployment fails. If deployment to that instance is part of an overall
|
|
2175
2172
|
* deployment and the number of healthy hosts is not less than the minimum number of
|
|
2176
2173
|
* healthy hosts, then a deployment to the next instance is attempted. </p>
|
|
2177
|
-
*
|
|
2178
|
-
* <p> During a deployment, the CodeDeploy agent runs the scripts specified for
|
|
2174
|
+
* <p> During a deployment, the CodeDeploy agent runs the scripts specified for
|
|
2179
2175
|
* <code>ApplicationStop</code>, <code>BeforeBlockTraffic</code>, and
|
|
2180
2176
|
* <code>AfterBlockTraffic</code> in the AppSpec file from the previous successful
|
|
2181
2177
|
* deployment. (All other scripts are run from the AppSpec file in the current deployment.)
|
|
2182
2178
|
* If one of these scripts contains an error and does not run successfully, the deployment
|
|
2183
2179
|
* can fail. </p>
|
|
2184
|
-
*
|
|
2185
|
-
* <p> If the cause of the failure is a script from the last successful deployment that will
|
|
2180
|
+
* <p> If the cause of the failure is a script from the last successful deployment that will
|
|
2186
2181
|
* never run successfully, create a new deployment and use
|
|
2187
2182
|
* <code>ignoreApplicationStopFailures</code> to specify that the
|
|
2188
2183
|
* <code>ApplicationStop</code>, <code>BeforeBlockTraffic</code>, and
|
|
@@ -2248,19 +2243,19 @@ export interface DeploymentInfo {
|
|
|
2248
2243
|
* <p>Information about how CodeDeploy handles files that already exist in a
|
|
2249
2244
|
* deployment target location but weren't part of the previous successful
|
|
2250
2245
|
* deployment.</p>
|
|
2251
|
-
*
|
|
2246
|
+
* <ul>
|
|
2252
2247
|
* <li>
|
|
2253
|
-
*
|
|
2248
|
+
* <p>
|
|
2254
2249
|
* <code>DISALLOW</code>: The deployment fails. This is also the default behavior
|
|
2255
2250
|
* if no option is specified.</p>
|
|
2256
2251
|
* </li>
|
|
2257
2252
|
* <li>
|
|
2258
|
-
*
|
|
2253
|
+
* <p>
|
|
2259
2254
|
* <code>OVERWRITE</code>: The version of the file from the application revision
|
|
2260
2255
|
* currently being deployed replaces the version already on the instance.</p>
|
|
2261
2256
|
* </li>
|
|
2262
2257
|
* <li>
|
|
2263
|
-
*
|
|
2258
|
+
* <p>
|
|
2264
2259
|
* <code>RETAIN</code>: The version of the file already on the instance is kept
|
|
2265
2260
|
* and used as part of the new deployment.</p>
|
|
2266
2261
|
* </li>
|
|
@@ -2320,25 +2315,25 @@ export interface BatchGetDeploymentTargetsInput {
|
|
|
2320
2315
|
* <p> The unique IDs of the deployment targets. The compute platform of the deployment
|
|
2321
2316
|
* determines the type of the targets and their formats. The maximum number of deployment
|
|
2322
2317
|
* target IDs you can specify is 25.</p>
|
|
2323
|
-
*
|
|
2318
|
+
* <ul>
|
|
2324
2319
|
* <li>
|
|
2325
|
-
*
|
|
2320
|
+
* <p> For deployments that use the EC2/On-premises compute platform, the target IDs
|
|
2326
2321
|
* are Amazon EC2 or on-premises instances IDs, and their target type is
|
|
2327
2322
|
* <code>instanceTarget</code>. </p>
|
|
2328
2323
|
* </li>
|
|
2329
2324
|
* <li>
|
|
2330
|
-
*
|
|
2325
|
+
* <p> For deployments that use the Lambda compute platform, the
|
|
2331
2326
|
* target IDs are the names of Lambda functions, and their target type
|
|
2332
2327
|
* is <code>instanceTarget</code>. </p>
|
|
2333
2328
|
* </li>
|
|
2334
2329
|
* <li>
|
|
2335
|
-
*
|
|
2330
|
+
* <p> For deployments that use the Amazon ECS compute platform, the target
|
|
2336
2331
|
* IDs are pairs of Amazon ECS clusters and services specified using the
|
|
2337
2332
|
* format <code><clustername>:<servicename></code>. Their target type
|
|
2338
2333
|
* is <code>ecsTarget</code>. </p>
|
|
2339
2334
|
* </li>
|
|
2340
2335
|
* <li>
|
|
2341
|
-
*
|
|
2336
|
+
* <p> For deployments that are deployed with CloudFormation, the target IDs are
|
|
2342
2337
|
* CloudFormation stack IDs. Their target type is
|
|
2343
2338
|
* <code>cloudFormationTarget</code>. </p>
|
|
2344
2339
|
* </li>
|
|
@@ -2477,20 +2472,20 @@ export interface ECSTaskSet {
|
|
|
2477
2472
|
/**
|
|
2478
2473
|
* @public
|
|
2479
2474
|
* <p> The status of the task set. There are three valid task set statuses: </p>
|
|
2480
|
-
*
|
|
2475
|
+
* <ul>
|
|
2481
2476
|
* <li>
|
|
2482
|
-
*
|
|
2483
|
-
*
|
|
2477
|
+
* <p>
|
|
2478
|
+
* <code>PRIMARY</code>: Indicates the task set is serving production traffic.
|
|
2484
2479
|
* </p>
|
|
2485
2480
|
* </li>
|
|
2486
2481
|
* <li>
|
|
2487
|
-
*
|
|
2488
|
-
*
|
|
2482
|
+
* <p>
|
|
2483
|
+
* <code>ACTIVE</code>: Indicates the task set is not serving production traffic.
|
|
2489
2484
|
* </p>
|
|
2490
2485
|
* </li>
|
|
2491
2486
|
* <li>
|
|
2492
|
-
*
|
|
2493
|
-
*
|
|
2487
|
+
* <p>
|
|
2488
|
+
* <code>DRAINING</code>: Indicates the tasks in the task set are being stopped and
|
|
2494
2489
|
* their corresponding targets are being deregistered from their target group.
|
|
2495
2490
|
* </p>
|
|
2496
2491
|
* </li>
|
|
@@ -2728,25 +2723,25 @@ export interface BatchGetDeploymentTargetsOutput {
|
|
|
2728
2723
|
* <p> A list of target objects for a deployment. Each target object contains details about
|
|
2729
2724
|
* the target, such as its status and lifecycle events. The type of the target objects
|
|
2730
2725
|
* depends on the deployment' compute platform. </p>
|
|
2731
|
-
*
|
|
2726
|
+
* <ul>
|
|
2732
2727
|
* <li>
|
|
2733
|
-
*
|
|
2734
|
-
*
|
|
2728
|
+
* <p>
|
|
2729
|
+
* <b>EC2/On-premises</b>: Each target object is an
|
|
2735
2730
|
* Amazon EC2 or on-premises instance. </p>
|
|
2736
2731
|
* </li>
|
|
2737
2732
|
* <li>
|
|
2738
|
-
*
|
|
2739
|
-
*
|
|
2733
|
+
* <p>
|
|
2734
|
+
* <b>Lambda</b>: The target object is a
|
|
2740
2735
|
* specific version of an Lambda function. </p>
|
|
2741
2736
|
* </li>
|
|
2742
2737
|
* <li>
|
|
2743
|
-
*
|
|
2744
|
-
*
|
|
2738
|
+
* <p>
|
|
2739
|
+
* <b>Amazon ECS</b>: The target object is an
|
|
2745
2740
|
* Amazon ECS service. </p>
|
|
2746
2741
|
* </li>
|
|
2747
2742
|
* <li>
|
|
2748
|
-
*
|
|
2749
|
-
*
|
|
2743
|
+
* <p>
|
|
2744
|
+
* <b>CloudFormation</b>: The target object is
|
|
2750
2745
|
* an CloudFormation blue/green deployment. </p>
|
|
2751
2746
|
* </li>
|
|
2752
2747
|
* </ul>
|
|
@@ -3069,7 +3064,7 @@ export interface CreateDeploymentInput {
|
|
|
3069
3064
|
* @public
|
|
3070
3065
|
* <p>The name of a deployment configuration associated with the IAM user or
|
|
3071
3066
|
* Amazon Web Services account.</p>
|
|
3072
|
-
*
|
|
3067
|
+
* <p>If not specified, the value configured in the deployment group is used as the default.
|
|
3073
3068
|
* If the deployment group does not have a deployment configuration associated with it,
|
|
3074
3069
|
* <code>CodeDeployDefault</code>.<code>OneAtATime</code> is used by default.</p>
|
|
3075
3070
|
*/
|
|
@@ -3088,20 +3083,17 @@ export interface CreateDeploymentInput {
|
|
|
3088
3083
|
* <code>DownloadBundle</code>. If <code>BeforeBlockTraffic</code> fails, the
|
|
3089
3084
|
* deployment continues with <code>BlockTraffic</code>. If <code>AfterBlockTraffic</code>
|
|
3090
3085
|
* fails, the deployment continues with <code>ApplicationStop</code>. </p>
|
|
3091
|
-
*
|
|
3092
|
-
* <p> If false or not specified, then if a lifecycle event fails during a deployment to an
|
|
3086
|
+
* <p> If false or not specified, then if a lifecycle event fails during a deployment to an
|
|
3093
3087
|
* instance, that deployment fails. If deployment to that instance is part of an overall
|
|
3094
3088
|
* deployment and the number of healthy hosts is not less than the minimum number of
|
|
3095
3089
|
* healthy hosts, then a deployment to the next instance is attempted. </p>
|
|
3096
|
-
*
|
|
3097
|
-
* <p> During a deployment, the CodeDeploy agent runs the scripts specified for
|
|
3090
|
+
* <p> During a deployment, the CodeDeploy agent runs the scripts specified for
|
|
3098
3091
|
* <code>ApplicationStop</code>, <code>BeforeBlockTraffic</code>, and
|
|
3099
3092
|
* <code>AfterBlockTraffic</code> in the AppSpec file from the previous successful
|
|
3100
3093
|
* deployment. (All other scripts are run from the AppSpec file in the current deployment.)
|
|
3101
3094
|
* If one of these scripts contains an error and does not run successfully, the deployment
|
|
3102
3095
|
* can fail. </p>
|
|
3103
|
-
*
|
|
3104
|
-
* <p> If the cause of the failure is a script from the last successful deployment that will
|
|
3096
|
+
* <p> If the cause of the failure is a script from the last successful deployment that will
|
|
3105
3097
|
* never run successfully, create a new deployment and use
|
|
3106
3098
|
* <code>ignoreApplicationStopFailures</code> to specify that the
|
|
3107
3099
|
* <code>ApplicationStop</code>, <code>BeforeBlockTraffic</code>, and
|
|
@@ -3131,19 +3123,19 @@ export interface CreateDeploymentInput {
|
|
|
3131
3123
|
* <p>Information about how CodeDeploy handles files that already exist in a
|
|
3132
3124
|
* deployment target location but weren't part of the previous successful
|
|
3133
3125
|
* deployment.</p>
|
|
3134
|
-
*
|
|
3126
|
+
* <p>The <code>fileExistsBehavior</code> parameter takes any of the following
|
|
3135
3127
|
* values:</p>
|
|
3136
|
-
*
|
|
3128
|
+
* <ul>
|
|
3137
3129
|
* <li>
|
|
3138
|
-
*
|
|
3130
|
+
* <p>DISALLOW: The deployment fails. This is also the default behavior if no option
|
|
3139
3131
|
* is specified.</p>
|
|
3140
3132
|
* </li>
|
|
3141
3133
|
* <li>
|
|
3142
|
-
*
|
|
3134
|
+
* <p>OVERWRITE: The version of the file from the application revision currently
|
|
3143
3135
|
* being deployed replaces the version already on the instance.</p>
|
|
3144
3136
|
* </li>
|
|
3145
3137
|
* <li>
|
|
3146
|
-
*
|
|
3138
|
+
* <p>RETAIN: The version of the file already on the instance is kept and used as
|
|
3147
3139
|
* part of the new deployment.</p>
|
|
3148
3140
|
* </li>
|
|
3149
3141
|
* </ul>
|
|
@@ -3160,11 +3152,11 @@ export interface CreateDeploymentInput {
|
|
|
3160
3152
|
* turn off alarm polling. Turning off alarm polling ensures that the new deployment
|
|
3161
3153
|
* proceeds without being blocked by the alarm that was generated by the previous, failed,
|
|
3162
3154
|
* deployment.</p>
|
|
3163
|
-
*
|
|
3155
|
+
* <note>
|
|
3164
3156
|
* <p>If you specify an <code>overrideAlarmConfiguration</code>, you need the
|
|
3165
3157
|
* <code>UpdateDeploymentGroup</code> IAM permission when calling
|
|
3166
3158
|
* <code>CreateDeployment</code>.</p>
|
|
3167
|
-
*
|
|
3159
|
+
* </note>
|
|
3168
3160
|
*/
|
|
3169
3161
|
overrideAlarmConfiguration?: AlarmConfiguration;
|
|
3170
3162
|
}
|
|
@@ -3218,21 +3210,21 @@ export declare class DescriptionTooLongException extends __BaseException {
|
|
|
3218
3210
|
/**
|
|
3219
3211
|
* @public
|
|
3220
3212
|
* <p>The format of the alarm configuration is invalid. Possible causes include:</p>
|
|
3221
|
-
*
|
|
3213
|
+
* <ul>
|
|
3222
3214
|
* <li>
|
|
3223
|
-
*
|
|
3215
|
+
* <p>The alarm list is null.</p>
|
|
3224
3216
|
* </li>
|
|
3225
3217
|
* <li>
|
|
3226
|
-
*
|
|
3218
|
+
* <p>The alarm object is null.</p>
|
|
3227
3219
|
* </li>
|
|
3228
3220
|
* <li>
|
|
3229
|
-
*
|
|
3221
|
+
* <p>The alarm name is empty or null or exceeds the limit of 255 characters.</p>
|
|
3230
3222
|
* </li>
|
|
3231
3223
|
* <li>
|
|
3232
|
-
*
|
|
3224
|
+
* <p>Two alarms with the same name have been specified.</p>
|
|
3233
3225
|
* </li>
|
|
3234
3226
|
* <li>
|
|
3235
|
-
*
|
|
3227
|
+
* <p>The alarm configuration is enabled, but the alarm list is empty.</p>
|
|
3236
3228
|
* </li>
|
|
3237
3229
|
* </ul>
|
|
3238
3230
|
*/
|
|
@@ -3352,19 +3344,19 @@ export declare class InvalidRoleException extends __BaseException {
|
|
|
3352
3344
|
/**
|
|
3353
3345
|
* @public
|
|
3354
3346
|
* <p>The target instance configuration is invalid. Possible causes include:</p>
|
|
3355
|
-
*
|
|
3347
|
+
* <ul>
|
|
3356
3348
|
* <li>
|
|
3357
|
-
*
|
|
3349
|
+
* <p>Configuration data for target instances was entered for an in-place
|
|
3358
3350
|
* deployment.</p>
|
|
3359
3351
|
* </li>
|
|
3360
3352
|
* <li>
|
|
3361
|
-
*
|
|
3353
|
+
* <p>The limit of 10 tags for a tag type was exceeded.</p>
|
|
3362
3354
|
* </li>
|
|
3363
3355
|
* <li>
|
|
3364
|
-
*
|
|
3356
|
+
* <p>The combined length of the tag names exceeded the limit. </p>
|
|
3365
3357
|
* </li>
|
|
3366
3358
|
* <li>
|
|
3367
|
-
*
|
|
3359
|
+
* <p>A specified tag is not currently applied to any instances.</p>
|
|
3368
3360
|
* </li>
|
|
3369
3361
|
* </ul>
|
|
3370
3362
|
*/
|
|
@@ -3447,25 +3439,25 @@ export interface MinimumHealthyHosts {
|
|
|
3447
3439
|
/**
|
|
3448
3440
|
* @public
|
|
3449
3441
|
* <p>The minimum healthy instance type:</p>
|
|
3450
|
-
*
|
|
3442
|
+
* <ul>
|
|
3451
3443
|
* <li>
|
|
3452
|
-
*
|
|
3444
|
+
* <p>
|
|
3453
3445
|
* <code>HOST_COUNT</code>: The minimum number of healthy instances as an
|
|
3454
3446
|
* absolute value.</p>
|
|
3455
3447
|
* </li>
|
|
3456
3448
|
* <li>
|
|
3457
|
-
*
|
|
3449
|
+
* <p>
|
|
3458
3450
|
* <code>FLEET_PERCENT</code>: The minimum number of healthy instances as a
|
|
3459
3451
|
* percentage of the total number of instances in the deployment.</p>
|
|
3460
3452
|
* </li>
|
|
3461
3453
|
* </ul>
|
|
3462
|
-
*
|
|
3454
|
+
* <p>In an example of nine instances, if a HOST_COUNT of six is specified, deploy to up to
|
|
3463
3455
|
* three instances at a time. The deployment is successful if six or more instances are
|
|
3464
3456
|
* deployed to successfully. Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is
|
|
3465
3457
|
* specified, deploy to up to five instances at a time. The deployment is successful if
|
|
3466
3458
|
* four or more instances are deployed to successfully. Otherwise, the deployment
|
|
3467
3459
|
* fails.</p>
|
|
3468
|
-
*
|
|
3460
|
+
* <note>
|
|
3469
3461
|
* <p>In a call to the <code>GetDeploymentConfig</code>, CodeDeployDefault.OneAtATime
|
|
3470
3462
|
* returns a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This
|
|
3471
3463
|
* means a deployment to only one instance at a time. (You cannot set the type to
|
|
@@ -3475,8 +3467,8 @@ export interface MinimumHealthyHosts {
|
|
|
3475
3467
|
* allows one instance at a time to be taken offline for a new deployment, it also
|
|
3476
3468
|
* means that if the deployment to the last instance fails, the overall deployment is
|
|
3477
3469
|
* still successful.</p>
|
|
3478
|
-
*
|
|
3479
|
-
*
|
|
3470
|
+
* </note>
|
|
3471
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/instances-health.html">CodeDeploy
|
|
3480
3472
|
* Instance Health</a> in the <i>CodeDeploy User
|
|
3481
3473
|
* Guide</i>.</p>
|
|
3482
3474
|
*/
|
|
@@ -3587,21 +3579,21 @@ export interface CreateDeploymentConfigInput {
|
|
|
3587
3579
|
* @public
|
|
3588
3580
|
* <p>The minimum number of healthy instances that should be available at any time during
|
|
3589
3581
|
* the deployment. There are two parameters expected in the input: type and value.</p>
|
|
3590
|
-
*
|
|
3591
|
-
*
|
|
3582
|
+
* <p>The type parameter takes either of the following values:</p>
|
|
3583
|
+
* <ul>
|
|
3592
3584
|
* <li>
|
|
3593
|
-
*
|
|
3585
|
+
* <p>HOST_COUNT: The value parameter represents the minimum number of healthy
|
|
3594
3586
|
* instances as an absolute value.</p>
|
|
3595
3587
|
* </li>
|
|
3596
3588
|
* <li>
|
|
3597
|
-
*
|
|
3589
|
+
* <p>FLEET_PERCENT: The value parameter represents the minimum number of healthy
|
|
3598
3590
|
* instances as a percentage of the total number of instances in the deployment. If
|
|
3599
3591
|
* you specify FLEET_PERCENT, at the start of the deployment, CodeDeploy converts the percentage to the equivalent number of instances and rounds up
|
|
3600
3592
|
* fractional instances.</p>
|
|
3601
3593
|
* </li>
|
|
3602
3594
|
* </ul>
|
|
3603
|
-
*
|
|
3604
|
-
*
|
|
3595
|
+
* <p>The value parameter takes an integer.</p>
|
|
3596
|
+
* <p>For example, to set a minimum of 95% healthy instance, specify a type of FLEET_PERCENT
|
|
3605
3597
|
* and a value of 95.</p>
|
|
3606
3598
|
*/
|
|
3607
3599
|
minimumHealthyHosts?: MinimumHealthyHosts;
|
|
@@ -3697,11 +3689,11 @@ export interface CreateDeploymentGroupInput {
|
|
|
3697
3689
|
* <p>If specified, the deployment configuration name can be either one of the predefined
|
|
3698
3690
|
* configurations provided with CodeDeploy or a custom deployment configuration
|
|
3699
3691
|
* that you create by calling the create deployment configuration operation.</p>
|
|
3700
|
-
*
|
|
3692
|
+
* <p>
|
|
3701
3693
|
* <code>CodeDeployDefault.OneAtATime</code> is the default deployment configuration. It
|
|
3702
3694
|
* is used if a configuration isn't specified for the deployment or deployment
|
|
3703
3695
|
* group.</p>
|
|
3704
|
-
*
|
|
3696
|
+
* <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
|
|
3705
3697
|
* Deployment Configurations in CodeDeploy</a> in the <i>CodeDeploy User Guide</i>.</p>
|
|
3706
3698
|
*/
|
|
3707
3699
|
deploymentConfigName?: string;
|
|
@@ -3753,10 +3745,10 @@ export interface CreateDeploymentGroupInput {
|
|
|
3753
3745
|
* @public
|
|
3754
3746
|
* <p>Indicates what happens when new Amazon EC2 instances are launched
|
|
3755
3747
|
* mid-deployment and do not receive the deployed application revision.</p>
|
|
3756
|
-
*
|
|
3748
|
+
* <p>If this option is set to <code>UPDATE</code> or is unspecified, CodeDeploy initiates
|
|
3757
3749
|
* one or more 'auto-update outdated instances' deployments to apply the deployed
|
|
3758
3750
|
* application revision to the new Amazon EC2 instances.</p>
|
|
3759
|
-
*
|
|
3751
|
+
* <p>If this option is set to <code>IGNORE</code>, CodeDeploy does not initiate a
|
|
3760
3752
|
* deployment to update the new Amazon EC2 instances. This may result in instances
|
|
3761
3753
|
* having different revisions.</p>
|
|
3762
3754
|
*/
|
|
@@ -4564,48 +4556,48 @@ export interface ListApplicationRevisionsInput {
|
|
|
4564
4556
|
/**
|
|
4565
4557
|
* @public
|
|
4566
4558
|
* <p>The column name to use to sort the list results:</p>
|
|
4567
|
-
*
|
|
4559
|
+
* <ul>
|
|
4568
4560
|
* <li>
|
|
4569
|
-
*
|
|
4561
|
+
* <p>
|
|
4570
4562
|
* <code>registerTime</code>: Sort by the time the revisions were registered with
|
|
4571
4563
|
* CodeDeploy.</p>
|
|
4572
4564
|
* </li>
|
|
4573
4565
|
* <li>
|
|
4574
|
-
*
|
|
4566
|
+
* <p>
|
|
4575
4567
|
* <code>firstUsedTime</code>: Sort by the time the revisions were first used in
|
|
4576
4568
|
* a deployment.</p>
|
|
4577
4569
|
* </li>
|
|
4578
4570
|
* <li>
|
|
4579
|
-
*
|
|
4571
|
+
* <p>
|
|
4580
4572
|
* <code>lastUsedTime</code>: Sort by the time the revisions were last used in a
|
|
4581
4573
|
* deployment.</p>
|
|
4582
4574
|
* </li>
|
|
4583
4575
|
* </ul>
|
|
4584
|
-
*
|
|
4576
|
+
* <p> If not specified or set to null, the results are returned in an arbitrary order.
|
|
4585
4577
|
* </p>
|
|
4586
4578
|
*/
|
|
4587
4579
|
sortBy?: ApplicationRevisionSortBy | string;
|
|
4588
4580
|
/**
|
|
4589
4581
|
* @public
|
|
4590
4582
|
* <p> The order in which to sort the list results: </p>
|
|
4591
|
-
*
|
|
4583
|
+
* <ul>
|
|
4592
4584
|
* <li>
|
|
4593
|
-
*
|
|
4585
|
+
* <p>
|
|
4594
4586
|
* <code>ascending</code>: ascending order.</p>
|
|
4595
4587
|
* </li>
|
|
4596
4588
|
* <li>
|
|
4597
|
-
*
|
|
4589
|
+
* <p>
|
|
4598
4590
|
* <code>descending</code>: descending order.</p>
|
|
4599
4591
|
* </li>
|
|
4600
4592
|
* </ul>
|
|
4601
|
-
*
|
|
4602
|
-
*
|
|
4593
|
+
* <p>If not specified, the results are sorted in ascending order.</p>
|
|
4594
|
+
* <p>If set to null, the results are sorted in an arbitrary order.</p>
|
|
4603
4595
|
*/
|
|
4604
4596
|
sortOrder?: SortOrder | string;
|
|
4605
4597
|
/**
|
|
4606
4598
|
* @public
|
|
4607
4599
|
* <p> An Amazon S3 bucket name to limit the search for revisions. </p>
|
|
4608
|
-
*
|
|
4600
|
+
* <p> If set to null, all of the user's buckets are searched. </p>
|
|
4609
4601
|
*/
|
|
4610
4602
|
s3Bucket?: string;
|
|
4611
4603
|
/**
|
|
@@ -4618,19 +4610,19 @@ export interface ListApplicationRevisionsInput {
|
|
|
4618
4610
|
* @public
|
|
4619
4611
|
* <p> Whether to list revisions based on whether the revision is the target revision of a
|
|
4620
4612
|
* deployment group: </p>
|
|
4621
|
-
*
|
|
4613
|
+
* <ul>
|
|
4622
4614
|
* <li>
|
|
4623
|
-
*
|
|
4615
|
+
* <p>
|
|
4624
4616
|
* <code>include</code>: List revisions that are target revisions of a deployment
|
|
4625
4617
|
* group.</p>
|
|
4626
4618
|
* </li>
|
|
4627
4619
|
* <li>
|
|
4628
|
-
*
|
|
4620
|
+
* <p>
|
|
4629
4621
|
* <code>exclude</code>: Do not list revisions that are target revisions of a
|
|
4630
4622
|
* deployment group.</p>
|
|
4631
4623
|
* </li>
|
|
4632
4624
|
* <li>
|
|
4633
|
-
*
|
|
4625
|
+
* <p>
|
|
4634
4626
|
* <code>ignore</code>: List all revisions.</p>
|
|
4635
4627
|
* </li>
|
|
4636
4628
|
* </ul>
|
|
@@ -4832,31 +4824,31 @@ export interface ListDeploymentInstancesInput {
|
|
|
4832
4824
|
/**
|
|
4833
4825
|
* @public
|
|
4834
4826
|
* <p>A subset of instances to list by status:</p>
|
|
4835
|
-
*
|
|
4827
|
+
* <ul>
|
|
4836
4828
|
* <li>
|
|
4837
|
-
*
|
|
4829
|
+
* <p>
|
|
4838
4830
|
* <code>Pending</code>: Include those instances with pending deployments.</p>
|
|
4839
4831
|
* </li>
|
|
4840
4832
|
* <li>
|
|
4841
|
-
*
|
|
4833
|
+
* <p>
|
|
4842
4834
|
* <code>InProgress</code>: Include those instances where deployments are still
|
|
4843
4835
|
* in progress.</p>
|
|
4844
4836
|
* </li>
|
|
4845
4837
|
* <li>
|
|
4846
|
-
*
|
|
4838
|
+
* <p>
|
|
4847
4839
|
* <code>Succeeded</code>: Include those instances with successful
|
|
4848
4840
|
* deployments.</p>
|
|
4849
4841
|
* </li>
|
|
4850
4842
|
* <li>
|
|
4851
|
-
*
|
|
4843
|
+
* <p>
|
|
4852
4844
|
* <code>Failed</code>: Include those instances with failed deployments.</p>
|
|
4853
4845
|
* </li>
|
|
4854
4846
|
* <li>
|
|
4855
|
-
*
|
|
4847
|
+
* <p>
|
|
4856
4848
|
* <code>Skipped</code>: Include those instances with skipped deployments.</p>
|
|
4857
4849
|
* </li>
|
|
4858
4850
|
* <li>
|
|
4859
|
-
*
|
|
4851
|
+
* <p>
|
|
4860
4852
|
* <code>Unknown</code>: Include those instances with deployments in an unknown
|
|
4861
4853
|
* state.</p>
|
|
4862
4854
|
* </li>
|
|
@@ -4921,17 +4913,17 @@ export interface TimeRange {
|
|
|
4921
4913
|
/**
|
|
4922
4914
|
* @public
|
|
4923
4915
|
* <p>The start time of the time range.</p>
|
|
4924
|
-
*
|
|
4916
|
+
* <note>
|
|
4925
4917
|
* <p>Specify null to leave the start time open-ended.</p>
|
|
4926
|
-
*
|
|
4918
|
+
* </note>
|
|
4927
4919
|
*/
|
|
4928
4920
|
start?: Date;
|
|
4929
4921
|
/**
|
|
4930
4922
|
* @public
|
|
4931
4923
|
* <p>The end time of the time range.</p>
|
|
4932
|
-
*
|
|
4924
|
+
* <note>
|
|
4933
4925
|
* <p>Specify null to leave the end time open-ended.</p>
|
|
4934
|
-
*
|
|
4926
|
+
* </note>
|
|
4935
4927
|
*/
|
|
4936
4928
|
end?: Date;
|
|
4937
4929
|
}
|
|
@@ -4943,21 +4935,21 @@ export interface ListDeploymentsInput {
|
|
|
4943
4935
|
/**
|
|
4944
4936
|
* @public
|
|
4945
4937
|
* <p>The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.</p>
|
|
4946
|
-
*
|
|
4938
|
+
* <note>
|
|
4947
4939
|
* <p>If <code>applicationName</code> is specified, then
|
|
4948
4940
|
* <code>deploymentGroupName</code> must be specified. If it is not specified, then
|
|
4949
4941
|
* <code>deploymentGroupName</code> must not be specified. </p>
|
|
4950
|
-
*
|
|
4942
|
+
* </note>
|
|
4951
4943
|
*/
|
|
4952
4944
|
applicationName?: string;
|
|
4953
4945
|
/**
|
|
4954
4946
|
* @public
|
|
4955
4947
|
* <p>The name of a deployment group for the specified application.</p>
|
|
4956
|
-
*
|
|
4948
|
+
* <note>
|
|
4957
4949
|
* <p>If <code>deploymentGroupName</code> is specified, then
|
|
4958
4950
|
* <code>applicationName</code> must be specified. If it is not specified, then
|
|
4959
4951
|
* <code>applicationName</code> must not be specified. </p>
|
|
4960
|
-
*
|
|
4952
|
+
* </note>
|
|
4961
4953
|
*/
|
|
4962
4954
|
deploymentGroupName?: string;
|
|
4963
4955
|
/**
|
|
@@ -4969,32 +4961,32 @@ export interface ListDeploymentsInput {
|
|
|
4969
4961
|
/**
|
|
4970
4962
|
* @public
|
|
4971
4963
|
* <p>A subset of deployments to list by status:</p>
|
|
4972
|
-
*
|
|
4964
|
+
* <ul>
|
|
4973
4965
|
* <li>
|
|
4974
|
-
*
|
|
4966
|
+
* <p>
|
|
4975
4967
|
* <code>Created</code>: Include created deployments in the resulting
|
|
4976
4968
|
* list.</p>
|
|
4977
4969
|
* </li>
|
|
4978
4970
|
* <li>
|
|
4979
|
-
*
|
|
4971
|
+
* <p>
|
|
4980
4972
|
* <code>Queued</code>: Include queued deployments in the resulting list.</p>
|
|
4981
4973
|
* </li>
|
|
4982
4974
|
* <li>
|
|
4983
|
-
*
|
|
4975
|
+
* <p>
|
|
4984
4976
|
* <code>In Progress</code>: Include in-progress deployments in the resulting
|
|
4985
4977
|
* list.</p>
|
|
4986
4978
|
* </li>
|
|
4987
4979
|
* <li>
|
|
4988
|
-
*
|
|
4980
|
+
* <p>
|
|
4989
4981
|
* <code>Succeeded</code>: Include successful deployments in the resulting
|
|
4990
4982
|
* list.</p>
|
|
4991
4983
|
* </li>
|
|
4992
4984
|
* <li>
|
|
4993
|
-
*
|
|
4985
|
+
* <p>
|
|
4994
4986
|
* <code>Failed</code>: Include failed deployments in the resulting list.</p>
|
|
4995
4987
|
* </li>
|
|
4996
4988
|
* <li>
|
|
4997
|
-
*
|
|
4989
|
+
* <p>
|
|
4998
4990
|
* <code>Stopped</code>: Include stopped deployments in the resulting
|
|
4999
4991
|
* list.</p>
|
|
5000
4992
|
* </li>
|
|
@@ -5061,17 +5053,17 @@ export interface ListDeploymentTargetsInput {
|
|
|
5061
5053
|
/**
|
|
5062
5054
|
* @public
|
|
5063
5055
|
* <p> A key used to filter the returned targets. The two valid values are:</p>
|
|
5064
|
-
*
|
|
5056
|
+
* <ul>
|
|
5065
5057
|
* <li>
|
|
5066
|
-
*
|
|
5067
|
-
*
|
|
5058
|
+
* <p>
|
|
5059
|
+
* <code>TargetStatus</code> - A <code>TargetStatus</code> filter string can be
|
|
5068
5060
|
* <code>Failed</code>, <code>InProgress</code>, <code>Pending</code>,
|
|
5069
5061
|
* <code>Ready</code>, <code>Skipped</code>, <code>Succeeded</code>, or
|
|
5070
5062
|
* <code>Unknown</code>. </p>
|
|
5071
5063
|
* </li>
|
|
5072
5064
|
* <li>
|
|
5073
|
-
*
|
|
5074
|
-
*
|
|
5065
|
+
* <p>
|
|
5066
|
+
* <code>ServerInstanceLabel</code> - A <code>ServerInstanceLabel</code> filter
|
|
5075
5067
|
* string can be <code>Blue</code> or <code>Green</code>. </p>
|
|
5076
5068
|
* </li>
|
|
5077
5069
|
* </ul>
|
|
@@ -5169,14 +5161,14 @@ export interface ListOnPremisesInstancesInput {
|
|
|
5169
5161
|
/**
|
|
5170
5162
|
* @public
|
|
5171
5163
|
* <p>The registration status of the on-premises instances:</p>
|
|
5172
|
-
*
|
|
5164
|
+
* <ul>
|
|
5173
5165
|
* <li>
|
|
5174
|
-
*
|
|
5166
|
+
* <p>
|
|
5175
5167
|
* <code>Deregistered</code>: Include deregistered on-premises instances in the
|
|
5176
5168
|
* resulting list.</p>
|
|
5177
5169
|
* </li>
|
|
5178
5170
|
* <li>
|
|
5179
|
-
*
|
|
5171
|
+
* <p>
|
|
5180
5172
|
* <code>Registered</code>: Include registered on-premises instances in the
|
|
5181
5173
|
* resulting list.</p>
|
|
5182
5174
|
* </li>
|
|
@@ -5559,12 +5551,12 @@ export interface StopDeploymentOutput {
|
|
|
5559
5551
|
/**
|
|
5560
5552
|
* @public
|
|
5561
5553
|
* <p>The status of the stop deployment operation:</p>
|
|
5562
|
-
*
|
|
5554
|
+
* <ul>
|
|
5563
5555
|
* <li>
|
|
5564
|
-
*
|
|
5556
|
+
* <p>Pending: The stop operation is pending.</p>
|
|
5565
5557
|
* </li>
|
|
5566
5558
|
* <li>
|
|
5567
|
-
*
|
|
5559
|
+
* <p>Succeeded: The stop operation was successful.</p>
|
|
5568
5560
|
* </li>
|
|
5569
5561
|
* </ul>
|
|
5570
5562
|
*/
|
|
@@ -5678,13 +5670,13 @@ export interface UpdateDeploymentGroupInput {
|
|
|
5678
5670
|
* @public
|
|
5679
5671
|
* <p>The replacement list of Auto Scaling groups to be included in the deployment
|
|
5680
5672
|
* group, if you want to change them.</p>
|
|
5681
|
-
*
|
|
5673
|
+
* <ul>
|
|
5682
5674
|
* <li>
|
|
5683
|
-
*
|
|
5675
|
+
* <p>To keep the Auto Scaling groups, enter their names or do not specify this
|
|
5684
5676
|
* parameter. </p>
|
|
5685
5677
|
* </li>
|
|
5686
5678
|
* <li>
|
|
5687
|
-
*
|
|
5679
|
+
* <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
|
|
5688
5680
|
* launch and receive the error "Heartbeat Timeout"</a> in the
|
|
5689
5681
|
* <i>CodeDeploy User Guide</i>.</p>
|
|
5690
5682
|
* </li>
|
|
@@ -5720,10 +5712,10 @@ export interface UpdateDeploymentGroupInput {
|
|
|
5720
5712
|
* @public
|
|
5721
5713
|
* <p>Indicates what happens when new Amazon EC2 instances are launched
|
|
5722
5714
|
* mid-deployment and do not receive the deployed application revision.</p>
|
|
5723
|
-
*
|
|
5715
|
+
* <p>If this option is set to <code>UPDATE</code> or is unspecified, CodeDeploy initiates
|
|
5724
5716
|
* one or more 'auto-update outdated instances' deployments to apply the deployed
|
|
5725
5717
|
* application revision to the new Amazon EC2 instances.</p>
|
|
5726
|
-
*
|
|
5718
|
+
* <p>If this option is set to <code>IGNORE</code>, CodeDeploy does not initiate a
|
|
5727
5719
|
* deployment to update the new Amazon EC2 instances. This may result in instances
|
|
5728
5720
|
* having different revisions.</p>
|
|
5729
5721
|
*/
|