Skip to content

CreateTrafficPolicyRequest

Source code in docs_src/capo_mailmanager/types/create_traffic_policy_request.py
class CreateTrafficPolicyRequest(TypedDict, closed=True):
    client_token: NotRequired[
        "capo_mailmanager.types.idempotency_token.IdempotencyToken"
    ]
    """<p>A unique token that Amazon SES uses to recognize subsequent retries of the same request.</p>"""
    traffic_policy_name: "capo_mailmanager.types.traffic_policy_name.TrafficPolicyName"
    """<p>A user-friendly name for the traffic policy resource.</p>"""
    policy_statements: (
        "capo_mailmanager.types.policy_statement_list.PolicyStatementList"
    )
    """<p>Conditional statements for filtering email traffic.</p>"""
    default_action: "capo_mailmanager.types.accept_action.AcceptAction"
    """<p>Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements</p>"""
    max_message_size_bytes: NotRequired[
        "capo_mailmanager.types.max_message_size_bytes.MaxMessageSizeBytes"
    ]
    """<p>The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.</p>"""
    tags: NotRequired["capo_mailmanager.types.tag_list.TagList"]
    """<p>The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.</p>"""

client_token instance-attribute

client_token: NotRequired[IdempotencyToken]

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

default_action instance-attribute

default_action: AcceptAction

Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements

max_message_size_bytes instance-attribute

max_message_size_bytes: NotRequired[MaxMessageSizeBytes]

The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.

policy_statements instance-attribute

policy_statements: PolicyStatementList

Conditional statements for filtering email traffic.

tags instance-attribute

tags: NotRequired[TagList]

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

traffic_policy_name instance-attribute

traffic_policy_name: TrafficPolicyName

A user-friendly name for the traffic policy resource.