diff --git a/CHANGELOG.md b/CHANGELOG.md index e8c18a8a53d..5a8c9940b24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +Release v1.48.15 (2023-12-07) +=== + +### Service Client Updates +* `service/codedeploy`: Updates service API and documentation + * This release adds support for two new CodeDeploy features: 1) zonal deployments for Amazon EC2 in-place deployments, 2) deployments triggered by Auto Scaling group termination lifecycle hook events. + Release v1.48.14 (2023-12-06) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index ee1ea9b6a6c..cdf456abe1b 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -25843,55 +25843,123 @@ var awsPartition = partition{ endpointKey{ Region: "af-south-1", }: endpoint{}, + endpointKey{ + Region: "af-south-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ap-east-1", }: endpoint{}, + endpointKey{ + Region: "ap-east-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ap-northeast-1", }: endpoint{}, + endpointKey{ + Region: "ap-northeast-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ap-northeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-northeast-2", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ap-northeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-northeast-3", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-2", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-3", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-central-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ca-central-1", Variant: fipsVariant, }: endpoint{}, + endpointKey{ + Region: "ca-central-1", + Variant: fipsVariant | dualStackVariant, + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, + endpointKey{ + Region: "eu-central-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "eu-north-1", }: endpoint{}, + endpointKey{ + Region: "eu-north-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "eu-south-1", }: endpoint{}, + endpointKey{ + Region: "eu-south-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "eu-west-1", }: endpoint{}, + endpointKey{ + Region: "eu-west-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "eu-west-2", }: endpoint{}, + endpointKey{ + Region: "eu-west-2", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "eu-west-3", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "fips-ca-central-1", }: endpoint{ @@ -25925,40 +25993,84 @@ var awsPartition = partition{ endpointKey{ Region: "il-central-1", }: endpoint{}, + endpointKey{ + Region: "il-central-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, + endpointKey{ + Region: "me-south-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "sa-east-1", }: endpoint{}, + endpointKey{ + Region: "sa-east-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-east-1", }: endpoint{}, + endpointKey{ + Region: "us-east-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-east-1", Variant: fipsVariant, }: endpoint{}, + endpointKey{ + Region: "us-east-1", + Variant: fipsVariant | dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-east-2", }: endpoint{}, + endpointKey{ + Region: "us-east-2", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-east-2", Variant: fipsVariant, }: endpoint{}, + endpointKey{ + Region: "us-east-2", + Variant: fipsVariant | dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-west-1", }: endpoint{}, + endpointKey{ + Region: "us-west-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-west-1", Variant: fipsVariant, }: endpoint{}, + endpointKey{ + Region: "us-west-1", + Variant: fipsVariant | dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-west-2", }: endpoint{}, + endpointKey{ + Region: "us-west-2", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-west-2", Variant: fipsVariant, }: endpoint{}, + endpointKey{ + Region: "us-west-2", + Variant: fipsVariant | dualStackVariant, + }: endpoint{}, }, }, "sagemaker-geospatial": service{ @@ -26187,160 +26299,267 @@ var awsPartition = partition{ endpointKey{ Region: "af-south-1", }: endpoint{}, + endpointKey{ + Region: "af-south-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ap-east-1", }: endpoint{}, + endpointKey{ + Region: "ap-east-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ap-northeast-1", }: endpoint{}, + endpointKey{ + Region: "ap-northeast-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ap-northeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-northeast-2", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ap-northeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-northeast-3", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ap-south-2", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-2", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-3", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ap-southeast-4", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-central-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ca-central-1", Variant: fipsVariant, - }: endpoint{ - Hostname: "secretsmanager-fips.ca-central-1.amazonaws.com", - }, + }: endpoint{}, + endpointKey{ + Region: "ca-central-1", + Variant: fipsVariant | dualStackVariant, + }: endpoint{}, endpointKey{ Region: "ca-central-1-fips", }: endpoint{ - Hostname: "secretsmanager-fips.ca-central-1.amazonaws.com", - CredentialScope: credentialScope{ - Region: "ca-central-1", - }, + Deprecated: boxedTrue, }, endpointKey{ Region: "eu-central-1", }: endpoint{}, + endpointKey{ + Region: "eu-central-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "eu-central-2", }: endpoint{}, + endpointKey{ + Region: "eu-central-2", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "eu-north-1", }: endpoint{}, + endpointKey{ + Region: "eu-north-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "eu-south-1", }: endpoint{}, + endpointKey{ + Region: "eu-south-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "eu-south-2", }: endpoint{}, + endpointKey{ + Region: "eu-south-2", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "eu-west-1", }: endpoint{}, + endpointKey{ + Region: "eu-west-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "eu-west-2", }: endpoint{}, + endpointKey{ + Region: "eu-west-2", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "eu-west-3", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "il-central-1", }: endpoint{}, + endpointKey{ + Region: "il-central-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "me-central-1", }: endpoint{}, + endpointKey{ + Region: "me-central-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, + endpointKey{ + Region: "me-south-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "sa-east-1", }: endpoint{}, + endpointKey{ + Region: "sa-east-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-east-1", }: endpoint{}, + endpointKey{ + Region: "us-east-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-east-1", Variant: fipsVariant, - }: endpoint{ - Hostname: "secretsmanager-fips.us-east-1.amazonaws.com", - }, + }: endpoint{}, + endpointKey{ + Region: "us-east-1", + Variant: fipsVariant | dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-east-1-fips", }: endpoint{ - Hostname: "secretsmanager-fips.us-east-1.amazonaws.com", - CredentialScope: credentialScope{ - Region: "us-east-1", - }, + Deprecated: boxedTrue, }, endpointKey{ Region: "us-east-2", }: endpoint{}, + endpointKey{ + Region: "us-east-2", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-east-2", Variant: fipsVariant, - }: endpoint{ - Hostname: "secretsmanager-fips.us-east-2.amazonaws.com", - }, + }: endpoint{}, + endpointKey{ + Region: "us-east-2", + Variant: fipsVariant | dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-east-2-fips", }: endpoint{ - Hostname: "secretsmanager-fips.us-east-2.amazonaws.com", - CredentialScope: credentialScope{ - Region: "us-east-2", - }, + Deprecated: boxedTrue, }, endpointKey{ Region: "us-west-1", }: endpoint{}, + endpointKey{ + Region: "us-west-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-west-1", Variant: fipsVariant, - }: endpoint{ - Hostname: "secretsmanager-fips.us-west-1.amazonaws.com", - }, + }: endpoint{}, + endpointKey{ + Region: "us-west-1", + Variant: fipsVariant | dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-west-1-fips", }: endpoint{ - Hostname: "secretsmanager-fips.us-west-1.amazonaws.com", - CredentialScope: credentialScope{ - Region: "us-west-1", - }, + Deprecated: boxedTrue, }, endpointKey{ Region: "us-west-2", }: endpoint{}, + endpointKey{ + Region: "us-west-2", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-west-2", Variant: fipsVariant, - }: endpoint{ - Hostname: "secretsmanager-fips.us-west-2.amazonaws.com", - }, + }: endpoint{}, + endpointKey{ + Region: "us-west-2", + Variant: fipsVariant | dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-west-2-fips", }: endpoint{ - Hostname: "secretsmanager-fips.us-west-2.amazonaws.com", - CredentialScope: credentialScope{ - Region: "us-west-2", - }, + Deprecated: boxedTrue, }, }, @@ -34864,9 +35083,17 @@ var awscnPartition = partition{ endpointKey{ Region: "cn-north-1", }: endpoint{}, + endpointKey{ + Region: "cn-north-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "cn-northwest-1", }: endpoint{}, + endpointKey{ + Region: "cn-northwest-1", + Variant: dualStackVariant, + }: endpoint{}, }, }, "securityhub": service{ @@ -38246,7 +38473,21 @@ var awsusgovPartition = partition{ }, }, "health": service{ + Defaults: endpointDefaults{ + defaultKey{}: endpoint{ + SSLCommonName: "health.us-gov-west-1.amazonaws.com", + Protocols: []string{"https"}, + }, + }, Endpoints: serviceEndpoints{ + endpointKey{ + Region: "aws-us-gov-global", + }: endpoint{ + Hostname: "global.health.us-gov.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + }, endpointKey{ Region: "fips-us-gov-west-1", }: endpoint{ @@ -40488,17 +40729,33 @@ var awsusgovPartition = partition{ endpointKey{ Region: "us-gov-east-1", }: endpoint{}, + endpointKey{ + Region: "us-gov-east-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-gov-east-1", Variant: fipsVariant, }: endpoint{}, + endpointKey{ + Region: "us-gov-east-1", + Variant: fipsVariant | dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-gov-west-1", }: endpoint{}, + endpointKey{ + Region: "us-gov-west-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-gov-west-1", Variant: fipsVariant, }: endpoint{}, + endpointKey{ + Region: "us-gov-west-1", + Variant: fipsVariant | dualStackVariant, + }: endpoint{}, }, }, "secretsmanager": service{ @@ -40506,37 +40763,43 @@ var awsusgovPartition = partition{ endpointKey{ Region: "us-gov-east-1", }: endpoint{}, + endpointKey{ + Region: "us-gov-east-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-gov-east-1", Variant: fipsVariant, - }: endpoint{ - Hostname: "secretsmanager-fips.us-gov-east-1.amazonaws.com", - }, + }: endpoint{}, + endpointKey{ + Region: "us-gov-east-1", + Variant: fipsVariant | dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-gov-east-1-fips", }: endpoint{ - Hostname: "secretsmanager-fips.us-gov-east-1.amazonaws.com", - CredentialScope: credentialScope{ - Region: "us-gov-east-1", - }, + Deprecated: boxedTrue, }, endpointKey{ Region: "us-gov-west-1", }: endpoint{}, + endpointKey{ + Region: "us-gov-west-1", + Variant: dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-gov-west-1", Variant: fipsVariant, - }: endpoint{ - Hostname: "secretsmanager-fips.us-gov-west-1.amazonaws.com", - }, + }: endpoint{}, + endpointKey{ + Region: "us-gov-west-1", + Variant: fipsVariant | dualStackVariant, + }: endpoint{}, endpointKey{ Region: "us-gov-west-1-fips", }: endpoint{ - Hostname: "secretsmanager-fips.us-gov-west-1.amazonaws.com", - CredentialScope: credentialScope{ - Region: "us-gov-west-1", - }, + Deprecated: boxedTrue, }, }, diff --git a/aws/version.go b/aws/version.go index f63b61e4c6e..fc04865b001 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.48.14" +const SDKVersion = "1.48.15" diff --git a/models/apis/codedeploy/2014-10-06/api-2.json b/models/apis/codedeploy/2014-10-06/api-2.json index 6cce704403d..12adf75ddd7 100644 --- a/models/apis/codedeploy/2014-10-06/api-2.json +++ b/models/apis/codedeploy/2014-10-06/api-2.json @@ -235,7 +235,8 @@ {"shape":"InvalidMinimumHealthyHostValueException"}, {"shape":"DeploymentConfigLimitExceededException"}, {"shape":"InvalidComputePlatformException"}, - {"shape":"InvalidTrafficRoutingConfigurationException"} + {"shape":"InvalidTrafficRoutingConfigurationException"}, + {"shape":"InvalidZonalDeploymentConfigurationException"} ] }, "CreateDeploymentGroup":{ @@ -593,7 +594,8 @@ {"shape":"InvalidDeploymentIdException"}, {"shape":"InvalidInstanceStatusException"}, {"shape":"InvalidInstanceTypeException"}, - {"shape":"InvalidDeploymentInstanceTypeException"} + {"shape":"InvalidDeploymentInstanceTypeException"}, + {"shape":"InvalidTargetFilterNameException"} ] }, "ListDeployments":{ @@ -1001,7 +1003,8 @@ "type":"structure", "members":{ "name":{"shape":"AutoScalingGroupName"}, - "hook":{"shape":"AutoScalingGroupHook"} + "hook":{"shape":"AutoScalingGroupHook"}, + "terminationHook":{"shape":"AutoScalingGroupHook"} } }, "AutoScalingGroupHook":{"type":"string"}, @@ -1084,6 +1087,10 @@ }, "BatchGetDeploymentTargetsInput":{ "type":"structure", + "required":[ + "deploymentId", + "targetIds" + ], "members":{ "deploymentId":{"shape":"DeploymentId"}, "targetIds":{"shape":"TargetIdList"} @@ -1210,7 +1217,8 @@ "deploymentConfigName":{"shape":"DeploymentConfigName"}, "minimumHealthyHosts":{"shape":"MinimumHealthyHosts"}, "trafficRoutingConfig":{"shape":"TrafficRoutingConfig"}, - "computePlatform":{"shape":"ComputePlatform"} + "computePlatform":{"shape":"ComputePlatform"}, + "zonalConfig":{"shape":"ZonalConfig"} } }, "CreateDeploymentConfigOutput":{ @@ -1244,7 +1252,8 @@ "ec2TagSet":{"shape":"EC2TagSet"}, "ecsServices":{"shape":"ECSServiceList"}, "onPremisesTagSet":{"shape":"OnPremisesTagSet"}, - "tags":{"shape":"TagList"} + "tags":{"shape":"TagList"}, + "terminationHookEnabled":{"shape":"NullableBoolean"} } }, "CreateDeploymentGroupOutput":{ @@ -1369,7 +1378,8 @@ "minimumHealthyHosts":{"shape":"MinimumHealthyHosts"}, "createTime":{"shape":"Timestamp"}, "computePlatform":{"shape":"ComputePlatform"}, - "trafficRoutingConfig":{"shape":"TrafficRoutingConfig"} + "trafficRoutingConfig":{"shape":"TrafficRoutingConfig"}, + "zonalConfig":{"shape":"ZonalConfig"} } }, "DeploymentConfigLimitExceededException":{ @@ -1402,7 +1412,8 @@ "CodeDeploy", "CodeDeployAutoUpdate", "CloudFormation", - "CloudFormationRollback" + "CloudFormationRollback", + "autoscalingTermination" ] }, "DeploymentDoesNotExistException":{ @@ -1448,7 +1459,8 @@ "ec2TagSet":{"shape":"EC2TagSet"}, "onPremisesTagSet":{"shape":"OnPremisesTagSet"}, "computePlatform":{"shape":"ComputePlatform"}, - "ecsServices":{"shape":"ECSServiceList"} + "ecsServices":{"shape":"ECSServiceList"}, + "terminationHookEnabled":{"shape":"Boolean"} } }, "DeploymentGroupInfoList":{ @@ -1941,6 +1953,10 @@ }, "GetDeploymentTargetInput":{ "type":"structure", + "required":[ + "deploymentId", + "targetId" + ], "members":{ "deploymentId":{"shape":"DeploymentId"}, "targetId":{"shape":"TargetId"} @@ -2497,6 +2513,12 @@ }, "exception":true }, + "InvalidZonalDeploymentConfigurationException":{ + "type":"structure", + "members":{ + }, + "exception":true + }, "Key":{"type":"string"}, "LambdaFunctionAlias":{"type":"string"}, "LambdaFunctionInfo":{ @@ -2663,6 +2685,7 @@ }, "ListDeploymentTargetsInput":{ "type":"structure", + "required":["deploymentId"], "members":{ "deploymentId":{"shape":"DeploymentId"}, "nextToken":{"shape":"NextToken"}, @@ -2767,6 +2790,21 @@ "value":{"shape":"MinimumHealthyHostsValue"} } }, + "MinimumHealthyHostsPerZone":{ + "type":"structure", + "members":{ + "type":{"shape":"MinimumHealthyHostsPerZoneType"}, + "value":{"shape":"MinimumHealthyHostsPerZoneValue"} + } + }, + "MinimumHealthyHostsPerZoneType":{ + "type":"string", + "enum":[ + "HOST_COUNT", + "FLEET_PERCENT" + ] + }, + "MinimumHealthyHostsPerZoneValue":{"type":"integer"}, "MinimumHealthyHostsType":{ "type":"string", "enum":[ @@ -3281,7 +3319,8 @@ "loadBalancerInfo":{"shape":"LoadBalancerInfo"}, "ec2TagSet":{"shape":"EC2TagSet"}, "ecsServices":{"shape":"ECSServiceList"}, - "onPremisesTagSet":{"shape":"OnPremisesTagSet"} + "onPremisesTagSet":{"shape":"OnPremisesTagSet"}, + "terminationHookEnabled":{"shape":"NullableBoolean"} } }, "UpdateDeploymentGroupOutput":{ @@ -3293,6 +3332,15 @@ "Value":{"type":"string"}, "Version":{"type":"string"}, "VersionId":{"type":"string"}, - "WaitTimeInMins":{"type":"integer"} + "WaitTimeInMins":{"type":"integer"}, + "WaitTimeInSeconds":{"type":"long"}, + "ZonalConfig":{ + "type":"structure", + "members":{ + "firstZoneMonitorDurationInSeconds":{"shape":"WaitTimeInSeconds"}, + "monitorDurationInSeconds":{"shape":"WaitTimeInSeconds"}, + "minimumHealthyHostsPerZone":{"shape":"MinimumHealthyHostsPerZone"} + } + } } } diff --git a/models/apis/codedeploy/2014-10-06/docs-2.json b/models/apis/codedeploy/2014-10-06/docs-2.json index 22f8018ed3d..9ce8dafe62b 100644 --- a/models/apis/codedeploy/2014-10-06/docs-2.json +++ b/models/apis/codedeploy/2014-10-06/docs-2.json @@ -227,7 +227,8 @@ "AutoScalingGroupHook": { "base": null, "refs": { - "AutoScalingGroup$hook": "

