MailManager / Client / create_address_list

create_address_list#

MailManager.Client.create_address_list(**kwargs)#

Creates a new address list.

See also: AWS API Documentation

Request Syntax

response = client.create_address_list(
    AddressListName='string',
    ClientToken='string',
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
Parameters:
  • AddressListName (string) –

    [REQUIRED]

    A user-friendly name for the address list.

  • ClientToken (string) –

    A unique token that Amazon SES uses to recognize subsequent retries of the same request.

    This field is autopopulated if not provided.

  • Tags (list) –

    The tags used to organize, track, or control access for the resource. For example, { “tags”: {“key1”:”value1”, “key2”:”value2”} }.

    • (dict) –

      A key-value pair (the value is optional), that you can define and assign to Amazon Web Services resources.

      • Key (string) – [REQUIRED]

        The key of the key-value tag.

      • Value (string) – [REQUIRED]

        The value of the key-value tag.

Return type:

dict

Returns:

Response Syntax

{
    'AddressListId': 'string'
}

Response Structure

  • (dict) –

    • AddressListId (string) –

      The identifier of the created address list.

Exceptions