AutoScaling / Client / describe_scaling_process_types

describe_scaling_process_types#

AutoScaling.Client.describe_scaling_process_types()#

Describes the scaling process types for use with the ResumeProcesses and SuspendProcesses APIs.

See also: AWS API Documentation

Request Syntax

response = client.describe_scaling_process_types()
Return type:

dict

Returns:

Response Syntax

{
    'Processes': [
        {
            'ProcessName': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • Processes (list) –

      The names of the process types.

      • (dict) –

        Describes a process type.

        For more information, see Types of processes in the Amazon EC2 Auto Scaling User Guide.

        • ProcessName (string) –

          One of the following processes:

          • Launch

          • Terminate

          • AddToLoadBalancer

          • AlarmNotification

          • AZRebalance

          • HealthCheck

          • InstanceRefresh

          • ReplaceUnhealthy

          • ScheduledActions

Exceptions

  • AutoScaling.Client.exceptions.ResourceContentionFault

Examples

This example describes the Auto Scaling process types.

response = client.describe_scaling_process_types(
)

print(response)

Expected Output:

{
    'Processes': [
        {
            'ProcessName': 'AZRebalance',
        },
        {
            'ProcessName': 'AddToLoadBalancer',
        },
        {
            'ProcessName': 'AlarmNotification',
        },
        {
            'ProcessName': 'HealthCheck',
        },
        {
            'ProcessName': 'Launch',
        },
        {
            'ProcessName': 'ReplaceUnhealthy',
        },
        {
            'ProcessName': 'ScheduledActions',
        },
        {
            'ProcessName': 'Terminate',
        },
    ],
    'ResponseMetadata': {
        '...': '...',
    },
}