Skip to content

CreateLinkRoutingRuleRequest

Source code in docs_src/capo_rtbfabric/types/create_link_routing_rule_request.py
class CreateLinkRoutingRuleRequest(TypedDict, closed=True):
    client_token: "str"
    """<p>Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a <a href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of value</a>.</p> <p>If you don't provide this value, then Amazon Web Services generates a random one for you.</p> <p>If you retry the operation with the same <code>clientToken</code>, but with different parameters, the retry fails with an <code>IdempotentParameterMismatch</code> error.</p>"""
    gateway_id: "capo_rtbfabric.types.gateway_id.GatewayId"
    """<p>The unique identifier of the gateway.</p>"""
    link_id: "capo_rtbfabric.types.link_id.LinkId"
    """<p>The unique identifier of the link.</p>"""
    priority: "capo_rtbfabric.types.rule_priority.RulePriority"
    """<p>The priority of the routing rule. Lower numbers are evaluated first. Valid values are 1 to 1000. Priority must be unique among non-deleted rules within a link.</p>"""
    conditions: "capo_rtbfabric.types.rule_condition.RuleCondition"
    """<p>The conditions for the routing rule. All specified fields must match for the rule to apply. At least one condition field must be set.</p>"""
    tags: NotRequired["capo_rtbfabric.types.tags_map.TagsMap"]
    """<p>A map of the key-value pairs of the tag or tags to assign to the resource.</p>"""
client_token: str

Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.

If you don't provide this value, then Amazon Web Services generates a random one for you.

If you retry the operation with the same clientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.

conditions: RuleCondition

The conditions for the routing rule. All specified fields must match for the rule to apply. At least one condition field must be set.

gateway_id: GatewayId

The unique identifier of the gateway.

link_id: LinkId

The unique identifier of the link.

priority: RulePriority

The priority of the routing rule. Lower numbers are evaluated first. Valid values are 1 to 1000. Priority must be unique among non-deleted rules within a link.

tags: NotRequired[TagsMap]

A map of the key-value pairs of the tag or tags to assign to the resource.