Skip to content

Enables or disables email sending for messages sent using a specific configuration set in a given Amazon Web Services Region

Description

Enables or disables email sending for messages sent using a specific configuration set in a given Amazon Web Services Region. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause email sending for a configuration set when the reputation metrics for that configuration set (such as your bounce on complaint rate) exceed certain thresholds.

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

Usage

ses_update_configuration_set_sending_enabled(ConfigurationSetName,
  Enabled)

Arguments

  • ConfigurationSetName

    [required] The name of the configuration set to update.

  • Enabled

    [required] Describes whether email sending is enabled or disabled for the configuration set.

Value

An empty list.

Request syntax

svc$update_configuration_set_sending_enabled(
  ConfigurationSetName = "string",
  Enabled = TRUE|FALSE
)

Examples

# Set the sending enabled flag for a specific configuration set.
svc$update_configuration_set_sending_enabled(
  ConfigurationSetName = "foo",
  Enabled = TRUE
)