UserNotificationsContacts / Client / activate_email_contact

activate_email_contact#

UserNotificationsContacts.Client.activate_email_contact(**kwargs)#

Activates an email contact using an activation code. This code is in the activation email sent to the email address associated with this email contact.

See also: AWS API Documentation

Request Syntax

response = client.activate_email_contact(
    arn='string',
    code='string'
)
Parameters:
  • arn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the resource.

  • code (string) –

    [REQUIRED]

    The activation code for this email contact.

    An email contact has a maximum of five activation attempts. Activation codes expire after 12 hours and are generated by the SendActivationCode API action.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions