paws.customer.engagement (version 0.1.0)

ses_create_receipt_filter: Creates a new IP address filter

Description

Creates a new IP address filter.

Usage

ses_create_receipt_filter(Filter)

Arguments

Filter

[required] 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.

Request syntax

svc$create_receipt_filter(
  Filter = list(
    Name = "string",
    IpFilter = list(
      Policy = "Block"|"Allow",
      Cidr = "string"
    )
  )
)

Details

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.

Examples

Run this code
# NOT RUN {
# The following example creates a new IP address filter:
# }
# NOT RUN {
svc$create_receipt_filter(
  Filter = list(
    IpFilter = list(
      Cidr = "1.2.3.4/24",
      Policy = "Allow"
    ),
    Name = "MyFilter"
  )
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab