Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class CreateConfigurationSetCommandProtected

Creates a configuration set.

Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide.

You can execute this operation no more than once per second.

Example

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

import { SESClient, CreateConfigurationSetCommand } from "@aws-sdk/client-ses"; // ES Modules import
// const { SESClient, CreateConfigurationSetCommand } = require("@aws-sdk/client-ses"); // CommonJS import
const client = new SESClient(config);
const input = { // CreateConfigurationSetRequest
ConfigurationSet: { // ConfigurationSet
Name: "STRING_VALUE", // required
},
};
const command = new CreateConfigurationSetCommand(input);
const response = await client.send(command);
// {};

Param

CreateConfigurationSetCommandInput

Returns

CreateConfigurationSetCommandOutput

See

Throws

ConfigurationSetAlreadyExistsException (client fault)

Indicates that the configuration set could not be created because of a naming conflict.

Throws

InvalidConfigurationSetException (client fault)

Indicates that the configuration set is invalid. See the error message for details.

Throws

LimitExceededException (client fault)

Indicates that a resource could not be created because of service limits. For a list of Amazon SES limits, see the Amazon SES Developer Guide.

Throws

SESServiceException

Base exception class for all service exceptions from SES service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods