import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetNetworkRoutesRequest, GetNetworkRoutesResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetNetworkRoutesCommand}. */ export interface GetNetworkRoutesCommandInput extends GetNetworkRoutesRequest { } /** * @public * * The output of {@link GetNetworkRoutesCommand}. */ export interface GetNetworkRoutesCommandOutput extends GetNetworkRoutesResponse, __MetadataBearer { } declare const GetNetworkRoutesCommand_base: { new (input: GetNetworkRoutesCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetNetworkRoutesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets the network routes of the specified global network.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { NetworkManagerClient, GetNetworkRoutesCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import * // const { NetworkManagerClient, GetNetworkRoutesCommand } = 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 = { // GetNetworkRoutesRequest * GlobalNetworkId: "STRING_VALUE", // required * RouteTableIdentifier: { // RouteTableIdentifier * TransitGatewayRouteTableArn: "STRING_VALUE", * CoreNetworkSegmentEdge: { // CoreNetworkSegmentEdgeIdentifier * CoreNetworkId: "STRING_VALUE", * SegmentName: "STRING_VALUE", * EdgeLocation: "STRING_VALUE", * }, * CoreNetworkNetworkFunctionGroup: { // CoreNetworkNetworkFunctionGroupIdentifier * CoreNetworkId: "STRING_VALUE", * NetworkFunctionGroupName: "STRING_VALUE", * EdgeLocation: "STRING_VALUE", * }, * }, * ExactCidrMatches: [ // ConstrainedStringList * "STRING_VALUE", * ], * LongestPrefixMatches: [ * "STRING_VALUE", * ], * SubnetOfMatches: [ * "STRING_VALUE", * ], * SupernetOfMatches: [ * "STRING_VALUE", * ], * PrefixListIds: [ * "STRING_VALUE", * ], * States: [ // RouteStateList * "ACTIVE" || "BLACKHOLE", * ], * Types: [ // RouteTypeList * "PROPAGATED" || "STATIC", * ], * DestinationFilters: { // FilterMap * "": [ // FilterValues * "STRING_VALUE", * ], * }, * }; * const command = new GetNetworkRoutesCommand(input); * const response = await client.send(command); * // { // GetNetworkRoutesResponse * // RouteTableArn: "STRING_VALUE", * // CoreNetworkSegmentEdge: { // CoreNetworkSegmentEdgeIdentifier * // CoreNetworkId: "STRING_VALUE", * // SegmentName: "STRING_VALUE", * // EdgeLocation: "STRING_VALUE", * // }, * // RouteTableType: "TRANSIT_GATEWAY_ROUTE_TABLE" || "CORE_NETWORK_SEGMENT" || "NETWORK_FUNCTION_GROUP", * // RouteTableTimestamp: new Date("TIMESTAMP"), * // NetworkRoutes: [ // NetworkRouteList * // { // NetworkRoute * // DestinationCidrBlock: "STRING_VALUE", * // Destinations: [ // NetworkRouteDestinationList * // { // NetworkRouteDestination * // CoreNetworkAttachmentId: "STRING_VALUE", * // TransitGatewayAttachmentId: "STRING_VALUE", * // SegmentName: "STRING_VALUE", * // NetworkFunctionGroupName: "STRING_VALUE", * // EdgeLocation: "STRING_VALUE", * // ResourceType: "STRING_VALUE", * // ResourceId: "STRING_VALUE", * // }, * // ], * // PrefixListId: "STRING_VALUE", * // State: "ACTIVE" || "BLACKHOLE", * // Type: "PROPAGATED" || "STATIC", * // }, * // ], * // }; * * ``` * * @param GetNetworkRoutesCommandInput - {@link GetNetworkRoutesCommandInput} * @returns {@link GetNetworkRoutesCommandOutput} * @see {@link GetNetworkRoutesCommandInput} for command's `input` shape. * @see {@link GetNetworkRoutesCommandOutput} 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 GetNetworkRoutesCommand extends GetNetworkRoutesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetNetworkRoutesRequest; output: GetNetworkRoutesResponse; }; sdk: { input: GetNetworkRoutesCommandInput; output: GetNetworkRoutesCommandOutput; }; }; }