Connect / Client / create_email_address

create_email_address#

Connect.Client.create_email_address(**kwargs)#

See also: AWS API Documentation

Request Syntax

response = client.create_email_address(
    Description='string',
    InstanceId='string',
    EmailAddress='string',
    DisplayName='string',
    Tags={
        'string': 'string'
    },
    ClientToken='string'
)
Parameters:
  • Description (string) –

  • InstanceId (string) – [REQUIRED]

  • EmailAddress (string) – [REQUIRED]

  • DisplayName (string) –

  • Tags (dict) –

    • (string) –

      • (string) –

  • ClientToken (string) –

Return type:

dict

Returns:

Response Syntax

{
    'EmailAddressId': 'string',
    'EmailAddressArn': 'string'
}

Response Structure

  • (dict) –

    • EmailAddressId (string) –

    • EmailAddressArn (string) –

Exceptions

  • Connect.Client.exceptions.InvalidParameterException

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.ServiceQuotaExceededException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.ThrottlingException

  • Connect.Client.exceptions.AccessDeniedException

  • Connect.Client.exceptions.InternalServiceException

  • Connect.Client.exceptions.IdempotencyException

  • Connect.Client.exceptions.DuplicateResourceException

  • Connect.Client.exceptions.ResourceConflictException