import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetRouteAnalysisRequest, GetRouteAnalysisResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetRouteAnalysisCommand}. */ export interface GetRouteAnalysisCommandInput extends GetRouteAnalysisRequest { } /** * @public * * The output of {@link GetRouteAnalysisCommand}. */ export interface GetRouteAnalysisCommandOutput extends GetRouteAnalysisResponse, __MetadataBearer { } declare const GetRouteAnalysisCommand_base: { new (input: GetRouteAnalysisCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetRouteAnalysisCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets information about the specified route analysis.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { NetworkManagerClient, GetRouteAnalysisCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import * // const { NetworkManagerClient, GetRouteAnalysisCommand } = require("@aws-sdk/client-networkmanager"); // CommonJS import * // import type { NetworkManagerClientConfig } from "@aws-sdk/client-networkmanager"; * const config = {}; // type is NetworkManagerClientConfig * const client = new NetworkManagerClient(config); * const input = { // GetRouteAnalysisRequest * GlobalNetworkId: "STRING_VALUE", // required * RouteAnalysisId: "STRING_VALUE", // required * }; * const command = new GetRouteAnalysisCommand(input); * const response = await client.send(command); * // { // GetRouteAnalysisResponse * // RouteAnalysis: { // RouteAnalysis * // GlobalNetworkId: "STRING_VALUE", * // OwnerAccountId: "STRING_VALUE", * // RouteAnalysisId: "STRING_VALUE", * // StartTimestamp: new Date("TIMESTAMP"), * // Status: "RUNNING" || "COMPLETED" || "FAILED", * // Source: { // RouteAnalysisEndpointOptions * // TransitGatewayAttachmentArn: "STRING_VALUE", * // TransitGatewayArn: "STRING_VALUE", * // IpAddress: "STRING_VALUE", * // }, * // Destination: { * // TransitGatewayAttachmentArn: "STRING_VALUE", * // TransitGatewayArn: "STRING_VALUE", * // IpAddress: "STRING_VALUE", * // }, * // IncludeReturnPath: true || false, * // UseMiddleboxes: true || false, * // ForwardPath: { // RouteAnalysisPath * // CompletionStatus: { // RouteAnalysisCompletion * // ResultCode: "CONNECTED" || "NOT_CONNECTED", * // ReasonCode: "TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND" || "TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY" || "CYCLIC_PATH_DETECTED" || "TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND" || "ROUTE_NOT_FOUND" || "BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND" || "INACTIVE_ROUTE_FOR_DESTINATION_FOUND" || "TRANSIT_GATEWAY_ATTACHMENT_ATTACH_ARN_NO_MATCH" || "MAX_HOPS_EXCEEDED" || "POSSIBLE_MIDDLEBOX" || "NO_DESTINATION_ARN_PROVIDED", * // ReasonContext: { // ReasonContextMap * // "": "STRING_VALUE", * // }, * // }, * // Path: [ // PathComponentList * // { // PathComponent * // Sequence: Number("int"), * // Resource: { // NetworkResourceSummary * // RegisteredGatewayArn: "STRING_VALUE", * // ResourceArn: "STRING_VALUE", * // ResourceType: "STRING_VALUE", * // Definition: "STRING_VALUE", * // NameTag: "STRING_VALUE", * // IsMiddlebox: true || false, * // }, * // DestinationCidrBlock: "STRING_VALUE", * // }, * // ], * // }, * // ReturnPath: { * // CompletionStatus: { * // ResultCode: "CONNECTED" || "NOT_CONNECTED", * // ReasonCode: "TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND" || "TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY" || "CYCLIC_PATH_DETECTED" || "TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND" || "ROUTE_NOT_FOUND" || "BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND" || "INACTIVE_ROUTE_FOR_DESTINATION_FOUND" || "TRANSIT_GATEWAY_ATTACHMENT_ATTACH_ARN_NO_MATCH" || "MAX_HOPS_EXCEEDED" || "POSSIBLE_MIDDLEBOX" || "NO_DESTINATION_ARN_PROVIDED", * // ReasonContext: { * // "": "STRING_VALUE", * // }, * // }, * // Path: [ * // { * // Sequence: Number("int"), * // Resource: { * // RegisteredGatewayArn: "STRING_VALUE", * // ResourceArn: "STRING_VALUE", * // ResourceType: "STRING_VALUE", * // Definition: "STRING_VALUE", * // NameTag: "STRING_VALUE", * // IsMiddlebox: true || false, * // }, * // DestinationCidrBlock: "STRING_VALUE", * // }, * // ], * // }, * // }, * // }; * * ``` * * @param GetRouteAnalysisCommandInput - {@link GetRouteAnalysisCommandInput} * @returns {@link GetRouteAnalysisCommandOutput} * @see {@link GetRouteAnalysisCommandInput} for command's `input` shape. * @see {@link GetRouteAnalysisCommandOutput} for command's `response` shape. * @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal error.

* * @throws {@link ResourceNotFoundException} (client fault) *

The specified resource could not be found.

* * @throws {@link ThrottlingException} (client fault) *

The request was denied due to request throttling.

* * @throws {@link ValidationException} (client fault) *

The input fails to satisfy the constraints.

* * @throws {@link NetworkManagerServiceException} *

Base exception class for all service exceptions from NetworkManager service.

* * * @public */ export declare class GetRouteAnalysisCommand extends GetRouteAnalysisCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetRouteAnalysisRequest; output: GetRouteAnalysisResponse; }; sdk: { input: GetRouteAnalysisCommandInput; output: GetRouteAnalysisCommandOutput; }; }; }