Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-swift-automation committed Nov 7, 2024
1 parent 5540683 commit cf61a29
Show file tree
Hide file tree
Showing 8 changed files with 10,408 additions and 1,727 deletions.
49 changes: 49 additions & 0 deletions codegen/sdk-codegen/aws-models/auto-scaling.json
Original file line number Diff line number Diff line change
Expand Up @@ -922,6 +922,12 @@
"traits": {
"smithy.api#documentation": "<p>An instance maintenance policy.</p>"
}
},
"AvailabilityZoneDistribution": {
"target": "com.amazonaws.autoscaling#AvailabilityZoneDistribution",
"traits": {
"smithy.api#documentation": "<p>\n The instance capacity distribution across Availability Zones.\n </p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -2303,6 +2309,20 @@
}
}
},
"com.amazonaws.autoscaling#AvailabilityZoneDistribution": {
"type": "structure",
"members": {
"CapacityDistributionStrategy": {
"target": "com.amazonaws.autoscaling#CapacityDistributionStrategy",
"traits": {
"smithy.api#documentation": "<p>\n If launches fail in an Availability Zone, the following strategies are available. The default is <code>balanced-best-effort</code>. </p>\n <ul>\n <li>\n <p>\n <code>balanced-only</code> - If launches fail in an Availability Zone, Auto Scaling will continue to attempt to launch in the unhealthy zone to preserve a balanced distribution.</p>\n </li>\n <li>\n <p>\n <code>balanced-best-effort</code> - If launches fail in an Availability Zone, Auto Scaling will attempt to launch in another healthy Availability Zone instead.</p>\n </li>\n </ul>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n Describes an Availability Zone distribution.\n </p>"
}
},
"com.amazonaws.autoscaling#AvailabilityZones": {
"type": "list",
"member": {
Expand Down Expand Up @@ -2629,6 +2649,23 @@
}
}
},
"com.amazonaws.autoscaling#CapacityDistributionStrategy": {
"type": "enum",
"members": {
"BALANCED_ONLY": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "balanced-only"
}
},
"BALANCED_BEST_EFFORT": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "balanced-best-effort"
}
}
}
},
"com.amazonaws.autoscaling#CapacityForecast": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -3104,6 +3141,12 @@
"traits": {
"smithy.api#documentation": "<p>An instance maintenance policy. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html\">Set instance maintenance policy</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
}
},
"AvailabilityZoneDistribution": {
"target": "com.amazonaws.autoscaling#AvailabilityZoneDistribution",
"traits": {
"smithy.api#documentation": "<p>The instance capacity distribution across Availability Zones.</p>"
}
}
}
},
Expand Down Expand Up @@ -10963,6 +11006,12 @@
"traits": {
"smithy.api#documentation": "<p>An instance maintenance policy. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html\">Set instance maintenance policy</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
}
},
"AvailabilityZoneDistribution": {
"target": "com.amazonaws.autoscaling#AvailabilityZoneDistribution",
"traits": {
"smithy.api#documentation": "<p>\n The instance capacity distribution across Availability Zones.\n </p>"
}
}
}
},
Expand Down
Loading

0 comments on commit cf61a29

Please sign in to comment.