Updates an API key. You can update the key as long as it's not deleted.
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);
UpdateApiKeyCommandInput for command's input shape.
input
UpdateApiKeyCommandOutput for command's response shape.
response
config for AppSyncClient's config shape.
config
Updates an API key. You can update the key as long as it's not deleted.
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);
UpdateApiKeyCommandInput for command's
input
shape.UpdateApiKeyCommandOutput for command's
response
shape.config for AppSyncClient's
config
shape.