|
1535 | 1535 | "shape":"AutoRollbackConfiguration",
|
1536 | 1536 | "documentation":"<p>Configuration information for an automatic rollback that is added when a deployment group is created.</p>"
|
1537 | 1537 | },
|
| 1538 | + "outdatedInstancesStrategy":{ |
| 1539 | + "shape":"OutdatedInstancesStrategy", |
| 1540 | + "documentation":"<p>Indicates what happens when new EC2 instances are launched mid-deployment and do not receive the deployed application revision.</p> <p>If this option is set to <code>UPDATE</code> or is unspecified, CodeDeploy initiates one or more 'auto-update outdated instances' deployments to apply the deployed application revision to the new EC2 instances.</p> <p>If this option is set to <code>IGNORE</code>, CodeDeploy does not initiate a deployment to update the new EC2 instances. This may result in instances having different revisions.</p>" |
| 1541 | + }, |
1538 | 1542 | "deploymentStyle":{
|
1539 | 1543 | "shape":"DeploymentStyle",
|
1540 | 1544 | "documentation":"<p>Information about the type of deployment, in-place or blue/green, that you want to run and whether to route deployment traffic behind a load balancer.</p>"
|
|
1813 | 1817 | "autoscaling",
|
1814 | 1818 | "codeDeployRollback",
|
1815 | 1819 | "CodeDeploy",
|
| 1820 | + "CodeDeployAutoUpdate", |
1816 | 1821 | "CloudFormation",
|
1817 | 1822 | "CloudFormationRollback"
|
1818 | 1823 | ]
|
|
1894 | 1899 | "shape":"DeploymentStyle",
|
1895 | 1900 | "documentation":"<p>Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.</p>"
|
1896 | 1901 | },
|
| 1902 | + "outdatedInstancesStrategy":{ |
| 1903 | + "shape":"OutdatedInstancesStrategy", |
| 1904 | + "documentation":"<p>Indicates what happens when new EC2 instances are launched mid-deployment and do not receive the deployed application revision.</p> <p>If this option is set to <code>UPDATE</code> or is unspecified, CodeDeploy initiates one or more 'auto-update outdated instances' deployments to apply the deployed application revision to the new EC2 instances.</p> <p>If this option is set to <code>IGNORE</code>, CodeDeploy does not initiate a deployment to update the new EC2 instances. This may result in instances having different revisions.</p>" |
| 1905 | + }, |
1897 | 1906 | "blueGreenDeploymentConfiguration":{
|
1898 | 1907 | "shape":"BlueGreenDeploymentConfiguration",
|
1899 | 1908 | "documentation":"<p>Information about blue/green deployment options for a deployment group.</p>"
|
|
2021 | 2030 | },
|
2022 | 2031 | "creator":{
|
2023 | 2032 | "shape":"DeploymentCreator",
|
2024 |
| - "documentation":"<p>The means by which the deployment was created:</p> <ul> <li> <p> <code>user</code>: A user created the deployment.</p> </li> <li> <p> <code>autoscaling</code>: Amazon EC2 Auto Scaling created the deployment.</p> </li> <li> <p> <code>codeDeployRollback</code>: A rollback process created the deployment.</p> </li> </ul>" |
| 2033 | + "documentation":"<p>The means by which the deployment was created:</p> <ul> <li> <p> <code>user</code>: A user created the deployment.</p> </li> <li> <p> <code>autoscaling</code>: Amazon EC2 Auto Scaling created the deployment.</p> </li> <li> <p> <code>codeDeployRollback</code>: A rollback process created the deployment.</p> </li> <li> <p> <code>CodeDeployAutoUpdate</code>: An auto-update process created the deployment when it detected outdated EC2 instances.</p> </li> </ul>" |
2025 | 2034 | },
|
2026 | 2035 | "ignoreApplicationStopFailures":{
|
2027 | 2036 | "shape":"Boolean",
|
|
2078 | 2087 | "externalId":{
|
2079 | 2088 | "shape":"ExternalId",
|
2080 | 2089 | "documentation":"<p>The unique ID for an external resource (for example, a CloudFormation stack ID) that is linked to this deployment.</p>"
|
2081 |
| - } |
| 2090 | + }, |
| 2091 | + "relatedDeployments":{"shape":"RelatedDeployments"} |
2082 | 2092 | },
|
2083 | 2093 | "documentation":"<p>Information about a deployment.</p>"
|
2084 | 2094 | },
|
|
3120 | 3130 | "documentation":"<p>The deployed state filter was specified in an invalid format.</p>",
|
3121 | 3131 | "exception":true
|
3122 | 3132 | },
|
3123 |
| - "InvalidDeploymentConfigIdException":{ |
3124 |
| - "type":"structure", |
3125 |
| - "members":{ |
3126 |
| - }, |
3127 |
| - "documentation":"<p> The ID of the deployment configuration is invalid. </p>", |
3128 |
| - "exception":true |
3129 |
| - }, |
3130 | 3133 | "InvalidDeploymentConfigNameException":{
|
3131 | 3134 | "type":"structure",
|
3132 | 3135 | "members":{
|
|
3970 | 3973 | "MinimumHealthyHosts":{
|
3971 | 3974 | "type":"structure",
|
3972 | 3975 | "members":{
|
3973 |
| - "value":{ |
3974 |
| - "shape":"MinimumHealthyHostsValue", |
3975 |
| - "documentation":"<p>The minimum healthy instance value.</p>" |
3976 |
| - }, |
3977 | 3976 | "type":{
|
3978 | 3977 | "shape":"MinimumHealthyHostsType",
|
3979 | 3978 | "documentation":"<p>The minimum healthy instance type:</p> <ul> <li> <p> <code>HOST_COUNT</code>: The minimum number of healthy instances as an absolute value.</p> </li> <li> <p> <code>FLEET_PERCENT</code>: The minimum number of healthy instances as a percentage of the total number of instances in the deployment.</p> </li> </ul> <p>In an example of nine instances, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment is successful if six or more instances are deployed to successfully. Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instances at a time. The deployment is successful if four or more instances are deployed to successfully. Otherwise, the deployment fails.</p> <note> <p>In a call to the <code>GetDeploymentConfig</code>, CodeDeployDefault.OneAtATime returns a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This means a deployment to only one instance at a time. (You cannot set the type to MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with CodeDeployDefault.OneAtATime, AWS CodeDeploy attempts to ensure that all instances but one are kept in a healthy state during the deployment. Although this allows one instance at a time to be taken offline for a new deployment, it also means that if the deployment to the last instance fails, the overall deployment is still successful.</p> </note> <p>For more information, see <a href=\"https://docs.aws.amazon.com/codedeploy/latest/userguide/instances-health.html\">AWS CodeDeploy Instance Health</a> in the <i>AWS CodeDeploy User Guide</i>.</p>"
|
| 3979 | + }, |
| 3980 | + "value":{ |
| 3981 | + "shape":"MinimumHealthyHostsValue", |
| 3982 | + "documentation":"<p>The minimum healthy instance value.</p>" |
3980 | 3983 | }
|
3981 | 3984 | },
|
3982 | 3985 | "documentation":"<p>Information about minimum healthy instance.</p>"
|
|
4019 | 4022 | "documentation":"<p>The API used does not support the deployment.</p>",
|
4020 | 4023 | "exception":true
|
4021 | 4024 | },
|
| 4025 | + "OutdatedInstancesStrategy":{ |
| 4026 | + "type":"string", |
| 4027 | + "enum":[ |
| 4028 | + "UPDATE", |
| 4029 | + "IGNORE" |
| 4030 | + ] |
| 4031 | + }, |
4022 | 4032 | "Percentage":{"type":"integer"},
|
4023 | 4033 | "PutLifecycleEventHookExecutionStatusInput":{
|
4024 | 4034 | "type":"structure",
|
|
4033 | 4043 | },
|
4034 | 4044 | "status":{
|
4035 | 4045 | "shape":"LifecycleEventStatus",
|
4036 |
| - "documentation":"<p>The result of a Lambda function that validates a deployment lifecycle event (<code>Succeeded</code> or <code>Failed</code>).</p>" |
| 4046 | + "documentation":"<p>The result of a Lambda function that validates a deployment lifecycle event. <code>Succeeded</code> and <code>Failed</code> are the only valid values for <code>status</code>.</p>" |
4037 | 4047 | }
|
4038 | 4048 | }
|
4039 | 4049 | },
|
|
4112 | 4122 | "Deregistered"
|
4113 | 4123 | ]
|
4114 | 4124 | },
|
| 4125 | + "RelatedDeployments":{ |
| 4126 | + "type":"structure", |
| 4127 | + "members":{ |
| 4128 | + "autoUpdateOutdatedInstancesRootDeploymentId":{ |
| 4129 | + "shape":"DeploymentId", |
| 4130 | + "documentation":"<p>The deployment ID of the root deployment that triggered this deployment.</p>" |
| 4131 | + }, |
| 4132 | + "autoUpdateOutdatedInstancesDeploymentIds":{ |
| 4133 | + "shape":"DeploymentsList", |
| 4134 | + "documentation":"<p>The deployment IDs of 'auto-update outdated instances' deployments triggered by this deployment.</p>" |
| 4135 | + } |
| 4136 | + }, |
| 4137 | + "documentation":"<p>Information about deployments related to the specified deployment.</p>" |
| 4138 | + }, |
4115 | 4139 | "RemoveTagsFromOnPremisesInstancesInput":{
|
4116 | 4140 | "type":"structure",
|
4117 | 4141 | "required":[
|
|
4742 | 4766 | "shape":"AutoRollbackConfiguration",
|
4743 | 4767 | "documentation":"<p>Information for an automatic rollback configuration that is added or changed when a deployment group is updated.</p>"
|
4744 | 4768 | },
|
| 4769 | + "outdatedInstancesStrategy":{ |
| 4770 | + "shape":"OutdatedInstancesStrategy", |
| 4771 | + "documentation":"<p>Indicates what happens when new EC2 instances are launched mid-deployment and do not receive the deployed application revision.</p> <p>If this option is set to <code>UPDATE</code> or is unspecified, CodeDeploy initiates one or more 'auto-update outdated instances' deployments to apply the deployed application revision to the new EC2 instances.</p> <p>If this option is set to <code>IGNORE</code>, CodeDeploy does not initiate a deployment to update the new EC2 instances. This may result in instances having different revisions.</p>" |
| 4772 | + }, |
4745 | 4773 | "deploymentStyle":{
|
4746 | 4774 | "shape":"DeploymentStyle",
|
4747 | 4775 | "documentation":"<p>Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.</p>"
|
|
0 commit comments