7076 lines
444 KiB
JSON
7076 lines
444 KiB
JSON
{
|
|
"smithy": "1.0",
|
|
"metadata": {
|
|
"suppressions": [
|
|
{
|
|
"id": "HttpMethodSemantics",
|
|
"namespace": "*"
|
|
},
|
|
{
|
|
"id": "HttpResponseCodeSemantics",
|
|
"namespace": "*"
|
|
},
|
|
{
|
|
"id": "PaginatedTrait",
|
|
"namespace": "*"
|
|
},
|
|
{
|
|
"id": "HttpHeaderTrait",
|
|
"namespace": "*"
|
|
},
|
|
{
|
|
"id": "HttpUriConflict",
|
|
"namespace": "*"
|
|
},
|
|
{
|
|
"id": "Service",
|
|
"namespace": "*"
|
|
}
|
|
]
|
|
},
|
|
"shapes": {
|
|
"com.amazonaws.autoscaling#ActiveInstanceRefreshNotFoundFault": {
|
|
"type": "structure",
|
|
"members": {
|
|
"message": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255"
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The request failed because an active instance refresh for the specified Auto Scaling group was\n not found. </p>",
|
|
"smithy.api#error": "client",
|
|
"smithy.api#httpError": 400
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#Activities": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#Activity"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ActivitiesType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Activities": {
|
|
"target": "com.amazonaws.autoscaling#Activities",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The scaling activities. Activities are sorted by start time. Activities still in\n progress are described first.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n <code>NextToken</code> value when requesting the next set of items. This value is\n null when there are no more items to return.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#Activity": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ActivityId": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the activity.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Description": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A friendly, more verbose description of the activity.</p>"
|
|
}
|
|
},
|
|
"Cause": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen1023",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The reason the activity began.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"StartTime": {
|
|
"target": "com.amazonaws.autoscaling#TimestampType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The start time of the activity.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"EndTime": {
|
|
"target": "com.amazonaws.autoscaling#TimestampType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The end time of the activity.</p>"
|
|
}
|
|
},
|
|
"StatusCode": {
|
|
"target": "com.amazonaws.autoscaling#ScalingActivityStatusCode",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The current status of the activity.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"StatusMessage": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A friendly, more verbose description of the activity status.</p>"
|
|
}
|
|
},
|
|
"Progress": {
|
|
"target": "com.amazonaws.autoscaling#Progress",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A value between 0 and 100 that indicates the progress of the activity.</p>"
|
|
}
|
|
},
|
|
"Details": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The details about the activity.</p>"
|
|
}
|
|
},
|
|
"AutoScalingGroupState": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupState",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The state of the Auto Scaling group, which is either <code>InService</code> or\n <code>Deleted</code>.</p>"
|
|
}
|
|
},
|
|
"AutoScalingGroupARN": {
|
|
"target": "com.amazonaws.autoscaling#ResourceName",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Auto Scaling group.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes scaling activity, which is a long-running process that represents a change\n to your Auto Scaling group, such as changing its size or replacing an instance.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ActivityIds": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#XmlString"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ActivityType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Activity": {
|
|
"target": "com.amazonaws.autoscaling#Activity",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A scaling activity.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AdjustmentType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AdjustmentType": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The policy adjustment type. The valid values are <code>ChangeInCapacity</code>,\n <code>ExactCapacity</code>, and <code>PercentChangeInCapacity</code>.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes a policy adjustment type.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AdjustmentTypes": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#AdjustmentType"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#Alarm": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AlarmName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the alarm.</p>"
|
|
}
|
|
},
|
|
"AlarmARN": {
|
|
"target": "com.amazonaws.autoscaling#ResourceName",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the alarm.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes an alarm.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#Alarms": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#Alarm"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AlreadyExistsFault": {
|
|
"type": "structure",
|
|
"members": {
|
|
"message": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p></p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>You already have an Auto Scaling group or launch configuration with this name.</p>",
|
|
"smithy.api#error": "client",
|
|
"smithy.api#httpError": 400
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AsciiStringMaxLen255": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#length": {
|
|
"min": 1,
|
|
"max": 255
|
|
},
|
|
"smithy.api#pattern": "[A-Za-z0-9\\-_\\/]+"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AssociatePublicIpAddress": {
|
|
"type": "boolean",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AttachInstances": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#AttachInstancesQuery"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ServiceLinkedRoleFailure"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Attaches one or more EC2 instances to the specified Auto Scaling group.</p>\n <p>When you attach instances, Amazon EC2 Auto Scaling increases the desired capacity of the group by the\n number of instances being attached. If the number of instances being attached plus the\n desired capacity of the group exceeds the maximum size of the group, the operation\n fails.</p>\n <p>If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are\n also registered with the load balancer. If there are target groups attached to your Auto Scaling\n group, the instances are also registered with the target groups.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-instance-asg.html\">Attach EC2 instances to\n your Auto Scaling group</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AttachInstancesQuery": {
|
|
"type": "structure",
|
|
"members": {
|
|
"InstanceIds": {
|
|
"target": "com.amazonaws.autoscaling#InstanceIds",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The IDs of the instances. You can specify up to 20 instances.</p>"
|
|
}
|
|
},
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AttachLoadBalancerTargetGroups": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#AttachLoadBalancerTargetGroupsType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#AttachLoadBalancerTargetGroupsResultType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ServiceLinkedRoleFailure"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Attaches one or more target groups to the specified Auto Scaling group.</p>\n <p>This operation is used with the following load balancer types: </p>\n <ul>\n <li>\n <p> Application Load Balancer - Operates at the application layer (layer 7) and\n supports HTTP and HTTPS. </p>\n </li>\n <li>\n <p> Network Load Balancer - Operates at the transport layer (layer 4) and\n supports TCP, TLS, and UDP. </p>\n </li>\n <li>\n <p> Gateway Load Balancer - Operates at the network layer (layer 3).</p>\n </li>\n </ul>\n <p>To describe the target groups for an Auto Scaling group, call the <a>DescribeLoadBalancerTargetGroups</a> API. To detach the target group from\n the Auto Scaling group, call the <a>DetachLoadBalancerTargetGroups</a> API.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html\">Elastic Load Balancing and\n Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AttachLoadBalancerTargetGroupsResultType": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.autoscaling#AttachLoadBalancerTargetGroupsType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"TargetGroupARNs": {
|
|
"target": "com.amazonaws.autoscaling#TargetGroupARNs",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target\n groups. To get the ARN of a target group, use the Elastic Load Balancing <a href=\"https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html\">DescribeTargetGroups</a> API operation.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AttachLoadBalancers": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#AttachLoadBalancersType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#AttachLoadBalancersResultType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ServiceLinkedRoleFailure"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<note>\n <p>To attach an Application Load Balancer, Network Load Balancer, or Gateway Load\n Balancer, use the <a>AttachLoadBalancerTargetGroups</a> API operation\n instead.</p>\n </note>\n <p>Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling\n registers the running instances with these Classic Load Balancers.</p>\n <p>To describe the load balancers for an Auto Scaling group, call the <a>DescribeLoadBalancers</a> API. To detach the load balancer from the Auto Scaling\n group, call the <a>DetachLoadBalancers</a> API.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html\">Elastic Load Balancing and\n Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AttachLoadBalancersResultType": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.autoscaling#AttachLoadBalancersType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"LoadBalancerNames": {
|
|
"target": "com.amazonaws.autoscaling#LoadBalancerNames",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The names of the load balancers. You can specify up to 10 load balancers.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AutoScalingGroup": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"AutoScalingGroupARN": {
|
|
"target": "com.amazonaws.autoscaling#ResourceName",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"LaunchConfigurationName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the associated launch configuration.</p>"
|
|
}
|
|
},
|
|
"LaunchTemplate": {
|
|
"target": "com.amazonaws.autoscaling#LaunchTemplateSpecification",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The launch template for the group.</p>"
|
|
}
|
|
},
|
|
"MixedInstancesPolicy": {
|
|
"target": "com.amazonaws.autoscaling#MixedInstancesPolicy",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The mixed instances policy for the group.</p>"
|
|
}
|
|
},
|
|
"MinSize": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The minimum size of the group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"MaxSize": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum size of the group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"DesiredCapacity": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The desired size of the group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"PredictedCapacity": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupPredictedCapacity",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The predicted capacity of the group when it has a predictive scaling policy.</p>"
|
|
}
|
|
},
|
|
"DefaultCooldown": {
|
|
"target": "com.amazonaws.autoscaling#Cooldown",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The duration of the default cooldown period, in seconds.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"AvailabilityZones": {
|
|
"target": "com.amazonaws.autoscaling#AvailabilityZones",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One or more Availability Zones for the group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"LoadBalancerNames": {
|
|
"target": "com.amazonaws.autoscaling#LoadBalancerNames",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One or more load balancers associated with the group.</p>"
|
|
}
|
|
},
|
|
"TargetGroupARNs": {
|
|
"target": "com.amazonaws.autoscaling#TargetGroupARNs",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Names (ARN) of the target groups for your load balancer.</p>"
|
|
}
|
|
},
|
|
"HealthCheckType": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen32",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The service to use for the health checks. The valid values are <code>EC2</code> and\n <code>ELB</code>. If you configure an Auto Scaling group to use ELB health checks, it\n considers the instance unhealthy if it fails either the EC2 status checks or the load\n balancer health checks.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"HealthCheckGracePeriod": {
|
|
"target": "com.amazonaws.autoscaling#HealthCheckGracePeriod",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status\n of an EC2 instance that has come into service.</p>"
|
|
}
|
|
},
|
|
"Instances": {
|
|
"target": "com.amazonaws.autoscaling#Instances",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The EC2 instances associated with the group.</p>"
|
|
}
|
|
},
|
|
"CreatedTime": {
|
|
"target": "com.amazonaws.autoscaling#TimestampType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The date and time the group was created.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"SuspendedProcesses": {
|
|
"target": "com.amazonaws.autoscaling#SuspendedProcesses",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The suspended processes associated with the group.</p>"
|
|
}
|
|
},
|
|
"PlacementGroup": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the placement group into which to launch your instances, if any.</p>"
|
|
}
|
|
},
|
|
"VPCZoneIdentifier": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen2047",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One or more subnet IDs, if applicable, separated by commas.</p>"
|
|
}
|
|
},
|
|
"EnabledMetrics": {
|
|
"target": "com.amazonaws.autoscaling#EnabledMetrics",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The metrics enabled for the group.</p>"
|
|
}
|
|
},
|
|
"Status": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The current state of the group when the <a>DeleteAutoScalingGroup</a>\n operation is in progress.</p>"
|
|
}
|
|
},
|
|
"Tags": {
|
|
"target": "com.amazonaws.autoscaling#TagDescriptionList",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The tags for the group.</p>"
|
|
}
|
|
},
|
|
"TerminationPolicies": {
|
|
"target": "com.amazonaws.autoscaling#TerminationPolicies",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The termination policies for the group.</p>"
|
|
}
|
|
},
|
|
"NewInstancesProtectedFromScaleIn": {
|
|
"target": "com.amazonaws.autoscaling#InstanceProtected",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling\n when scaling in.</p>"
|
|
}
|
|
},
|
|
"ServiceLinkedRoleARN": {
|
|
"target": "com.amazonaws.autoscaling#ResourceName",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to\n call other AWS services on your behalf.</p>"
|
|
}
|
|
},
|
|
"MaxInstanceLifetime": {
|
|
"target": "com.amazonaws.autoscaling#MaxInstanceLifetime",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum amount of time, in seconds, that an instance can be in service.</p>\n <p>Valid Range: Minimum value of 0.</p>"
|
|
}
|
|
},
|
|
"CapacityRebalance": {
|
|
"target": "com.amazonaws.autoscaling#CapacityRebalanceEnabled",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates whether Capacity Rebalancing is enabled.</p>"
|
|
}
|
|
},
|
|
"WarmPoolConfiguration": {
|
|
"target": "com.amazonaws.autoscaling#WarmPoolConfiguration",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The warm pool for the group.</p>"
|
|
}
|
|
},
|
|
"WarmPoolSize": {
|
|
"target": "com.amazonaws.autoscaling#WarmPoolSize",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The current size of the warm pool.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes an Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AutoScalingGroupMaxSize": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AutoScalingGroupMinSize": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AutoScalingGroupNames": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AutoScalingGroupNamesType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupNames": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupNames",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The names of the Auto Scaling groups. By default, you can only specify up to 50 names. You can\n optionally increase this limit using the <code>MaxRecords</code> parameter.</p>\n <p>If you omit this parameter, all Auto Scaling groups are described.</p>"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The token for the next set of items to return. (You received this token from a\n previous call.)</p>"
|
|
}
|
|
},
|
|
"MaxRecords": {
|
|
"target": "com.amazonaws.autoscaling#MaxRecords",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum number of items to return with this call. The default value is\n <code>50</code> and the maximum value is <code>100</code>.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AutoScalingGroupPredictedCapacity": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AutoScalingGroupState": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#length": {
|
|
"min": 1,
|
|
"max": 32
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AutoScalingGroups": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroup"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AutoScalingGroupsType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroups": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroups",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The groups.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n <code>NextToken</code> value when requesting the next set of items. This value is\n null when there are no more items to return.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AutoScalingInstanceDetails": {
|
|
"type": "structure",
|
|
"members": {
|
|
"InstanceId": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen19",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the instance.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"InstanceType": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The instance type of the EC2 instance.</p>"
|
|
}
|
|
},
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group for the instance.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"AvailabilityZone": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Availability Zone for the instance.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"LifecycleState": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen32",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The lifecycle state for the instance. The <code>Quarantined</code> state is not used.\n For information about lifecycle states, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html\">Instance\n lifecycle</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>\n <p>Valid Values: <code>Pending</code> | <code>Pending:Wait</code> |\n <code>Pending:Proceed</code> | <code>Quarantined</code> | <code>InService</code> |\n <code>Terminating</code> | <code>Terminating:Wait</code> |\n <code>Terminating:Proceed</code> | <code>Terminated</code> | <code>Detaching</code>\n | <code>Detached</code> | <code>EnteringStandby</code> | <code>Standby</code> |\n <code>Warmed:Pending</code> | <code>Warmed:Pending:Wait</code> |\n <code>Warmed:Pending:Proceed</code> | <code>Warmed:Terminating</code> |\n <code>Warmed:Terminating:Wait</code> | <code>Warmed:Terminating:Proceed</code> |\n <code>Warmed:Terminated</code> | <code>Warmed:Stopped</code> |\n <code>Warmed:Running</code>\n </p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"HealthStatus": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen32",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The last reported health status of this instance. \"Healthy\" means that the instance is\n healthy and should remain in service. \"Unhealthy\" means that the instance is unhealthy\n and Amazon EC2 Auto Scaling should terminate and replace it.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"LaunchConfigurationName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The launch configuration used to launch the instance. This value is not available if\n you attached the instance to the Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"LaunchTemplate": {
|
|
"target": "com.amazonaws.autoscaling#LaunchTemplateSpecification",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The launch template for the instance.</p>"
|
|
}
|
|
},
|
|
"ProtectedFromScaleIn": {
|
|
"target": "com.amazonaws.autoscaling#InstanceProtected",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling\n in.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"WeightedCapacity": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen32",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The number of capacity units contributed by the instance based on its instance\n type.</p>\n <p>Valid Range: Minimum value of 1. Maximum value of 999.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes an EC2 instance associated with an Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AutoScalingInstances": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingInstanceDetails"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AutoScalingInstancesType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingInstances": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingInstances",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The instances.</p>"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n <code>NextToken</code> value when requesting the next set of items. This value is\n null when there are no more items to return.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AutoScalingNotificationTypes": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AutoScaling_2011_01_01": {
|
|
"type": "service",
|
|
"version": "2011-01-01",
|
|
"operations": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#AttachInstances"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#AttachLoadBalancers"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#AttachLoadBalancerTargetGroups"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#BatchDeleteScheduledAction"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#BatchPutScheduledUpdateGroupAction"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#CancelInstanceRefresh"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#CompleteLifecycleAction"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#CreateAutoScalingGroup"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#CreateLaunchConfiguration"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#CreateOrUpdateTags"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DeleteAutoScalingGroup"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DeleteLaunchConfiguration"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DeleteLifecycleHook"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DeleteNotificationConfiguration"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DeletePolicy"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DeleteScheduledAction"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DeleteTags"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DeleteWarmPool"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DescribeAccountLimits"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DescribeAdjustmentTypes"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DescribeAutoScalingGroups"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DescribeAutoScalingInstances"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DescribeAutoScalingNotificationTypes"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DescribeInstanceRefreshes"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DescribeLaunchConfigurations"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DescribeLifecycleHooks"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DescribeLifecycleHookTypes"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DescribeLoadBalancers"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DescribeLoadBalancerTargetGroups"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DescribeMetricCollectionTypes"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DescribeNotificationConfigurations"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DescribePolicies"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DescribeScalingActivities"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DescribeScalingProcessTypes"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DescribeScheduledActions"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DescribeTags"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DescribeTerminationPolicyTypes"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DescribeWarmPool"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DetachInstances"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DetachLoadBalancers"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DetachLoadBalancerTargetGroups"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#DisableMetricsCollection"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#EnableMetricsCollection"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#EnterStandby"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ExecutePolicy"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ExitStandby"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#GetPredictiveScalingForecast"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#PutLifecycleHook"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#PutNotificationConfiguration"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#PutScalingPolicy"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#PutScheduledUpdateGroupAction"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#PutWarmPool"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#RecordLifecycleActionHeartbeat"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResumeProcesses"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#SetDesiredCapacity"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#SetInstanceHealth"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#SetInstanceProtection"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#StartInstanceRefresh"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#SuspendProcesses"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#TerminateInstanceInAutoScalingGroup"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#UpdateAutoScalingGroup"
|
|
}
|
|
],
|
|
"traits": {
|
|
"aws.api#service": {
|
|
"sdkId": "Auto Scaling",
|
|
"arnNamespace": "autoscaling",
|
|
"cloudFormationName": "AutoScaling",
|
|
"cloudTrailEventSource": "autoscaling.amazonaws.com",
|
|
"endpointPrefix": "autoscaling"
|
|
},
|
|
"aws.auth#sigv4": {
|
|
"name": "autoscaling"
|
|
},
|
|
"aws.protocols#awsQuery": {},
|
|
"smithy.api#documentation": "<fullname>Amazon EC2 Auto Scaling</fullname>\n \n \n \n \n \n \n <p>Amazon EC2 Auto Scaling is designed to automatically launch or terminate EC2 instances\n based on user-defined scaling policies, scheduled actions, and health checks.</p>\n <p>For more information about Amazon EC2 Auto Scaling, see the <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html\">Amazon EC2 Auto Scaling User Guide</a>. For information about granting IAM users required\n permissions for calls to Amazon EC2 Auto Scaling, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/APIReference/ec2-auto-scaling-api-permissions.html\">Granting\n IAM users required permissions for Amazon EC2 Auto Scaling resources</a> in the\n <i>Amazon EC2 Auto Scaling API Reference</i>.</p>",
|
|
"smithy.api#title": "Auto Scaling",
|
|
"smithy.api#xmlNamespace": {
|
|
"uri": "http://autoscaling.amazonaws.com/doc/2011-01-01/"
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#AvailabilityZones": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#BatchDeleteScheduledAction": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#BatchDeleteScheduledActionType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#BatchDeleteScheduledActionAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Deletes one or more scheduled actions for the specified Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#BatchDeleteScheduledActionAnswer": {
|
|
"type": "structure",
|
|
"members": {
|
|
"FailedScheduledActions": {
|
|
"target": "com.amazonaws.autoscaling#FailedScheduledUpdateGroupActionRequests",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The names of the scheduled actions that could not be deleted, including an error\n message.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#BatchDeleteScheduledActionType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"ScheduledActionNames": {
|
|
"target": "com.amazonaws.autoscaling#ScheduledActionNames",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The names of the scheduled actions to delete. The maximum number allowed is 50.\n </p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#BatchPutScheduledUpdateGroupAction": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#BatchPutScheduledUpdateGroupActionType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#BatchPutScheduledUpdateGroupActionAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#AlreadyExistsFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#LimitExceededFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Creates or updates one or more scheduled scaling actions for an Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#BatchPutScheduledUpdateGroupActionAnswer": {
|
|
"type": "structure",
|
|
"members": {
|
|
"FailedScheduledUpdateGroupActions": {
|
|
"target": "com.amazonaws.autoscaling#FailedScheduledUpdateGroupActionRequests",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The names of the scheduled actions that could not be created or updated, including an\n error message.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#BatchPutScheduledUpdateGroupActionType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"ScheduledUpdateGroupActions": {
|
|
"target": "com.amazonaws.autoscaling#ScheduledUpdateGroupActionRequests",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One or more scheduled actions. The maximum number allowed is 50.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#BlockDeviceEbsDeleteOnTermination": {
|
|
"type": "boolean",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#BlockDeviceEbsEncrypted": {
|
|
"type": "boolean",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#BlockDeviceEbsIops": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {},
|
|
"smithy.api#range": {
|
|
"min": 100,
|
|
"max": 20000
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#BlockDeviceEbsVolumeSize": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {},
|
|
"smithy.api#range": {
|
|
"min": 1,
|
|
"max": 16384
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#BlockDeviceEbsVolumeType": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#length": {
|
|
"min": 1,
|
|
"max": 255
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#BlockDeviceMapping": {
|
|
"type": "structure",
|
|
"members": {
|
|
"VirtualName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the virtual device (for example, <code>ephemeral0</code>).</p>\n <p>You can specify either <code>VirtualName</code> or <code>Ebs</code>, but not\n both.</p>"
|
|
}
|
|
},
|
|
"DeviceName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The device name exposed to the EC2 instance (for example, <code>/dev/sdh</code> or\n <code>xvdh</code>). For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html\">Device Naming on Linux\n Instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Ebs": {
|
|
"target": "com.amazonaws.autoscaling#Ebs",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Parameters used to automatically set up EBS volumes when an instance is\n launched.</p>\n <p>You can specify either <code>VirtualName</code> or <code>Ebs</code>, but not\n both.</p>"
|
|
}
|
|
},
|
|
"NoDevice": {
|
|
"target": "com.amazonaws.autoscaling#NoDevice",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Setting this value to <code>true</code> suppresses the specified device included in\n the block device mapping of the AMI.</p>\n <p>If <code>NoDevice</code> is <code>true</code> for the root device, instances might\n fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches replacement instances.</p>\n <p>If you specify <code>NoDevice</code>, you cannot specify <code>Ebs</code>.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes a block device mapping.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#BlockDeviceMappings": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#BlockDeviceMapping"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#CancelInstanceRefresh": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#CancelInstanceRefreshType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#CancelInstanceRefreshAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ActiveInstanceRefreshNotFoundFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#LimitExceededFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Cancels an instance refresh operation in progress. Cancellation does not roll back any\n replacements that have already been completed, but it prevents new replacements from\n being started. </p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html\">Replacing Auto Scaling instances\n based on an instance refresh</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#CancelInstanceRefreshAnswer": {
|
|
"type": "structure",
|
|
"members": {
|
|
"InstanceRefreshId": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The instance refresh ID.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#CancelInstanceRefreshType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#CapacityForecast": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Timestamps": {
|
|
"target": "com.amazonaws.autoscaling#PredictiveScalingForecastTimestamps",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The time stamps for the data points, in UTC format.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Values": {
|
|
"target": "com.amazonaws.autoscaling#PredictiveScalingForecastValues",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The values of the data points.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A <code>GetPredictiveScalingForecast</code> call returns the capacity forecast for a\n predictive scaling policy. This structure includes the data points for that capacity\n forecast, along with the timestamps of those data points. </p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#CapacityRebalanceEnabled": {
|
|
"type": "boolean",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#CheckpointDelay": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {},
|
|
"smithy.api#range": {
|
|
"min": 0,
|
|
"max": 172800
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#CheckpointPercentages": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#NonZeroIntPercent"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ClassicLinkVPCSecurityGroups": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#CompleteLifecycleAction": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#CompleteLifecycleActionType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#CompleteLifecycleActionAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Completes the lifecycle action for the specified token or instance with the specified\n result.</p>\n <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling\n group:</p>\n <ol>\n <li>\n <p>(Optional) Create a Lambda function and a rule that allows CloudWatch Events to\n invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates\n instances.</p>\n </li>\n <li>\n <p>(Optional) Create a notification target and an IAM role. The target can be\n either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to\n publish lifecycle notifications to the target.</p>\n </li>\n <li>\n <p>Create the lifecycle hook. Specify whether the hook is used when the instances\n launch or terminate.</p>\n </li>\n <li>\n <p>If you need more time, record the lifecycle action heartbeat to keep the\n instance in a pending state.</p>\n </li>\n <li>\n <p>\n <b>If you finish before the timeout period ends, complete\n the lifecycle action.</b>\n </p>\n </li>\n </ol>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html\">Amazon EC2 Auto Scaling lifecycle\n hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#CompleteLifecycleActionAnswer": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.autoscaling#CompleteLifecycleActionType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LifecycleHookName": {
|
|
"target": "com.amazonaws.autoscaling#AsciiStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the lifecycle hook.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#ResourceName",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"LifecycleActionToken": {
|
|
"target": "com.amazonaws.autoscaling#LifecycleActionToken",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A universally unique identifier (UUID) that identifies a specific lifecycle action\n associated with an instance. Amazon EC2 Auto Scaling sends this token to the notification target you\n specified when you created the lifecycle hook.</p>"
|
|
}
|
|
},
|
|
"LifecycleActionResult": {
|
|
"target": "com.amazonaws.autoscaling#LifecycleActionResult",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The action for the group to take. This parameter can be either <code>CONTINUE</code>\n or <code>ABANDON</code>.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"InstanceId": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen19",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the instance.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#Cooldown": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#CreateAutoScalingGroup": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#CreateAutoScalingGroupType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#AlreadyExistsFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#LimitExceededFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ServiceLinkedRoleFailure"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>\n <b>We strongly recommend using a launch template when calling this operation to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.</b>\n </p> \n <p>Creates an Auto Scaling group with\n the specified name and attributes. </p>\n <p>If you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit,\n call the <a>DescribeAccountLimits</a> API. For information about updating\n this limit, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html\">Amazon EC2 Auto Scaling service\n quotas</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>\n <p>For introductory exercises for creating an Auto Scaling group, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/GettingStartedTutorial.html\">Getting started with\n Amazon EC2 Auto Scaling</a> and <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-register-lbs-with-asg.html\">Tutorial: Set up a\n scaled and load-balanced application</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroup.html\">Auto Scaling\n groups</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>\n <p>Every Auto Scaling group has three size parameters (<code>DesiredCapacity</code>,\n <code>MaxSize</code>, and <code>MinSize</code>). Usually, you set these sizes based\n on a specific number of instances. However, if you configure a mixed instances policy\n that defines weights for the instance types, you must specify these sizes with the same\n units that you use for weighting instances.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#CreateAutoScalingGroupType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group. This name must be unique per Region per account.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"LaunchConfigurationName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the launch configuration to use to launch instances. </p>\n <p>Conditional: You must specify either a launch template (<code>LaunchTemplate</code> or\n <code>MixedInstancesPolicy</code>) or a launch configuration\n (<code>LaunchConfigurationName</code> or <code>InstanceId</code>).</p>"
|
|
}
|
|
},
|
|
"LaunchTemplate": {
|
|
"target": "com.amazonaws.autoscaling#LaunchTemplateSpecification",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Parameters used to specify the launch template and version to use to launch instances. </p>\n <p>Conditional: You must specify either a launch template (<code>LaunchTemplate</code> or\n <code>MixedInstancesPolicy</code>) or a launch configuration\n (<code>LaunchConfigurationName</code> or <code>InstanceId</code>).</p>\n <note>\n <p>The launch template that is specified must be configured for use with an Auto Scaling\n group. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html\">Creating a launch\n template for an Auto Scaling group</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>\n </note>"
|
|
}
|
|
},
|
|
"MixedInstancesPolicy": {
|
|
"target": "com.amazonaws.autoscaling#MixedInstancesPolicy",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>An embedded object that specifies a mixed instances policy. The required properties\n must be specified. If optional properties are unspecified, their default values are\n used.</p>\n <p>The policy includes properties that not only define the distribution of On-Demand\n Instances and Spot Instances, the maximum price to pay for Spot Instances, and how the\n Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also\n the properties that specify the instance configuration information—the launch template\n and instance types. The policy can also include a weight for each instance type and\n different launch templates for individual instance types. For more information, see\n <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html\">Auto Scaling groups with multiple\n instance types and purchase options</a> in the <i>Amazon EC2 Auto Scaling User\n Guide</i>.</p>"
|
|
}
|
|
},
|
|
"InstanceId": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen19",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the instance used to base the launch configuration on. If specified, Amazon\n EC2 Auto Scaling uses the configuration values from the specified instance to create a\n new launch configuration. To get the instance ID, use the Amazon EC2 <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html\">DescribeInstances</a> API operation. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html\">Creating an Auto Scaling group using an EC2 instance</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"MinSize": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The minimum size of the group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"MaxSize": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum size of the group.</p>\n <note>\n <p>With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to\n go above <code>MaxSize</code> to meet your capacity requirements. In this event,\n Amazon EC2 Auto Scaling will never go above <code>MaxSize</code> by more than your largest instance\n weight (weights that define how many units each instance contributes to the desired\n capacity of the group).</p>\n </note>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"DesiredCapacity": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The desired capacity is the initial capacity of the Auto Scaling group at the time of its\n creation and the capacity it attempts to maintain. It can scale beyond this capacity if\n you configure auto scaling. This number must be greater than or equal to the minimum\n size of the group and less than or equal to the maximum size of the group. If you do not\n specify a desired capacity, the default is the minimum size of the group.</p>"
|
|
}
|
|
},
|
|
"DefaultCooldown": {
|
|
"target": "com.amazonaws.autoscaling#Cooldown",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The amount of time, in seconds, after a scaling activity completes before another\n scaling activity can start. The default value is <code>300</code>. This setting applies\n when using simple scaling policies, but not when using other scaling policies or\n scheduled scaling. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html\">Scaling cooldowns for Amazon EC2 Auto Scaling</a>\n in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"AvailabilityZones": {
|
|
"target": "com.amazonaws.autoscaling#AvailabilityZones",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A list of Availability Zones where instances in the Auto Scaling group can be created. This\n parameter is optional if you specify one or more subnets for\n <code>VPCZoneIdentifier</code>.</p>\n <p>Conditional: If your account supports EC2-Classic and VPC, this parameter is required\n to launch instances into EC2-Classic.</p>"
|
|
}
|
|
},
|
|
"LoadBalancerNames": {
|
|
"target": "com.amazonaws.autoscaling#LoadBalancerNames",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A list of Classic Load Balancers associated with this Auto Scaling group. For\n Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify\n the <code>TargetGroupARNs</code> property instead.</p>"
|
|
}
|
|
},
|
|
"TargetGroupARNs": {
|
|
"target": "com.amazonaws.autoscaling#TargetGroupARNs",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Names (ARN) of the target groups to associate with the Auto Scaling group.\n Instances are registered as targets in a target group, and traffic is routed to the\n target group. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html\">Elastic Load Balancing and\n Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"HealthCheckType": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen32",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The service to use for the health checks. The valid values are <code>EC2</code>\n (default) and <code>ELB</code>. If you configure an Auto Scaling group to use load balancer\n (ELB) health checks, it considers the instance unhealthy if it fails either the EC2\n status checks or the load balancer health checks. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html\">Health checks\n for Auto Scaling instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"HealthCheckGracePeriod": {
|
|
"target": "com.amazonaws.autoscaling#HealthCheckGracePeriod",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status\n of an EC2 instance that has come into service. During this time, any health check\n failures for the instance are ignored. The default value is <code>0</code>. For more\n information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html#health-check-grace-period\">Health\n check grace period</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>\n <p>Conditional: Required if you are adding an <code>ELB</code> health check.</p>"
|
|
}
|
|
},
|
|
"PlacementGroup": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of an existing placement group into which to launch your instances, if any. A\n placement group is a logical grouping of instances within a single Availability Zone.\n You cannot specify multiple Availability Zones and a placement group. For more\n information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html\">Placement Groups</a> in the\n <i>Amazon EC2 User Guide for Linux Instances</i>.</p>"
|
|
}
|
|
},
|
|
"VPCZoneIdentifier": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen2047",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A comma-separated list of subnet IDs for a virtual private cloud (VPC) where instances\n in the Auto Scaling group can be created. If you specify <code>VPCZoneIdentifier</code> with\n <code>AvailabilityZones</code>, the subnets that you specify for this parameter must\n reside in those Availability Zones.</p>\n <p>Conditional: If your account supports EC2-Classic and VPC, this parameter is required\n to launch instances into a VPC.</p>"
|
|
}
|
|
},
|
|
"TerminationPolicies": {
|
|
"target": "com.amazonaws.autoscaling#TerminationPolicies",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A policy or a list of policies that are used to select the instance to terminate.\n These policies are executed in the order that you list them. For more information, see\n <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html\">Controlling which Auto Scaling\n instances terminate during scale in</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"NewInstancesProtectedFromScaleIn": {
|
|
"target": "com.amazonaws.autoscaling#InstanceProtected",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling\n when scaling in. For more information about preventing instances from terminating on\n scale in, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection\">Instance scale-in protection</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"CapacityRebalance": {
|
|
"target": "com.amazonaws.autoscaling#CapacityRebalanceEnabled",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is\n disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot\n Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of\n interruption. After launching a new instance, it then terminates an old instance. For\n more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-rebalance.html\">Amazon EC2 Auto Scaling Capacity\n Rebalancing</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"LifecycleHookSpecificationList": {
|
|
"target": "com.amazonaws.autoscaling#LifecycleHookSpecifications",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One or more lifecycle hooks for the group, which specify actions to perform when\n Amazon EC2 Auto Scaling launches or terminates instances.</p>"
|
|
}
|
|
},
|
|
"Tags": {
|
|
"target": "com.amazonaws.autoscaling#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2\n instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS\n volumes, specify the tags in a launch template but use caution. If the launch template\n specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling\n overrides the value of that instance tag with the value specified by the Auto Scaling group. For\n more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html\">Tagging Auto Scaling groups and\n instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"ServiceLinkedRoleARN": {
|
|
"target": "com.amazonaws.autoscaling#ResourceName",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to\n call other AWS services on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked\n role named AWSServiceRoleForAutoScaling, which it creates if it does not exist. For more\n information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-service-linked-role.html\">Service-linked\n roles</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"MaxInstanceLifetime": {
|
|
"target": "com.amazonaws.autoscaling#MaxInstanceLifetime",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum amount of time, in seconds, that an instance can be in service. The\n default is null. If specified, the value must be either 0 or a number equal to or\n greater than 86,400 seconds (1 day). For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html\">Replacing Auto Scaling instances based on maximum instance lifetime</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#CreateLaunchConfiguration": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#CreateLaunchConfigurationType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#AlreadyExistsFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#LimitExceededFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Creates a launch configuration.</p>\n <p>If you exceed your maximum limit of launch configurations, the call fails. To query\n this limit, call the <a>DescribeAccountLimits</a> API. For information about\n updating this limit, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html\">Amazon EC2 Auto Scaling service\n quotas</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchConfiguration.html\">Launch\n configurations</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#CreateLaunchConfigurationType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LaunchConfigurationName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the launch configuration. This name must be unique per Region per\n account.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"ImageId": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the Amazon Machine Image (AMI) that was assigned during registration. For\n more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html\">Finding an AMI</a> in the\n <i>Amazon EC2 User Guide for Linux Instances</i>.</p>\n <p>If you do not specify <code>InstanceId</code>, you must specify\n <code>ImageId</code>.</p>"
|
|
}
|
|
},
|
|
"KeyName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the key pair. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html\">Amazon EC2 Key Pairs</a> in the\n <i>Amazon EC2 User Guide for Linux Instances</i>.</p>"
|
|
}
|
|
},
|
|
"SecurityGroups": {
|
|
"target": "com.amazonaws.autoscaling#SecurityGroups",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A list that contains the security groups to assign to the instances in the Auto Scaling\n group.</p>\n <p>[EC2-VPC] Specify the security group IDs. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html\">Security Groups for Your VPC</a> in the <i>Amazon Virtual Private Cloud\n User Guide</i>.</p>\n <p>[EC2-Classic] Specify either the security group names or the security group IDs. For\n more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html\">Amazon EC2 Security\n Groups</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>"
|
|
}
|
|
},
|
|
"ClassicLinkVPCId": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. For more\n information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html\">ClassicLink</a> in the\n <i>Amazon EC2 User Guide for Linux Instances</i> and <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink\">Linking EC2-Classic\n instances to a VPC</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>\n <p>This parameter can only be used if you are launching EC2-Classic instances.</p>"
|
|
}
|
|
},
|
|
"ClassicLinkVPCSecurityGroups": {
|
|
"target": "com.amazonaws.autoscaling#ClassicLinkVPCSecurityGroups",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The IDs of one or more security groups for the specified ClassicLink-enabled VPC. For\n more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html\">ClassicLink</a> in the\n <i>Amazon EC2 User Guide for Linux Instances</i> and <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink\">Linking EC2-Classic\n instances to a VPC</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>\n <p>If you specify the <code>ClassicLinkVPCId</code> parameter, you must specify this\n parameter.</p>"
|
|
}
|
|
},
|
|
"UserData": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringUserData",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The user data to make available to the launched EC2 instances. For more information,\n see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html\">Instance metadata and user data</a> (Linux) and <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html\">Instance metadata and\n user data</a> (Windows). If you are using a command line tool, base64-encoding\n is performed for you, and you can load the text from a file. Otherwise, you must provide\n base64-encoded text. User data is limited to 16 KB.</p>"
|
|
}
|
|
},
|
|
"InstanceId": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen19",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the instance to use to create the launch configuration. The new launch\n configuration derives attributes from the instance, except for the block device\n mapping.</p>\n <p>To create a launch configuration with a block device mapping or override any other\n instance attributes, specify them as part of the same request.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-lc-with-instanceID.html\">Creating a launch\n configuration using an EC2 instance</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>\n <p>If you do not specify <code>InstanceId</code>, you must specify both\n <code>ImageId</code> and <code>InstanceType</code>.</p>"
|
|
}
|
|
},
|
|
"InstanceType": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Specifies the instance type of the EC2 instance.</p>\n <p>For information about available instance types, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes\">Available\n Instance Types</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>\n <p>If you do not specify <code>InstanceId</code>, you must specify\n <code>InstanceType</code>.</p>"
|
|
}
|
|
},
|
|
"KernelId": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the kernel associated with the AMI.</p>"
|
|
}
|
|
},
|
|
"RamdiskId": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the RAM disk to select.</p>"
|
|
}
|
|
},
|
|
"BlockDeviceMappings": {
|
|
"target": "com.amazonaws.autoscaling#BlockDeviceMappings",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A block device mapping, which specifies the block devices for the instance. You can\n specify virtual devices and EBS volumes. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html\">Block Device\n Mapping</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>"
|
|
}
|
|
},
|
|
"InstanceMonitoring": {
|
|
"target": "com.amazonaws.autoscaling#InstanceMonitoring",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Controls whether instances in this group are launched with detailed\n (<code>true</code>) or basic (<code>false</code>) monitoring.</p>\n <p>The default value is <code>true</code> (enabled).</p>\n <important>\n <p>When detailed monitoring is enabled, Amazon CloudWatch generates metrics every minute and\n your account is charged a fee. When you disable detailed monitoring, CloudWatch generates\n metrics every 5 minutes. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html\">Configure\n Monitoring for Auto Scaling Instances</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>\n </important>"
|
|
}
|
|
},
|
|
"SpotPrice": {
|
|
"target": "com.amazonaws.autoscaling#SpotPrice",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum hourly price to be paid for any Spot Instance launched to fulfill the\n request. Spot Instances are launched when the price you specify exceeds the current Spot\n price. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-launch-spot-instances.html\">Requesting Spot\n Instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>\n <note>\n <p>When you change your maximum price by creating a new launch configuration, running\n instances will continue to run as long as the maximum price for those running\n instances is higher than the current Spot price.</p>\n </note>"
|
|
}
|
|
},
|
|
"IamInstanceProfile": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen1600",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name or the Amazon Resource Name (ARN) of the instance profile associated with the\n IAM role for the instance. The instance profile contains the IAM role.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/us-iam-role.html\">IAM role for applications that run\n on Amazon EC2 instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"EbsOptimized": {
|
|
"target": "com.amazonaws.autoscaling#EbsOptimized",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Specifies whether the launch configuration is optimized for EBS I/O\n (<code>true</code>) or not (<code>false</code>). The optimization provides dedicated\n throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O\n performance. This optimization is not available with all instance types. Additional fees\n are incurred when you enable EBS optimization for an instance type that is not\n EBS-optimized by default. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html\">Amazon EBS-Optimized\n Instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>\n <p>The default value is <code>false</code>.</p>"
|
|
}
|
|
},
|
|
"AssociatePublicIpAddress": {
|
|
"target": "com.amazonaws.autoscaling#AssociatePublicIpAddress",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>For Auto Scaling groups that are running in a virtual private cloud (VPC), specifies whether\n to assign a public IP address to the group's instances. If you specify\n <code>true</code>, each instance in the Auto Scaling group receives a unique public IP address.\n For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html\">Launching Auto Scaling instances in a\n VPC</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>\n <p>If you specify this parameter, you must specify at least one subnet for\n <code>VPCZoneIdentifier</code> when you create your group.</p>\n <note>\n <p>If the instance is launched into a default subnet, the default is to assign a\n public IP address, unless you disabled the option to assign a public IP address on\n the subnet. If the instance is launched into a nondefault subnet, the default is not\n to assign a public IP address, unless you enabled the option to assign a public IP\n address on the subnet.</p>\n </note>"
|
|
}
|
|
},
|
|
"PlacementTenancy": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen64",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The tenancy of the instance. An instance with <code>dedicated</code> tenancy runs on\n isolated, single-tenant hardware and can only be launched into a VPC.</p>\n <p>To launch dedicated instances into a shared tenancy VPC (a VPC with the instance\n placement tenancy attribute set to <code>default</code>), you must set the value of this\n parameter to <code>dedicated</code>.</p>\n <p>If you specify <code>PlacementTenancy</code>, you must specify at least one subnet for\n <code>VPCZoneIdentifier</code> when you create your group.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html\">Configuring\n instance tenancy with Amazon EC2 Auto Scaling</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>\n <p>Valid Values: <code>default</code> | <code>dedicated</code>\n </p>"
|
|
}
|
|
},
|
|
"MetadataOptions": {
|
|
"target": "com.amazonaws.autoscaling#InstanceMetadataOptions",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The metadata options for the instances. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds\">Configuring the Instance Metadata Options</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#CreateOrUpdateTags": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#CreateOrUpdateTagsType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#AlreadyExistsFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#LimitExceededFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceInUseFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Creates or updates tags for the specified Auto Scaling group.</p>\n <p>When you specify a tag with a key that already exists, the operation overwrites the\n previous tag definition, and you do not get an error message.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html\">Tagging Auto Scaling groups and\n instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#CreateOrUpdateTagsType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Tags": {
|
|
"target": "com.amazonaws.autoscaling#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One or more tags.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#CustomizedMetricSpecification": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MetricName": {
|
|
"target": "com.amazonaws.autoscaling#MetricName",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the metric.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Namespace": {
|
|
"target": "com.amazonaws.autoscaling#MetricNamespace",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The namespace of the metric.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Dimensions": {
|
|
"target": "com.amazonaws.autoscaling#MetricDimensions",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The dimensions of the metric.</p>\n <p>Conditional: If you published your metric with dimensions, you must specify the same\n dimensions in your scaling policy.</p>"
|
|
}
|
|
},
|
|
"Statistic": {
|
|
"target": "com.amazonaws.autoscaling#MetricStatistic",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The statistic of the metric.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Unit": {
|
|
"target": "com.amazonaws.autoscaling#MetricUnit",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The unit of the metric.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Represents a CloudWatch metric of your choosing for a target tracking scaling policy to use\n with Amazon EC2 Auto Scaling.</p>\n <p>To create your customized metric specification:</p>\n <ul>\n <li>\n <p>Add values for each required parameter from CloudWatch. You can use an existing\n metric, or a new metric that you create. To use your own metric, you must first\n publish the metric to CloudWatch. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html\">Publish\n Custom Metrics</a> in the <i>Amazon CloudWatch User\n Guide</i>.</p>\n </li>\n <li>\n <p>Choose a metric that changes proportionally with capacity. The value of the\n metric should increase or decrease in inverse proportion to the number of\n capacity units. That is, the value of the metric should decrease when capacity\n increases.</p>\n </li>\n </ul>\n <p>For more information about CloudWatch, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html\">Amazon CloudWatch\n Concepts</a>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DeleteAutoScalingGroup": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DeleteAutoScalingGroupType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceInUseFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ScalingActivityInProgressFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Deletes the specified Auto Scaling group.</p>\n <p>If the group has instances or scaling activities in progress, you must specify the\n option to force the deletion in order for it to succeed.</p>\n <p>If the group has policies, deleting the group deletes the policies, the underlying\n alarm actions, and any alarm that no longer has an associated action.</p>\n <p>To remove instances from the Auto Scaling group before deleting it, call the <a>DetachInstances</a> API with the list of instances and the option to\n decrement the desired capacity. This ensures that Amazon EC2 Auto Scaling does not launch replacement\n instances.</p>\n <p>To terminate all instances before deleting the Auto Scaling group, call the <a>UpdateAutoScalingGroup</a> API and set the minimum size and desired capacity\n of the Auto Scaling group to zero.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DeleteAutoScalingGroupType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"ForceDelete": {
|
|
"target": "com.amazonaws.autoscaling#ForceDelete",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Specifies that the group is to be deleted along with all instances associated with the\n group, without waiting for all instances to be terminated. This parameter also deletes\n any outstanding lifecycle actions associated with the group.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DeleteLaunchConfiguration": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#LaunchConfigurationNameType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceInUseFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Deletes the specified launch configuration.</p>\n <p>The launch configuration must not be attached to an Auto Scaling group. When this call\n completes, the launch configuration is no longer available for use.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DeleteLifecycleHook": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DeleteLifecycleHookType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#DeleteLifecycleHookAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Deletes the specified lifecycle hook.</p>\n <p>If there are any outstanding lifecycle actions, they are completed first\n (<code>ABANDON</code> for launching instances, <code>CONTINUE</code> for terminating\n instances).</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DeleteLifecycleHookAnswer": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.autoscaling#DeleteLifecycleHookType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LifecycleHookName": {
|
|
"target": "com.amazonaws.autoscaling#AsciiStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the lifecycle hook.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DeleteNotificationConfiguration": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DeleteNotificationConfigurationType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Deletes the specified notification.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DeleteNotificationConfigurationType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"TopicARN": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS)\n topic.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DeletePolicy": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DeletePolicyType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ServiceLinkedRoleFailure"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Deletes the specified scaling policy.</p>\n <p>Deleting either a step scaling policy or a simple scaling policy deletes the\n underlying alarm action, but does not delete the alarm, even if it no longer has an\n associated action.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html\">Deleting a scaling\n policy</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DeletePolicyType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"PolicyName": {
|
|
"target": "com.amazonaws.autoscaling#ResourceName",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name or Amazon Resource Name (ARN) of the policy.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DeleteScheduledAction": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DeleteScheduledActionType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Deletes the specified scheduled action.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DeleteScheduledActionType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"ScheduledActionName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the action to delete.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DeleteTags": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DeleteTagsType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceInUseFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Deletes the specified tags.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DeleteTagsType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Tags": {
|
|
"target": "com.amazonaws.autoscaling#Tags",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One or more tags.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DeleteWarmPool": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DeleteWarmPoolType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#DeleteWarmPoolAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#LimitExceededFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceInUseFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ScalingActivityInProgressFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Deletes the warm pool for the specified Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DeleteWarmPoolAnswer": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.autoscaling#DeleteWarmPoolType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"ForceDelete": {
|
|
"target": "com.amazonaws.autoscaling#ForceDelete",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Specifies that the warm pool is to be deleted along with all of its associated\n instances, without waiting for all instances to be terminated. This parameter also\n deletes any outstanding lifecycle actions associated with the warm pool\n instances.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeAccountLimits": {
|
|
"type": "operation",
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#DescribeAccountLimitsAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the current Amazon EC2 Auto Scaling resource quotas for your AWS account.</p>\n <p>For information about requesting an increase, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html\">Amazon EC2 Auto Scaling service\n quotas</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeAccountLimitsAnswer": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MaxNumberOfAutoScalingGroups": {
|
|
"target": "com.amazonaws.autoscaling#MaxNumberOfAutoScalingGroups",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum number of groups allowed for your AWS account. The default is 200 groups\n per AWS Region.</p>"
|
|
}
|
|
},
|
|
"MaxNumberOfLaunchConfigurations": {
|
|
"target": "com.amazonaws.autoscaling#MaxNumberOfLaunchConfigurations",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum number of launch configurations allowed for your AWS account. The\n default is 200 launch configurations per AWS Region.</p>"
|
|
}
|
|
},
|
|
"NumberOfAutoScalingGroups": {
|
|
"target": "com.amazonaws.autoscaling#NumberOfAutoScalingGroups",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The current number of groups for your AWS account.</p>"
|
|
}
|
|
},
|
|
"NumberOfLaunchConfigurations": {
|
|
"target": "com.amazonaws.autoscaling#NumberOfLaunchConfigurations",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The current number of launch configurations for your AWS account.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeAdjustmentTypes": {
|
|
"type": "operation",
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#DescribeAdjustmentTypesAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the available adjustment types for Amazon EC2 Auto Scaling scaling policies. These settings\n apply to step scaling policies and simple scaling policies; they do not apply to target\n tracking scaling policies.</p>\n <p>The following adjustment types are supported:</p>\n <ul>\n <li>\n <p>ChangeInCapacity</p>\n </li>\n <li>\n <p>ExactCapacity</p>\n </li>\n <li>\n <p>PercentChangeInCapacity</p>\n </li>\n </ul>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeAdjustmentTypesAnswer": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AdjustmentTypes": {
|
|
"target": "com.amazonaws.autoscaling#AdjustmentTypes",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The policy adjustment types.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeAutoScalingGroups": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupNamesType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupsType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#InvalidNextToken"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes one or more Auto Scaling groups.</p>\n <p>This operation returns information about instances in Auto Scaling groups. To retrieve\n information about the instances in a warm pool, you must call the <a>DescribeWarmPool</a> API. </p>",
|
|
"smithy.api#paginated": {
|
|
"inputToken": "NextToken",
|
|
"outputToken": "NextToken",
|
|
"items": "AutoScalingGroups",
|
|
"pageSize": "MaxRecords"
|
|
},
|
|
"smithy.waiters#waitable": {
|
|
"GroupExists": {
|
|
"acceptors": [
|
|
{
|
|
"state": "success",
|
|
"matcher": {
|
|
"output": {
|
|
"path": "length(AutoScalingGroups) > `0`",
|
|
"expected": "true",
|
|
"comparator": "booleanEquals"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"state": "retry",
|
|
"matcher": {
|
|
"output": {
|
|
"path": "length(AutoScalingGroups) > `0`",
|
|
"expected": "false",
|
|
"comparator": "booleanEquals"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"minDelay": 5
|
|
},
|
|
"GroupInService": {
|
|
"acceptors": [
|
|
{
|
|
"state": "success",
|
|
"matcher": {
|
|
"output": {
|
|
"path": "contains(AutoScalingGroups[].[length(Instances[?LifecycleState=='InService']) >= MinSize][], `false`)",
|
|
"expected": "false",
|
|
"comparator": "booleanEquals"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"state": "retry",
|
|
"matcher": {
|
|
"output": {
|
|
"path": "contains(AutoScalingGroups[].[length(Instances[?LifecycleState=='InService']) >= MinSize][], `false`)",
|
|
"expected": "true",
|
|
"comparator": "booleanEquals"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"minDelay": 15
|
|
},
|
|
"GroupNotExists": {
|
|
"acceptors": [
|
|
{
|
|
"state": "success",
|
|
"matcher": {
|
|
"output": {
|
|
"path": "length(AutoScalingGroups) > `0`",
|
|
"expected": "false",
|
|
"comparator": "booleanEquals"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"state": "retry",
|
|
"matcher": {
|
|
"output": {
|
|
"path": "length(AutoScalingGroups) > `0`",
|
|
"expected": "true",
|
|
"comparator": "booleanEquals"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"minDelay": 15
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeAutoScalingInstances": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DescribeAutoScalingInstancesType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingInstancesType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#InvalidNextToken"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes one or more Auto Scaling instances.</p>",
|
|
"smithy.api#paginated": {
|
|
"inputToken": "NextToken",
|
|
"outputToken": "NextToken",
|
|
"items": "AutoScalingInstances",
|
|
"pageSize": "MaxRecords"
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeAutoScalingInstancesType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"InstanceIds": {
|
|
"target": "com.amazonaws.autoscaling#InstanceIds",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The IDs of the instances. You can specify up to <code>MaxRecords</code> IDs. If you\n omit this parameter, all Auto Scaling instances are described. If you specify an ID that does\n not exist, it is ignored with no error.</p>"
|
|
}
|
|
},
|
|
"MaxRecords": {
|
|
"target": "com.amazonaws.autoscaling#MaxRecords",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum number of items to return with this call. The default value is\n <code>50</code> and the maximum value is <code>50</code>.</p>"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The token for the next set of items to return. (You received this token from a\n previous call.)</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeAutoScalingNotificationTypes": {
|
|
"type": "operation",
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#DescribeAutoScalingNotificationTypesAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the notification types that are supported by Amazon EC2 Auto Scaling.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeAutoScalingNotificationTypesAnswer": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingNotificationTypes": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingNotificationTypes",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The notification types.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeInstanceRefreshes": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DescribeInstanceRefreshesType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#DescribeInstanceRefreshesAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#InvalidNextToken"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes one or more instance refreshes.</p>\n <p>You can determine the status of a request by looking at the <code>Status</code>\n parameter. The following are the possible statuses: </p>\n <ul>\n <li>\n <p>\n <code>Pending</code> - The request was created, but the operation has not\n started.</p>\n </li>\n <li>\n <p>\n <code>InProgress</code> - The operation is in progress.</p>\n </li>\n <li>\n <p>\n <code>Successful</code> - The operation completed successfully.</p>\n </li>\n <li>\n <p>\n <code>Failed</code> - The operation failed to complete. You can troubleshoot\n using the status reason and the scaling activities. </p>\n </li>\n <li>\n <p>\n <code>Cancelling</code> - An ongoing operation is being cancelled.\n Cancellation does not roll back any replacements that have already been\n completed, but it prevents new replacements from being started. </p>\n </li>\n <li>\n <p>\n <code>Cancelled</code> - The operation is cancelled. </p>\n </li>\n </ul>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html\">Replacing Auto Scaling instances\n based on an instance refresh</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeInstanceRefreshesAnswer": {
|
|
"type": "structure",
|
|
"members": {
|
|
"InstanceRefreshes": {
|
|
"target": "com.amazonaws.autoscaling#InstanceRefreshes",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The instance refreshes for the specified group.</p>"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n <code>NextToken</code> value when requesting the next set of items. This value is\n null when there are no more items to return.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeInstanceRefreshesType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"InstanceRefreshIds": {
|
|
"target": "com.amazonaws.autoscaling#InstanceRefreshIds",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One or more instance refresh IDs.</p>"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The token for the next set of items to return. (You received this token from a\n previous call.)</p>"
|
|
}
|
|
},
|
|
"MaxRecords": {
|
|
"target": "com.amazonaws.autoscaling#MaxRecords",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum number of items to return with this call. The default value is\n <code>50</code> and the maximum value is <code>100</code>.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeLaunchConfigurations": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#LaunchConfigurationNamesType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#LaunchConfigurationsType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#InvalidNextToken"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes one or more launch configurations.</p>",
|
|
"smithy.api#paginated": {
|
|
"inputToken": "NextToken",
|
|
"outputToken": "NextToken",
|
|
"items": "LaunchConfigurations",
|
|
"pageSize": "MaxRecords"
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeLifecycleHookTypes": {
|
|
"type": "operation",
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#DescribeLifecycleHookTypesAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the available types of lifecycle hooks.</p>\n <p>The following hook types are supported:</p>\n <ul>\n <li>\n <p>autoscaling:EC2_INSTANCE_LAUNCHING</p>\n </li>\n <li>\n <p>autoscaling:EC2_INSTANCE_TERMINATING</p>\n </li>\n </ul>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeLifecycleHookTypesAnswer": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LifecycleHookTypes": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingNotificationTypes",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The lifecycle hook types.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeLifecycleHooks": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DescribeLifecycleHooksType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#DescribeLifecycleHooksAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the lifecycle hooks for the specified Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeLifecycleHooksAnswer": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LifecycleHooks": {
|
|
"target": "com.amazonaws.autoscaling#LifecycleHooks",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The lifecycle hooks for the specified group.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeLifecycleHooksType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"LifecycleHookNames": {
|
|
"target": "com.amazonaws.autoscaling#LifecycleHookNames",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The names of one or more lifecycle hooks. If you omit this parameter, all lifecycle\n hooks are described.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeLoadBalancerTargetGroups": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DescribeLoadBalancerTargetGroupsRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#DescribeLoadBalancerTargetGroupsResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the target groups for the specified Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeLoadBalancerTargetGroupsRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The token for the next set of items to return. (You received this token from a\n previous call.)</p>"
|
|
}
|
|
},
|
|
"MaxRecords": {
|
|
"target": "com.amazonaws.autoscaling#MaxRecords",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum number of items to return with this call. The default value is\n <code>100</code> and the maximum value is <code>100</code>.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeLoadBalancerTargetGroupsResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LoadBalancerTargetGroups": {
|
|
"target": "com.amazonaws.autoscaling#LoadBalancerTargetGroupStates",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Information about the target groups.</p>"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n <code>NextToken</code> value when requesting the next set of items. This value is\n null when there are no more items to return.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeLoadBalancers": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DescribeLoadBalancersRequest"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#DescribeLoadBalancersResponse"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the load balancers for the specified Auto Scaling group.</p>\n <p>This operation describes only Classic Load Balancers. If you have Application Load\n Balancers, Network Load Balancers, or Gateway Load Balancers, use the <a>DescribeLoadBalancerTargetGroups</a> API instead.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeLoadBalancersRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The token for the next set of items to return. (You received this token from a\n previous call.)</p>"
|
|
}
|
|
},
|
|
"MaxRecords": {
|
|
"target": "com.amazonaws.autoscaling#MaxRecords",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum number of items to return with this call. The default value is\n <code>100</code> and the maximum value is <code>100</code>.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeLoadBalancersResponse": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LoadBalancers": {
|
|
"target": "com.amazonaws.autoscaling#LoadBalancerStates",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The load balancers.</p>"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n <code>NextToken</code> value when requesting the next set of items. This value is\n null when there are no more items to return.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeMetricCollectionTypes": {
|
|
"type": "operation",
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#DescribeMetricCollectionTypesAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the available CloudWatch metrics for Amazon EC2 Auto Scaling.</p>\n <p>The <code>GroupStandbyInstances</code> metric is not returned by default. You must\n explicitly request this metric when calling the <a>EnableMetricsCollection</a> API.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeMetricCollectionTypesAnswer": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Metrics": {
|
|
"target": "com.amazonaws.autoscaling#MetricCollectionTypes",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One or more metrics.</p>"
|
|
}
|
|
},
|
|
"Granularities": {
|
|
"target": "com.amazonaws.autoscaling#MetricGranularityTypes",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The granularities for the metrics.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeNotificationConfigurations": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DescribeNotificationConfigurationsType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#DescribeNotificationConfigurationsAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#InvalidNextToken"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the notification actions associated with the specified Auto Scaling group.</p>",
|
|
"smithy.api#paginated": {
|
|
"inputToken": "NextToken",
|
|
"outputToken": "NextToken",
|
|
"items": "NotificationConfigurations",
|
|
"pageSize": "MaxRecords"
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeNotificationConfigurationsAnswer": {
|
|
"type": "structure",
|
|
"members": {
|
|
"NotificationConfigurations": {
|
|
"target": "com.amazonaws.autoscaling#NotificationConfigurations",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The notification configurations.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n <code>NextToken</code> value when requesting the next set of items. This value is\n null when there are no more items to return.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeNotificationConfigurationsType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupNames": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupNames",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The token for the next set of items to return. (You received this token from a\n previous call.)</p>"
|
|
}
|
|
},
|
|
"MaxRecords": {
|
|
"target": "com.amazonaws.autoscaling#MaxRecords",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum number of items to return with this call. The default value is\n <code>50</code> and the maximum value is <code>100</code>.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribePolicies": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DescribePoliciesType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#PoliciesType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#InvalidNextToken"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ServiceLinkedRoleFailure"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the policies for the specified Auto Scaling group.</p>",
|
|
"smithy.api#paginated": {
|
|
"inputToken": "NextToken",
|
|
"outputToken": "NextToken",
|
|
"items": "ScalingPolicies",
|
|
"pageSize": "MaxRecords"
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribePoliciesType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"PolicyNames": {
|
|
"target": "com.amazonaws.autoscaling#PolicyNames",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The names of one or more policies. If you omit this parameter, all policies are\n described. If a group name is provided, the results are limited to that group. This list\n is limited to 50 items. If you specify an unknown policy name, it is ignored with no\n error.</p>"
|
|
}
|
|
},
|
|
"PolicyTypes": {
|
|
"target": "com.amazonaws.autoscaling#PolicyTypes",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One or more policy types. The valid values are <code>SimpleScaling</code>,\n <code>StepScaling</code>, <code>TargetTrackingScaling</code>, and\n <code>PredictiveScaling</code>.</p>"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The token for the next set of items to return. (You received this token from a\n previous call.)</p>"
|
|
}
|
|
},
|
|
"MaxRecords": {
|
|
"target": "com.amazonaws.autoscaling#MaxRecords",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum number of items to be returned with each call. The default value is\n <code>50</code> and the maximum value is <code>100</code>.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeScalingActivities": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DescribeScalingActivitiesType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#ActivitiesType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#InvalidNextToken"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes one or more scaling activities for the specified Auto Scaling group.</p>\n <p>To view the scaling activities from the Amazon EC2 Auto Scaling console, choose the <b>Activity</b> tab of the Auto Scaling group. When scaling events occur,\n you see scaling activity messages in the <b>Activity\n history</b>. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-verify-scaling-activity.html\">Verifying a scaling\n activity for an Auto Scaling group</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>",
|
|
"smithy.api#paginated": {
|
|
"inputToken": "NextToken",
|
|
"outputToken": "NextToken",
|
|
"items": "Activities",
|
|
"pageSize": "MaxRecords"
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeScalingActivitiesType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ActivityIds": {
|
|
"target": "com.amazonaws.autoscaling#ActivityIds",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The activity IDs of the desired scaling activities. You can specify up to 50 IDs. If\n you omit this parameter, all activities for the past six weeks are described. If unknown\n activities are requested, they are ignored with no error. If you specify an Auto Scaling group,\n the results are limited to that group.</p>"
|
|
}
|
|
},
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"IncludeDeletedGroups": {
|
|
"target": "com.amazonaws.autoscaling#IncludeDeletedGroups",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates whether to include scaling activity from deleted Auto Scaling groups.</p>"
|
|
}
|
|
},
|
|
"MaxRecords": {
|
|
"target": "com.amazonaws.autoscaling#MaxRecords",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum number of items to return with this call. The default value is\n <code>100</code> and the maximum value is <code>100</code>.</p>"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The token for the next set of items to return. (You received this token from a\n previous call.)</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeScalingProcessTypes": {
|
|
"type": "operation",
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#ProcessesType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the scaling process types for use with the <a>ResumeProcesses</a>\n and <a>SuspendProcesses</a> APIs.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeScheduledActions": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DescribeScheduledActionsType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#ScheduledActionsType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#InvalidNextToken"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the actions scheduled for your Auto Scaling group that haven't run or that have not\n reached their end time. To describe the actions that have already run, call the <a>DescribeScalingActivities</a> API.</p>",
|
|
"smithy.api#paginated": {
|
|
"inputToken": "NextToken",
|
|
"outputToken": "NextToken",
|
|
"items": "ScheduledUpdateGroupActions",
|
|
"pageSize": "MaxRecords"
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeScheduledActionsType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"ScheduledActionNames": {
|
|
"target": "com.amazonaws.autoscaling#ScheduledActionNames",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The names of one or more scheduled actions. You can specify up to 50 actions. If you\n omit this parameter, all scheduled actions are described. If you specify an unknown\n scheduled action, it is ignored with no error.</p>"
|
|
}
|
|
},
|
|
"StartTime": {
|
|
"target": "com.amazonaws.autoscaling#TimestampType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The earliest scheduled start time to return. If scheduled action names are provided,\n this parameter is ignored.</p>"
|
|
}
|
|
},
|
|
"EndTime": {
|
|
"target": "com.amazonaws.autoscaling#TimestampType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The latest scheduled start time to return. If scheduled action names are provided,\n this parameter is ignored.</p>"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The token for the next set of items to return. (You received this token from a\n previous call.)</p>"
|
|
}
|
|
},
|
|
"MaxRecords": {
|
|
"target": "com.amazonaws.autoscaling#MaxRecords",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum number of items to return with this call. The default value is\n <code>50</code> and the maximum value is <code>100</code>.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeTags": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DescribeTagsType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#TagsType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#InvalidNextToken"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the specified tags.</p>\n <p>You can use filters to limit the results. For example, you can query for the tags for\n a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at\n least one of the specified values for it to be included in the results.</p>\n <p>You can also specify multiple filters. The result includes information for a\n particular tag only if it matches all the filters. If there's no match, no special\n message is returned.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html\">Tagging Auto Scaling groups and\n instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>",
|
|
"smithy.api#paginated": {
|
|
"inputToken": "NextToken",
|
|
"outputToken": "NextToken",
|
|
"items": "Tags",
|
|
"pageSize": "MaxRecords"
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeTagsType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Filters": {
|
|
"target": "com.amazonaws.autoscaling#Filters",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One or more filters to scope the tags to return. The maximum number of filters per\n filter type (for example, <code>auto-scaling-group</code>) is 1000.</p>"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The token for the next set of items to return. (You received this token from a\n previous call.)</p>"
|
|
}
|
|
},
|
|
"MaxRecords": {
|
|
"target": "com.amazonaws.autoscaling#MaxRecords",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum number of items to return with this call. The default value is\n <code>50</code> and the maximum value is <code>100</code>.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeTerminationPolicyTypes": {
|
|
"type": "operation",
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#DescribeTerminationPolicyTypesAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the termination policies supported by Amazon EC2 Auto Scaling.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html\">Controlling which Auto Scaling\n instances terminate during scale in</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeTerminationPolicyTypesAnswer": {
|
|
"type": "structure",
|
|
"members": {
|
|
"TerminationPolicyTypes": {
|
|
"target": "com.amazonaws.autoscaling#TerminationPolicies",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The termination policies supported by Amazon EC2 Auto Scaling: <code>OldestInstance</code>,\n <code>OldestLaunchConfiguration</code>, <code>NewestInstance</code>,\n <code>ClosestToNextInstanceHour</code>, <code>Default</code>,\n <code>OldestLaunchTemplate</code>, and <code>AllocationStrategy</code>.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeWarmPool": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DescribeWarmPoolType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#DescribeWarmPoolAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#InvalidNextToken"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#LimitExceededFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes a warm pool and its instances.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeWarmPoolAnswer": {
|
|
"type": "structure",
|
|
"members": {
|
|
"WarmPoolConfiguration": {
|
|
"target": "com.amazonaws.autoscaling#WarmPoolConfiguration",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The warm pool configuration details. </p>"
|
|
}
|
|
},
|
|
"Instances": {
|
|
"target": "com.amazonaws.autoscaling#Instances",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The instances that are currently in the warm pool.</p>"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The token for the next set of items to return. (You received this token from a\n previous call.)</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DescribeWarmPoolType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"MaxRecords": {
|
|
"target": "com.amazonaws.autoscaling#MaxRecords",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum number of instances to return with this call. The maximum value is\n <code>50</code>.</p>"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The token for the next set of instances to return. (You received this token from a\n previous call.)</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DetachInstances": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DetachInstancesQuery"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#DetachInstancesAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Removes one or more instances from the specified Auto Scaling group.</p>\n <p>After the instances are detached, you can manage them independent of the Auto Scaling\n group.</p>\n <p>If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches\n instances to replace the ones that are detached.</p>\n <p>If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are\n deregistered from the load balancer. If there are target groups attached to the Auto Scaling\n group, the instances are deregistered from the target groups.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/detach-instance-asg.html\">Detach EC2 instances from\n your Auto Scaling group</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DetachInstancesAnswer": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Activities": {
|
|
"target": "com.amazonaws.autoscaling#Activities",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The activities related to detaching the instances from the Auto Scaling group.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DetachInstancesQuery": {
|
|
"type": "structure",
|
|
"members": {
|
|
"InstanceIds": {
|
|
"target": "com.amazonaws.autoscaling#InstanceIds",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The IDs of the instances. You can specify up to 20 instances.</p>"
|
|
}
|
|
},
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"ShouldDecrementDesiredCapacity": {
|
|
"target": "com.amazonaws.autoscaling#ShouldDecrementDesiredCapacity",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates whether the Auto Scaling group decrements the desired capacity value by the number\n of instances detached.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DetachLoadBalancerTargetGroups": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DetachLoadBalancerTargetGroupsType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#DetachLoadBalancerTargetGroupsResultType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Detaches one or more target groups from the specified Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DetachLoadBalancerTargetGroupsResultType": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.autoscaling#DetachLoadBalancerTargetGroupsType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"TargetGroupARNs": {
|
|
"target": "com.amazonaws.autoscaling#TargetGroupARNs",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target\n groups.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DetachLoadBalancers": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DetachLoadBalancersType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#DetachLoadBalancersResultType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Detaches one or more Classic Load Balancers from the specified Auto Scaling group.</p>\n <p>This operation detaches only Classic Load Balancers. If you have Application Load\n Balancers, Network Load Balancers, or Gateway Load Balancers, use the <a>DetachLoadBalancerTargetGroups</a> API instead.</p>\n <p>When you detach a load balancer, it enters the <code>Removing</code> state while\n deregistering the instances in the group. When all instances are deregistered, then you\n can no longer describe the load balancer using the <a>DescribeLoadBalancers</a> API call. The instances remain running.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DetachLoadBalancersResultType": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.autoscaling#DetachLoadBalancersType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"LoadBalancerNames": {
|
|
"target": "com.amazonaws.autoscaling#LoadBalancerNames",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The names of the load balancers. You can specify up to 10 load balancers.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DisableMetricsCollection": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#DisableMetricsCollectionQuery"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Disables group metrics for the specified Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DisableMetricsCollectionQuery": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Metrics": {
|
|
"target": "com.amazonaws.autoscaling#Metrics",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Specifies one or more of the following metrics:</p>\n <ul>\n <li>\n <p>\n <code>GroupMinSize</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupMaxSize</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupDesiredCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupInServiceInstances</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupPendingInstances</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupStandbyInstances</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupTerminatingInstances</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupTotalInstances</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupInServiceCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupPendingCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupStandbyCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupTerminatingCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupTotalCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>WarmPoolDesiredCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>WarmPoolWarmedCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>WarmPoolPendingCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>WarmPoolTerminatingCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>WarmPoolTotalCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupAndWarmPoolDesiredCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupAndWarmPoolTotalCapacity</code>\n </p>\n </li>\n </ul>\n <p>If you omit this parameter, all metrics are disabled. </p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#DisableScaleIn": {
|
|
"type": "boolean",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#Ebs": {
|
|
"type": "structure",
|
|
"members": {
|
|
"SnapshotId": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The snapshot ID of the volume to use.</p>\n <p>You must specify either a <code>VolumeSize</code> or a <code>SnapshotId</code>.</p>"
|
|
}
|
|
},
|
|
"VolumeSize": {
|
|
"target": "com.amazonaws.autoscaling#BlockDeviceEbsVolumeSize",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The volume size, in Gibibytes (GiB).</p>\n <p>This can be a number from 1-1,024 for <code>standard</code>, 4-16,384 for\n <code>io1</code>, 1-16,384 for <code>gp2</code>, and 500-16,384 for <code>st1</code>\n and <code>sc1</code>. If you specify a snapshot, the volume size must be equal to or\n larger than the snapshot size.</p>\n <p>Default: If you create a volume from a snapshot and you don't specify a volume size,\n the default is the snapshot size.</p>\n <p>You must specify either a <code>VolumeSize</code> or a <code>SnapshotId</code>. If you\n specify both <code>SnapshotId</code> and <code>VolumeSize</code>, the volume size must\n be equal or greater than the size of the snapshot.</p>"
|
|
}
|
|
},
|
|
"VolumeType": {
|
|
"target": "com.amazonaws.autoscaling#BlockDeviceEbsVolumeType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The volume type, which can be <code>standard</code> for Magnetic, <code>io1</code> for\n Provisioned IOPS SSD, <code>gp2</code> for General Purpose SSD, <code>st1</code> for\n Throughput Optimized HDD, or <code>sc1</code> for Cold HDD. For more information, see\n <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html\">Amazon\n EBS Volume Types</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>\n <p>Valid Values: <code>standard</code> | <code>io1</code> | <code>gp2</code> |\n <code>st1</code> | <code>sc1</code>\n </p>"
|
|
}
|
|
},
|
|
"DeleteOnTermination": {
|
|
"target": "com.amazonaws.autoscaling#BlockDeviceEbsDeleteOnTermination",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates whether the volume is deleted on instance termination. For Amazon EC2 Auto Scaling, the\n default value is <code>true</code>.</p>"
|
|
}
|
|
},
|
|
"Iops": {
|
|
"target": "com.amazonaws.autoscaling#BlockDeviceEbsIops",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The number of I/O operations per second (IOPS) to provision for the volume. The\n maximum ratio of IOPS to volume size (in GiB) is 50:1. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html\">Amazon EBS\n Volume Types</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>\n <p>Required when the volume type is <code>io1</code>. (Not used with\n <code>standard</code>, <code>gp2</code>, <code>st1</code>, or <code>sc1</code>\n volumes.) </p>"
|
|
}
|
|
},
|
|
"Encrypted": {
|
|
"target": "com.amazonaws.autoscaling#BlockDeviceEbsEncrypted",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be\n attached to instances that support Amazon EBS encryption. For more information, see\n <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances\">Supported Instance Types</a>. If your AMI uses encrypted volumes, you can also\n only launch it on supported instance types.</p>\n <note>\n <p>If you are creating a volume from a snapshot, you cannot specify an encryption\n value. Volumes that are created from encrypted snapshots are automatically\n encrypted, and volumes that are created from unencrypted snapshots are automatically\n unencrypted. By default, encrypted snapshots use the AWS managed CMK that is used\n for EBS encryption, but you can specify a custom CMK when you create the snapshot.\n The ability to encrypt a snapshot during copying also allows you to apply a new CMK\n to an already-encrypted snapshot. Volumes restored from the\n resulting copy are only accessible using the new CMK.</p>\n <p>Enabling <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-by-default\">encryption by default</a> results in all EBS volumes being encrypted with\n the AWS managed CMK or a customer managed CMK, whether or not the snapshot was\n encrypted.</p>\n </note>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIEncryption.html\">Using Encryption with EBS-Backed\n AMIs</a> in the <i>Amazon EC2 User Guide for Linux Instances</i> and <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/key-policy-requirements-EBS-encryption.html\">Required\n CMK key policy for use with encrypted volumes</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes information used to set up an Amazon EBS volume specified in a block device\n mapping.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#EbsOptimized": {
|
|
"type": "boolean",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#EnableMetricsCollection": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#EnableMetricsCollectionQuery"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Enables group metrics for the specified Auto Scaling group. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-monitoring.html\">Monitoring CloudWatch metrics for your Auto Scaling groups and instances</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#EnableMetricsCollectionQuery": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Metrics": {
|
|
"target": "com.amazonaws.autoscaling#Metrics",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Specifies which group-level metrics to start collecting. You can specify one or more\n of the following metrics:</p>\n <ul>\n <li>\n <p>\n <code>GroupMinSize</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupMaxSize</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupDesiredCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupInServiceInstances</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupPendingInstances</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupStandbyInstances</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupTerminatingInstances</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupTotalInstances</code>\n </p>\n </li>\n </ul>\n <p>The instance weighting feature supports the following additional metrics: </p>\n <ul>\n <li>\n <p>\n <code>GroupInServiceCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupPendingCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupStandbyCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupTerminatingCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupTotalCapacity</code>\n </p>\n </li>\n </ul>\n <p>The warm pools feature supports the following additional metrics: </p>\n <ul>\n <li>\n <p>\n <code>WarmPoolDesiredCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>WarmPoolWarmedCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>WarmPoolPendingCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>WarmPoolTerminatingCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>WarmPoolTotalCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupAndWarmPoolDesiredCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupAndWarmPoolTotalCapacity</code>\n </p>\n </li>\n </ul>\n <p>If you omit this parameter, all metrics are enabled. </p>"
|
|
}
|
|
},
|
|
"Granularity": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The granularity to associate with the metrics to collect. The only valid value is\n <code>1Minute</code>.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#EnabledMetric": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Metric": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One of the following metrics:</p>\n <ul>\n <li>\n <p>\n <code>GroupMinSize</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupMaxSize</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupDesiredCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupInServiceInstances</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupPendingInstances</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupStandbyInstances</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupTerminatingInstances</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupTotalInstances</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupInServiceCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupPendingCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupStandbyCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupTerminatingCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupTotalCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>WarmPoolDesiredCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>WarmPoolWarmedCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>WarmPoolPendingCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>WarmPoolTerminatingCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>WarmPoolTotalCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupAndWarmPoolDesiredCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupAndWarmPoolTotalCapacity</code>\n </p>\n </li>\n </ul>"
|
|
}
|
|
},
|
|
"Granularity": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The granularity of the metric. The only valid value is <code>1Minute</code>.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes an enabled metric.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#EnabledMetrics": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#EnabledMetric"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#EnterStandby": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#EnterStandbyQuery"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#EnterStandbyAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Moves the specified instances into the standby state.</p>\n <p>If you choose to decrement the desired capacity of the Auto Scaling group, the instances can\n enter standby as long as the desired capacity of the Auto Scaling group after the instances are\n placed into standby is equal to or greater than the minimum capacity of the\n group.</p>\n <p>If you choose not to decrement the desired capacity of the Auto Scaling group, the Auto Scaling group\n launches new instances to replace the instances on standby.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enter-exit-standby.html\">Temporarily removing\n instances from your Auto Scaling group</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#EnterStandbyAnswer": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Activities": {
|
|
"target": "com.amazonaws.autoscaling#Activities",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The activities related to moving instances into <code>Standby</code> mode.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#EnterStandbyQuery": {
|
|
"type": "structure",
|
|
"members": {
|
|
"InstanceIds": {
|
|
"target": "com.amazonaws.autoscaling#InstanceIds",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The IDs of the instances. You can specify up to 20 instances.</p>"
|
|
}
|
|
},
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"ShouldDecrementDesiredCapacity": {
|
|
"target": "com.amazonaws.autoscaling#ShouldDecrementDesiredCapacity",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of\n instances moved to <code>Standby</code> mode.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#EstimatedInstanceWarmup": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ExecutePolicy": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#ExecutePolicyType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ScalingActivityInProgressFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Executes the specified policy. This can be useful for testing the design of your\n scaling policy.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ExecutePolicyType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"PolicyName": {
|
|
"target": "com.amazonaws.autoscaling#ResourceName",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name or ARN of the policy.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"HonorCooldown": {
|
|
"target": "com.amazonaws.autoscaling#HonorCooldown",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before executing\n the policy.</p>\n <p>Valid only if the policy type is <code>SimpleScaling</code>. For more information, see\n <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html\">Scaling\n cooldowns for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"MetricValue": {
|
|
"target": "com.amazonaws.autoscaling#MetricScale",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The metric value to compare to <code>BreachThreshold</code>. This enables you to\n execute a policy of type <code>StepScaling</code> and determine which step adjustment to\n use. For example, if the breach threshold is 50 and you want to use a step adjustment\n with a lower bound of 0 and an upper bound of 10, you can set the metric value to\n 59.</p>\n <p>If you specify a metric value that doesn't correspond to a step adjustment for the\n policy, the call returns an error.</p>\n <p>Required if the policy type is <code>StepScaling</code> and not supported\n otherwise.</p>"
|
|
}
|
|
},
|
|
"BreachThreshold": {
|
|
"target": "com.amazonaws.autoscaling#MetricScale",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The breach threshold for the alarm.</p>\n <p>Required if the policy type is <code>StepScaling</code> and not supported\n otherwise.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ExitStandby": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#ExitStandbyQuery"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#ExitStandbyAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Moves the specified instances out of the standby state.</p>\n <p>After you put the instances back in service, the desired capacity is\n incremented.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enter-exit-standby.html\">Temporarily removing\n instances from your Auto Scaling group</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ExitStandbyAnswer": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Activities": {
|
|
"target": "com.amazonaws.autoscaling#Activities",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The activities related to moving instances out of <code>Standby</code> mode.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ExitStandbyQuery": {
|
|
"type": "structure",
|
|
"members": {
|
|
"InstanceIds": {
|
|
"target": "com.amazonaws.autoscaling#InstanceIds",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The IDs of the instances. You can specify up to 20 instances.</p>"
|
|
}
|
|
},
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#FailedScheduledUpdateGroupActionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ScheduledActionName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the scheduled action.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"ErrorCode": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen64",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The error code.</p>"
|
|
}
|
|
},
|
|
"ErrorMessage": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The error message accompanying the error code.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes a scheduled action that could not be created, updated, or deleted.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#FailedScheduledUpdateGroupActionRequests": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#FailedScheduledUpdateGroupActionRequest"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#Filter": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Name": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the filter. The valid values are: <code>auto-scaling-group</code>,\n <code>key</code>, <code>value</code>, and <code>propagate-at-launch</code>.</p>"
|
|
}
|
|
},
|
|
"Values": {
|
|
"target": "com.amazonaws.autoscaling#Values",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One or more filter values. Filter values are case-sensitive.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes a filter that is used to return a more specific list of results when\n describing tags.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html\">Tagging Auto Scaling groups and\n instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#Filters": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#Filter"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ForceDelete": {
|
|
"type": "boolean",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#GetPredictiveScalingForecast": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#GetPredictiveScalingForecastType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#GetPredictiveScalingForecastAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Retrieves the forecast data for a predictive scaling policy.</p>\n <p>Load forecasts are predictions of the hourly load values using historical load data\n from CloudWatch and an analysis of historical trends. Capacity forecasts are represented as\n predicted values for the minimum capacity that is needed on an hourly basis, based on\n the hourly load forecast.</p>\n <p>A minimum of 24 hours of data is required to create the initial forecasts. However,\n having a full 14 days of historical data results in more accurate forecasts.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-predictive-scaling.html\">Predictive\n scaling for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#GetPredictiveScalingForecastAnswer": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LoadForecast": {
|
|
"target": "com.amazonaws.autoscaling#LoadForecasts",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The load forecast.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"CapacityForecast": {
|
|
"target": "com.amazonaws.autoscaling#CapacityForecast",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The capacity forecast.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"UpdateTime": {
|
|
"target": "com.amazonaws.autoscaling#TimestampType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The time the forecast was made.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#GetPredictiveScalingForecastType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"PolicyName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the policy.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"StartTime": {
|
|
"target": "com.amazonaws.autoscaling#TimestampType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The inclusive start time of the time range for the forecast data to get. At most, the\n date and time can be one year before the current date and time.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"EndTime": {
|
|
"target": "com.amazonaws.autoscaling#TimestampType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The exclusive end time of the time range for the forecast data to get. The maximum\n time duration between the start and end time is 30 days. </p>\n <p>Although this parameter can accept a date and time that is more than two days in the\n future, the availability of forecast data has limits. Amazon EC2 Auto Scaling only issues forecasts for\n periods of two days in advance.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#GlobalTimeout": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#HealthCheckGracePeriod": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#HeartbeatTimeout": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#HonorCooldown": {
|
|
"type": "boolean",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#IncludeDeletedGroups": {
|
|
"type": "boolean",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#Instance": {
|
|
"type": "structure",
|
|
"members": {
|
|
"InstanceId": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen19",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the instance.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"InstanceType": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The instance type of the EC2 instance.</p>"
|
|
}
|
|
},
|
|
"AvailabilityZone": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Availability Zone in which the instance is running.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"LifecycleState": {
|
|
"target": "com.amazonaws.autoscaling#LifecycleState",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A description of the current lifecycle state. The <code>Quarantined</code> state is\n not used. For information about lifecycle states, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html\">Instance\n lifecycle</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"HealthStatus": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen32",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The last reported health status of the instance. \"Healthy\" means that the instance is\n healthy and should remain in service. \"Unhealthy\" means that the instance is unhealthy\n and that Amazon EC2 Auto Scaling should terminate and replace it.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"LaunchConfigurationName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The launch configuration associated with the instance.</p>"
|
|
}
|
|
},
|
|
"LaunchTemplate": {
|
|
"target": "com.amazonaws.autoscaling#LaunchTemplateSpecification",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The launch template for the instance.</p>"
|
|
}
|
|
},
|
|
"ProtectedFromScaleIn": {
|
|
"target": "com.amazonaws.autoscaling#InstanceProtected",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling\n in.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"WeightedCapacity": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen32",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The number of capacity units contributed by the instance based on its instance\n type.</p>\n <p>Valid Range: Minimum value of 1. Maximum value of 999.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes an EC2 instance.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#InstanceIds": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen19"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#InstanceMetadataEndpointState": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "disabled",
|
|
"name": "Disabled"
|
|
},
|
|
{
|
|
"value": "enabled",
|
|
"name": "Enabled"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#InstanceMetadataHttpPutResponseHopLimit": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {},
|
|
"smithy.api#range": {
|
|
"min": 1,
|
|
"max": 64
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#InstanceMetadataHttpTokensState": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "optional",
|
|
"name": "Optional"
|
|
},
|
|
{
|
|
"value": "required",
|
|
"name": "Required"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#InstanceMetadataOptions": {
|
|
"type": "structure",
|
|
"members": {
|
|
"HttpTokens": {
|
|
"target": "com.amazonaws.autoscaling#InstanceMetadataHttpTokensState",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The state of token usage for your instance metadata requests. If the parameter is not\n specified in the request, the default state is <code>optional</code>.</p>\n <p>If the state is <code>optional</code>, you can choose to retrieve instance metadata\n with or without a signed token header on your request. If you retrieve the IAM role\n credentials without a token, the version 1.0 role credentials are returned. If you\n retrieve the IAM role credentials using a valid signed token, the version 2.0 role\n credentials are returned.</p>\n <p>If the state is <code>required</code>, you must send a signed token header with any\n instance metadata retrieval requests. In this state, retrieving the IAM role credentials\n always returns the version 2.0 credentials; the version 1.0 credentials are not\n available.</p>"
|
|
}
|
|
},
|
|
"HttpPutResponseHopLimit": {
|
|
"target": "com.amazonaws.autoscaling#InstanceMetadataHttpPutResponseHopLimit",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the\n number, the further instance metadata requests can travel.</p>\n <p>Default: 1</p>"
|
|
}
|
|
},
|
|
"HttpEndpoint": {
|
|
"target": "com.amazonaws.autoscaling#InstanceMetadataEndpointState",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>This parameter enables or disables the HTTP metadata endpoint on your instances. If\n the parameter is not specified, the default state is <code>enabled</code>.</p>\n <note>\n <p>If you specify a value of <code>disabled</code>, you will not be able to access\n your instance metadata. </p>\n </note>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The metadata options for the instances. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds\">Configuring the Instance Metadata Options</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#InstanceMonitoring": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Enabled": {
|
|
"target": "com.amazonaws.autoscaling#MonitoringEnabled",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>If <code>true</code>, detailed monitoring is enabled. Otherwise, basic monitoring is\n enabled.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes whether detailed monitoring is enabled for the Auto Scaling instances.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#InstanceProtected": {
|
|
"type": "boolean",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#InstanceRefresh": {
|
|
"type": "structure",
|
|
"members": {
|
|
"InstanceRefreshId": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The instance refresh ID.</p>"
|
|
}
|
|
},
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"Status": {
|
|
"target": "com.amazonaws.autoscaling#InstanceRefreshStatus",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The current status for the instance refresh operation:</p>\n <ul>\n <li>\n <p>\n <code>Pending</code> - The request was created, but the operation has not\n started.</p>\n </li>\n <li>\n <p>\n <code>InProgress</code> - The operation is in progress.</p>\n </li>\n <li>\n <p>\n <code>Successful</code> - The operation completed successfully.</p>\n </li>\n <li>\n <p>\n <code>Failed</code> - The operation failed to complete. You can troubleshoot\n using the status reason and the scaling activities. </p>\n </li>\n <li>\n <p>\n <code>Cancelling</code> - An ongoing operation is being cancelled.\n Cancellation does not roll back any replacements that have already been\n completed, but it prevents new replacements from being started. </p>\n </li>\n <li>\n <p>\n <code>Cancelled</code> - The operation is cancelled. </p>\n </li>\n </ul>"
|
|
}
|
|
},
|
|
"StatusReason": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen1023",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides more details about the current status of the instance refresh. </p>"
|
|
}
|
|
},
|
|
"StartTime": {
|
|
"target": "com.amazonaws.autoscaling#TimestampType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The date and time at which the instance refresh began.</p>"
|
|
}
|
|
},
|
|
"EndTime": {
|
|
"target": "com.amazonaws.autoscaling#TimestampType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The date and time at which the instance refresh ended.</p>"
|
|
}
|
|
},
|
|
"PercentageComplete": {
|
|
"target": "com.amazonaws.autoscaling#IntPercent",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The percentage of the instance refresh that is complete. For each instance\n replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the\n instance's health status changes to healthy and the specified warm-up time passes, the\n instance is considered updated and is added to the percentage complete.</p>"
|
|
}
|
|
},
|
|
"InstancesToUpdate": {
|
|
"target": "com.amazonaws.autoscaling#InstancesToUpdate",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The number of instances remaining to update before the instance refresh is\n complete.</p>"
|
|
}
|
|
},
|
|
"ProgressDetails": {
|
|
"target": "com.amazonaws.autoscaling#InstanceRefreshProgressDetails",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Additional progress details for an Auto Scaling group that has a warm pool.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes an instance refresh for an Auto Scaling group. </p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#InstanceRefreshIds": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#InstanceRefreshInProgressFault": {
|
|
"type": "structure",
|
|
"members": {
|
|
"message": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255"
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The request failed because an active instance refresh operation already exists for the\n specified Auto Scaling group.</p>",
|
|
"smithy.api#error": "client",
|
|
"smithy.api#httpError": 400
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#InstanceRefreshLivePoolProgress": {
|
|
"type": "structure",
|
|
"members": {
|
|
"PercentageComplete": {
|
|
"target": "com.amazonaws.autoscaling#IntPercent",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The percentage of instances in the Auto Scaling group that have been replaced. For each\n instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time.\n When the instance's health status changes to healthy and the specified warm-up time\n passes, the instance is considered updated and is added to the percentage\n complete.</p>"
|
|
}
|
|
},
|
|
"InstancesToUpdate": {
|
|
"target": "com.amazonaws.autoscaling#InstancesToUpdate",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The number of instances remaining to update.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Reports the progress of an instance refresh on instances that are in the Auto Scaling\n group.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#InstanceRefreshProgressDetails": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LivePoolProgress": {
|
|
"target": "com.amazonaws.autoscaling#InstanceRefreshLivePoolProgress",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates the progress of an instance refresh on instances that are in the Auto Scaling\n group.</p>"
|
|
}
|
|
},
|
|
"WarmPoolProgress": {
|
|
"target": "com.amazonaws.autoscaling#InstanceRefreshWarmPoolProgress",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates the progress of an instance refresh on instances that are in the warm\n pool.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Reports the progress of an instance refresh on an Auto Scaling group that has a warm pool.\n This includes separate details for instances in the warm pool and instances in the Auto Scaling\n group (the live pool).</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#InstanceRefreshStatus": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "Pending",
|
|
"name": "Pending"
|
|
},
|
|
{
|
|
"value": "InProgress",
|
|
"name": "InProgress"
|
|
},
|
|
{
|
|
"value": "Successful",
|
|
"name": "Successful"
|
|
},
|
|
{
|
|
"value": "Failed",
|
|
"name": "Failed"
|
|
},
|
|
{
|
|
"value": "Cancelling",
|
|
"name": "Cancelling"
|
|
},
|
|
{
|
|
"value": "Cancelled",
|
|
"name": "Cancelled"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#InstanceRefreshWarmPoolProgress": {
|
|
"type": "structure",
|
|
"members": {
|
|
"PercentageComplete": {
|
|
"target": "com.amazonaws.autoscaling#IntPercent",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The percentage of instances in the warm pool that have been replaced. For each\n instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time.\n When the instance's health status changes to healthy and the specified warm-up time\n passes, the instance is considered updated and is added to the percentage\n complete.</p>"
|
|
}
|
|
},
|
|
"InstancesToUpdate": {
|
|
"target": "com.amazonaws.autoscaling#InstancesToUpdate",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The number of instances remaining to update.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Reports the progress of an instance refresh on instances that are in the warm\n pool.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#InstanceRefreshes": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#InstanceRefresh"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#Instances": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#Instance"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#InstancesDistribution": {
|
|
"type": "structure",
|
|
"members": {
|
|
"OnDemandAllocationStrategy": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates how to allocate instance types to fulfill On-Demand capacity. The only valid\n value is <code>prioritized</code>, which is also the default value. This strategy uses\n the order of instance types in the <code>LaunchTemplateOverrides</code> to define the\n launch priority of each instance type. The first instance type in the array is\n prioritized higher than the last. If all your On-Demand capacity cannot be fulfilled\n using your highest priority instance, then the Auto Scaling groups launches the remaining\n capacity using the second priority instance type, and so on.</p>"
|
|
}
|
|
},
|
|
"OnDemandBaseCapacity": {
|
|
"target": "com.amazonaws.autoscaling#OnDemandBaseCapacity",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand\n Instances. This base portion is provisioned first as your group scales. Defaults to 0 if\n not specified. If you specify weights for the instance types in the overrides, set the\n value of <code>OnDemandBaseCapacity</code> in terms of the number of capacity units, and\n not the number of instances.</p>"
|
|
}
|
|
},
|
|
"OnDemandPercentageAboveBaseCapacity": {
|
|
"target": "com.amazonaws.autoscaling#OnDemandPercentageAboveBaseCapacity",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Controls the percentages of On-Demand Instances and Spot Instances for your additional\n capacity beyond <code>OnDemandBaseCapacity</code>. Expressed as a number (for example,\n 20 specifies 20% On-Demand Instances, 80% Spot Instances). Defaults to 100 if not\n specified. If set to 100, only On-Demand Instances are provisioned.</p>"
|
|
}
|
|
},
|
|
"SpotAllocationStrategy": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates how to allocate instances across Spot Instance pools. </p>\n <p>If the allocation strategy is <code>lowest-price</code>, the Auto Scaling group launches\n instances using the Spot pools with the lowest price, and evenly allocates your\n instances across the number of Spot pools that you specify. Defaults to\n <code>lowest-price</code> if not specified.</p>\n <p>If the allocation strategy is <code>capacity-optimized</code> (recommended), the Auto Scaling\n group launches instances using Spot pools that are optimally chosen based on the\n available Spot capacity. Alternatively, you can use\n <code>capacity-optimized-prioritized</code> and set the order of instance types in\n the list of launch template overrides from highest to lowest priority (from first to\n last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best-effort basis\n but optimizes for capacity first. </p>"
|
|
}
|
|
},
|
|
"SpotInstancePools": {
|
|
"target": "com.amazonaws.autoscaling#SpotInstancePools",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The number of Spot Instance pools across which to allocate your Spot Instances. The\n Spot pools are determined from the different instance types in the overrides. Valid only\n when the Spot allocation strategy is <code>lowest-price</code>. Value must be in the\n range of 1 to 20. Defaults to 2 if not specified.</p>"
|
|
}
|
|
},
|
|
"SpotMaxPrice": {
|
|
"target": "com.amazonaws.autoscaling#MixedInstanceSpotPrice",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum price per unit hour that you are willing to pay for a Spot Instance. If\n you leave the value at its default (empty), Amazon EC2 Auto Scaling uses the On-Demand price as the\n maximum Spot price. To remove a value that you previously set, include the property but\n specify an empty string (\"\") for the value.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes an instances distribution for an Auto Scaling group with a <a>MixedInstancesPolicy</a>.</p>\n <p>The instances distribution specifies the distribution of On-Demand Instances and Spot\n Instances, the maximum price to pay for Spot Instances, and how the Auto Scaling group allocates\n instance types to fulfill On-Demand and Spot capacities.</p>\n <p>When you update <code>SpotAllocationStrategy</code>, <code>SpotInstancePools</code>,\n or <code>SpotMaxPrice</code>, this update action does not deploy any changes across the\n running Amazon EC2 instances in the group. Your existing Spot Instances continue to run\n as long as the maximum price for those instances is higher than the current Spot price.\n When scale out occurs, Amazon EC2 Auto Scaling launches instances based on the new settings. When scale\n in occurs, Amazon EC2 Auto Scaling terminates instances according to the group's termination\n policies.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#InstancesToUpdate": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {},
|
|
"smithy.api#range": {
|
|
"min": 0
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#IntPercent": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {},
|
|
"smithy.api#range": {
|
|
"min": 0,
|
|
"max": 100
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#InvalidNextToken": {
|
|
"type": "structure",
|
|
"members": {
|
|
"message": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p></p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The <code>NextToken</code> value is not valid.</p>",
|
|
"smithy.api#error": "client",
|
|
"smithy.api#httpError": 400
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LaunchConfiguration": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LaunchConfigurationName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the launch configuration.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"LaunchConfigurationARN": {
|
|
"target": "com.amazonaws.autoscaling#ResourceName",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the launch configuration.</p>"
|
|
}
|
|
},
|
|
"ImageId": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more\n information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html\">Finding an AMI</a> in the\n <i>Amazon EC2 User Guide for Linux Instances</i>.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"KeyName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the key pair.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html\">Amazon EC2 Key Pairs</a> in the\n <i>Amazon EC2 User Guide for Linux Instances</i>.</p>"
|
|
}
|
|
},
|
|
"SecurityGroups": {
|
|
"target": "com.amazonaws.autoscaling#SecurityGroups",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A list that contains the security groups to assign to the instances in the Auto Scaling group.\n For more information, see <a href=\"https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html\">Security Groups for Your\n VPC</a> in the <i>Amazon Virtual Private Cloud User\n Guide</i>.</p>"
|
|
}
|
|
},
|
|
"ClassicLinkVPCId": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. For more\n information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html\">ClassicLink</a> in the\n <i>Amazon EC2 User Guide for Linux Instances</i> and <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink\">Linking EC2-Classic\n instances to a VPC</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"ClassicLinkVPCSecurityGroups": {
|
|
"target": "com.amazonaws.autoscaling#ClassicLinkVPCSecurityGroups",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The IDs of one or more security groups for the VPC specified in\n <code>ClassicLinkVPCId</code>.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html\">ClassicLink</a> in the\n <i>Amazon EC2 User Guide for Linux Instances</i> and <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink\">Linking EC2-Classic\n instances to a VPC</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"UserData": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringUserData",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The user data to make available to the launched EC2 instances. For more information,\n see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html\">Instance metadata and user data</a> (Linux) and <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html\">Instance metadata and\n user data</a> (Windows). If you are using a command line tool, base64-encoding\n is performed for you, and you can load the text from a file. Otherwise, you must provide\n base64-encoded text. User data is limited to 16 KB.</p>"
|
|
}
|
|
},
|
|
"InstanceType": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The instance type for the instances.</p>\n <p>For information about available instance types, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes\">Available\n Instance Types</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"KernelId": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the kernel associated with the AMI.</p>"
|
|
}
|
|
},
|
|
"RamdiskId": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the RAM disk associated with the AMI.</p>"
|
|
}
|
|
},
|
|
"BlockDeviceMappings": {
|
|
"target": "com.amazonaws.autoscaling#BlockDeviceMappings",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A block device mapping, which specifies the block devices for the instance. For more\n information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html\">Block Device\n Mapping</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>"
|
|
}
|
|
},
|
|
"InstanceMonitoring": {
|
|
"target": "com.amazonaws.autoscaling#InstanceMonitoring",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Controls whether instances in this group are launched with detailed\n (<code>true</code>) or basic (<code>false</code>) monitoring.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html\">Configure\n Monitoring for Auto Scaling Instances</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"SpotPrice": {
|
|
"target": "com.amazonaws.autoscaling#SpotPrice",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum hourly price to be paid for any Spot Instance launched to fulfill the\n request. Spot Instances are launched when the price you specify exceeds the current Spot\n price. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-launch-spot-instances.html\">Requesting Spot\n Instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"IamInstanceProfile": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen1600",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name or the Amazon Resource Name (ARN) of the instance profile associated with the\n IAM role for the instance. The instance profile contains the IAM role. For more\n information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/us-iam-role.html\">IAM role for applications that run\n on Amazon EC2 instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"CreatedTime": {
|
|
"target": "com.amazonaws.autoscaling#TimestampType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The creation date and time for the launch configuration.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"EbsOptimized": {
|
|
"target": "com.amazonaws.autoscaling#EbsOptimized",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Specifies whether the launch configuration is optimized for EBS I/O\n (<code>true</code>) or not (<code>false</code>). For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html\">Amazon\n EBS-Optimized Instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>"
|
|
}
|
|
},
|
|
"AssociatePublicIpAddress": {
|
|
"target": "com.amazonaws.autoscaling#AssociatePublicIpAddress",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>For Auto Scaling groups that are running in a VPC, specifies whether to assign a public IP\n address to the group's instances. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html\">Launching Auto Scaling instances in a\n VPC</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"PlacementTenancy": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen64",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The tenancy of the instance, either <code>default</code> or <code>dedicated</code>. An\n instance with <code>dedicated</code> tenancy runs on isolated, single-tenant hardware\n and can only be launched into a VPC.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html\">Configuring\n instance tenancy with Amazon EC2 Auto Scaling</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"MetadataOptions": {
|
|
"target": "com.amazonaws.autoscaling#InstanceMetadataOptions",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The metadata options for the instances. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds\">Configuring the Instance Metadata Options</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes a launch configuration.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LaunchConfigurationNameType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LaunchConfigurationName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the launch configuration.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LaunchConfigurationNames": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LaunchConfigurationNamesType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LaunchConfigurationNames": {
|
|
"target": "com.amazonaws.autoscaling#LaunchConfigurationNames",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The launch configuration names. If you omit this parameter, all launch configurations\n are described.</p>"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The token for the next set of items to return. (You received this token from a\n previous call.)</p>"
|
|
}
|
|
},
|
|
"MaxRecords": {
|
|
"target": "com.amazonaws.autoscaling#MaxRecords",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum number of items to return with this call. The default value is\n <code>50</code> and the maximum value is <code>100</code>.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LaunchConfigurations": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#LaunchConfiguration"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LaunchConfigurationsType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LaunchConfigurations": {
|
|
"target": "com.amazonaws.autoscaling#LaunchConfigurations",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The launch configurations.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n <code>NextToken</code> value when requesting the next set of items. This value is\n null when there are no more items to return.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LaunchTemplate": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LaunchTemplateSpecification": {
|
|
"target": "com.amazonaws.autoscaling#LaunchTemplateSpecification",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The launch template to use.</p>"
|
|
}
|
|
},
|
|
"Overrides": {
|
|
"target": "com.amazonaws.autoscaling#Overrides",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Any properties that you specify override the same properties in the launch template.\n If not provided, Amazon EC2 Auto Scaling uses the instance type specified in the launch template when\n it launches an instance. </p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes a launch template and overrides. </p>\n <p>You specify these properties as part of a mixed instances policy. </p>\n <p>When you update the launch template or overrides, existing Amazon EC2 instances continue to\n run. When scale out occurs, Amazon EC2 Auto Scaling launches instances to match the new settings. When\n scale in occurs, Amazon EC2 Auto Scaling terminates instances according to the group's termination\n policies.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LaunchTemplateName": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#length": {
|
|
"min": 3,
|
|
"max": 128
|
|
},
|
|
"smithy.api#pattern": "[a-zA-Z0-9\\(\\)\\.\\-/_]+"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LaunchTemplateOverrides": {
|
|
"type": "structure",
|
|
"members": {
|
|
"InstanceType": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The instance type, such as <code>m3.xlarge</code>. You must use an instance type that\n is supported in your requested Region and Availability Zones. For more information, see\n <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html\">Instance types</a> in the <i>Amazon Elastic Compute Cloud User\n Guide</i>.</p>"
|
|
}
|
|
},
|
|
"WeightedCapacity": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen32",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The number of capacity units provided by the specified instance type in terms of\n virtual CPUs, memory, storage, throughput, or other relative performance characteristic.\n When a Spot or On-Demand Instance is provisioned, the capacity units count toward the\n desired capacity. Amazon EC2 Auto Scaling provisions instances until the desired capacity is totally\n fulfilled, even if this results in an overage. For example, if there are 2 units\n remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only provision an instance with a\n <code>WeightedCapacity</code> of 5 units, the instance is provisioned, and the\n desired capacity is exceeded by 3 units. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-weighting.html\">Instance weighting for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.\n Value must be in the range of 1 to 999.</p>"
|
|
}
|
|
},
|
|
"LaunchTemplateSpecification": {
|
|
"target": "com.amazonaws.autoscaling#LaunchTemplateSpecification",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides the launch template to be used when launching the instance type. For example,\n some instance types might require a launch template with a different AMI. If not\n provided, Amazon EC2 Auto Scaling uses the launch template that's defined for your mixed instances\n policy. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-launch-template-overrides.html\">Specifying a\n different launch template for an instance type</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>. </p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes an override for a launch template. The maximum number of instance types that\n can be associated with an Auto Scaling group is 40. The maximum number of distinct launch\n templates you can define for an Auto Scaling group is 20. For more information about configuring\n overrides, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-override-options.html\">Configuring\n overrides</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LaunchTemplateSpecification": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LaunchTemplateId": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the launch template. To get the template ID, use the Amazon EC2 <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLaunchTemplates.html\">DescribeLaunchTemplates</a> API operation. New launch templates can be created\n using the Amazon EC2 <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html\">CreateLaunchTemplate</a> API. </p>\n <p>Conditional: You must specify either a <code>LaunchTemplateId</code> or a\n <code>LaunchTemplateName</code>.</p>"
|
|
}
|
|
},
|
|
"LaunchTemplateName": {
|
|
"target": "com.amazonaws.autoscaling#LaunchTemplateName",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the launch template. To get the template name, use the Amazon EC2 <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLaunchTemplates.html\">DescribeLaunchTemplates</a> API operation. New launch templates can be created\n using the Amazon EC2 <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html\">CreateLaunchTemplate</a> API. </p>\n <p>Conditional: You must specify either a <code>LaunchTemplateId</code> or a\n <code>LaunchTemplateName</code>.</p>"
|
|
}
|
|
},
|
|
"Version": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The version number, <code>$Latest</code>, or <code>$Default</code>. To get the version\n number, use the Amazon EC2 <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLaunchTemplateVersions.html\">DescribeLaunchTemplateVersions</a> API operation. New launch template versions\n can be created using the Amazon EC2 <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplateVersion.html\">CreateLaunchTemplateVersion</a> API. If the value is <code>$Latest</code>,\n Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If\n the value is <code>$Default</code>, Amazon EC2 Auto Scaling selects the default version of the launch\n template when launching instances. The default value is <code>$Default</code>.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the Amazon EC2 launch template and the launch template version that can be used\n by an Auto Scaling group to configure Amazon EC2 instances.</p>\n <p>The launch template that is specified must be configured for use with an Auto Scaling group.\n For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html\">Creating a launch\n template for an Auto Scaling group</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LifecycleActionResult": {
|
|
"type": "string"
|
|
},
|
|
"com.amazonaws.autoscaling#LifecycleActionToken": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#length": {
|
|
"min": 36,
|
|
"max": 36
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LifecycleHook": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LifecycleHookName": {
|
|
"target": "com.amazonaws.autoscaling#AsciiStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the lifecycle hook.</p>"
|
|
}
|
|
},
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group for the lifecycle hook.</p>"
|
|
}
|
|
},
|
|
"LifecycleTransition": {
|
|
"target": "com.amazonaws.autoscaling#LifecycleTransition",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The state of the EC2 instance to which to attach the lifecycle hook. The following are\n possible values:</p>\n <ul>\n <li>\n <p>autoscaling:EC2_INSTANCE_LAUNCHING</p>\n </li>\n <li>\n <p>autoscaling:EC2_INSTANCE_TERMINATING</p>\n </li>\n </ul>"
|
|
}
|
|
},
|
|
"NotificationTargetARN": {
|
|
"target": "com.amazonaws.autoscaling#NotificationTargetResourceName",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ARN of the target that Amazon EC2 Auto Scaling sends notifications to when an instance is in the\n transition state for the lifecycle hook. The notification target can be either an SQS\n queue or an SNS topic.</p>"
|
|
}
|
|
},
|
|
"RoleARN": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ARN of the IAM role that allows the Auto Scaling group to publish to the specified\n notification target.</p>"
|
|
}
|
|
},
|
|
"NotificationMetadata": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen1023",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Additional information that is included any time Amazon EC2 Auto Scaling sends a message to the\n notification target.</p>"
|
|
}
|
|
},
|
|
"HeartbeatTimeout": {
|
|
"target": "com.amazonaws.autoscaling#HeartbeatTimeout",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum time, in seconds, that can elapse before the lifecycle hook times out. If\n the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in the\n <code>DefaultResult</code> parameter.</p>"
|
|
}
|
|
},
|
|
"GlobalTimeout": {
|
|
"target": "com.amazonaws.autoscaling#GlobalTimeout",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum time, in seconds, that an instance can remain in a\n <code>Pending:Wait</code> or <code>Terminating:Wait</code> state. The maximum is\n 172800 seconds (48 hours) or 100 times <code>HeartbeatTimeout</code>, whichever is\n smaller.</p>"
|
|
}
|
|
},
|
|
"DefaultResult": {
|
|
"target": "com.amazonaws.autoscaling#LifecycleActionResult",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses\n or if an unexpected failure occurs. The possible values are <code>CONTINUE</code> and\n <code>ABANDON</code>.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes a lifecycle hook, which tells Amazon EC2 Auto Scaling that you want to perform an action\n whenever it launches instances or terminates\n instances.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LifecycleHookNames": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#AsciiStringMaxLen255"
|
|
},
|
|
"traits": {
|
|
"smithy.api#length": {
|
|
"min": 0,
|
|
"max": 50
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LifecycleHookSpecification": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LifecycleHookName": {
|
|
"target": "com.amazonaws.autoscaling#AsciiStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the lifecycle hook.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"LifecycleTransition": {
|
|
"target": "com.amazonaws.autoscaling#LifecycleTransition",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The state of the EC2 instance to which you want to attach the lifecycle hook. The\n valid values are:</p>\n <ul>\n <li>\n <p>autoscaling:EC2_INSTANCE_LAUNCHING</p>\n </li>\n <li>\n <p>autoscaling:EC2_INSTANCE_TERMINATING</p>\n </li>\n </ul>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"NotificationMetadata": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen1023",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to\n the notification target.</p>"
|
|
}
|
|
},
|
|
"HeartbeatTimeout": {
|
|
"target": "com.amazonaws.autoscaling#HeartbeatTimeout",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum time, in seconds, that can elapse before the lifecycle hook times\n out.</p>\n <p>If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in\n the <code>DefaultResult</code> parameter. You can prevent the lifecycle hook from timing\n out by calling <a>RecordLifecycleActionHeartbeat</a>.</p>"
|
|
}
|
|
},
|
|
"DefaultResult": {
|
|
"target": "com.amazonaws.autoscaling#LifecycleActionResult",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses\n or if an unexpected failure occurs. The valid values are <code>CONTINUE</code> and\n <code>ABANDON</code>. The default value is <code>ABANDON</code>.</p>"
|
|
}
|
|
},
|
|
"NotificationTargetARN": {
|
|
"target": "com.amazonaws.autoscaling#NotificationTargetResourceName",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ARN of the target that Amazon EC2 Auto Scaling sends notifications to when an instance is in the\n transition state for the lifecycle hook. The notification target can be either an SQS\n queue or an SNS topic.</p>"
|
|
}
|
|
},
|
|
"RoleARN": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ARN of the IAM role that allows the Auto Scaling group to publish to the specified\n notification target, for example, an Amazon SNS topic or an Amazon SQS queue.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes information used to specify a lifecycle hook for an Auto Scaling\n group.</p>\n <p>A lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on an instance when the instance\n launches (before it is put into service) or as the instance terminates (before it is\n fully terminated).</p>\n <p>This step is a part of the procedure for creating a lifecycle hook for an Auto Scaling\n group:</p>\n <ol>\n <li>\n <p>(Optional) Create a Lambda function and a rule that allows CloudWatch Events to\n invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates\n instances.</p>\n </li>\n <li>\n <p>(Optional) Create a notification target and an IAM role. The target can be\n either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to\n publish lifecycle notifications to the target.</p>\n </li>\n <li>\n <p>\n <b>Create the lifecycle hook. Specify whether the hook is\n used when the instances launch or terminate.</b>\n </p>\n </li>\n <li>\n <p>If you need more time, record the lifecycle action heartbeat to keep the\n instance in a pending state.</p>\n </li>\n <li>\n <p>If you finish before the timeout period ends, complete the lifecycle\n action.</p>\n </li>\n </ol>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html\">Amazon EC2 Auto Scaling lifecycle\n hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LifecycleHookSpecifications": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#LifecycleHookSpecification"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LifecycleHooks": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#LifecycleHook"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LifecycleState": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "Pending",
|
|
"name": "PENDING"
|
|
},
|
|
{
|
|
"value": "Pending:Wait",
|
|
"name": "PENDING_WAIT"
|
|
},
|
|
{
|
|
"value": "Pending:Proceed",
|
|
"name": "PENDING_PROCEED"
|
|
},
|
|
{
|
|
"value": "Quarantined",
|
|
"name": "QUARANTINED"
|
|
},
|
|
{
|
|
"value": "InService",
|
|
"name": "IN_SERVICE"
|
|
},
|
|
{
|
|
"value": "Terminating",
|
|
"name": "TERMINATING"
|
|
},
|
|
{
|
|
"value": "Terminating:Wait",
|
|
"name": "TERMINATING_WAIT"
|
|
},
|
|
{
|
|
"value": "Terminating:Proceed",
|
|
"name": "TERMINATING_PROCEED"
|
|
},
|
|
{
|
|
"value": "Terminated",
|
|
"name": "TERMINATED"
|
|
},
|
|
{
|
|
"value": "Detaching",
|
|
"name": "DETACHING"
|
|
},
|
|
{
|
|
"value": "Detached",
|
|
"name": "DETACHED"
|
|
},
|
|
{
|
|
"value": "EnteringStandby",
|
|
"name": "ENTERING_STANDBY"
|
|
},
|
|
{
|
|
"value": "Standby",
|
|
"name": "STANDBY"
|
|
},
|
|
{
|
|
"value": "Warmed:Pending",
|
|
"name": "WARMED_PENDING"
|
|
},
|
|
{
|
|
"value": "Warmed:Pending:Wait",
|
|
"name": "WARMED_PENDING_WAIT"
|
|
},
|
|
{
|
|
"value": "Warmed:Pending:Proceed",
|
|
"name": "WARMED_PENDING_PROCEED"
|
|
},
|
|
{
|
|
"value": "Warmed:Terminating",
|
|
"name": "WARMED_TERMINATING"
|
|
},
|
|
{
|
|
"value": "Warmed:Terminating:Wait",
|
|
"name": "WARMED_TERMINATING_WAIT"
|
|
},
|
|
{
|
|
"value": "Warmed:Terminating:Proceed",
|
|
"name": "WARMED_TERMINATING_PROCEED"
|
|
},
|
|
{
|
|
"value": "Warmed:Terminated",
|
|
"name": "WARMED_TERMINATED"
|
|
},
|
|
{
|
|
"value": "Warmed:Stopped",
|
|
"name": "WARMED_STOPPED"
|
|
},
|
|
{
|
|
"value": "Warmed:Running",
|
|
"name": "WARMED_RUNNING"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LifecycleTransition": {
|
|
"type": "string"
|
|
},
|
|
"com.amazonaws.autoscaling#LimitExceededFault": {
|
|
"type": "structure",
|
|
"members": {
|
|
"message": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p></p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>You have already reached a limit for your Amazon EC2 Auto Scaling\n resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For\n more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html\">DescribeAccountLimits</a> in the <i>Amazon EC2 Auto Scaling API\n Reference</i>.</p>",
|
|
"smithy.api#error": "client",
|
|
"smithy.api#httpError": 400
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LoadBalancerNames": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LoadBalancerState": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LoadBalancerName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the load balancer.</p>"
|
|
}
|
|
},
|
|
"State": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One of the following load balancer states:</p>\n <ul>\n <li>\n <p>\n <code>Adding</code> - The instances in the group are being registered with the\n load balancer.</p>\n </li>\n <li>\n <p>\n <code>Added</code> - All instances in the group are registered with the load\n balancer.</p>\n </li>\n <li>\n <p>\n <code>InService</code> - At least one instance in the group passed an ELB\n health check.</p>\n </li>\n <li>\n <p>\n <code>Removing</code> - The instances in the group are being deregistered from\n the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight\n requests to complete before deregistering the instances.</p>\n </li>\n <li>\n <p>\n <code>Removed</code> - All instances in the group are deregistered from the\n load balancer.</p>\n </li>\n </ul>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the state of a Classic Load Balancer.</p>\n <p>If you specify a load balancer when creating the Auto Scaling group, the state of the load\n balancer is <code>InService</code>.</p>\n <p>If you attach a load balancer to an existing Auto Scaling group, the initial state is\n <code>Adding</code>. The state transitions to <code>Added</code> after all instances\n in the group are registered with the load balancer. If Elastic Load Balancing health checks are enabled\n for the load balancer, the state transitions to <code>InService</code> after at least\n one instance in the group passes the health check. If EC2 health checks are enabled\n instead, the load balancer remains in the <code>Added</code> state.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LoadBalancerStates": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#LoadBalancerState"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LoadBalancerTargetGroupState": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LoadBalancerTargetGroupARN": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen511",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the target group.</p>"
|
|
}
|
|
},
|
|
"State": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The state of the target group.</p>\n <ul>\n <li>\n <p>\n <code>Adding</code> - The Auto Scaling instances are being registered with the target\n group.</p>\n </li>\n <li>\n <p>\n <code>Added</code> - All Auto Scaling instances are registered with the target\n group.</p>\n </li>\n <li>\n <p>\n <code>InService</code> - At least one Auto Scaling instance passed an ELB health\n check.</p>\n </li>\n <li>\n <p>\n <code>Removing</code> - The Auto Scaling instances are being deregistered from the\n target group. If connection draining is enabled, Elastic Load Balancing waits for in-flight\n requests to complete before deregistering the instances.</p>\n </li>\n <li>\n <p>\n <code>Removed</code> - All Auto Scaling instances are deregistered from the target\n group.</p>\n </li>\n </ul>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the state of a target group.</p>\n <p>If you attach a target group to an existing Auto Scaling group, the initial state is\n <code>Adding</code>. The state transitions to <code>Added</code> after all Auto Scaling\n instances are registered with the target group. If Elastic Load Balancing health checks are enabled, the\n state transitions to <code>InService</code> after at least one Auto Scaling instance passes the\n health check. If EC2 health checks are enabled instead, the target group remains in the\n <code>Added</code> state.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LoadBalancerTargetGroupStates": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#LoadBalancerTargetGroupState"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LoadForecast": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Timestamps": {
|
|
"target": "com.amazonaws.autoscaling#PredictiveScalingForecastTimestamps",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The time stamps for the data points, in UTC format.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Values": {
|
|
"target": "com.amazonaws.autoscaling#PredictiveScalingForecastValues",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The values of the data points.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"MetricSpecification": {
|
|
"target": "com.amazonaws.autoscaling#PredictiveScalingMetricSpecification",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The metric specification for the load forecast.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A <code>GetPredictiveScalingForecast</code> call returns the load forecast for a\n predictive scaling policy. This structure includes the data points for that load\n forecast, along with the timestamps of those data points and the metric specification.\n </p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#LoadForecasts": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#LoadForecast"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#MaxGroupPreparedCapacity": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {},
|
|
"smithy.api#range": {
|
|
"min": -1
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#MaxInstanceLifetime": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#MaxNumberOfAutoScalingGroups": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#MaxNumberOfLaunchConfigurations": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#MaxRecords": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#MetricCollectionType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Metric": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One of the following metrics:</p>\n <ul>\n <li>\n <p>\n <code>GroupMinSize</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupMaxSize</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupDesiredCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupInServiceInstances</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupPendingInstances</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupStandbyInstances</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupTerminatingInstances</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupTotalInstances</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupInServiceCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupPendingCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupStandbyCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupTerminatingCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupTotalCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>WarmPoolDesiredCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>WarmPoolWarmedCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>WarmPoolPendingCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>WarmPoolTerminatingCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>WarmPoolTotalCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupAndWarmPoolDesiredCapacity</code>\n </p>\n </li>\n <li>\n <p>\n <code>GroupAndWarmPoolTotalCapacity</code>\n </p>\n </li>\n </ul>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes a metric.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#MetricCollectionTypes": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#MetricCollectionType"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#MetricDimension": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Name": {
|
|
"target": "com.amazonaws.autoscaling#MetricDimensionName",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the dimension.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Value": {
|
|
"target": "com.amazonaws.autoscaling#MetricDimensionValue",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The value of the dimension.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the dimension of a metric.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#MetricDimensionName": {
|
|
"type": "string"
|
|
},
|
|
"com.amazonaws.autoscaling#MetricDimensionValue": {
|
|
"type": "string"
|
|
},
|
|
"com.amazonaws.autoscaling#MetricDimensions": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#MetricDimension"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#MetricGranularityType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Granularity": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The granularity. The only valid value is <code>1Minute</code>.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes a granularity of a metric.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#MetricGranularityTypes": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#MetricGranularityType"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#MetricName": {
|
|
"type": "string"
|
|
},
|
|
"com.amazonaws.autoscaling#MetricNamespace": {
|
|
"type": "string"
|
|
},
|
|
"com.amazonaws.autoscaling#MetricScale": {
|
|
"type": "double",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#MetricStatistic": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "Average",
|
|
"name": "Average"
|
|
},
|
|
{
|
|
"value": "Minimum",
|
|
"name": "Minimum"
|
|
},
|
|
{
|
|
"value": "Maximum",
|
|
"name": "Maximum"
|
|
},
|
|
{
|
|
"value": "SampleCount",
|
|
"name": "SampleCount"
|
|
},
|
|
{
|
|
"value": "Sum",
|
|
"name": "Sum"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#MetricType": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "ASGAverageCPUUtilization",
|
|
"name": "ASGAverageCPUUtilization"
|
|
},
|
|
{
|
|
"value": "ASGAverageNetworkIn",
|
|
"name": "ASGAverageNetworkIn"
|
|
},
|
|
{
|
|
"value": "ASGAverageNetworkOut",
|
|
"name": "ASGAverageNetworkOut"
|
|
},
|
|
{
|
|
"value": "ALBRequestCountPerTarget",
|
|
"name": "ALBRequestCountPerTarget"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#MetricUnit": {
|
|
"type": "string"
|
|
},
|
|
"com.amazonaws.autoscaling#Metrics": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#MinAdjustmentMagnitude": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#MinAdjustmentStep": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {},
|
|
"smithy.api#deprecated": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#MixedInstanceSpotPrice": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#length": {
|
|
"min": 0,
|
|
"max": 255
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#MixedInstancesPolicy": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LaunchTemplate": {
|
|
"target": "com.amazonaws.autoscaling#LaunchTemplate",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Specifies the launch template to use and optionally the instance types (overrides)\n that are used to provision EC2 instances to fulfill On-Demand and Spot capacities.\n Required when creating a mixed instances policy.</p>"
|
|
}
|
|
},
|
|
"InstancesDistribution": {
|
|
"target": "com.amazonaws.autoscaling#InstancesDistribution",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Specifies the instances distribution. If not provided, the value for each property in\n <code>InstancesDistribution</code> uses a default value.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes a mixed instances policy for an Auto Scaling group. With mixed instances, your Auto Scaling\n group can provision a combination of On-Demand Instances and Spot Instances across\n multiple instance types. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html\">Auto Scaling groups with multiple\n instance types and purchase options</a> in the <i>Amazon EC2 Auto Scaling User\n Guide</i>.</p>\n <p>You can create a mixed instances policy for a new Auto Scaling group, or you can create it for\n an existing group by updating the group to specify <code>MixedInstancesPolicy</code> as\n the top-level property instead of a launch configuration or launch template.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#MonitoringEnabled": {
|
|
"type": "boolean",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#NoDevice": {
|
|
"type": "boolean",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#NonZeroIntPercent": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {},
|
|
"smithy.api#range": {
|
|
"min": 1,
|
|
"max": 100
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#NotificationConfiguration": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"TopicARN": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS)\n topic.</p>"
|
|
}
|
|
},
|
|
"NotificationType": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One of the following event notification types:</p>\n <ul>\n <li>\n <p>\n <code>autoscaling:EC2_INSTANCE_LAUNCH</code>\n </p>\n </li>\n <li>\n <p>\n <code>autoscaling:EC2_INSTANCE_LAUNCH_ERROR</code>\n </p>\n </li>\n <li>\n <p>\n <code>autoscaling:EC2_INSTANCE_TERMINATE</code>\n </p>\n </li>\n <li>\n <p>\n <code>autoscaling:EC2_INSTANCE_TERMINATE_ERROR</code>\n </p>\n </li>\n <li>\n <p>\n <code>autoscaling:TEST_NOTIFICATION</code>\n </p>\n </li>\n </ul>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes a notification.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#NotificationConfigurations": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#NotificationConfiguration"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#NotificationTargetResourceName": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#length": {
|
|
"min": 0,
|
|
"max": 255
|
|
},
|
|
"smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#NumberOfAutoScalingGroups": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#NumberOfLaunchConfigurations": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#OnDemandBaseCapacity": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#OnDemandPercentageAboveBaseCapacity": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#Overrides": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#LaunchTemplateOverrides"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PoliciesType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ScalingPolicies": {
|
|
"target": "com.amazonaws.autoscaling#ScalingPolicies",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The scaling policies.</p>"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n <code>NextToken</code> value when requesting the next set of items. This value is\n null when there are no more items to return.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PolicyARNType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"PolicyARN": {
|
|
"target": "com.amazonaws.autoscaling#ResourceName",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the policy.</p>"
|
|
}
|
|
},
|
|
"Alarms": {
|
|
"target": "com.amazonaws.autoscaling#Alarms",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The CloudWatch alarms created for the target tracking scaling policy.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the output of PutScalingPolicy.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PolicyIncrement": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PolicyNames": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#ResourceName"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PolicyTypes": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen64"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PredefinedLoadMetricType": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "ASGTotalCPUUtilization",
|
|
"name": "ASGTotalCPUUtilization"
|
|
},
|
|
{
|
|
"value": "ASGTotalNetworkIn",
|
|
"name": "ASGTotalNetworkIn"
|
|
},
|
|
{
|
|
"value": "ASGTotalNetworkOut",
|
|
"name": "ASGTotalNetworkOut"
|
|
},
|
|
{
|
|
"value": "ALBTargetGroupRequestCount",
|
|
"name": "ALBTargetGroupRequestCount"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PredefinedMetricPairType": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "ASGCPUUtilization",
|
|
"name": "ASGCPUUtilization"
|
|
},
|
|
{
|
|
"value": "ASGNetworkIn",
|
|
"name": "ASGNetworkIn"
|
|
},
|
|
{
|
|
"value": "ASGNetworkOut",
|
|
"name": "ASGNetworkOut"
|
|
},
|
|
{
|
|
"value": "ALBRequestCount",
|
|
"name": "ALBRequestCount"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PredefinedMetricSpecification": {
|
|
"type": "structure",
|
|
"members": {
|
|
"PredefinedMetricType": {
|
|
"target": "com.amazonaws.autoscaling#MetricType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The metric type. The following predefined metrics are available:</p>\n <ul>\n <li>\n <p>\n <code>ASGAverageCPUUtilization</code> - Average CPU utilization of the Auto Scaling\n group.</p>\n </li>\n <li>\n <p>\n <code>ASGAverageNetworkIn</code> - Average number of bytes received on all\n network interfaces by the Auto Scaling group.</p>\n </li>\n <li>\n <p>\n <code>ASGAverageNetworkOut</code> - Average number of bytes sent out on all\n network interfaces by the Auto Scaling group.</p>\n </li>\n <li>\n <p>\n <code>ALBRequestCountPerTarget</code> - Number of requests completed per\n target in an Application Load Balancer target group.</p>\n </li>\n </ul>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"ResourceLabel": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen1023",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Identifies the resource associated with the metric type. You can't specify a resource\n label unless the metric type is <code>ALBRequestCountPerTarget</code> and there is a\n target group attached to the Auto Scaling group.</p>\n <p>You create the resource label by appending the final portion of the load balancer ARN\n and the final portion of the target group ARN into a single value, separated by a\n forward slash (/). The format is\n app/<load-balancer-name>/<load-balancer-id>/targetgroup/<target-group-name>/<target-group-id>,\n where:</p>\n <ul>\n <li>\n <p>app/<load-balancer-name>/<load-balancer-id> is the final portion\n of the load balancer ARN</p>\n </li>\n <li>\n <p>targetgroup/<target-group-name>/<target-group-id> is the final\n portion of the target group ARN.</p>\n </li>\n </ul>\n <p>This is an example:\n app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d.</p>\n <p>To find the ARN for an Application Load Balancer, use the <a href=\"https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html\">DescribeLoadBalancers</a> API operation. To find the ARN for the target group,\n use the <a href=\"https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html\">DescribeTargetGroups</a> API operation.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Represents a predefined metric for a target tracking scaling policy to use with\n Amazon EC2 Auto Scaling.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PredefinedScalingMetricType": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "ASGAverageCPUUtilization",
|
|
"name": "ASGAverageCPUUtilization"
|
|
},
|
|
{
|
|
"value": "ASGAverageNetworkIn",
|
|
"name": "ASGAverageNetworkIn"
|
|
},
|
|
{
|
|
"value": "ASGAverageNetworkOut",
|
|
"name": "ASGAverageNetworkOut"
|
|
},
|
|
{
|
|
"value": "ALBRequestCountPerTarget",
|
|
"name": "ALBRequestCountPerTarget"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PredictiveScalingConfiguration": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MetricSpecifications": {
|
|
"target": "com.amazonaws.autoscaling#PredictiveScalingMetricSpecifications",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>This structure includes the metrics and target utilization to use for predictive\n scaling. </p>\n <p>This is an array, but we currently only support a single metric specification. That\n is, you can specify a target value and a single metric pair, or a target value and one\n scaling metric and one load metric.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Mode": {
|
|
"target": "com.amazonaws.autoscaling#PredictiveScalingMode",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The predictive scaling mode. Defaults to <code>ForecastOnly</code> if not\n specified.</p>"
|
|
}
|
|
},
|
|
"SchedulingBufferTime": {
|
|
"target": "com.amazonaws.autoscaling#PredictiveScalingSchedulingBufferTime",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The amount of time, in seconds, by which the instance launch time can be advanced. For\n example, the forecast says to add capacity at 10:00 AM, and you choose to pre-launch\n instances by 5 minutes. In that case, the instances will be launched at 9:55 AM. The\n intention is to give resources time to be provisioned. It can take a few minutes to\n launch an EC2 instance. The actual amount of time required depends on several factors,\n such as the size of the instance and whether there are startup scripts to complete. </p>\n <p>The value must be less than the forecast interval duration of 3600 seconds (60\n minutes). Defaults to 300 seconds if not specified. </p>"
|
|
}
|
|
},
|
|
"MaxCapacityBreachBehavior": {
|
|
"target": "com.amazonaws.autoscaling#PredictiveScalingMaxCapacityBreachBehavior",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Defines the behavior that should be applied if the forecast capacity approaches or\n exceeds the maximum capacity of the Auto Scaling group. Defaults to\n <code>HonorMaxCapacity</code> if not specified.</p>\n <p>The following are possible values:</p>\n <ul>\n <li>\n <p>\n <code>HonorMaxCapacity</code> - Amazon EC2 Auto Scaling cannot scale out capacity higher than\n the maximum capacity. The maximum capacity is enforced as a hard limit. </p>\n </li>\n <li>\n <p>\n <code>IncreaseMaxCapacity</code> - Amazon EC2 Auto Scaling can scale out capacity higher than\n the maximum capacity when the forecast capacity is close to or exceeds the\n maximum capacity. The upper limit is determined by the forecasted capacity and\n the value for <code>MaxCapacityBuffer</code>.</p>\n </li>\n </ul>"
|
|
}
|
|
},
|
|
"MaxCapacityBuffer": {
|
|
"target": "com.amazonaws.autoscaling#PredictiveScalingMaxCapacityBuffer",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The size of the capacity buffer to use when the forecast capacity is close to or\n exceeds the maximum capacity. The value is specified as a percentage relative to the\n forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer,\n such that if the forecast capacity is 50, and the maximum capacity is 40, then the\n effective maximum capacity is 55.</p>\n <p>If set to 0, Amazon EC2 Auto Scaling may scale capacity higher than the maximum capacity to equal but\n not exceed forecast capacity. </p>\n <p>Required if the <code>MaxCapacityBreachBehavior</code> property is set to\n <code>IncreaseMaxCapacity</code>, and cannot be used otherwise.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Represents a predictive scaling policy configuration to use with Amazon EC2 Auto Scaling.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PredictiveScalingForecastTimestamps": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#TimestampType"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PredictiveScalingForecastValues": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#MetricScale"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PredictiveScalingMaxCapacityBreachBehavior": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "HonorMaxCapacity",
|
|
"name": "HonorMaxCapacity"
|
|
},
|
|
{
|
|
"value": "IncreaseMaxCapacity",
|
|
"name": "IncreaseMaxCapacity"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PredictiveScalingMaxCapacityBuffer": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {},
|
|
"smithy.api#range": {
|
|
"min": 0,
|
|
"max": 100
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PredictiveScalingMetricSpecification": {
|
|
"type": "structure",
|
|
"members": {
|
|
"TargetValue": {
|
|
"target": "com.amazonaws.autoscaling#MetricScale",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Specifies the target utilization.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"PredefinedMetricPairSpecification": {
|
|
"target": "com.amazonaws.autoscaling#PredictiveScalingPredefinedMetricPair",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling\n metric and load metric to use.</p>"
|
|
}
|
|
},
|
|
"PredefinedScalingMetricSpecification": {
|
|
"target": "com.amazonaws.autoscaling#PredictiveScalingPredefinedScalingMetric",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The scaling metric specification.</p>"
|
|
}
|
|
},
|
|
"PredefinedLoadMetricSpecification": {
|
|
"target": "com.amazonaws.autoscaling#PredictiveScalingPredefinedLoadMetric",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The load metric specification.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>This structure specifies the metrics and target utilization settings for a predictive\n scaling policy. </p>\n <p>You must specify either a metric pair, or a load metric and a scaling metric\n individually. Specifying a metric pair instead of individual metrics provides a simpler\n way to configure metrics for a scaling policy. You choose the metric pair, and the\n policy automatically knows the correct sum and average statistics to use for the load\n metric and the scaling metric.</p>\n <p>Example</p>\n <ul>\n <li>\n <p>You create a predictive scaling policy and specify\n <code>ALBRequestCount</code> as the value for the metric pair and\n <code>1000.0</code> as the target value. For this type of metric, you must\n provide the metric dimension for the corresponding target group, so you also\n provide a resource label for the Application Load Balancer target group that is\n attached to your Auto Scaling group.</p>\n </li>\n <li>\n <p>The number of requests the target group receives per minute provides the load\n metric, and the request count averaged between the members of the target group\n provides the scaling metric. In CloudWatch, this refers to the\n <code>RequestCount</code> and <code>RequestCountPerTarget</code> metrics,\n respectively.</p>\n </li>\n <li>\n <p>For optimal use of predictive scaling, you adhere to the best practice of\n using a dynamic scaling policy to automatically scale between the minimum\n capacity and maximum capacity in response to real-time changes in resource\n utilization.</p>\n </li>\n <li>\n <p>Amazon EC2 Auto Scaling consumes data points for the load metric over the last 14 days and\n creates an hourly load forecast for predictive scaling. (A minimum of 24 hours\n of data is required.)</p>\n </li>\n <li>\n <p>After creating the load forecast, Amazon EC2 Auto Scaling determines when to reduce or\n increase the capacity of your Auto Scaling group in each hour of the forecast period so\n that the average number of requests received by each instance is as close to\n 1000 requests per minute as possible at all times.</p>\n </li>\n </ul>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PredictiveScalingMetricSpecifications": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#PredictiveScalingMetricSpecification"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PredictiveScalingMode": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "ForecastAndScale",
|
|
"name": "ForecastAndScale"
|
|
},
|
|
{
|
|
"value": "ForecastOnly",
|
|
"name": "ForecastOnly"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PredictiveScalingPredefinedLoadMetric": {
|
|
"type": "structure",
|
|
"members": {
|
|
"PredefinedMetricType": {
|
|
"target": "com.amazonaws.autoscaling#PredefinedLoadMetricType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The metric type.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"ResourceLabel": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen1023",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A label that uniquely identifies a specific Application Load Balancer target \n group from which to determine the request count served by your Auto Scaling group. You can't specify a resource label \n unless the target group is attached to the Auto Scaling group.</p>\n <p>You create the resource label by appending the final portion of the load balancer ARN\n and the final portion of the target group ARN into a single value, separated by a forward\n slash (/). The format of the resource label is:</p>\n <p>\n <code>app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d</code>.</p>\n <p>Where:</p>\n <ul>\n <li>\n <p>app/<load-balancer-name>/<load-balancer-id> is the final portion of\n the load balancer ARN</p>\n </li>\n <li>\n <p>targetgroup/<target-group-name>/<target-group-id> is the final portion\n of the target group ARN.</p>\n </li>\n </ul>\n <p>To find the ARN for an Application Load Balancer, use the <a href=\"https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html\">DescribeLoadBalancers</a> API operation. To find the ARN for the target group, use\n the <a href=\"https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html\">DescribeTargetGroups</a> API operation.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes a load metric for a predictive scaling policy.</p>\n <p>When returned in the output of <code>DescribePolicies</code>, it indicates that a\n predictive scaling policy uses individually specified load and scaling metrics instead\n of a metric pair.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PredictiveScalingPredefinedMetricPair": {
|
|
"type": "structure",
|
|
"members": {
|
|
"PredefinedMetricType": {
|
|
"target": "com.amazonaws.autoscaling#PredefinedMetricPairType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates which metrics to use. There are two different types of metrics for each\n metric type: one is a load metric and one is a scaling metric. For example, if the\n metric type is <code>ASGCPUUtilization</code>, the Auto Scaling group's total CPU metric is used\n as the load metric, and the average CPU metric is used for the scaling metric.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"ResourceLabel": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen1023",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A label that uniquely identifies a specific Application Load Balancer target \n group from which to determine the request count served by your Auto Scaling group. You can't specify a resource label \n unless the target group is attached to the Auto Scaling group.</p>\n <p>You create the resource label by appending the final portion of the load balancer ARN\n and the final portion of the target group ARN into a single value, separated by a forward\n slash (/). The format of the resource label is:</p>\n <p>\n <code>app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d</code>.</p>\n <p>Where:</p>\n <ul>\n <li>\n <p>app/<load-balancer-name>/<load-balancer-id> is the final portion of\n the load balancer ARN</p>\n </li>\n <li>\n <p>targetgroup/<target-group-name>/<target-group-id> is the final portion\n of the target group ARN.</p>\n </li>\n </ul>\n <p>To find the ARN for an Application Load Balancer, use the <a href=\"https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html\">DescribeLoadBalancers</a> API operation. To find the ARN for the target group, use\n the <a href=\"https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html\">DescribeTargetGroups</a> API operation.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Represents a metric pair for a predictive scaling policy. </p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PredictiveScalingPredefinedScalingMetric": {
|
|
"type": "structure",
|
|
"members": {
|
|
"PredefinedMetricType": {
|
|
"target": "com.amazonaws.autoscaling#PredefinedScalingMetricType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The metric type.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"ResourceLabel": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen1023",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A label that uniquely identifies a specific Application Load Balancer target \n group from which to determine the request count served by your Auto Scaling group. You can't specify a resource label \n unless the target group is attached to the Auto Scaling group.</p>\n <p>You create the resource label by appending the final portion of the load balancer ARN\n and the final portion of the target group ARN into a single value, separated by a forward\n slash (/). The format of the resource label is:</p>\n <p>\n <code>app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d</code>.</p>\n <p>Where:</p>\n <ul>\n <li>\n <p>app/<load-balancer-name>/<load-balancer-id> is the final portion of\n the load balancer ARN</p>\n </li>\n <li>\n <p>targetgroup/<target-group-name>/<target-group-id> is the final portion\n of the target group ARN.</p>\n </li>\n </ul>\n <p>To find the ARN for an Application Load Balancer, use the <a href=\"https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html\">DescribeLoadBalancers</a> API operation. To find the ARN for the target group, use\n the <a href=\"https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html\">DescribeTargetGroups</a> API operation.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes a scaling metric for a predictive scaling policy.</p>\n <p>When returned in the output of <code>DescribePolicies</code>, it indicates that a\n predictive scaling policy uses individually specified load and scaling metrics instead\n of a metric pair.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PredictiveScalingSchedulingBufferTime": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {},
|
|
"smithy.api#range": {
|
|
"min": 0
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ProcessNames": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ProcessType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ProcessName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One of the following processes:</p>\n <ul>\n <li>\n <p>\n <code>Launch</code>\n </p>\n </li>\n <li>\n <p>\n <code>Terminate</code>\n </p>\n </li>\n <li>\n <p>\n <code>AddToLoadBalancer</code>\n </p>\n </li>\n <li>\n <p>\n <code>AlarmNotification</code>\n </p>\n </li>\n <li>\n <p>\n <code>AZRebalance</code>\n </p>\n </li>\n <li>\n <p>\n <code>HealthCheck</code>\n </p>\n </li>\n <li>\n <p>\n <code>InstanceRefresh</code>\n </p>\n </li>\n <li>\n <p>\n <code>ReplaceUnhealthy</code>\n </p>\n </li>\n <li>\n <p>\n <code>ScheduledActions</code>\n </p>\n </li>\n </ul>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes a process type.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html#process-types\">Scaling processes</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#Processes": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#ProcessType"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ProcessesType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Processes": {
|
|
"target": "com.amazonaws.autoscaling#Processes",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The names of the process types.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#Progress": {
|
|
"type": "integer"
|
|
},
|
|
"com.amazonaws.autoscaling#PropagateAtLaunch": {
|
|
"type": "boolean",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ProtectedFromScaleIn": {
|
|
"type": "boolean",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PutLifecycleHook": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#PutLifecycleHookType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#PutLifecycleHookAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#LimitExceededFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Creates or updates a lifecycle hook for the specified Auto Scaling group.</p>\n <p>A lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on an instance when the instance\n launches (before it is put into service) or as the instance terminates (before it is\n fully terminated).</p>\n <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling\n group:</p>\n <ol>\n <li>\n <p>(Optional) Create a Lambda function and a rule that allows CloudWatch Events to\n invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates\n instances.</p>\n </li>\n <li>\n <p>(Optional) Create a notification target and an IAM role. The target can be\n either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to\n publish lifecycle notifications to the target.</p>\n </li>\n <li>\n <p>\n <b>Create the lifecycle hook. Specify whether the hook is\n used when the instances launch or terminate.</b>\n </p>\n </li>\n <li>\n <p>If you need more time, record the lifecycle action heartbeat to keep the\n instance in a pending state using the <a>RecordLifecycleActionHeartbeat</a> API call.</p>\n </li>\n <li>\n <p>If you finish before the timeout period ends, complete the lifecycle action\n using the <a>CompleteLifecycleAction</a> API call.</p>\n </li>\n </ol>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html\">Amazon EC2 Auto Scaling lifecycle\n hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>\n <p>If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling\n group, the call fails.</p>\n <p>You can view the lifecycle hooks for an Auto Scaling group using the <a>DescribeLifecycleHooks</a> API call. If you are no longer using a lifecycle\n hook, you can delete it by calling the <a>DeleteLifecycleHook</a> API.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PutLifecycleHookAnswer": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.autoscaling#PutLifecycleHookType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LifecycleHookName": {
|
|
"target": "com.amazonaws.autoscaling#AsciiStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the lifecycle hook.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"LifecycleTransition": {
|
|
"target": "com.amazonaws.autoscaling#LifecycleTransition",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The instance state to which you want to attach the lifecycle hook. The valid values\n are:</p>\n <ul>\n <li>\n <p>autoscaling:EC2_INSTANCE_LAUNCHING</p>\n </li>\n <li>\n <p>autoscaling:EC2_INSTANCE_TERMINATING</p>\n </li>\n </ul>\n <p>Required for new lifecycle hooks, but optional when updating existing hooks.</p>"
|
|
}
|
|
},
|
|
"RoleARN": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ARN of the IAM role that allows the Auto Scaling group to publish to the specified\n notification target, for example, an Amazon SNS topic or an Amazon SQS queue.</p>\n <p>Required for new lifecycle hooks, but optional when updating existing hooks.</p>"
|
|
}
|
|
},
|
|
"NotificationTargetARN": {
|
|
"target": "com.amazonaws.autoscaling#NotificationTargetResourceName",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ARN of the notification target that Amazon EC2 Auto Scaling uses to notify you when an instance\n is in the transition state for the lifecycle hook. This target can be either an SQS\n queue or an SNS topic.</p>\n <p>If you specify an empty string, this overrides the current ARN.</p>\n <p>This operation uses the JSON format when sending notifications to an Amazon SQS queue,\n and an email key-value pair format when sending notifications to an Amazon SNS\n topic.</p>\n <p>When you specify a notification target, Amazon EC2 Auto Scaling sends it a test message. Test\n messages contain the following additional key-value pair: <code>\"Event\":\n \"autoscaling:TEST_NOTIFICATION\"</code>.</p>"
|
|
}
|
|
},
|
|
"NotificationMetadata": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen1023",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to\n the notification target.</p>"
|
|
}
|
|
},
|
|
"HeartbeatTimeout": {
|
|
"target": "com.amazonaws.autoscaling#HeartbeatTimeout",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum time, in seconds, that can elapse before the lifecycle hook times out. The\n range is from <code>30</code> to <code>7200</code> seconds. The default value is\n <code>3600</code> seconds (1 hour).</p>\n <p>If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in\n the <code>DefaultResult</code> parameter. You can prevent the lifecycle hook from timing\n out by calling the <a>RecordLifecycleActionHeartbeat</a> API.</p>"
|
|
}
|
|
},
|
|
"DefaultResult": {
|
|
"target": "com.amazonaws.autoscaling#LifecycleActionResult",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses\n or if an unexpected failure occurs. This parameter can be either <code>CONTINUE</code>\n or <code>ABANDON</code>. The default value is <code>ABANDON</code>.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PutNotificationConfiguration": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#PutNotificationConfigurationType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#LimitExceededFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ServiceLinkedRoleFailure"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Configures an Auto Scaling group to send notifications when specified events take place.\n Subscribers to the specified topic can have messages delivered to an endpoint such as a\n web server or an email address.</p>\n <p>This configuration overwrites any existing configuration.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html\">Getting Amazon SNS\n notifications when your Auto Scaling group scales</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>\n <p>If you exceed your maximum limit of SNS topics, which is 10 per Auto Scaling group, the call\n fails.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PutNotificationConfigurationType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"TopicARN": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS)\n topic.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"NotificationTypes": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingNotificationTypes",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The type of event that causes the notification to be sent. To query the notification\n types supported by Amazon EC2 Auto Scaling, call the <a>DescribeAutoScalingNotificationTypes</a> API.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PutScalingPolicy": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#PutScalingPolicyType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#PolicyARNType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#LimitExceededFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ServiceLinkedRoleFailure"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Creates or updates a scaling policy for an Auto Scaling group. Scaling policies are used to\n scale an Auto Scaling group based on configurable metrics. If no policies are defined, the\n dynamic scaling and predictive scaling features are not used. </p>\n <p>For more information about using dynamic scaling, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-target-tracking.html\">Target tracking\n scaling policies</a> and <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html\">Step and simple scaling\n policies</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>\n <p>For more information about using predictive scaling, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-predictive-scaling.html\">Predictive\n scaling for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>\n <p>You can view the scaling policies for an Auto Scaling group using the <a>DescribePolicies</a> API call. If you are no longer using a scaling policy,\n you can delete it by calling the <a>DeletePolicy</a> API.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PutScalingPolicyType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"PolicyName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the policy.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"PolicyType": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen64",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One of the following policy types: </p>\n <ul>\n <li>\n <p>\n <code>TargetTrackingScaling</code>\n </p>\n </li>\n <li>\n <p>\n <code>StepScaling</code>\n </p>\n </li>\n <li>\n <p>\n <code>SimpleScaling</code> (default)</p>\n </li>\n <li>\n <p>\n <code>PredictiveScaling</code>\n </p>\n </li>\n </ul>"
|
|
}
|
|
},
|
|
"AdjustmentType": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Specifies how the scaling adjustment is interpreted (for example, an absolute number\n or a percentage). The valid values are <code>ChangeInCapacity</code>,\n <code>ExactCapacity</code>, and <code>PercentChangeInCapacity</code>.</p>\n <p>Required if the policy type is <code>StepScaling</code> or <code>SimpleScaling</code>.\n For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html#as-scaling-adjustment\">Scaling adjustment types</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"MinAdjustmentStep": {
|
|
"target": "com.amazonaws.autoscaling#MinAdjustmentStep",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Available for backward compatibility. Use <code>MinAdjustmentMagnitude</code>\n instead.</p>"
|
|
}
|
|
},
|
|
"MinAdjustmentMagnitude": {
|
|
"target": "com.amazonaws.autoscaling#MinAdjustmentMagnitude",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The minimum value to scale by when the adjustment type is\n <code>PercentChangeInCapacity</code>. For example, suppose that you create a step\n scaling policy to scale out an Auto Scaling group by 25 percent and you specify a\n <code>MinAdjustmentMagnitude</code> of 2. If the group has 4 instances and the\n scaling policy is performed, 25 percent of 4 is 1. However, because you specified a\n <code>MinAdjustmentMagnitude</code> of 2, Amazon EC2 Auto Scaling scales out the group by 2\n instances.</p>\n <p>Valid only if the policy type is <code>StepScaling</code> or\n <code>SimpleScaling</code>. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html#as-scaling-adjustment\">Scaling adjustment types</a> in the <i>Amazon EC2 Auto Scaling User\n Guide</i>.</p>\n <note>\n <p>Some Auto Scaling groups use instance weights. In this case, set the\n <code>MinAdjustmentMagnitude</code> to a value that is at least as large as your\n largest instance weight.</p>\n </note>"
|
|
}
|
|
},
|
|
"ScalingAdjustment": {
|
|
"target": "com.amazonaws.autoscaling#PolicyIncrement",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The amount by which to scale, based on the specified adjustment type. A positive value\n adds to the current capacity while a negative number removes from the current capacity.\n For exact capacity, you must specify a positive value.</p>\n <p>Required if the policy type is <code>SimpleScaling</code>. (Not used with any other\n policy type.) </p>"
|
|
}
|
|
},
|
|
"Cooldown": {
|
|
"target": "com.amazonaws.autoscaling#Cooldown",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The duration of the policy's cooldown period, in seconds. When a cooldown period is\n specified here, it overrides the default cooldown period defined for the Auto Scaling\n group.</p>\n <p>Valid only if the policy type is <code>SimpleScaling</code>. For more information, see\n <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html\">Scaling\n cooldowns for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"MetricAggregationType": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen32",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The aggregation type for the CloudWatch metrics. The valid values are <code>Minimum</code>,\n <code>Maximum</code>, and <code>Average</code>. If the aggregation type is null, the\n value is treated as <code>Average</code>.</p>\n <p>Valid only if the policy type is <code>StepScaling</code>.</p>"
|
|
}
|
|
},
|
|
"StepAdjustments": {
|
|
"target": "com.amazonaws.autoscaling#StepAdjustments",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A set of adjustments that enable you to scale based on the size of the alarm\n breach.</p>\n <p>Required if the policy type is <code>StepScaling</code>. (Not used with any other\n policy type.) </p>"
|
|
}
|
|
},
|
|
"EstimatedInstanceWarmup": {
|
|
"target": "com.amazonaws.autoscaling#EstimatedInstanceWarmup",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The estimated time, in seconds, until a newly launched instance can contribute to the\n CloudWatch metrics. If not provided, the default is to use the value from the default cooldown\n period for the Auto Scaling group.</p>\n <p>Valid only if the policy type is <code>TargetTrackingScaling</code> or\n <code>StepScaling</code>.</p>"
|
|
}
|
|
},
|
|
"TargetTrackingConfiguration": {
|
|
"target": "com.amazonaws.autoscaling#TargetTrackingConfiguration",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A target tracking scaling policy. Provides support for predefined or customized\n metrics.</p>\n <p>The following predefined metrics are available:</p>\n <ul>\n <li>\n <p>\n <code>ASGAverageCPUUtilization</code>\n </p>\n </li>\n <li>\n <p>\n <code>ASGAverageNetworkIn</code>\n </p>\n </li>\n <li>\n <p>\n <code>ASGAverageNetworkOut</code>\n </p>\n </li>\n <li>\n <p>\n <code>ALBRequestCountPerTarget</code>\n </p>\n </li>\n </ul>\n <p>If you specify <code>ALBRequestCountPerTarget</code> for the metric, you must specify\n the <code>ResourceLabel</code> parameter with the\n <code>PredefinedMetricSpecification</code>.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_TargetTrackingConfiguration.html\">TargetTrackingConfiguration</a> in the <i>Amazon EC2 Auto Scaling API\n Reference</i>.</p>\n <p>Required if the policy type is <code>TargetTrackingScaling</code>.</p>"
|
|
}
|
|
},
|
|
"Enabled": {
|
|
"target": "com.amazonaws.autoscaling#ScalingPolicyEnabled",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates whether the scaling policy is enabled or disabled. The default is enabled.\n For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enable-disable-scaling-policy.html\">Disabling a\n scaling policy for an Auto Scaling group</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"PredictiveScalingConfiguration": {
|
|
"target": "com.amazonaws.autoscaling#PredictiveScalingConfiguration",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A predictive scaling policy. Provides support for only predefined metrics.</p>\n <p>Predictive scaling works with CPU utilization, network in/out, and the Application\n Load Balancer request count.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_PredictiveScalingConfiguration.html\">PredictiveScalingConfiguration</a> in the <i>Amazon EC2 Auto Scaling API\n Reference</i>.</p>\n <p>Required if the policy type is <code>PredictiveScaling</code>.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PutScheduledUpdateGroupAction": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#PutScheduledUpdateGroupActionType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#AlreadyExistsFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#LimitExceededFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Creates or updates a scheduled scaling action for an Auto Scaling group.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/schedule_time.html\">Scheduled scaling</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>\n <p>You can view the scheduled actions for an Auto Scaling group using the <a>DescribeScheduledActions</a> API call. If you are no longer using a\n scheduled action, you can delete it by calling the <a>DeleteScheduledAction</a> API.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PutScheduledUpdateGroupActionType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"ScheduledActionName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of this scaling action.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Time": {
|
|
"target": "com.amazonaws.autoscaling#TimestampType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>This parameter is no longer used.</p>"
|
|
}
|
|
},
|
|
"StartTime": {
|
|
"target": "com.amazonaws.autoscaling#TimestampType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The date and time for this action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT\n only and in quotes (for example, <code>\"2019-06-01T00:00:00Z\"</code>).</p>\n <p>If you specify <code>Recurrence</code> and <code>StartTime</code>, Amazon EC2 Auto Scaling performs\n the action at this time, and then performs the action based on the specified\n recurrence.</p>\n <p>If you try to schedule your action in the past, Amazon EC2 Auto Scaling returns an error\n message.</p>"
|
|
}
|
|
},
|
|
"EndTime": {
|
|
"target": "com.amazonaws.autoscaling#TimestampType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The date and time for the recurring schedule to end, in UTC.</p>"
|
|
}
|
|
},
|
|
"Recurrence": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The recurring schedule for this action. This format consists of five fields separated\n by white spaces: [Minute] [Hour] [Day_of_Month] [Month_of_Year] [Day_of_Week]. The value\n must be in quotes (for example, <code>\"30 0 1 1,6,12 *\"</code>). For more information\n about this format, see <a href=\"http://crontab.org\">Crontab</a>.</p>\n <p>When <code>StartTime</code> and <code>EndTime</code> are specified with\n <code>Recurrence</code>, they form the boundaries of when the recurring action\n starts and stops.</p>\n <p>Cron expressions use Universal Coordinated Time (UTC) by default.</p>"
|
|
}
|
|
},
|
|
"MinSize": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The minimum size of the Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"MaxSize": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum size of the Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"DesiredCapacity": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The desired capacity is the initial capacity of the Auto Scaling group after the scheduled\n action runs and the capacity it attempts to maintain. It can scale beyond this capacity\n if you add more scaling conditions. </p>"
|
|
}
|
|
},
|
|
"TimeZone": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Specifies the time zone for a cron expression. If a time zone is not provided, UTC is\n used by default. </p>\n <p>Valid values are the canonical names of the IANA time zones, derived from the IANA\n Time Zone Database (such as <code>Etc/GMT+9</code> or <code>Pacific/Tahiti</code>). For\n more information, see <a href=\"https://en.wikipedia.org/wiki/List_of_tz_database_time_zones\">https://en.wikipedia.org/wiki/List_of_tz_database_time_zones</a>.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PutWarmPool": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#PutWarmPoolType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#PutWarmPoolAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#LimitExceededFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Creates or updates a warm pool for the specified Auto Scaling group. A warm pool is a pool of\n pre-initialized EC2 instances that sits alongside the Auto Scaling group. Whenever your\n application needs to scale out, the Auto Scaling group can draw on the warm pool to meet its new\n desired capacity. For more information and example configurations, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html\">Warm pools for\n Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>\n <p>This operation must be called from the Region in which the Auto Scaling group was created.\n This operation cannot be called on an Auto Scaling group that has a mixed instances policy or a\n launch template or launch configuration that requests Spot Instances.</p>\n <p>You can view the instances in the warm pool using the <a>DescribeWarmPool</a> API call. If you are no longer using a warm pool, you can delete it by calling the\n <a>DeleteWarmPool</a> API.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#PutWarmPoolAnswer": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.autoscaling#PutWarmPoolType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"MaxGroupPreparedCapacity": {
|
|
"target": "com.amazonaws.autoscaling#MaxGroupPreparedCapacity",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Specifies the maximum number of instances that are allowed to be in the warm pool or\n in any state except <code>Terminated</code> for the Auto Scaling group. This is an optional\n property. Specify it only if you do not want the warm pool size to be determined by the\n difference between the group's maximum capacity and its desired capacity. </p>\n <important>\n <p>If a value for <code>MaxGroupPreparedCapacity</code> is not specified, Amazon EC2 Auto Scaling\n launches and maintains the difference between the group's maximum capacity and its\n desired capacity. If you specify a value for <code>MaxGroupPreparedCapacity</code>,\n Amazon EC2 Auto Scaling uses the difference between the <code>MaxGroupPreparedCapacity</code> and\n the desired capacity instead. </p>\n <p>The size of the warm pool is dynamic. Only when\n <code>MaxGroupPreparedCapacity</code> and <code>MinSize</code> are set to the\n same value does the warm pool have an absolute size.</p>\n </important>\n <p>If the desired capacity of the Auto Scaling group is higher than the\n <code>MaxGroupPreparedCapacity</code>, the capacity of the warm pool is 0, unless\n you specify a value for <code>MinSize</code>. To remove a value that you previously set,\n include the property but specify -1 for the value. </p>"
|
|
}
|
|
},
|
|
"MinSize": {
|
|
"target": "com.amazonaws.autoscaling#WarmPoolMinSize",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Specifies the minimum number of instances to maintain in the warm pool. This helps you\n to ensure that there is always a certain number of warmed instances available to handle\n traffic spikes. Defaults to 0 if not specified.</p>"
|
|
}
|
|
},
|
|
"PoolState": {
|
|
"target": "com.amazonaws.autoscaling#WarmPoolState",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Sets the instance state to transition to after the lifecycle actions are complete.\n Default is <code>Stopped</code>.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#RecordLifecycleActionHeartbeat": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#RecordLifecycleActionHeartbeatType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#RecordLifecycleActionHeartbeatAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Records a heartbeat for the lifecycle action associated with the specified token or\n instance. This extends the timeout by the length of time defined using the <a>PutLifecycleHook</a> API call.</p>\n\n <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling\n group:</p>\n <ol>\n <li>\n <p>(Optional) Create a Lambda function and a rule that allows CloudWatch Events to\n invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates\n instances.</p>\n </li>\n <li>\n <p>(Optional) Create a notification target and an IAM role. The target can be\n either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to\n publish lifecycle notifications to the target.</p>\n </li>\n <li>\n <p>Create the lifecycle hook. Specify whether the hook is used when the instances\n launch or terminate.</p>\n </li>\n <li>\n <p>\n <b>If you need more time, record the lifecycle action\n heartbeat to keep the instance in a pending state.</b>\n </p>\n </li>\n <li>\n <p>If you finish before the timeout period ends, complete the lifecycle\n action.</p>\n </li>\n </ol>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html\">Amazon EC2 Auto Scaling lifecycle\n hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#RecordLifecycleActionHeartbeatAnswer": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.autoscaling#RecordLifecycleActionHeartbeatType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"LifecycleHookName": {
|
|
"target": "com.amazonaws.autoscaling#AsciiStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the lifecycle hook.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#ResourceName",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"LifecycleActionToken": {
|
|
"target": "com.amazonaws.autoscaling#LifecycleActionToken",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A token that uniquely identifies a specific lifecycle action associated with an\n instance. Amazon EC2 Auto Scaling sends this token to the notification target that you specified when\n you created the lifecycle hook.</p>"
|
|
}
|
|
},
|
|
"InstanceId": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen19",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the instance.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#RefreshInstanceWarmup": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {},
|
|
"smithy.api#range": {
|
|
"min": 0
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#RefreshPreferences": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MinHealthyPercentage": {
|
|
"target": "com.amazonaws.autoscaling#IntPercent",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The amount of capacity in the Auto Scaling group that must remain healthy during an instance\n refresh to allow the operation to continue, as a percentage of the desired capacity of\n the Auto Scaling group (rounded up to the nearest integer). The default is <code>90</code>.\n </p>"
|
|
}
|
|
},
|
|
"InstanceWarmup": {
|
|
"target": "com.amazonaws.autoscaling#RefreshInstanceWarmup",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The number of seconds until a newly launched instance is configured and ready to use.\n During this time, Amazon EC2 Auto Scaling does not immediately move on to the next replacement. The\n default is to use the value for the health check grace period defined for the\n group.</p>"
|
|
}
|
|
},
|
|
"CheckpointPercentages": {
|
|
"target": "com.amazonaws.autoscaling#CheckpointPercentages",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Threshold values for each checkpoint in ascending order. Each number must be unique.\n To replace all instances in the Auto Scaling group, the last number in the array must be\n <code>100</code>.</p>\n <p>For usage examples, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-adding-checkpoints-instance-refresh.html\">Adding\n checkpoints to an instance refresh</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"CheckpointDelay": {
|
|
"target": "com.amazonaws.autoscaling#CheckpointDelay",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The amount of time, in seconds, to wait after a checkpoint before continuing. This\n property is optional, but if you specify a value for it, you must also specify a value\n for <code>CheckpointPercentages</code>. If you specify a value for\n <code>CheckpointPercentages</code> and not for <code>CheckpointDelay</code>, the\n <code>CheckpointDelay</code> defaults to <code>3600</code> (1 hour). </p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes information used to start an instance refresh. </p>\n <p>All properties are optional. However, if you specify a value for\n <code>CheckpointDelay</code>, you must also provide a value for\n <code>CheckpointPercentages</code>. </p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#RefreshStrategy": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "Rolling",
|
|
"name": "Rolling"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ResourceContentionFault": {
|
|
"type": "structure",
|
|
"members": {
|
|
"message": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p></p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,\n instance, or load balancer).</p>",
|
|
"smithy.api#error": "server",
|
|
"smithy.api#httpError": 500
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ResourceInUseFault": {
|
|
"type": "structure",
|
|
"members": {
|
|
"message": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p></p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The operation can't be performed because the resource is in use.</p>",
|
|
"smithy.api#error": "client",
|
|
"smithy.api#httpError": 400
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ResourceName": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#length": {
|
|
"min": 1,
|
|
"max": 1600
|
|
},
|
|
"smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ResumeProcesses": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#ScalingProcessQuery"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceInUseFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Resumes the specified suspended auto scaling processes, or all suspended process, for\n the specified Auto Scaling group.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html\">Suspending and\n resuming scaling processes</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ScalingActivityInProgressFault": {
|
|
"type": "structure",
|
|
"members": {
|
|
"message": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p></p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The operation can't be performed because there are scaling activities in\n progress.</p>",
|
|
"smithy.api#error": "client",
|
|
"smithy.api#httpError": 400
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ScalingActivityStatusCode": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "PendingSpotBidPlacement",
|
|
"name": "PendingSpotBidPlacement"
|
|
},
|
|
{
|
|
"value": "WaitingForSpotInstanceRequestId",
|
|
"name": "WaitingForSpotInstanceRequestId"
|
|
},
|
|
{
|
|
"value": "WaitingForSpotInstanceId",
|
|
"name": "WaitingForSpotInstanceId"
|
|
},
|
|
{
|
|
"value": "WaitingForInstanceId",
|
|
"name": "WaitingForInstanceId"
|
|
},
|
|
{
|
|
"value": "PreInService",
|
|
"name": "PreInService"
|
|
},
|
|
{
|
|
"value": "InProgress",
|
|
"name": "InProgress"
|
|
},
|
|
{
|
|
"value": "WaitingForELBConnectionDraining",
|
|
"name": "WaitingForELBConnectionDraining"
|
|
},
|
|
{
|
|
"value": "MidLifecycleAction",
|
|
"name": "MidLifecycleAction"
|
|
},
|
|
{
|
|
"value": "WaitingForInstanceWarmup",
|
|
"name": "WaitingForInstanceWarmup"
|
|
},
|
|
{
|
|
"value": "Successful",
|
|
"name": "Successful"
|
|
},
|
|
{
|
|
"value": "Failed",
|
|
"name": "Failed"
|
|
},
|
|
{
|
|
"value": "Cancelled",
|
|
"name": "Cancelled"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ScalingPolicies": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#ScalingPolicy"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ScalingPolicy": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"PolicyName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the scaling policy.</p>"
|
|
}
|
|
},
|
|
"PolicyARN": {
|
|
"target": "com.amazonaws.autoscaling#ResourceName",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the policy.</p>"
|
|
}
|
|
},
|
|
"PolicyType": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen64",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One of the following policy types: </p>\n <ul>\n <li>\n <p>\n <code>TargetTrackingScaling</code>\n </p>\n </li>\n <li>\n <p>\n <code>StepScaling</code>\n </p>\n </li>\n <li>\n <p>\n <code>SimpleScaling</code> (default)</p>\n </li>\n <li>\n <p>\n <code>PredictiveScaling</code>\n </p>\n </li>\n </ul>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-target-tracking.html\">Target tracking\n scaling policies</a> and <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html\">Step and simple scaling\n policies</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"AdjustmentType": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Specifies how the scaling adjustment is interpreted (for example, an absolute number\n or a percentage). The valid values are <code>ChangeInCapacity</code>,\n <code>ExactCapacity</code>, and <code>PercentChangeInCapacity</code>.</p>"
|
|
}
|
|
},
|
|
"MinAdjustmentStep": {
|
|
"target": "com.amazonaws.autoscaling#MinAdjustmentStep",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Available for backward compatibility. Use <code>MinAdjustmentMagnitude</code>\n instead.</p>"
|
|
}
|
|
},
|
|
"MinAdjustmentMagnitude": {
|
|
"target": "com.amazonaws.autoscaling#MinAdjustmentMagnitude",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The minimum value to scale by when the adjustment type is\n <code>PercentChangeInCapacity</code>. </p>"
|
|
}
|
|
},
|
|
"ScalingAdjustment": {
|
|
"target": "com.amazonaws.autoscaling#PolicyIncrement",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The amount by which to scale, based on the specified adjustment type. A positive value\n adds to the current capacity while a negative number removes from the current\n capacity.</p>"
|
|
}
|
|
},
|
|
"Cooldown": {
|
|
"target": "com.amazonaws.autoscaling#Cooldown",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The duration of the policy's cooldown period, in seconds.</p>"
|
|
}
|
|
},
|
|
"StepAdjustments": {
|
|
"target": "com.amazonaws.autoscaling#StepAdjustments",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A set of adjustments that enable you to scale based on the size of the alarm\n breach.</p>"
|
|
}
|
|
},
|
|
"MetricAggregationType": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen32",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The aggregation type for the CloudWatch metrics. The valid values are <code>Minimum</code>,\n <code>Maximum</code>, and <code>Average</code>.</p>"
|
|
}
|
|
},
|
|
"EstimatedInstanceWarmup": {
|
|
"target": "com.amazonaws.autoscaling#EstimatedInstanceWarmup",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The estimated time, in seconds, until a newly launched instance can contribute to the\n CloudWatch metrics.</p>"
|
|
}
|
|
},
|
|
"Alarms": {
|
|
"target": "com.amazonaws.autoscaling#Alarms",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The CloudWatch alarms related to the policy.</p>"
|
|
}
|
|
},
|
|
"TargetTrackingConfiguration": {
|
|
"target": "com.amazonaws.autoscaling#TargetTrackingConfiguration",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A target tracking scaling policy.</p>"
|
|
}
|
|
},
|
|
"Enabled": {
|
|
"target": "com.amazonaws.autoscaling#ScalingPolicyEnabled",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates whether the policy is enabled (<code>true</code>) or disabled\n (<code>false</code>).</p>"
|
|
}
|
|
},
|
|
"PredictiveScalingConfiguration": {
|
|
"target": "com.amazonaws.autoscaling#PredictiveScalingConfiguration",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A predictive scaling policy.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes a scaling policy.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ScalingPolicyEnabled": {
|
|
"type": "boolean",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ScalingProcessQuery": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"ScalingProcesses": {
|
|
"target": "com.amazonaws.autoscaling#ProcessNames",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One or more of the following processes:</p>\n <ul>\n <li>\n <p>\n <code>Launch</code>\n </p>\n </li>\n <li>\n <p>\n <code>Terminate</code>\n </p>\n </li>\n <li>\n <p>\n <code>AddToLoadBalancer</code>\n </p>\n </li>\n <li>\n <p>\n <code>AlarmNotification</code>\n </p>\n </li>\n <li>\n <p>\n <code>AZRebalance</code>\n </p>\n </li>\n <li>\n <p>\n <code>HealthCheck</code>\n </p>\n </li>\n <li>\n <p>\n <code>InstanceRefresh</code>\n </p>\n </li>\n <li>\n <p>\n <code>ReplaceUnhealthy</code>\n </p>\n </li>\n <li>\n <p>\n <code>ScheduledActions</code>\n </p>\n </li>\n </ul>\n <p>If you omit this parameter, all processes are specified.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ScheduledActionNames": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ScheduledActionsType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ScheduledUpdateGroupActions": {
|
|
"target": "com.amazonaws.autoscaling#ScheduledUpdateGroupActions",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The scheduled actions.</p>"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n <code>NextToken</code> value when requesting the next set of items. This value is\n null when there are no more items to return.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ScheduledUpdateGroupAction": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"ScheduledActionName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the scheduled action.</p>"
|
|
}
|
|
},
|
|
"ScheduledActionARN": {
|
|
"target": "com.amazonaws.autoscaling#ResourceName",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the scheduled action.</p>"
|
|
}
|
|
},
|
|
"Time": {
|
|
"target": "com.amazonaws.autoscaling#TimestampType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>This parameter is no longer used.</p>"
|
|
}
|
|
},
|
|
"StartTime": {
|
|
"target": "com.amazonaws.autoscaling#TimestampType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The date and time in UTC for this action to start. For example,\n <code>\"2019-06-01T00:00:00Z\"</code>.\n </p>"
|
|
}
|
|
},
|
|
"EndTime": {
|
|
"target": "com.amazonaws.autoscaling#TimestampType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The date and time in UTC for the recurring schedule to end. For example,\n <code>\"2019-06-01T00:00:00Z\"</code>.\n </p>"
|
|
}
|
|
},
|
|
"Recurrence": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The recurring schedule for the action, in Unix cron syntax format.</p>\n <p>When <code>StartTime</code> and <code>EndTime</code> are specified with\n <code>Recurrence</code>, they form the boundaries of when the recurring action\n starts and stops.</p>"
|
|
}
|
|
},
|
|
"MinSize": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The minimum size of the Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"MaxSize": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum size of the Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"DesiredCapacity": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The desired capacity is the initial capacity of the Auto Scaling group after the scheduled\n action runs and the capacity it attempts to maintain.</p>"
|
|
}
|
|
},
|
|
"TimeZone": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The time zone for the cron expression.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes a scheduled scaling\n action.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ScheduledUpdateGroupActionRequest": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ScheduledActionName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the scaling action.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"StartTime": {
|
|
"target": "com.amazonaws.autoscaling#TimestampType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The date and time for the action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT\n only and in quotes (for example, <code>\"2019-06-01T00:00:00Z\"</code>).</p>\n <p>If you specify <code>Recurrence</code> and <code>StartTime</code>, Amazon EC2 Auto Scaling performs\n the action at this time, and then performs the action based on the specified\n recurrence.</p>\n <p>If you try to schedule the action in the past, Amazon EC2 Auto Scaling returns an error\n message.</p>"
|
|
}
|
|
},
|
|
"EndTime": {
|
|
"target": "com.amazonaws.autoscaling#TimestampType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The date and time for the recurring schedule to end, in UTC.</p>"
|
|
}
|
|
},
|
|
"Recurrence": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The recurring schedule for the action, in Unix cron syntax format. This format\n consists of five fields separated by white spaces: [Minute] [Hour] [Day_of_Month]\n [Month_of_Year] [Day_of_Week]. The value must be in quotes (for example, <code>\"30 0 1\n 1,6,12 *\"</code>). For more information about this format, see <a href=\"http://crontab.org\">Crontab</a>.</p>\n <p>When <code>StartTime</code> and <code>EndTime</code> are specified with\n <code>Recurrence</code>, they form the boundaries of when the recurring action\n starts and stops.</p>\n <p>Cron expressions use Universal Coordinated Time (UTC) by default.</p>"
|
|
}
|
|
},
|
|
"MinSize": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The minimum size of the Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"MaxSize": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum size of the Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"DesiredCapacity": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The desired capacity is the initial capacity of the Auto Scaling group after the scheduled\n action runs and the capacity it attempts to maintain.</p>"
|
|
}
|
|
},
|
|
"TimeZone": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Specifies the time zone for a cron expression. If a time zone is not provided, UTC is\n used by default. </p>\n <p>Valid values are the canonical names of the IANA time zones, derived from the IANA\n Time Zone Database (such as <code>Etc/GMT+9</code> or <code>Pacific/Tahiti</code>). For\n more information, see <a href=\"https://en.wikipedia.org/wiki/List_of_tz_database_time_zones\">https://en.wikipedia.org/wiki/List_of_tz_database_time_zones</a>.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes information used for one or more scheduled scaling action updates in a <a>BatchPutScheduledUpdateGroupAction</a> operation.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ScheduledUpdateGroupActionRequests": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#ScheduledUpdateGroupActionRequest"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ScheduledUpdateGroupActions": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#ScheduledUpdateGroupAction"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#SecurityGroups": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#XmlString"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ServiceLinkedRoleFailure": {
|
|
"type": "structure",
|
|
"members": {
|
|
"message": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255"
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The service-linked role is not yet ready for use.</p>",
|
|
"smithy.api#error": "server",
|
|
"smithy.api#httpError": 500
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#SetDesiredCapacity": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#SetDesiredCapacityType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ScalingActivityInProgressFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Sets the size of the specified Auto Scaling group.</p>\n <p>If a scale-in activity occurs as a result of a new <code>DesiredCapacity</code> value\n that is lower than the current size of the group, the Auto Scaling group uses its termination\n policy to determine which instances to terminate. </p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-manual-scaling.html\">Manual scaling</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#SetDesiredCapacityType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"DesiredCapacity": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The desired capacity is the initial capacity of the Auto Scaling group after this operation\n completes and the capacity it attempts to maintain.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"HonorCooldown": {
|
|
"target": "com.amazonaws.autoscaling#HonorCooldown",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating\n a scaling activity to set your Auto Scaling group to its new capacity. By default, Amazon EC2 Auto Scaling does\n not honor the cooldown period during manual scaling activities.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#SetInstanceHealth": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#SetInstanceHealthQuery"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Sets the health status of the specified instance.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html\">Health checks for Auto Scaling\n instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#SetInstanceHealthQuery": {
|
|
"type": "structure",
|
|
"members": {
|
|
"InstanceId": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen19",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the instance.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"HealthStatus": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen32",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The health status of the instance. Set to <code>Healthy</code> to have the instance\n remain in service. Set to <code>Unhealthy</code> to have the instance be out of service.\n Amazon EC2 Auto Scaling terminates and replaces the unhealthy instance.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"ShouldRespectGracePeriod": {
|
|
"target": "com.amazonaws.autoscaling#ShouldRespectGracePeriod",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>If the Auto Scaling group of the specified instance has a <code>HealthCheckGracePeriod</code>\n specified for the group, by default, this call respects the grace period. Set this to\n <code>False</code>, to have the call not respect the grace period associated with\n the group.</p>\n \n <p>For more information about the health check grace\n period, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CreateAutoScalingGroup.html\">CreateAutoScalingGroup</a> in the <i>Amazon EC2 Auto Scaling API\n Reference</i>.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#SetInstanceProtection": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#SetInstanceProtectionQuery"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#SetInstanceProtectionAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#LimitExceededFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Updates the instance protection settings of the specified instances. This operation\n cannot be called on instances in a warm pool.</p>\n <p>For more information about preventing instances that are part of an Auto Scaling group from\n terminating on scale in, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection\">Instance scale-in protection</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>\n <p>If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call\n fails.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#SetInstanceProtectionAnswer": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"com.amazonaws.autoscaling#SetInstanceProtectionQuery": {
|
|
"type": "structure",
|
|
"members": {
|
|
"InstanceIds": {
|
|
"target": "com.amazonaws.autoscaling#InstanceIds",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One or more instance IDs. You can specify up to 50 instances.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"ProtectedFromScaleIn": {
|
|
"target": "com.amazonaws.autoscaling#ProtectedFromScaleIn",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling\n in.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ShouldDecrementDesiredCapacity": {
|
|
"type": "boolean",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#ShouldRespectGracePeriod": {
|
|
"type": "boolean",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#SpotInstancePools": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#SpotPrice": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#length": {
|
|
"min": 1,
|
|
"max": 255
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#StartInstanceRefresh": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#StartInstanceRefreshType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#StartInstanceRefreshAnswer"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#InstanceRefreshInProgressFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#LimitExceededFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Starts a new instance refresh operation, which triggers a rolling replacement of\n previously launched instances in the Auto Scaling group with a new group of instances.</p>\n <p>If successful, this call creates a new instance refresh request with a unique ID that\n you can use to track its progress. To query its status, call the <a>DescribeInstanceRefreshes</a> API. To describe the instance refreshes that\n have already run, call the <a>DescribeInstanceRefreshes</a> API. To cancel an\n instance refresh operation in progress, use the <a>CancelInstanceRefresh</a>\n API. </p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html\">Replacing Auto Scaling instances\n based on an instance refresh</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#StartInstanceRefreshAnswer": {
|
|
"type": "structure",
|
|
"members": {
|
|
"InstanceRefreshId": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A unique ID for tracking the progress of the request.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#StartInstanceRefreshType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Strategy": {
|
|
"target": "com.amazonaws.autoscaling#RefreshStrategy",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The strategy to use for the instance refresh. The only valid value is\n <code>Rolling</code>.</p>\n <p>A rolling update is an update that is applied to all instances in an Auto Scaling group until\n all instances have been updated. A rolling update can fail due to failed health checks\n or if instances are on standby or are protected from scale in. If the rolling update\n process fails, any instances that were already replaced are not rolled back to their\n previous configuration. </p>"
|
|
}
|
|
},
|
|
"Preferences": {
|
|
"target": "com.amazonaws.autoscaling#RefreshPreferences",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Set of preferences associated with the instance refresh request.</p>\n <p>If not provided, the default values are used. For <code>MinHealthyPercentage</code>,\n the default value is <code>90</code>. For <code>InstanceWarmup</code>, the default is to\n use the value specified for the health check grace period for the Auto Scaling group.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_RefreshPreferences.html\">RefreshPreferences</a> in the <i>Amazon EC2 Auto Scaling API\n Reference</i>.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#StepAdjustment": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MetricIntervalLowerBound": {
|
|
"target": "com.amazonaws.autoscaling#MetricScale",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The lower bound for the difference between the alarm threshold and the CloudWatch metric. If\n the metric value is above the breach threshold, the lower bound is inclusive (the metric\n must be greater than or equal to the threshold plus the lower bound). Otherwise, it is\n exclusive (the metric must be greater than the threshold plus the lower bound). A null\n value indicates negative infinity.</p>"
|
|
}
|
|
},
|
|
"MetricIntervalUpperBound": {
|
|
"target": "com.amazonaws.autoscaling#MetricScale",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The upper bound for the difference between the alarm threshold and the CloudWatch metric. If\n the metric value is above the breach threshold, the upper bound is exclusive (the metric\n must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the\n metric must be less than or equal to the threshold plus the upper bound). A null value\n indicates positive infinity.</p>\n <p>The upper bound must be greater than the lower bound.</p>"
|
|
}
|
|
},
|
|
"ScalingAdjustment": {
|
|
"target": "com.amazonaws.autoscaling#PolicyIncrement",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The amount by which to scale, based on the specified adjustment type. A positive value\n adds to the current capacity while a negative number removes from the current\n capacity.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes information used to create a step adjustment for a step scaling\n policy.</p>\n <p>For the following examples, suppose that you have an alarm with a breach threshold of\n 50:</p>\n <ul>\n <li>\n <p>To trigger the adjustment when the metric is greater than or equal to 50 and\n less than 60, specify a lower bound of 0 and an upper bound of 10.</p>\n </li>\n <li>\n <p>To trigger the adjustment when the metric is greater than 40 and less than or\n equal to 50, specify a lower bound of -10 and an upper bound of 0.</p>\n </li>\n </ul>\n <p>There are a few rules for the step adjustments for your step policy:</p>\n <ul>\n <li>\n <p>The ranges of your step adjustments can't overlap or have a gap.</p>\n </li>\n <li>\n <p>At most, one step adjustment can have a null lower bound. If one step\n adjustment has a negative lower bound, then there must be a step adjustment with\n a null lower bound.</p>\n </li>\n <li>\n <p>At most, one step adjustment can have a null upper bound. If one step\n adjustment has a positive upper bound, then there must be a step adjustment with\n a null upper bound.</p>\n </li>\n <li>\n <p>The upper and lower bound can't be null in the same step adjustment.</p>\n </li>\n </ul>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html#as-scaling-steps\">Step\n adjustments</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#StepAdjustments": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#StepAdjustment"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#SuspendProcesses": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#ScalingProcessQuery"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceInUseFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Suspends the specified auto scaling processes, or all processes, for the specified\n Auto Scaling group.</p>\n <p>If you suspend either the <code>Launch</code> or <code>Terminate</code> process types,\n it can prevent other process types from functioning properly. For more information, see\n <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html\">Suspending and\n resuming scaling processes</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>\n <p>To resume processes that have been suspended, call the <a>ResumeProcesses</a> API.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#SuspendedProcess": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ProcessName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the suspended process.</p>"
|
|
}
|
|
},
|
|
"SuspensionReason": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The reason that the process was suspended.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes an auto scaling process that has been suspended.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html#process-types\">Scaling processes</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#SuspendedProcesses": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#SuspendedProcess"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#Tag": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ResourceId": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the group.</p>"
|
|
}
|
|
},
|
|
"ResourceType": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The type of resource. The only supported value is\n <code>auto-scaling-group</code>.</p>"
|
|
}
|
|
},
|
|
"Key": {
|
|
"target": "com.amazonaws.autoscaling#TagKey",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The tag key.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Value": {
|
|
"target": "com.amazonaws.autoscaling#TagValue",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The tag value.</p>"
|
|
}
|
|
},
|
|
"PropagateAtLaunch": {
|
|
"target": "com.amazonaws.autoscaling#PropagateAtLaunch",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Determines whether the tag is added to new instances as they are launched in the\n group.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes a tag for an Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#TagDescription": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ResourceId": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the group.</p>"
|
|
}
|
|
},
|
|
"ResourceType": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The type of resource. The only supported value is\n <code>auto-scaling-group</code>.</p>"
|
|
}
|
|
},
|
|
"Key": {
|
|
"target": "com.amazonaws.autoscaling#TagKey",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The tag key.</p>"
|
|
}
|
|
},
|
|
"Value": {
|
|
"target": "com.amazonaws.autoscaling#TagValue",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The tag value.</p>"
|
|
}
|
|
},
|
|
"PropagateAtLaunch": {
|
|
"target": "com.amazonaws.autoscaling#PropagateAtLaunch",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Determines whether the tag is added to new instances as they are launched in the\n group.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes a tag for an Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#TagDescriptionList": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#TagDescription"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#TagKey": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#length": {
|
|
"min": 1,
|
|
"max": 128
|
|
},
|
|
"smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#TagValue": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#length": {
|
|
"min": 0,
|
|
"max": 256
|
|
},
|
|
"smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#Tags": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#Tag"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#TagsType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Tags": {
|
|
"target": "com.amazonaws.autoscaling#TagDescriptionList",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One or more tags.</p>"
|
|
}
|
|
},
|
|
"NextToken": {
|
|
"target": "com.amazonaws.autoscaling#XmlString",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n <code>NextToken</code> value when requesting the next set of items. This value is\n null when there are no more items to return.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#TargetGroupARNs": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen511"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#TargetTrackingConfiguration": {
|
|
"type": "structure",
|
|
"members": {
|
|
"PredefinedMetricSpecification": {
|
|
"target": "com.amazonaws.autoscaling#PredefinedMetricSpecification",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A predefined metric. You must specify either a predefined metric or a customized\n metric.</p>"
|
|
}
|
|
},
|
|
"CustomizedMetricSpecification": {
|
|
"target": "com.amazonaws.autoscaling#CustomizedMetricSpecification",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A customized metric. You must specify either a predefined metric or a customized\n metric.</p>"
|
|
}
|
|
},
|
|
"TargetValue": {
|
|
"target": "com.amazonaws.autoscaling#MetricScale",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The target value for the metric.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"DisableScaleIn": {
|
|
"target": "com.amazonaws.autoscaling#DisableScaleIn",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates whether scaling in by the target tracking scaling policy is disabled. If\n scaling in is disabled, the target tracking scaling policy doesn't remove instances from\n the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from\n the Auto Scaling group. The default is <code>false</code>.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Represents a target tracking scaling policy configuration to use with Amazon EC2 Auto Scaling.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#TerminateInstanceInAutoScalingGroup": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#TerminateInstanceInAutoScalingGroupType"
|
|
},
|
|
"output": {
|
|
"target": "com.amazonaws.autoscaling#ActivityType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ScalingActivityInProgressFault"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Terminates the specified instance and optionally adjusts the desired group size. This\n operation cannot be called on instances in a warm pool.</p>\n <p>This call simply makes a termination request. The instance is not terminated\n immediately. When an instance is terminated, the instance status changes to\n <code>terminated</code>. You can't connect to or start an instance after you've\n terminated it.</p>\n <p>If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches\n instances to replace the ones that are terminated. </p>\n <p>By default, Amazon EC2 Auto Scaling balances instances across all Availability Zones. If you\n decrement the desired capacity, your Auto Scaling group can become unbalanced between\n Availability Zones. Amazon EC2 Auto Scaling tries to rebalance the group, and rebalancing might\n terminate instances in other zones. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-benefits.html#AutoScalingBehavior.InstanceUsage\">Rebalancing activities</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#TerminateInstanceInAutoScalingGroupType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"InstanceId": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen19",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the instance.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"ShouldDecrementDesiredCapacity": {
|
|
"target": "com.amazonaws.autoscaling#ShouldDecrementDesiredCapacity",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates whether terminating the instance also decrements the size of the Auto Scaling\n group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#TerminationPolicies": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen1600"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#TimestampType": {
|
|
"type": "timestamp"
|
|
},
|
|
"com.amazonaws.autoscaling#UpdateAutoScalingGroup": {
|
|
"type": "operation",
|
|
"input": {
|
|
"target": "com.amazonaws.autoscaling#UpdateAutoScalingGroupType"
|
|
},
|
|
"errors": [
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ScalingActivityInProgressFault"
|
|
},
|
|
{
|
|
"target": "com.amazonaws.autoscaling#ServiceLinkedRoleFailure"
|
|
}
|
|
],
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>\n <b>We strongly recommend that all Auto Scaling groups use launch templates to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.</b>\n </p> \n <p>Updates the configuration for\n the specified Auto Scaling group.</p>\n <p>To update an Auto Scaling group, specify the name of the group and the parameter that you want\n to change. Any parameters that you don't specify are not changed by this update request.\n The new settings take effect on any scaling activities after this call returns.\n </p>\n <p>If you associate a new launch configuration or template with an Auto Scaling group, all new\n instances will get the updated configuration. Existing instances continue to run with\n the configuration that they were originally launched with. When you update a group to\n specify a mixed instances policy instead of a launch configuration or template, existing\n instances may be replaced to match the new purchasing options that you specified in the\n policy. For example, if the group currently has 100% On-Demand capacity and the policy\n specifies 50% Spot capacity, this means that half of your instances will be gradually\n terminated and relaunched as Spot Instances. When replacing instances, Amazon EC2 Auto Scaling launches\n new instances before terminating the old ones, so that updating your group does not\n compromise the performance or availability of your application.</p>\n <p>Note the following about changing <code>DesiredCapacity</code>, <code>MaxSize</code>,\n or <code>MinSize</code>:</p>\n <ul>\n <li>\n <p>If a scale-in activity occurs as a result of a new\n <code>DesiredCapacity</code> value that is lower than the current size of\n the group, the Auto Scaling group uses its termination policy to determine which\n instances to terminate.</p>\n </li>\n <li>\n <p>If you specify a new value for <code>MinSize</code> without specifying a value\n for <code>DesiredCapacity</code>, and the new <code>MinSize</code> is larger\n than the current size of the group, this sets the group's\n <code>DesiredCapacity</code> to the new <code>MinSize</code> value.</p>\n </li>\n <li>\n <p>If you specify a new value for <code>MaxSize</code> without specifying a value\n for <code>DesiredCapacity</code>, and the new <code>MaxSize</code> is smaller\n than the current size of the group, this sets the group's\n <code>DesiredCapacity</code> to the new <code>MaxSize</code> value.</p>\n </li>\n </ul>\n <p>To see which parameters have been set, call the <a>DescribeAutoScalingGroups</a> API. To view the scaling policies for an Auto Scaling\n group, call the <a>DescribePolicies</a> API. If the group has scaling\n policies, you can update them by calling the <a>PutScalingPolicy</a>\n API.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#UpdateAutoScalingGroupType": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoScalingGroupName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the Auto Scaling group.</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"LaunchConfigurationName": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the launch configuration. If you specify\n <code>LaunchConfigurationName</code> in your update request, you can't specify\n <code>LaunchTemplate</code> or <code>MixedInstancesPolicy</code>.</p>"
|
|
}
|
|
},
|
|
"LaunchTemplate": {
|
|
"target": "com.amazonaws.autoscaling#LaunchTemplateSpecification",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The launch template and version to use to specify the updates. If you specify\n <code>LaunchTemplate</code> in your update request, you can't specify\n <code>LaunchConfigurationName</code> or <code>MixedInstancesPolicy</code>.</p>"
|
|
}
|
|
},
|
|
"MixedInstancesPolicy": {
|
|
"target": "com.amazonaws.autoscaling#MixedInstancesPolicy",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>An embedded object that specifies a mixed instances policy. When you make changes to\n an existing policy, all optional properties are left unchanged if not specified. For\n more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html\">Auto Scaling groups with multiple\n instance types and purchase options</a> in the <i>Amazon EC2 Auto Scaling User\n Guide</i>.</p>"
|
|
}
|
|
},
|
|
"MinSize": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The minimum size of the Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"MaxSize": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum size of the Auto Scaling group.</p>\n <note>\n <p>With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to\n go above <code>MaxSize</code> to meet your capacity requirements. In this event,\n Amazon EC2 Auto Scaling will never go above <code>MaxSize</code> by more than your largest instance\n weight (weights that define how many units each instance contributes to the desired\n capacity of the group).</p>\n </note>"
|
|
}
|
|
},
|
|
"DesiredCapacity": {
|
|
"target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The desired capacity is the initial capacity of the Auto Scaling group after this operation\n completes and the capacity it attempts to maintain. This number must be greater than or\n equal to the minimum size of the group and less than or equal to the maximum size of the\n group.</p>"
|
|
}
|
|
},
|
|
"DefaultCooldown": {
|
|
"target": "com.amazonaws.autoscaling#Cooldown",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The amount of time, in seconds, after a scaling activity completes before another\n scaling activity can start. The default value is <code>300</code>. This setting applies\n when using simple scaling policies, but not when using other scaling policies or\n scheduled scaling. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html\">Scaling cooldowns for Amazon EC2 Auto Scaling</a>\n in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"AvailabilityZones": {
|
|
"target": "com.amazonaws.autoscaling#AvailabilityZones",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>One or more Availability Zones for the group.</p>"
|
|
}
|
|
},
|
|
"HealthCheckType": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen32",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The service to use for the health checks. The valid values are <code>EC2</code> and\n <code>ELB</code>. If you configure an Auto Scaling group to use ELB health checks, it\n considers the instance unhealthy if it fails either the EC2 status checks or the load\n balancer health checks.</p>"
|
|
}
|
|
},
|
|
"HealthCheckGracePeriod": {
|
|
"target": "com.amazonaws.autoscaling#HealthCheckGracePeriod",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status\n of an EC2 instance that has come into service. The default value is <code>0</code>. For\n more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html#health-check-grace-period\">Health\n check grace period</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>\n <p>Conditional: Required if you are adding an <code>ELB</code> health check.</p>"
|
|
}
|
|
},
|
|
"PlacementGroup": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of an existing placement group into which to launch your instances, if any. A\n placement group is a logical grouping of instances within a single Availability Zone.\n You cannot specify multiple Availability Zones and a placement group. For more\n information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html\">Placement Groups</a> in the\n <i>Amazon EC2 User Guide for Linux Instances</i>.</p>"
|
|
}
|
|
},
|
|
"VPCZoneIdentifier": {
|
|
"target": "com.amazonaws.autoscaling#XmlStringMaxLen2047",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A comma-separated list of subnet IDs for a virtual private cloud (VPC). If you specify\n <code>VPCZoneIdentifier</code> with <code>AvailabilityZones</code>, the subnets that\n you specify for this parameter must reside in those Availability Zones.</p>"
|
|
}
|
|
},
|
|
"TerminationPolicies": {
|
|
"target": "com.amazonaws.autoscaling#TerminationPolicies",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A policy or a list of policies that are used to select the instances to terminate. The\n policies are executed in the order that you list them. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html\">Controlling which Auto Scaling instances terminate during scale in</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"NewInstancesProtectedFromScaleIn": {
|
|
"target": "com.amazonaws.autoscaling#InstanceProtected",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling\n when scaling in. For more information about preventing instances from terminating on\n scale in, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection\">Instance scale-in protection</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"ServiceLinkedRoleARN": {
|
|
"target": "com.amazonaws.autoscaling#ResourceName",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to\n call other AWS services on your behalf. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-service-linked-role.html\">Service-linked\n roles</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"MaxInstanceLifetime": {
|
|
"target": "com.amazonaws.autoscaling#MaxInstanceLifetime",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum amount of time, in seconds, that an instance can be in service. The\n default is null. If specified, the value must be either 0 or a number equal to or\n greater than 86,400 seconds (1 day). To clear a previously set value, specify a new\n value of 0. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html\">Replacing Auto Scaling\n instances based on maximum instance lifetime</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
},
|
|
"CapacityRebalance": {
|
|
"target": "com.amazonaws.autoscaling#CapacityRebalanceEnabled",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Enables or disables Capacity Rebalancing. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-rebalance.html\">Amazon EC2 Auto Scaling Capacity Rebalancing</a> in the\n <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#Values": {
|
|
"type": "list",
|
|
"member": {
|
|
"target": "com.amazonaws.autoscaling#XmlString"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#WarmPoolConfiguration": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MaxGroupPreparedCapacity": {
|
|
"target": "com.amazonaws.autoscaling#MaxGroupPreparedCapacity",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum number of instances that are allowed to be in the warm pool or in any\n state except <code>Terminated</code> for the Auto Scaling group.</p>"
|
|
}
|
|
},
|
|
"MinSize": {
|
|
"target": "com.amazonaws.autoscaling#WarmPoolMinSize",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The minimum number of instances to maintain in the warm pool.</p>"
|
|
}
|
|
},
|
|
"PoolState": {
|
|
"target": "com.amazonaws.autoscaling#WarmPoolState",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The instance state to transition to after the lifecycle actions are complete.</p>"
|
|
}
|
|
},
|
|
"Status": {
|
|
"target": "com.amazonaws.autoscaling#WarmPoolStatus",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The status of a warm pool that is marked for deletion.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes a warm pool configuration. </p>"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#WarmPoolMinSize": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {},
|
|
"smithy.api#range": {
|
|
"min": 0
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#WarmPoolSize": {
|
|
"type": "integer",
|
|
"traits": {
|
|
"smithy.api#box": {}
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#WarmPoolState": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "Stopped",
|
|
"name": "Stopped"
|
|
},
|
|
{
|
|
"value": "Running",
|
|
"name": "Running"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#WarmPoolStatus": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#enum": [
|
|
{
|
|
"value": "PendingDelete",
|
|
"name": "PendingDelete"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#XmlString": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#XmlStringMaxLen1023": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#length": {
|
|
"min": 1,
|
|
"max": 1023
|
|
},
|
|
"smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#XmlStringMaxLen1600": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#length": {
|
|
"min": 1,
|
|
"max": 1600
|
|
},
|
|
"smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#XmlStringMaxLen19": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#length": {
|
|
"min": 1,
|
|
"max": 19
|
|
},
|
|
"smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#XmlStringMaxLen2047": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#length": {
|
|
"min": 1,
|
|
"max": 2047
|
|
},
|
|
"smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#XmlStringMaxLen255": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#length": {
|
|
"min": 1,
|
|
"max": 255
|
|
},
|
|
"smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#XmlStringMaxLen32": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#length": {
|
|
"min": 1,
|
|
"max": 32
|
|
},
|
|
"smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#XmlStringMaxLen511": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#length": {
|
|
"min": 1,
|
|
"max": 511
|
|
},
|
|
"smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#XmlStringMaxLen64": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#length": {
|
|
"min": 1,
|
|
"max": 64
|
|
},
|
|
"smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
|
|
}
|
|
},
|
|
"com.amazonaws.autoscaling#XmlStringUserData": {
|
|
"type": "string",
|
|
"traits": {
|
|
"smithy.api#length": {
|
|
"min": 0,
|
|
"max": 21847
|
|
},
|
|
"smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
|
|
}
|
|
}
|
|
}
|
|
}
|