Skip to content

Create Receipt Filter

ses_create_receipt_filter R Documentation

Creates a new IP address filter

Description

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.

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.

Value

An empty list.

Request syntax

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

Examples

## Not run: 
# The following example creates a new IP address filter:
svc$create_receipt_filter(
  Filter = list(
    IpFilter = list(
      Cidr = "1.2.3.4/24",
      Policy = "Allow"
    ),
    Name = "MyFilter"
  )
)

## End(Not run)