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

********************
send_activation_code
********************



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

  

  Sends an activation email to the email address associated with the specified email contact.

   

  .. note::

    

    It might take a few minutes for the activation email to arrive. If it doesn't arrive, check in your spam folder or try sending another activation email.

    

  

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


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) of the resource.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **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`

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

  