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.ReceiptFilter

Description

 
Synopsis

Documentation

data ReceiptFilter 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: newReceiptFilter smart constructor.

Constructors

ReceiptFilter' 

Fields

  • name :: Text

    The name of the IP address filter. The name must:

    • This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
    • Start and end with a letter or number.
    • Contain less than 64 characters.
  • ipFilter :: ReceiptIpFilter

    A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.

Instances

Instances details
ToQuery ReceiptFilter Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptFilter

FromXML ReceiptFilter Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptFilter

Generic ReceiptFilter Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptFilter

Associated Types

type Rep ReceiptFilter :: Type -> Type #

Read ReceiptFilter Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptFilter

Show ReceiptFilter Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptFilter

NFData ReceiptFilter Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptFilter

Methods

rnf :: ReceiptFilter -> () #

Eq ReceiptFilter Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptFilter

Hashable ReceiptFilter Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptFilter

type Rep ReceiptFilter Source # 
Instance details

Defined in Amazonka.SES.Types.ReceiptFilter

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

newReceiptFilter Source #

Create a value of ReceiptFilter 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:name:ReceiptFilter', receiptFilter_name - The name of the IP address filter. The name must:

  • This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
  • Start and end with a letter or number.
  • Contain less than 64 characters.

$sel:ipFilter:ReceiptFilter', receiptFilter_ipFilter - A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.

receiptFilter_name :: Lens' ReceiptFilter Text Source #

The name of the IP address filter. The name must:

  • This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
  • Start and end with a letter or number.
  • Contain less than 64 characters.

receiptFilter_ipFilter :: Lens' ReceiptFilter ReceiptIpFilter Source #

A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.