An Auto Scaling lifecycle event hook name.

" + "AutoScalingGroup$hook": "

The name of the launch hook that CodeDeploy installed into the Auto Scaling group.

For more information about the launch hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.

", + "AutoScalingGroup$terminationHook": "

The name of the termination hook that CodeDeploy installed into the Auto Scaling group.

For more information about the termination hook, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.

" } }, "AutoScalingGroupList": { @@ -352,6 +353,7 @@ "AutoRollbackConfiguration$enabled": "

Indicates whether a defined automatic rollback configuration is currently enabled.

", "CreateDeploymentInput$ignoreApplicationStopFailures": "

If true, then if an ApplicationStop, BeforeBlockTraffic, or AfterBlockTraffic deployment lifecycle event to an instance fails, then the deployment continues to the next deployment lifecycle event. For example, if ApplicationStop fails, the deployment continues with DownloadBundle. If BeforeBlockTraffic fails, the deployment continues with BlockTraffic. If AfterBlockTraffic fails, the deployment continues with ApplicationStop.

If false or not specified, then if a lifecycle event fails during a deployment to an instance, that deployment fails. If deployment to that instance is part of an overall deployment and the number of healthy hosts is not less than the minimum number of healthy hosts, then a deployment to the next instance is attempted.

During a deployment, the CodeDeploy agent runs the scripts specified for ApplicationStop, BeforeBlockTraffic, and AfterBlockTraffic in the AppSpec file from the previous successful deployment. (All other scripts are run from the AppSpec file in the current deployment.) If one of these scripts contains an error and does not run successfully, the deployment can fail.

