delete_scheduled_action

AutoScaling.Client.delete_scheduled_action(**kwargs)

Deletes the specified scheduled action.

See also: AWS API Documentation

Request Syntax

response = client.delete_scheduled_action(
    AutoScalingGroupName='string',
    ScheduledActionName='string'
)
Parameters
  • AutoScalingGroupName (string) --

    [REQUIRED]

    The name of the Auto Scaling group.

  • ScheduledActionName (string) --

    [REQUIRED]

    The name of the action to delete.

Returns

None

Exceptions

  • AutoScaling.Client.exceptions.ResourceContentionFault

Examples

This example deletes the specified scheduled action from the specified Auto Scaling group.

response = client.delete_scheduled_action(
    AutoScalingGroupName='my-auto-scaling-group',
    ScheduledActionName='my-scheduled-action',
)

print(response)

Expected Output:

{
    'ResponseMetadata': {
        '...': '...',
    },
}