Jump to Content

Class CreateReceiptRuleSetCommandProtected

Creates an empty receipt rule set.

For information about setting up receipt rule 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, CreateReceiptRuleSetCommand } from "@aws-sdk/client-ses"; // ES Modules import
// const { SESClient, CreateReceiptRuleSetCommand } = require("@aws-sdk/client-ses"); // CommonJS import
const client = new SESClient(config);
const command = new CreateReceiptRuleSetCommand(input);
const response = await client.send(command);

See

Throws

AlreadyExistsException (client fault)

Indicates that a resource could not be created because of a naming conflict.

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.

Example

CreateReceiptRuleSet

// The following example creates an empty receipt rule set:
const input = {
"RuleSetName": "MyRuleSet"
};
const command = new CreateReceiptRuleSetCommand(input);
await client.send(command);
// example id: createreceiptruleset-1469058761646

Hierarchy

Constructors

Properties

Methods