Creates a usage plan key for adding an existing API key to a usage plan.
Use a bare-bones client and the command you need to make an API call.
import { APIGatewayClient, CreateUsagePlanKeyCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import // const { APIGatewayClient, CreateUsagePlanKeyCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import const client = new APIGatewayClient(config); const command = new CreateUsagePlanKeyCommand(input); const response = await client.send(command);
CreateUsagePlanKeyCommandInput for command's input shape.
input
CreateUsagePlanKeyCommandOutput for command's response shape.
response
config for APIGatewayClient's config shape.
config
Creates a usage plan key for adding an existing API key to a usage plan.
Use a bare-bones client and the command you need to make an API call.
import { APIGatewayClient, CreateUsagePlanKeyCommand } from "@aws-sdk/client-api-gateway"; // ES Modules import // const { APIGatewayClient, CreateUsagePlanKeyCommand } = require("@aws-sdk/client-api-gateway"); // CommonJS import const client = new APIGatewayClient(config); const command = new CreateUsagePlanKeyCommand(input); const response = await client.send(command);
CreateUsagePlanKeyCommandInput for command's
input
shape.CreateUsagePlanKeyCommandOutput for command's
response
shape.config for APIGatewayClient's
config
shape.