Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UpdateApiKeyCommand

Updates an API key. You can update the key as long as it's not deleted.

example

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

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

UpdateApiKeyCommandInput for command's input shape.

see

UpdateApiKeyCommandOutput for command's response shape.

see

config for AppSyncClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: UpdateApiKeyCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<UpdateApiKeyCommandInput, UpdateApiKeyCommandOutput>

Methods

Static getEndpointParameterInstructions