DescribeAdjustmentTypes - Amazon EC2 Auto Scaling
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

DescribeAdjustmentTypes

Describes the available adjustment types for step scaling and simple scaling policies.

The following adjustment types are supported:

  • ChangeInCapacity

  • ExactCapacity

  • PercentChangeInCapacity

Response Elements

The following element is returned by the service.

AdjustmentTypes.member.N

The policy adjustment types.

Type: Array of AdjustmentType objects

Errors

For information about the errors that are common to all actions, see Common Errors.

ResourceContention

You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group, instance, or load balancer).

HTTP Status Code: 500

Examples

Example

This example illustrates one usage of DescribeAdjustmentTypes.

Sample Request

https://autoscaling.amazonaws.com/?Action=DescribeAdjustmentTypes &Version=2011-01-01 &AUTHPARAMS

Sample Response

<DescribeAdjustmentTypesResponse xmlns="https://autoscaling.amazonaws.com/doc/201-01-01/"> <DescribeAdjustmentTypesResult> <AdjustmentTypes> <member> <AdjustmentType>ChangeInCapacity</AdjustmentType> </member> <member> <AdjustmentType>ExactCapacity</AdjustmentType> </member> <member> <AdjustmentType>PercentChangeInCapacity</AdjustmentType> </member> </AdjustmentTypes> </DescribeAdjustmentTypesResult> <ResponseMetadata> <RequestId>7c6e177f-f082-11e1-ac58-3714bEXAMPLE</RequestId> </ResponseMetadata> </DescribeAdjustmentTypesResponse>

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: