delete_contact

SESV2.Client.delete_contact(**kwargs)

Removes a contact from a contact list.

See also: AWS API Documentation

Request Syntax

response = client.delete_contact(
    ContactListName='string',
    EmailAddress='string'
)
Parameters
  • ContactListName (string) --

    [REQUIRED]

    The name of the contact list from which the contact should be removed.

  • EmailAddress (string) --

    [REQUIRED]

    The contact's email address.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • SESV2.Client.exceptions.BadRequestException
  • SESV2.Client.exceptions.TooManyRequestsException
  • SESV2.Client.exceptions.NotFoundException