Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_contact

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