Class: Aws::SES::Types::CreateReceiptFilterRequest

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-ses/types.rb

Overview

Note:

When making an API call, you may pass CreateReceiptFilterRequest data as a hash:

{
  filter: { # required
    name: "ReceiptFilterName", # required
    ip_filter: { # required
      policy: "Block", # required, accepts Block, Allow
      cidr: "Cidr", # required
    },
  },
}

Represents a request to create a new IP address filter. You use IP address filters when you receive email with Amazon SES. For more information, see the [Amazon SES Developer Guide].

[1]: docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html

Instance Attribute Summary collapse

Instance Attribute Details

#filterTypes::ReceiptFilter

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.



803
804
805
806
# File 'lib/aws-sdk-ses/types.rb', line 803

class CreateReceiptFilterRequest < Struct.new(
  :filter)
  include Aws::Structure
end