:doc:`UserNotificationsContacts <../../notificationscontacts>` / Client / get_email_contact

*****************
get_email_contact
*****************



.. py:method:: UserNotificationsContacts.Client.get_email_contact(**kwargs)

  

  Returns an email contact.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/notificationscontacts-2018-05-10/GetEmailContact>`_  


  **Request Syntax**
  ::

    response = client.get_email_contact(
        arn='string'
    )
    
  :type arn: string
  :param arn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the email contact to get.

    

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

    
    ::

      {
          'emailContact': {
              'arn': 'string',
              'name': 'string',
              'address': 'string',
              'status': 'inactive'|'active',
              'creationTime': datetime(2015, 1, 1),
              'updateTime': datetime(2015, 1, 1)
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **emailContact** *(dict) --* 

        The email contact for the provided email address.

        
        

        - **arn** *(string) --* 

          The Amazon Resource Name (ARN) of the email contact.

          
        

        - **name** *(string) --* 

          The name of the email contact.

          
        

        - **address** *(string) --* 

          The email address this email contact points to. The activation email and any subscribed emails are sent here.

          
        

        - **status** *(string) --* 

          The status of the email contact. Only activated email contacts receive emails.

          
        

        - **creationTime** *(datetime) --* 

          The creation time of the resource.

          
        

        - **updateTime** *(datetime) --* 

          The time the resource was last updated.

          
    
  
  **Exceptions**
  
  *   :py:class:`UserNotificationsContacts.Client.exceptions.InternalServerException`

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

  
  *   :py:class:`UserNotificationsContacts.Client.exceptions.AccessDeniedException`

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

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

  