If the cause of the failure is a script from the last successful deployment that will never run successfully, create a new deployment and use ignoreApplicationStopFailures to specify that the ApplicationStop, BeforeBlockTraffic, and AfterBlockTraffic failures should be ignored.

", "CreateDeploymentInput$updateOutdatedInstancesOnly": "

Indicates whether to deploy to all instances or only to instances that are not running the latest application revision.

", + "DeploymentGroupInfo$terminationHookEnabled": "

Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto Scaling group.

For more information about the termination hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.

", "DeploymentInfo$ignoreApplicationStopFailures": "

If true, then if an ApplicationStop, BeforeBlockTraffic, or AfterBlockTraffic deployment lifecycle event to an instance fails, then the deployment continues to the next deployment lifecycle event. For example, if ApplicationStop fails, the deployment continues with DownloadBundle. If BeforeBlockTraffic fails, the deployment continues with BlockTraffic. If AfterBlockTraffic fails, the deployment continues with ApplicationStop.

If false or not specified, then if a lifecycle event fails during a deployment to an instance, that deployment fails. If deployment to that instance is part of an overall deployment and the number of healthy hosts is not less than the minimum number of healthy hosts, then a deployment to the next instance is attempted.

During a deployment, the CodeDeploy agent runs the scripts specified for ApplicationStop, BeforeBlockTraffic, and AfterBlockTraffic in the AppSpec file from the previous successful deployment. (All other scripts are run from the AppSpec file in the current deployment.) If one of these scripts contains an error and does not run successfully, the deployment can fail.

If the cause of the failure is a script from the last successful deployment that will never run successfully, create a new deployment and use ignoreApplicationStopFailures to specify that the ApplicationStop, BeforeBlockTraffic, and AfterBlockTraffic failures should be ignored.

", "DeploymentInfo$updateOutdatedInstancesOnly": "

Indicates whether only instances that are not running the latest application revision are to be deployed to.

", "DeploymentInfo$instanceTerminationWaitTimeStarted": "

Indicates whether the wait period set for the termination of instances in the original environment has started. Status is 'false' if the KEEP_ALIVE option is specified. Otherwise, 'true' as soon as the termination wait period starts.

" @@ -1594,6 +1596,11 @@ "refs": { } }, + "InvalidZonalDeploymentConfigurationException": { + "base": "

The ZonalConfig object is not valid.

", + "refs": { + } + }, "Key": { "base": null, "refs": { @@ -1832,10 +1839,28 @@ } }, "MinimumHealthyHosts": { - "base": "

Information about minimum healthy instance.

", + "base": "

Information about the minimum number of healthy instances.

", "refs": { "CreateDeploymentConfigInput$minimumHealthyHosts": "

The minimum number of healthy instances that should be available at any time during the deployment. There are two parameters expected in the input: type and value.

The type parameter takes either of the following values:

The value parameter takes an integer.

