Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.

Class DeleteExtensionCommandProtected

Deletes an AppConfig extension. You must delete all associations to an extension before you delete the extension.

Example

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

import { AppConfigClient, DeleteExtensionCommand } from "@aws-sdk/client-appconfig"; // ES Modules import
// const { AppConfigClient, DeleteExtensionCommand } = require("@aws-sdk/client-appconfig"); // CommonJS import
const client = new AppConfigClient(config);
const input = { // DeleteExtensionRequest
ExtensionIdentifier: "STRING_VALUE", // required
VersionNumber: Number("int"),
};
const command = new DeleteExtensionCommand(input);
const response = await client.send(command);
// {};

Param

DeleteExtensionCommandInput

Returns

DeleteExtensionCommandOutput

See

Throws

BadRequestException (client fault)

The input fails to satisfy the constraints specified by an Amazon Web Services service.

Throws

InternalServerException (server fault)

There was an internal failure in the AppConfig service.

Throws

ResourceNotFoundException (client fault)

The requested resource could not be found.

Throws

AppConfigServiceException

Base exception class for all service exceptions from AppConfig service.

Hierarchy

Constructors

Properties

Methods