amazonka-ses-2.0: Amazon Simple Email Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SES.Types.ReceiptIpFilter

Description

 
Synopsis

Documentation

data ReceiptIpFilter Source #

A receipt IP address filter enables you to specify whether to accept or reject mail originating from an IP address or range of IP addresses.

For information about setting up IP address filters, see the Amazon SES Developer Guide.

See: newReceiptIpFilter smart constructor.

Constructors

ReceiptIpFilter' 

Fields

  • policy :: ReceiptFilterPolicy

    Indicates whether to block or allow incoming mail from the specified IP addresses.

  • cidr :: Text

    A single IP address or a range of IP addresses that you want to block or allow, specified in Classless Inter-Domain Routing (CIDR) notation. An example of a single email address is 10.0.0.1. An example of a range of IP addresses is 10.0.0.1/24. For more information about CIDR notation, see RFC 2317.

Instances

Instances details
ToQuery ReceiptIpFilter Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptIpFilter

FromXML ReceiptIpFilter Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptIpFilter

Generic ReceiptIpFilter Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptIpFilter

Associated Types

type Rep ReceiptIpFilter :: Type -> Type #

Read ReceiptIpFilter Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptIpFilter

Show ReceiptIpFilter Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptIpFilter

NFData ReceiptIpFilter Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptIpFilter

Methods

rnf :: ReceiptIpFilter -> () #

Eq ReceiptIpFilter Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptIpFilter

Hashable ReceiptIpFilter Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptIpFilter

type Rep ReceiptIpFilter Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptIpFilter

type Rep ReceiptIpFilter = D1 ('MetaData "ReceiptIpFilter" "Amazonka.SES.Types.ReceiptIpFilter" "amazonka-ses-2.0-Gc6VkOIX7Sd2eunWehphuf" 'False) (C1 ('MetaCons "ReceiptIpFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReceiptFilterPolicy) :*: S1 ('MetaSel ('Just "cidr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newReceiptIpFilter Source #

Create a value of ReceiptIpFilter with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:policy:ReceiptIpFilter', receiptIpFilter_policy - Indicates whether to block or allow incoming mail from the specified IP addresses.

$sel:cidr:ReceiptIpFilter', receiptIpFilter_cidr - A single IP address or a range of IP addresses that you want to block or allow, specified in Classless Inter-Domain Routing (CIDR) notation. An example of a single email address is 10.0.0.1. An example of a range of IP addresses is 10.0.0.1/24. For more information about CIDR notation, see RFC 2317.

receiptIpFilter_policy :: Lens' ReceiptIpFilter ReceiptFilterPolicy Source #

Indicates whether to block or allow incoming mail from the specified IP addresses.

receiptIpFilter_cidr :: Lens' ReceiptIpFilter Text Source #

A single IP address or a range of IP addresses that you want to block or allow, specified in Classless Inter-Domain Routing (CIDR) notation. An example of a single email address is 10.0.0.1. An example of a range of IP addresses is 10.0.0.1/24. For more information about CIDR notation, see RFC 2317.