For example, to set a minimum of 95% healthy instance, specify a type of FLEET_PERCENT and a value of 95.

", - "DeploymentConfigInfo$minimumHealthyHosts": "

Information about the number or percentage of minimum healthy instance.

" + "DeploymentConfigInfo$minimumHealthyHosts": "

Information about the number or percentage of minimum healthy instances.

" + } + }, + "MinimumHealthyHostsPerZone": { + "base": "

Information about the minimum number of healthy instances per Availability Zone.

", + "refs": { + "ZonalConfig$minimumHealthyHostsPerZone": "

The number or percentage of instances that must remain available per Availability Zone during a deployment. This option works in conjunction with the MinimumHealthyHosts option. For more information, see About the minimum number of healthy hosts per Availability Zone in the CodeDeploy User Guide.

If you don't specify the minimumHealthyHostsPerZone option, then CodeDeploy uses a default value of 0 percent.

For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.

" + } + }, + "MinimumHealthyHostsPerZoneType": { + "base": null, + "refs": { + "MinimumHealthyHostsPerZone$type": "

The type associated with the MinimumHealthyHostsPerZone option.

" + } + }, + "MinimumHealthyHostsPerZoneValue": { + "base": null, + "refs": { + "MinimumHealthyHostsPerZone$value": "

The value associated with the MinimumHealthyHostsPerZone option.

" } }, "MinimumHealthyHostsType": { @@ -1883,7 +1908,9 @@ "NullableBoolean": { "base": null, "refs": { - "StopDeploymentInput$autoRollbackEnabled": "

Indicates, when a deployment is stopped, whether instances that have been updated should be rolled back to the previous version of the application revision.

" + "CreateDeploymentGroupInput$terminationHookEnabled": "

This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more information, see Integrating CodeDeploy with Amazon EC2 Auto Scaling in the CodeDeploy User Guide.

Set terminationHookEnabled to true to have CodeDeploy install a termination hook into your Auto Scaling group when you create a deployment group. When this hook is installed, CodeDeploy will perform termination deployments.

For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.

For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide.

", + "StopDeploymentInput$autoRollbackEnabled": "

Indicates, when a deployment is stopped, whether instances that have been updated should be rolled back to the previous version of the application revision.

", + "UpdateDeploymentGroupInput$terminationHookEnabled": "

This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more information, see Integrating CodeDeploy with Amazon EC2 Auto Scaling in the CodeDeploy User Guide.

Set terminationHookEnabled to true to have CodeDeploy install a termination hook into your Auto Scaling group when you update a deployment group. When this hook is installed, CodeDeploy will perform termination deployments.

For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.

For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide.

" } }, "OnPremisesTagSet": { @@ -2460,6 +2487,20 @@ "TimeBasedCanary$canaryInterval": "

The number of minutes between the first and second traffic shifts of a TimeBasedCanary deployment.

", "TimeBasedLinear$linearInterval": "

The number of minutes between each incremental traffic shift of a TimeBasedLinear deployment.

" } + }, + "WaitTimeInSeconds": { + "base": null, + "refs": { + "ZonalConfig$firstZoneMonitorDurationInSeconds": "

The period of time, in seconds, that CodeDeploy must wait after completing a deployment to the first Availability Zone. CodeDeploy will wait this amount of time before starting a deployment to the second Availability Zone. You might set this option if you want to allow extra bake time for the first Availability Zone. If you don't specify a value for firstZoneMonitorDurationInSeconds, then CodeDeploy uses the monitorDurationInSeconds value for the first Availability Zone.

For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.

", + "ZonalConfig$monitorDurationInSeconds": "

The period of time, in seconds, that CodeDeploy must wait after completing a deployment to an Availability Zone. CodeDeploy will wait this amount of time before starting a deployment to the next Availability Zone. Consider adding a monitor duration to give the deployment some time to prove itself (or 'bake') in one Availability Zone before it is released in the next zone. If you don't specify a monitorDurationInSeconds, CodeDeploy starts deploying to the next Availability Zone immediately.

For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.

" + } + }, + "ZonalConfig": { + "base": "

Configure the ZonalConfig object if you want CodeDeploy to deploy your application to one Availability Zone at a time, within an Amazon Web Services Region. By deploying to one Availability Zone at a time, you can expose your deployment to a progressively larger audience as confidence in the deployment's performance and viability grows. If you don't configure the ZonalConfig object, CodeDeploy deploys your application to a random selection of hosts across a Region.

For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.

", + "refs": { + "CreateDeploymentConfigInput$zonalConfig": "

Configure the ZonalConfig object if you want CodeDeploy to deploy your application to one Availability Zone at a time, within an Amazon Web Services Region.

For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.

", + "DeploymentConfigInfo$zonalConfig": "

Information about a zonal configuration.

