Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListApiKeysCommand

Lists the API keys for a given API.

API keys are deleted automatically 60 days after they expire. However, they may still be included in the response until they have actually been deleted. You can safely call DeleteApiKey to manually delete a key before it's automatically deleted.

example

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

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

ListApiKeysCommandInput for command's input shape.

see

ListApiKeysCommandOutput for command's response shape.

see

config for AppSyncClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: ListApiKeysCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<ListApiKeysCommandInput, ListApiKeysCommandOutput>