MailManager / Client / create_addon_subscription

create_addon_subscription#

MailManager.Client.create_addon_subscription(**kwargs)#

Creates a subscription for an Add On representing the acceptance of its terms of use and additional pricing. The subscription can then be used to create an instance for use in rule sets or traffic policies.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The name of the Add On to subscribe to. You can only have one subscription for each Add On name.

  • 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

{
    'AddonSubscriptionId': 'string'
}

Response Structure

  • (dict) –

    • AddonSubscriptionId (string) –

      The unique ID of the Add On subscription created by this API.

Exceptions

  • MailManager.Client.exceptions.ValidationException

  • MailManager.Client.exceptions.ServiceQuotaExceededException

  • MailManager.Client.exceptions.ConflictException