createReceiptFilter

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.

Samples

// The following example creates a new IP address filter
sesClient.createReceiptFilter {
    filter = ReceiptFilter {
        name = "MyFilter"
        ipFilter = ReceiptIpFilter {
            policy = ReceiptFilterPolicy.fromValue("Allow")
            cidr = "1.2.3.4/24"
        }
    }
}