UserNotificationsContacts / Client / create_email_contact
create_email_contact#
- UserNotificationsContacts.Client.create_email_contact(**kwargs)#
Creates an email contact for the provided email address.
See also: AWS API Documentation
Request Syntax
response = client.create_email_contact( name='string', emailAddress='string', tags={ 'string': 'string' } )
- Parameters:
name (string) –
[REQUIRED]
The name of the email contact.
emailAddress (string) –
[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.
tags (dict) –
A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'arn': 'string' }
Response Structure
(dict) –
arn (string) –
The Amazon Resource Name (ARN) of the resource.
Exceptions
UserNotificationsContacts.Client.exceptions.InternalServerException
UserNotificationsContacts.Client.exceptions.AccessDeniedException
UserNotificationsContacts.Client.exceptions.ThrottlingException
UserNotificationsContacts.Client.exceptions.ValidationException
UserNotificationsContacts.Client.exceptions.ServiceQuotaExceededException
UserNotificationsContacts.Client.exceptions.ConflictException