AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the UpdateConfigurationSetSendingEnabled operation. 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.
Namespace: Amazon.SimpleEmail.Model
Assembly: AWSSDK.SimpleEmail.dll
Version: 3.x.y.z
public class UpdateConfigurationSetSendingEnabledRequest : AmazonSimpleEmailServiceRequest IAmazonWebServiceRequest
The UpdateConfigurationSetSendingEnabledRequest type exposes the following members
Name | Description | |
---|---|---|
UpdateConfigurationSetSendingEnabledRequest() |
Name | Type | Description | |
---|---|---|---|
ConfigurationSetName | System.String |
Gets and sets the property ConfigurationSetName. The name of the configuration set to update. |
|
Enabled | System.Boolean |
Gets and sets the property Enabled. Describes whether email sending is enabled or disabled for the configuration set. |
Set the sending enabled flag for a specific configuration set.
var client = new AmazonSimpleEmailServiceClient(); var response = client.UpdateConfigurationSetSendingEnabled(new UpdateConfigurationSetSendingEnabledRequest { ConfigurationSetName = "foo", Enabled = true });
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5