Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateAuthorizerCommand

Creates an Authorizer for an API.

example

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

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

CreateAuthorizerCommandInput for command's input shape.

see

CreateAuthorizerCommandOutput for command's response shape.

see

config for ApiGatewayV2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateAuthorizerCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions