- 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.
DeleteConfigurationSetCommand
Delete an existing configuration set.
Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { SESv2Client, DeleteConfigurationSetCommand } from "@aws-sdk/client-sesv2"; // ES Modules import
// const { SESv2Client, DeleteConfigurationSetCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import
const client = new SESv2Client(config);
const input = { // DeleteConfigurationSetRequest
ConfigurationSetName: "STRING_VALUE", // required
};
const command = new DeleteConfigurationSetCommand(input);
const response = await client.send(command);
// {};
DeleteConfigurationSetCommand Input
See DeleteConfigurationSetCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
ConfigurationSetName Required | string | undefined | The name of the configuration set. |
DeleteConfigurationSetCommand Output
See DeleteConfigurationSetCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
BadRequestException | client | The input you provided is invalid. |
ConcurrentModificationException | server | The resource is being modified by another operation or thread. |
NotFoundException | client | The resource you attempted to access doesn't exist. |
TooManyRequestsException | client | Too many requests have been made to the operation. |
SESv2ServiceException | Base exception class for all service exceptions from SESv2 service. |