Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetDeploymentsCommand

Gets the Deployments for an API.

example

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

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

GetDeploymentsCommandInput for command's input shape.

see

GetDeploymentsCommandOutput for command's response shape.

see

config for ApiGatewayV2Client's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: GetDeploymentsCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<GetDeploymentsCommandInput, GetDeploymentsCommandOutput>