:doc:`AutoScaling <../../autoscaling>` / Client / batch_delete_scheduled_action

*****************************
batch_delete_scheduled_action
*****************************



.. py:method:: AutoScaling.Client.batch_delete_scheduled_action(**kwargs)

  

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

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/BatchDeleteScheduledAction>`_  


  **Request Syntax**
  ::

    response = client.batch_delete_scheduled_action(
        AutoScalingGroupName='string',
        ScheduledActionNames=[
            'string',
        ]
    )
    
  :type AutoScalingGroupName: string
  :param AutoScalingGroupName: **[REQUIRED]** 

    The name of the Auto Scaling group.

    

  
  :type ScheduledActionNames: list
  :param ScheduledActionNames: **[REQUIRED]** 

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

    

  
    - *(string) --* 

    

  
  :rtype: 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**
  
  *   :py:class:`AutoScaling.Client.exceptions.ResourceContentionFault`

  