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

*********************
get_rotation_override
*********************



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

  

  Retrieves information about an override to an on-call rotation.

  

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


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) of the overridden rotation to retrieve information about.

    

  
  :type RotationOverrideId: string
  :param RotationOverrideId: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the on-call rotation override to retrieve information about.

    

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

    
    ::

      {
          'RotationOverrideId': 'string',
          'RotationArn': 'string',
          'NewContactIds': [
              'string',
          ],
          'StartTime': datetime(2015, 1, 1),
          'EndTime': datetime(2015, 1, 1),
          'CreateTime': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **RotationOverrideId** *(string) --* 

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

        
      

      - **RotationArn** *(string) --* 

        The Amazon Resource Name (ARN) of the on-call rotation that was overridden.

        
      

      - **NewContactIds** *(list) --* 

        The Amazon Resource Names (ARNs) of the contacts assigned to the override of the on-call rotation.

        
        

        - *(string) --* 
    
      

      - **StartTime** *(datetime) --* 

        The date and time when the override goes into effect.

        
      

      - **EndTime** *(datetime) --* 

        The date and time when the override ends.

        
      

      - **CreateTime** *(datetime) --* 

        The date and time when the override was created.

        
  
  **Exceptions**
  
  *   :py:class:`SSMContacts.Client.exceptions.AccessDeniedException`

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

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

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

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

  