Skip to content

UpdateTrafficPolicyRequest

Source code in docs_src/capo_mailmanager/types/update_traffic_policy_request.py
class UpdateTrafficPolicyRequest(TypedDict, closed=True):
    traffic_policy_id: "capo_mailmanager.types.traffic_policy_id.TrafficPolicyId"
    """<p>The identifier of the traffic policy that you want to update.</p>"""
    traffic_policy_name: NotRequired[
        "capo_mailmanager.types.traffic_policy_name.TrafficPolicyName"
    ]
    """<p>A user-friendly name for the traffic policy resource.</p>"""
    policy_statements: NotRequired[
        "capo_mailmanager.types.policy_statement_list.PolicyStatementList"
    ]
    """<p>The list of conditions to be updated for filtering email traffic.</p>"""
    default_action: NotRequired["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>"""

default_action instance-attribute

default_action: NotRequired[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: NotRequired[PolicyStatementList]

The list of conditions to be updated for filtering email traffic.

traffic_policy_id instance-attribute

traffic_policy_id: TrafficPolicyId

The identifier of the traffic policy that you want to update.

traffic_policy_name instance-attribute

traffic_policy_name: NotRequired[TrafficPolicyName]

A user-friendly name for the traffic policy resource.