Skip to content

RouteAnalysisCompletion

Source code in docs_src/capo_networkmanager/types/route_analysis_completion.py
class RouteAnalysisCompletion(TypedDict, closed=True):
    result_code: NotRequired[
        "capo_networkmanager.types.route_analysis_completion_result_code.RouteAnalysisCompletionResultCode"
    ]
    """<p>The result of the analysis. If the status is <code>NOT_CONNECTED</code>, check the reason code.</p>"""
    reason_code: NotRequired[
        "capo_networkmanager.types.route_analysis_completion_reason_code.RouteAnalysisCompletionReasonCode"
    ]
    """<p>The reason code. Available only if a connection is not found.</p> <ul> <li> <p> <code>BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND</code> - Found a black hole route with the destination CIDR block.</p> </li> <li> <p> <code>CYCLIC_PATH_DETECTED</code> - Found the same resource multiple times while traversing the path.</p> </li> <li> <p> <code>INACTIVE_ROUTE_FOR_DESTINATION_FOUND</code> - Found an inactive route with the destination CIDR block.</p> </li> <li> <p> <code>MAX_HOPS_EXCEEDED</code> - Analysis exceeded 64 hops without finding the destination.</p> </li> <li> <p> <code>ROUTE_NOT_FOUND</code> - Cannot find a route table with the destination CIDR block.</p> </li> <li> <p> <code>TGW_ATTACH_ARN_NO_MATCH</code> - Found an attachment, but not with the correct destination ARN.</p> </li> <li> <p> <code>TGW_ATTACH_NOT_FOUND</code> - Cannot find an attachment.</p> </li> <li> <p> <code>TGW_ATTACH_NOT_IN_TGW</code> - Found an attachment, but not to the correct transit gateway.</p> </li> <li> <p> <code>TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND</code> - The state of the route table association is not associated.</p> </li> </ul>"""
    reason_context: NotRequired[
        "capo_networkmanager.types.reason_context_map.ReasonContextMap"
    ]
    """<p>Additional information about the path. Available only if a connection is not found.</p>"""

reason_code instance-attribute

reason_code: NotRequired[RouteAnalysisCompletionReasonCode]

The reason code. Available only if a connection is not found.

  • BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND - Found a black hole route with the destination CIDR block.

  • CYCLIC_PATH_DETECTED - Found the same resource multiple times while traversing the path.

  • INACTIVE_ROUTE_FOR_DESTINATION_FOUND - Found an inactive route with the destination CIDR block.

  • MAX_HOPS_EXCEEDED - Analysis exceeded 64 hops without finding the destination.

  • ROUTE_NOT_FOUND - Cannot find a route table with the destination CIDR block.

  • TGW_ATTACH_ARN_NO_MATCH - Found an attachment, but not with the correct destination ARN.

  • TGW_ATTACH_NOT_FOUND - Cannot find an attachment.

  • TGW_ATTACH_NOT_IN_TGW - Found an attachment, but not to the correct transit gateway.

  • TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND - The state of the route table association is not associated.

reason_context instance-attribute

reason_context: NotRequired[ReasonContextMap]

Additional information about the path. Available only if a connection is not found.

result_code instance-attribute

result_code: NotRequired[RouteAnalysisCompletionResultCode]

The result of the analysis. If the status is NOT_CONNECTED, check the reason code.