AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.SimpleEmail.AmazonSimpleEmailServiceRequest
      Amazon.SimpleEmail.Model.UpdateConfigurationSetSendingEnabledRequest

Namespace: Amazon.SimpleEmail.Model
Assembly: AWSSDK.SimpleEmail.dll
Version: 3.x.y.z

Syntax

C#
public class UpdateConfigurationSetSendingEnabledRequest : AmazonSimpleEmailServiceRequest
         IAmazonWebServiceRequest

The UpdateConfigurationSetSendingEnabledRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ConfigurationSetName System.String

Gets and sets the property ConfigurationSetName.

The name of the configuration set to update.

Public Property Enabled System.Boolean

Gets and sets the property Enabled.

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

Examples

Set the sending enabled flag for a specific configuration set.

UpdateConfigurationSetReputationMetricsEnabled


var client = new AmazonSimpleEmailServiceClient();
var response = client.UpdateConfigurationSetSendingEnabled(new UpdateConfigurationSetSendingEnabledRequest 
{
    ConfigurationSetName = "foo",
    Enabled = true
});


            

Version Information

.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