AutoScaling / Client / batch_delete_scheduled_action

batch_delete_scheduled_action#

AutoScaling.Client.batch_delete_scheduled_action(**kwargs)#

Deletes one or more scheduled actions for the specified Auto Scaling group.

See also: AWS API Documentation

Request Syntax

response = client.batch_delete_scheduled_action(
    AutoScalingGroupName='string',
    ScheduledActionNames=[
        'string',
    ]
)
Parameters:
  • AutoScalingGroupName (string) –

    [REQUIRED]

    The name of the Auto Scaling group.

  • ScheduledActionNames (list) –

    [REQUIRED]

    The names of the scheduled actions to delete. The maximum number allowed is 50.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'FailedScheduledActions': [
        {
            'ScheduledActionName': 'string',
            'ErrorCode': 'string',
            'ErrorMessage': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • FailedScheduledActions (list) –

      The names of the scheduled actions that could not be deleted, including an error message.

      • (dict) –

        Describes a scheduled action that could not be created, updated, or deleted.

        • ScheduledActionName (string) –

          The name of the scheduled action.

        • ErrorCode (string) –

          The error code.

        • ErrorMessage (string) –

          The error message accompanying the error code.

Exceptions