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

********************
create_email_contact
********************



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

  

  Creates an email contact for the provided email address.

  

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


  **Request Syntax**
  ::

    response = client.create_email_contact(
        name='string',
        emailAddress='string',
        tags={
            'string': 'string'
        }
    )
    
  :type name: string
  :param name: **[REQUIRED]** 

    The name of the email contact.

    

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

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

     

    .. note::

      

      This email address can't receive emails until it's activated.

      

    

  
  :type tags: dict
  :param tags: 

    A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

      {
          'arn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The Amazon Resource Name (ARN) of the resource.

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

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

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

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

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

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

  