Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetRoutesCommand

Gets the Routes for an API.

example

Use a bare-bones client and the command you need to make an API call.

import { ApiGatewayV2Client, GetRoutesCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
// const { ApiGatewayV2Client, GetRoutesCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
const client = new ApiGatewayV2Client(config);
const command = new GetRoutesCommand(input);
const response = await client.send(command);
see

GetRoutesCommandInput for command's input shape.

see

GetRoutesCommandOutput for command's response shape.

see

config for ApiGatewayV2Client's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: GetRoutesCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<GetRoutesCommandInput, GetRoutesCommandOutput>