Skip to content

CreateRoutingRuleResponse

Source code in docs_src/capo_apigatewayv2/types/create_routing_rule_response.py
class CreateRoutingRuleResponse(TypedDict, closed=True):
    actions: NotRequired[
        "capo_apigatewayv2.types.__list_of_routing_rule_action.__listOfRoutingRuleAction"
    ]
    """<p>Represents a routing rule action. The only supported action is invokeApi.</p>"""
    conditions: NotRequired[
        "capo_apigatewayv2.types.__list_of_routing_rule_condition.__listOfRoutingRuleCondition"
    ]
    """<p>Represents a condition. Conditions can contain up to two matchHeaders conditions and one matchBasePaths conditions. API Gateway evaluates header conditions and base path conditions together. You can only use AND between header and base path conditions.</p>"""
    priority: NotRequired[
        "capo_apigatewayv2.types.routing_rule_priority.RoutingRulePriority"
    ]
    """<p>Represents the priority of the routing rule.<p>"""
    routing_rule_arn: NotRequired["capo_apigatewayv2.types.arn.Arn"]
    """<p>The ARN of the domain name.<p>"""
    routing_rule_id: NotRequired["capo_apigatewayv2.types.id.Id"]
    """<p>The routing rule ID.</p>"""

actions instance-attribute

actions: NotRequired[__listOfRoutingRuleAction]

Represents a routing rule action. The only supported action is invokeApi.

conditions instance-attribute

conditions: NotRequired[__listOfRoutingRuleCondition]

Represents a condition. Conditions can contain up to two matchHeaders conditions and one matchBasePaths conditions. API Gateway evaluates header conditions and base path conditions together. You can only use AND between header and base path conditions.

priority instance-attribute

priority: NotRequired[RoutingRulePriority]

Represents the priority of the routing rule.

routing_rule_arn instance-attribute

routing_rule_arn: NotRequired[Arn]

The ARN of the domain name.

routing_rule_id instance-attribute

routing_rule_id: NotRequired[Id]

The routing rule ID.