describe_adjustment_types

AutoScaling.Client.describe_adjustment_types()

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

The following adjustment types are supported:

  • ChangeInCapacity
  • ExactCapacity
  • PercentChangeInCapacity

See also: AWS API Documentation

Request Syntax

response = client.describe_adjustment_types()
Return type
dict
Returns
Response Syntax
{
    'AdjustmentTypes': [
        {
            'AdjustmentType': 'string'
        },
    ]
}

Response Structure

  • (dict) --
    • AdjustmentTypes (list) --

      The policy adjustment types.

      • (dict) --

        Describes a policy adjustment type.

        • AdjustmentType (string) --

          The policy adjustment type. The valid values are ChangeInCapacity , ExactCapacity , and PercentChangeInCapacity .

Exceptions

  • AutoScaling.Client.exceptions.ResourceContentionFault

Examples

This example describes the available adjustment types.

response = client.describe_adjustment_types(
)

print(response)

Expected Output:

{
    'AdjustmentTypes': [
        {
            'AdjustmentType': 'ChangeInCapacity',
        },
        {
            'AdjustmentType': 'ExactCapcity',
        },
        {
            'AdjustmentType': 'PercentChangeInCapacity',
        },
    ],
    'ResponseMetadata': {
        '...': '...',
    },
}