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 CreateReceiptFilter operation. Creates a new IP address filter.
For information about setting up IP address filters, see the Amazon SES Developer Guide.
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 CreateReceiptFilterRequest : AmazonSimpleEmailServiceRequest IAmazonWebServiceRequest
The CreateReceiptFilterRequest type exposes the following members
Name | Description | |
---|---|---|
CreateReceiptFilterRequest() |
Name | Type | Description | |
---|---|---|---|
Filter | Amazon.SimpleEmail.Model.ReceiptFilter |
Gets and sets the property Filter. A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it. |
The following example creates a new IP address filter:
var client = new AmazonSimpleEmailServiceClient(); var response = client.CreateReceiptFilter(new CreateReceiptFilterRequest { Filter = new ReceiptFilter { IpFilter = new ReceiptIpFilter { Cidr = "1.2.3.4/24", Policy = "Allow" }, Name = "MyFilter" } });
.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