You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ses/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.

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.



806
807
808
809
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 806

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