" + } } } } diff --git a/models/apis/codedeploy/2014-10-06/endpoint-rule-set-1.json b/models/apis/codedeploy/2014-10-06/endpoint-rule-set-1.json index be4aac53712..c0fdfca2c6c 100644 --- a/models/apis/codedeploy/2014-10-06/endpoint-rule-set-1.json +++ b/models/apis/codedeploy/2014-10-06/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index a6d021a14f8..0f3678cfefb 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -14898,26 +14898,90 @@ }, "s3-outposts" : { "endpoints" : { - "af-south-1" : { }, - "ap-east-1" : { }, - "ap-northeast-1" : { }, - "ap-northeast-2" : { }, - "ap-northeast-3" : { }, - "ap-south-1" : { }, - "ap-southeast-1" : { }, - "ap-southeast-2" : { }, - "ap-southeast-3" : { }, + "af-south-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "ap-east-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "ap-northeast-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "ap-northeast-2" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "ap-northeast-3" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "ap-south-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "ap-southeast-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "ap-southeast-2" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "ap-southeast-3" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, "ca-central-1" : { "variants" : [ { + "tags" : [ "dualstack" ] + }, { + "tags" : [ "dualstack", "fips" ] + }, { "tags" : [ "fips" ] } ] }, - "eu-central-1" : { }, - "eu-north-1" : { }, - "eu-south-1" : { }, - "eu-west-1" : { }, - "eu-west-2" : { }, - "eu-west-3" : { }, + "eu-central-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "eu-north-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "eu-south-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "eu-west-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "eu-west-2" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "eu-west-3" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, "fips-ca-central-1" : { "deprecated" : true }, @@ -14933,26 +14997,54 @@ "fips-us-west-2" : { "deprecated" : true }, - "il-central-1" : { }, - "me-south-1" : { }, - "sa-east-1" : { }, + "il-central-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "me-south-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "sa-east-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, "us-east-1" : { "variants" : [ { + "tags" : [ "dualstack" ] + }, { + "tags" : [ "dualstack", "fips" ] + }, { "tags" : [ "fips" ] } ] }, "us-east-2" : { "variants" : [ { + "tags" : [ "dualstack" ] + }, { + "tags" : [ "dualstack", "fips" ] + }, { "tags" : [ "fips" ] } ] }, "us-west-1" : { "variants" : [ { + "tags" : [ "dualstack" ] + }, { + "tags" : [ "dualstack", "fips" ] + }, { "tags" : [ "fips" ] } ] }, "us-west-2" : { "variants" : [ { + "tags" : [ "dualstack" ] + }, { + "tags" : [ "dualstack", "fips" ] + }, { "tags" : [ "fips" ] } ] } @@ -15055,93 +15147,180 @@ }, "secretsmanager" : { "endpoints" : { - "af-south-1" : { }, - "ap-east-1" : { }, - "ap-northeast-1" : { }, - "ap-northeast-2" : { }, - "ap-northeast-3" : { }, - "ap-south-1" : { }, - "ap-south-2" : { }, - "ap-southeast-1" : { }, - "ap-southeast-2" : { }, - "ap-southeast-3" : { }, - "ap-southeast-4" : { }, + "af-south-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "ap-east-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "ap-northeast-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "ap-northeast-2" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "ap-northeast-3" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "ap-south-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "ap-south-2" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "ap-southeast-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "ap-southeast-2" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "ap-southeast-3" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "ap-southeast-4" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, "ca-central-1" : { "variants" : [ { - "hostname" : "secretsmanager-fips.ca-central-1.amazonaws.com", + "tags" : [ "dualstack" ] + }, { + "tags" : [ "dualstack", "fips" ] + }, { "tags" : [ "fips" ] } ] }, "ca-central-1-fips" : { - "credentialScope" : { - "region" : "ca-central-1" - }, - "deprecated" : true, - "hostname" : "secretsmanager-fips.ca-central-1.amazonaws.com" + "deprecated" : true + }, + "eu-central-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "eu-central-2" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "eu-north-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "eu-south-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "eu-south-2" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "eu-west-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "eu-west-2" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "eu-west-3" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "il-central-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "me-central-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "me-south-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "sa-east-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] }, - "eu-central-1" : { }, - "eu-central-2" : { }, - "eu-north-1" : { }, - "eu-south-1" : { }, - "eu-south-2" : { }, - "eu-west-1" : { }, - "eu-west-2" : { }, - "eu-west-3" : { }, - "il-central-1" : { }, - "me-central-1" : { }, - "me-south-1" : { }, - "sa-east-1" : { }, "us-east-1" : { "variants" : [ { - "hostname" : "secretsmanager-fips.us-east-1.amazonaws.com", + "tags" : [ "dualstack" ] + }, { + "tags" : [ "dualstack", "fips" ] + }, { "tags" : [ "fips" ] } ] }, "us-east-1-fips" : { - "credentialScope" : { - "region" : "us-east-1" - }, - "deprecated" : true, - "hostname" : "secretsmanager-fips.us-east-1.amazonaws.com" + "deprecated" : true }, "us-east-2" : { "variants" : [ { - "hostname" : "secretsmanager-fips.us-east-2.amazonaws.com", + "tags" : [ "dualstack" ] + }, { + "tags" : [ "dualstack", "fips" ] + }, { "tags" : [ "fips" ] } ] }, "us-east-2-fips" : { - "credentialScope" : { - "region" : "us-east-2" - }, - "deprecated" : true, - "hostname" : "secretsmanager-fips.us-east-2.amazonaws.com" + "deprecated" : true }, "us-west-1" : { "variants" : [ { - "hostname" : "secretsmanager-fips.us-west-1.amazonaws.com", + "tags" : [ "dualstack" ] + }, { + "tags" : [ "dualstack", "fips" ] + }, { "tags" : [ "fips" ] } ] }, "us-west-1-fips" : { - "credentialScope" : { - "region" : "us-west-1" - }, - "deprecated" : true, - "hostname" : "secretsmanager-fips.us-west-1.amazonaws.com" + "deprecated" : true }, "us-west-2" : { "variants" : [ { - "hostname" : "secretsmanager-fips.us-west-2.amazonaws.com", + "tags" : [ "dualstack" ] + }, { + "tags" : [ "dualstack", "fips" ] + }, { "tags" : [ "fips" ] } ] }, "us-west-2-fips" : { - "credentialScope" : { - "region" : "us-west-2" - }, - "deprecated" : true, - "hostname" : "secretsmanager-fips.us-west-2.amazonaws.com" + "deprecated" : true } } }, @@ -20315,8 +20494,16 @@ }, "secretsmanager" : { "endpoints" : { - "cn-north-1" : { }, - "cn-northwest-1" : { } + "cn-north-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + }, + "cn-northwest-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + } ] + } } }, "securityhub" : { @@ -22752,7 +22939,17 @@ "isRegionalized" : true }, "health" : { + "defaults" : { + "protocols" : [ "https" ], + "sslCommonName" : "health.us-gov-west-1.amazonaws.com" + }, "endpoints" : { + "aws-us-gov-global" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "hostname" : "global.health.us-gov.amazonaws.com" + }, "fips-us-gov-west-1" : { "credentialScope" : { "region" : "us-gov-west-1" @@ -24341,11 +24538,19 @@ }, "us-gov-east-1" : { "variants" : [ { + "tags" : [ "dualstack" ] + }, { + "tags" : [ "dualstack", "fips" ] + }, { "tags" : [ "fips" ] } ] }, "us-gov-west-1" : { "variants" : [ { + "tags" : [ "dualstack" ] + }, { + "tags" : [ "dualstack", "fips" ] + }, { "tags" : [ "fips" ] } ] } @@ -24355,29 +24560,27 @@ "endpoints" : { "us-gov-east-1" : { "variants" : [ { - "hostname" : "secretsmanager-fips.us-gov-east-1.amazonaws.com", + "tags" : [ "dualstack" ] + }, { + "tags" : [ "dualstack", "fips" ] + }, { "tags" : [ "fips" ] } ] }, "us-gov-east-1-fips" : { - "credentialScope" : { - "region" : "us-gov-east-1" - }, - "deprecated" : true, - "hostname" : "secretsmanager-fips.us-gov-east-1.amazonaws.com" + "deprecated" : true }, "us-gov-west-1" : { "variants" : [ { - "hostname" : "secretsmanager-fips.us-gov-west-1.amazonaws.com", + "tags" : [ "dualstack" ] + }, { + "tags" : [ "dualstack", "fips" ] + }, { "tags" : [ "fips" ] } ] }, "us-gov-west-1-fips" : { - "credentialScope" : { - "region" : "us-gov-west-1" - }, - "deprecated" : true, - "hostname" : "secretsmanager-fips.us-gov-west-1.amazonaws.com" + "deprecated" : true } } }, diff --git a/service/codedeploy/api.go b/service/codedeploy/api.go index 6859c7faf46..86a5e440ebf 100644 --- a/service/codedeploy/api.go +++ b/service/codedeploy/api.go @@ -1264,6 +1264,9 @@ func (c *CodeDeploy) CreateDeploymentConfigRequest(input *CreateDeploymentConfig // The configuration that specifies how traffic is routed during a deployment // is invalid. // +// - InvalidZonalDeploymentConfigurationException +// The ZonalConfig object is not valid. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfig func (c *CodeDeploy) CreateDeploymentConfig(input *CreateDeploymentConfigInput) (*CreateDeploymentConfigOutput, error) { req, out := c.CreateDeploymentConfigRequest(input) @@ -3610,6 +3613,9 @@ func (c *CodeDeploy) ListDeploymentTargetsRequest(input *ListDeploymentTargetsIn // An instance type was specified for an in-place deployment. Instance types // are supported for blue/green deployments only. // +// - InvalidTargetFilterNameException +// The target filter name is invalid. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentTargets func (c *CodeDeploy) ListDeploymentTargets(input *ListDeploymentTargetsInput) (*ListDeploymentTargetsOutput, error) { req, out := c.ListDeploymentTargetsRequest(input) @@ -5917,11 +5923,24 @@ func (s *AutoRollbackConfiguration) SetEvents(v []*string) *AutoRollbackConfigur type AutoScalingGroup struct { _ struct{} `type:"structure"` - // An Auto Scaling lifecycle event hook name. + // The name of the launch hook that CodeDeploy installed into the Auto Scaling + // group. + // + // For more information about the launch hook, see How Amazon EC2 Auto Scaling + // works with CodeDeploy (https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html#integrations-aws-auto-scaling-behaviors) + // in the CodeDeploy User Guide. Hook *string `locationName:"hook" type:"string"` // The Auto Scaling group name. Name *string `locationName:"name" type:"string"` + + // The name of the termination hook that CodeDeploy installed into the Auto + // Scaling group. + // + // For more information about the termination hook, see Enabling termination + // deployments during Auto Scaling scale-in events (https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html#integrations-aws-auto-scaling-behaviors-hook-enable) + // in the CodeDeploy User Guide. + TerminationHook *string `locationName:"terminationHook" type:"string"` } // String returns the string representation. @@ -5954,6 +5973,12 @@ func (s *AutoScalingGroup) SetName(v string) *AutoScalingGroup { return s } +// SetTerminationHook sets the TerminationHook field's value. +func (s *AutoScalingGroup) SetTerminationHook(v string) *AutoScalingGroup { + s.TerminationHook = &v + return s +} + // Represents the input of a BatchGetApplicationRevisions operation. type BatchGetApplicationRevisionsInput struct { _ struct{} `type:"structure"` @@ -6363,7 +6388,9 @@ type BatchGetDeploymentTargetsInput struct { _ struct{} `type:"structure"` // The unique ID of a deployment. - DeploymentId *string `locationName:"deploymentId" type:"string"` + // + // DeploymentId is a required field + DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"` // The unique IDs of the deployment targets. The compute platform of the deployment // determines the type of the targets and their formats. The maximum number @@ -6382,7 +6409,9 @@ type BatchGetDeploymentTargetsInput struct { // // * For deployments that are deployed with CloudFormation, the target IDs // are CloudFormation stack IDs. Their target type is cloudFormationTarget. - TargetIds []*string `locationName:"targetIds" type:"list"` + // + // TargetIds is a required field + TargetIds []*string `locationName:"targetIds" type:"list" required:"true"` } // String returns the string representation. @@ -6403,6 +6432,22 @@ func (s BatchGetDeploymentTargetsInput) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *BatchGetDeploymentTargetsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BatchGetDeploymentTargetsInput"} + if s.DeploymentId == nil { + invalidParams.Add(request.NewErrParamRequired("DeploymentId")) + } + if s.TargetIds == nil { + invalidParams.Add(request.NewErrParamRequired("TargetIds")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + // SetDeploymentId sets the DeploymentId field's value. func (s *BatchGetDeploymentTargetsInput) SetDeploymentId(v string) *BatchGetDeploymentTargetsInput { s.DeploymentId = &v @@ -7148,6 +7193,15 @@ type CreateDeploymentConfigInput struct { // The configuration that specifies how the deployment traffic is routed. TrafficRoutingConfig *TrafficRoutingConfig `locationName:"trafficRoutingConfig" type:"structure"` + + // Configure the ZonalConfig object if you want CodeDeploy to deploy your application + // to one Availability Zone (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-availability-zones) + // at a time, within an Amazon Web Services Region. + // + // For more information about the zonal configuration feature, see zonal configuration + // (https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config) + // in the CodeDeploy User Guide. + ZonalConfig *ZonalConfig `locationName:"zonalConfig" type:"structure"` } // String returns the string representation. @@ -7208,6 +7262,12 @@ func (s *CreateDeploymentConfigInput) SetTrafficRoutingConfig(v *TrafficRoutingC return s } +// SetZonalConfig sets the ZonalConfig field's value. +func (s *CreateDeploymentConfigInput) SetZonalConfig(v *ZonalConfig) *CreateDeploymentConfigInput { + s.ZonalConfig = v + return s +} + // Represents the output of a CreateDeploymentConfig operation. type CreateDeploymentConfigOutput struct { _ struct{} `type:"structure"` @@ -7339,6 +7399,24 @@ type CreateDeploymentGroupInput struct { // of which you define. Tags []*Tag `locationName:"tags" type:"list"` + // This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto + // Scaling. For more information, see Integrating CodeDeploy with Amazon EC2 + // Auto Scaling (https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html) + // in the CodeDeploy User Guide. + // + // Set terminationHookEnabled to true to have CodeDeploy install a termination + // hook into your Auto Scaling group when you create a deployment group. When + // this hook is installed, CodeDeploy will perform termination deployments. + // + // For information about termination deployments, see Enabling termination deployments + // during Auto Scaling scale-in events (https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html#integrations-aws-auto-scaling-behaviors-hook-enable) + // in the CodeDeploy User Guide. + // + // For more information about Auto Scaling scale-in events, see the Scale in + // (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-lifecycle.html#as-lifecycle-scale-in) + // topic in the Amazon EC2 Auto Scaling User Guide. + TerminationHookEnabled *bool `locationName:"terminationHookEnabled" type:"boolean"` + // Information about triggers to create when the deployment group is created. // For examples, see Create a Trigger for an CodeDeploy Event (https://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-sns.html) // in the CodeDeploy User Guide. @@ -7493,6 +7571,12 @@ func (s *CreateDeploymentGroupInput) SetTags(v []*Tag) *CreateDeploymentGroupInp return s } +// SetTerminationHookEnabled sets the TerminationHookEnabled field's value. +func (s *CreateDeploymentGroupInput) SetTerminationHookEnabled(v bool) *CreateDeploymentGroupInput { + s.TerminationHookEnabled = &v + return s +} + // SetTriggerConfigurations sets the TriggerConfigurations field's value. func (s *CreateDeploymentGroupInput) SetTriggerConfigurations(v []*TriggerConfig) *CreateDeploymentGroupInput { s.TriggerConfigurations = v @@ -8406,12 +8490,15 @@ type DeploymentConfigInfo struct { // The deployment configuration name. DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string"` - // Information about the number or percentage of minimum healthy instance. + // Information about the number or percentage of minimum healthy instances. MinimumHealthyHosts *MinimumHealthyHosts `locationName:"minimumHealthyHosts" type:"structure"` // The configuration that specifies how the deployment traffic is routed. Used // for deployments with a Lambda or Amazon ECS compute platform only. TrafficRoutingConfig *TrafficRoutingConfig `locationName:"trafficRoutingConfig" type:"structure"` + + // Information about a zonal configuration. + ZonalConfig *ZonalConfig `locationName:"zonalConfig" type:"structure"` } // String returns the string representation. @@ -8468,6 +8555,12 @@ func (s *DeploymentConfigInfo) SetTrafficRoutingConfig(v *TrafficRoutingConfig) return s } +// SetZonalConfig sets the ZonalConfig field's value. +func (s *DeploymentConfigInfo) SetZonalConfig(v *ZonalConfig) *DeploymentConfigInfo { + s.ZonalConfig = v + return s +} + // The deployment configurations limit was exceeded. type DeploymentConfigLimitExceededException struct { _ struct{} `type:"structure"` @@ -8883,6 +8976,14 @@ type DeploymentGroupInfo struct { // and location. TargetRevision *RevisionLocation `locationName:"targetRevision" type:"structure"` + // Indicates whether the deployment group was configured to have CodeDeploy + // install a termination hook into an Auto Scaling group. + // + // For more information about the termination hook, see How Amazon EC2 Auto + // Scaling works with CodeDeploy (https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html#integrations-aws-auto-scaling-behaviors) + // in the CodeDeploy User Guide. + TerminationHookEnabled *bool `locationName:"terminationHookEnabled" type:"boolean"` + // Information about triggers associated with the deployment group. TriggerConfigurations []*TriggerConfig `locationName:"triggerConfigurations" type:"list"` } @@ -9031,6 +9132,12 @@ func (s *DeploymentGroupInfo) SetTargetRevision(v *RevisionLocation) *Deployment return s } +// SetTerminationHookEnabled sets the TerminationHookEnabled field's value. +func (s *DeploymentGroupInfo) SetTerminationHookEnabled(v bool) *DeploymentGroupInfo { + s.TerminationHookEnabled = &v + return s +} + // SetTriggerConfigurations sets the TriggerConfigurations field's value. func (s *DeploymentGroupInfo) SetTriggerConfigurations(v []*TriggerConfig) *DeploymentGroupInfo { s.TriggerConfigurations = v @@ -11567,10 +11674,14 @@ type GetDeploymentTargetInput struct { _ struct{} `type:"structure"` // The unique ID of a deployment. - DeploymentId *string `locationName:"deploymentId" type:"string"` + // + // DeploymentId is a required field + DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"` // The unique ID of a deployment target. - TargetId *string `locationName:"targetId" type:"string"` + // + // TargetId is a required field + TargetId *string `locationName:"targetId" type:"string" required:"true"` } // String returns the string representation. @@ -11591,6 +11702,22 @@ func (s GetDeploymentTargetInput) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetDeploymentTargetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetDeploymentTargetInput"} + if s.DeploymentId == nil { + invalidParams.Add(request.NewErrParamRequired("DeploymentId")) + } + if s.TargetId == nil { + invalidParams.Add(request.NewErrParamRequired("TargetId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + // SetDeploymentId sets the DeploymentId field's value. func (s *GetDeploymentTargetInput) SetDeploymentId(v string) *GetDeploymentTargetInput { s.DeploymentId = &v @@ -16344,6 +16471,70 @@ func (s *InvalidUpdateOutdatedInstancesOnlyValueException) RequestID() string { return s.RespMetadata.RequestID } +// The ZonalConfig object is not valid. +type InvalidZonalDeploymentConfigurationException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InvalidZonalDeploymentConfigurationException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InvalidZonalDeploymentConfigurationException) GoString() string { + return s.String() +} + +func newErrorInvalidZonalDeploymentConfigurationException(v protocol.ResponseMetadata) error { + return &InvalidZonalDeploymentConfigurationException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InvalidZonalDeploymentConfigurationException) Code() string { + return "InvalidZonalDeploymentConfigurationException" +} + +// Message returns the exception's message. +func (s *InvalidZonalDeploymentConfigurationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InvalidZonalDeploymentConfigurationException) OrigErr() error { + return nil +} + +func (s *InvalidZonalDeploymentConfigurationException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InvalidZonalDeploymentConfigurationException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InvalidZonalDeploymentConfigurationException) RequestID() string { + return s.RespMetadata.RequestID +} + // Information about a Lambda function specified in a deployment. type LambdaFunctionInfo struct { _ struct{} `type:"structure"` @@ -17351,7 +17542,9 @@ type ListDeploymentTargetsInput struct { _ struct{} `type:"structure"` // The unique ID of a deployment. - DeploymentId *string `locationName:"deploymentId" type:"string"` + // + // DeploymentId is a required field + DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"` // A token identifier returned from the previous ListDeploymentTargets call. // It can be used to return the next set of deployment targets in the list. @@ -17385,6 +17578,19 @@ func (s ListDeploymentTargetsInput) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListDeploymentTargetsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListDeploymentTargetsInput"} + if s.DeploymentId == nil { + invalidParams.Add(request.NewErrParamRequired("DeploymentId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + // SetDeploymentId sets the DeploymentId field's value. func (s *ListDeploymentTargetsInput) SetDeploymentId(v string) *ListDeploymentTargetsInput { s.DeploymentId = &v @@ -17953,7 +18159,7 @@ func (s *LoadBalancerInfo) SetTargetGroupPairInfoList(v []*TargetGroupPairInfo) return s } -// Information about minimum healthy instance. +// Information about the minimum number of healthy instances. type MinimumHealthyHosts struct { _ struct{} `type:"structure"` @@ -18019,6 +18225,48 @@ func (s *MinimumHealthyHosts) SetValue(v int64) *MinimumHealthyHosts { return s } +// Information about the minimum number of healthy instances per Availability +// Zone. +type MinimumHealthyHostsPerZone struct { + _ struct{} `type:"structure"` + + // The type associated with the MinimumHealthyHostsPerZone option. + Type *string `locationName:"type" type:"string" enum:"MinimumHealthyHostsPerZoneType"` + + // The value associated with the MinimumHealthyHostsPerZone option. + Value *int64 `locationName:"value" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MinimumHealthyHostsPerZone) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MinimumHealthyHostsPerZone) GoString() string { + return s.String() +} + +// SetType sets the Type field's value. +func (s *MinimumHealthyHostsPerZone) SetType(v string) *MinimumHealthyHostsPerZone { + s.Type = &v + return s +} + +// SetValue sets the Value field's value. +func (s *MinimumHealthyHostsPerZone) SetValue(v int64) *MinimumHealthyHostsPerZone { + s.Value = &v + return s +} + // Both an user ARN and an IAM session ARN were included in the request. Use // only one ARN type. type MultipleIamArnsProvidedException struct { @@ -20624,6 +20872,24 @@ type UpdateDeploymentGroupInput struct { // A replacement ARN for the service role, if you want to change it. ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"` + // This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto + // Scaling. For more information, see Integrating CodeDeploy with Amazon EC2 + // Auto Scaling (https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html) + // in the CodeDeploy User Guide. + // + // Set terminationHookEnabled to true to have CodeDeploy install a termination + // hook into your Auto Scaling group when you update a deployment group. When + // this hook is installed, CodeDeploy will perform termination deployments. + // + // For information about termination deployments, see Enabling termination deployments + // during Auto Scaling scale-in events (https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html#integrations-aws-auto-scaling-behaviors-hook-enable) + // in the CodeDeploy User Guide. + // + // For more information about Auto Scaling scale-in events, see the Scale in + // (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-lifecycle.html#as-lifecycle-scale-in) + // topic in the Amazon EC2 Auto Scaling User Guide. + TerminationHookEnabled *bool `locationName:"terminationHookEnabled" type:"boolean"` + // Information about triggers to change when the deployment group is updated. // For examples, see Edit a Trigger in a CodeDeploy Deployment Group (https://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-edit.html) // in the CodeDeploy User Guide. @@ -20778,6 +21044,12 @@ func (s *UpdateDeploymentGroupInput) SetServiceRoleArn(v string) *UpdateDeployme return s } +// SetTerminationHookEnabled sets the TerminationHookEnabled field's value. +func (s *UpdateDeploymentGroupInput) SetTerminationHookEnabled(v bool) *UpdateDeploymentGroupInput { + s.TerminationHookEnabled = &v + return s +} + // SetTriggerConfigurations sets the TriggerConfigurations field's value. func (s *UpdateDeploymentGroupInput) SetTriggerConfigurations(v []*TriggerConfig) *UpdateDeploymentGroupInput { s.TriggerConfigurations = v @@ -20820,6 +21092,97 @@ func (s *UpdateDeploymentGroupOutput) SetHooksNotCleanedUp(v []*AutoScalingGroup return s } +// Configure the ZonalConfig object if you want CodeDeploy to deploy your application +// to one Availability Zone (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-availability-zones) +// at a time, within an Amazon Web Services Region. By deploying to one Availability +// Zone at a time, you can expose your deployment to a progressively larger +// audience as confidence in the deployment's performance and viability grows. +// If you don't configure the ZonalConfig object, CodeDeploy deploys your application +// to a random selection of hosts across a Region. +// +// For more information about the zonal configuration feature, see zonal configuration +// (https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config) +// in the CodeDeploy User Guide. +type ZonalConfig struct { + _ struct{} `type:"structure"` + + // The period of time, in seconds, that CodeDeploy must wait after completing + // a deployment to the first Availability Zone. CodeDeploy will wait this amount + // of time before starting a deployment to the second Availability Zone. You + // might set this option if you want to allow extra bake time for the first + // Availability Zone. If you don't specify a value for firstZoneMonitorDurationInSeconds, + // then CodeDeploy uses the monitorDurationInSeconds value for the first Availability + // Zone. + // + // For more information about the zonal configuration feature, see zonal configuration + // (https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config) + // in the CodeDeploy User Guide. + FirstZoneMonitorDurationInSeconds *int64 `locationName:"firstZoneMonitorDurationInSeconds" type:"long"` + + // The number or percentage of instances that must remain available per Availability + // Zone during a deployment. This option works in conjunction with the MinimumHealthyHosts + // option. For more information, see About the minimum number of healthy hosts + // per Availability Zone (https://docs.aws.amazon.com/codedeploy/latest/userguide/instances-health.html#minimum-healthy-hosts-az) + // in the CodeDeploy User Guide. + // + // If you don't specify the minimumHealthyHostsPerZone option, then CodeDeploy + // uses a default value of 0 percent. + // + // For more information about the zonal configuration feature, see zonal configuration + // (https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config) + // in the CodeDeploy User Guide. + MinimumHealthyHostsPerZone *MinimumHealthyHostsPerZone `locationName:"minimumHealthyHostsPerZone" type:"structure"` + + // The period of time, in seconds, that CodeDeploy must wait after completing + // a deployment to an Availability Zone. CodeDeploy will wait this amount of + // time before starting a deployment to the next Availability Zone. Consider + // adding a monitor duration to give the deployment some time to prove itself + // (or 'bake') in one Availability Zone before it is released in the next zone. + // If you don't specify a monitorDurationInSeconds, CodeDeploy starts deploying + // to the next Availability Zone immediately. + // + // For more information about the zonal configuration feature, see zonal configuration + // (https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config) + // in the CodeDeploy User Guide. + MonitorDurationInSeconds *int64 `locationName:"monitorDurationInSeconds" type:"long"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ZonalConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ZonalConfig) GoString() string { + return s.String() +} + +// SetFirstZoneMonitorDurationInSeconds sets the FirstZoneMonitorDurationInSeconds field's value. +func (s *ZonalConfig) SetFirstZoneMonitorDurationInSeconds(v int64) *ZonalConfig { + s.FirstZoneMonitorDurationInSeconds = &v + return s +} + +// SetMinimumHealthyHostsPerZone sets the MinimumHealthyHostsPerZone field's value. +func (s *ZonalConfig) SetMinimumHealthyHostsPerZone(v *MinimumHealthyHostsPerZone) *ZonalConfig { + s.MinimumHealthyHostsPerZone = v + return s +} + +// SetMonitorDurationInSeconds sets the MonitorDurationInSeconds field's value. +func (s *ZonalConfig) SetMonitorDurationInSeconds(v int64) *ZonalConfig { + s.MonitorDurationInSeconds = &v + return s +} + const ( // ApplicationRevisionSortByRegisterTime is a ApplicationRevisionSortBy enum value ApplicationRevisionSortByRegisterTime = "registerTime" @@ -20929,6 +21292,9 @@ const ( // DeploymentCreatorCloudFormationRollback is a DeploymentCreator enum value DeploymentCreatorCloudFormationRollback = "CloudFormationRollback" + + // DeploymentCreatorAutoscalingTermination is a DeploymentCreator enum value + DeploymentCreatorAutoscalingTermination = "autoscalingTermination" ) // DeploymentCreator_Values returns all elements of the DeploymentCreator enum @@ -20941,6 +21307,7 @@ func DeploymentCreator_Values() []string { DeploymentCreatorCodeDeployAutoUpdate, DeploymentCreatorCloudFormation, DeploymentCreatorCloudFormationRollback, + DeploymentCreatorAutoscalingTermination, } } @@ -21424,6 +21791,22 @@ func ListStateFilterAction_Values() []string { } } +const ( + // MinimumHealthyHostsPerZoneTypeHostCount is a MinimumHealthyHostsPerZoneType enum value + MinimumHealthyHostsPerZoneTypeHostCount = "HOST_COUNT" + + // MinimumHealthyHostsPerZoneTypeFleetPercent is a MinimumHealthyHostsPerZoneType enum value + MinimumHealthyHostsPerZoneTypeFleetPercent = "FLEET_PERCENT" +) + +// MinimumHealthyHostsPerZoneType_Values returns all elements of the MinimumHealthyHostsPerZoneType enum +func MinimumHealthyHostsPerZoneType_Values() []string { + return []string{ + MinimumHealthyHostsPerZoneTypeHostCount, + MinimumHealthyHostsPerZoneTypeFleetPercent, + } +} + const ( // MinimumHealthyHostsTypeHostCount is a MinimumHealthyHostsType enum value MinimumHealthyHostsTypeHostCount = "HOST_COUNT" diff --git a/service/codedeploy/errors.go b/service/codedeploy/errors.go index 7cc366ae460..07406d24bfc 100644 --- a/service/codedeploy/errors.go +++ b/service/codedeploy/errors.go @@ -627,6 +627,12 @@ const ( // false is expected. For EC2/On-premises deployments, true or false is expected. ErrCodeInvalidUpdateOutdatedInstancesOnlyValueException = "InvalidUpdateOutdatedInstancesOnlyValueException" + // ErrCodeInvalidZonalDeploymentConfigurationException for service response error code + // "InvalidZonalDeploymentConfigurationException". + // + // The ZonalConfig object is not valid. + ErrCodeInvalidZonalDeploymentConfigurationException = "InvalidZonalDeploymentConfigurationException" + // ErrCodeLifecycleEventAlreadyCompletedException for service response error code // "LifecycleEventAlreadyCompletedException". // @@ -815,6 +821,7 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "InvalidTrafficRoutingConfigurationException": newErrorInvalidTrafficRoutingConfigurationException, "InvalidTriggerConfigException": newErrorInvalidTriggerConfigException, "InvalidUpdateOutdatedInstancesOnlyValueException": newErrorInvalidUpdateOutdatedInstancesOnlyValueException, + "InvalidZonalDeploymentConfigurationException": newErrorInvalidZonalDeploymentConfigurationException, "LifecycleEventAlreadyCompletedException": newErrorLifecycleEventAlreadyCompletedException, "LifecycleHookLimitExceededException": newErrorLifecycleHookLimitExceededException, "MultipleIamArnsProvidedException": newErrorMultipleIamArnsProvidedException,