- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
DeleteAddonInstanceCommand
Deletes an Add On instance.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { MailManagerClient, DeleteAddonInstanceCommand } from "@aws-sdk/client-mailmanager"; // ES Modules import
// const { MailManagerClient, DeleteAddonInstanceCommand } = require("@aws-sdk/client-mailmanager"); // CommonJS import
const client = new MailManagerClient(config);
const input = { // DeleteAddonInstanceRequest
AddonInstanceId: "STRING_VALUE", // required
};
const command = new DeleteAddonInstanceCommand(input);
const response = await client.send(command);
// {};
DeleteAddonInstanceCommand Input
See DeleteAddonInstanceCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
AddonInstanceId Required | string | undefined | The Add On instance ID to delete. |
DeleteAddonInstanceCommand Output
See DeleteAddonInstanceCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
ConflictException | client | The request configuration has conflicts. For details, see the accompanying error message. |
ValidationException | client | The request validation has failed. For details, see the accompanying error message. |
MailManagerServiceException | Base exception class for all service exceptions from MailManager service. |