:doc:`SSMContacts <../../ssm-contacts>` / Client / delete_rotation

***************
delete_rotation
***************



.. py:method:: SSMContacts.Client.delete_rotation(**kwargs)

  

  Deletes a rotation from the system. If a rotation belongs to more than one on-call schedule, this operation deletes it from all of them.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/DeleteRotation>`_  


  **Request Syntax**
  ::

    response = client.delete_rotation(
        RotationId='string'
    )
    
  :type RotationId: string
  :param RotationId: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the on-call rotation to delete.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`SSMContacts.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`SSMContacts.Client.exceptions.ConflictException`

  
  *   :py:class:`SSMContacts.Client.exceptions.InternalServerException`

  
  *   :py:class:`SSMContacts.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`SSMContacts.Client.exceptions.ThrottlingException`

  
  *   :py:class:`SSMContacts.Client.exceptions.ValidationException`

  