MailManager / Client / create_addon_instance

create_addon_instance#

MailManager.Client.create_addon_instance(**kwargs)#

Creates an Add On instance for the subscription indicated in the request. The resulting Amazon Resource Name (ARN) can be used in a conditional statement for a rule set or traffic policy.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The unique ID of a previously created subscription that an Add On instance is created for. You can only have one instance per subscription.

  • 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

{
    'AddonInstanceId': 'string'
}

Response Structure

  • (dict) –

    • AddonInstanceId (string) –

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

Exceptions