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

Description

Lists the receipt rule sets that exist under your AWS account in the current AWS Region. If there are additional receipt rule sets to be retrieved, you will receive a NextToken that you can provide to the next call to ListReceiptRuleSets to retrieve the additional entries.

For information about managing receipt rule sets, see the Amazon SES Developer Guide.

You can execute this operation no more than once per second.

This operation returns paginated results.

Synopsis

Creating a Request

data ListReceiptRuleSets Source #

Represents a request to list the receipt rule sets that exist under your AWS account. You use receipt rule sets to receive email with Amazon SES. For more information, see the Amazon SES Developer Guide.

See: newListReceiptRuleSets smart constructor.

Constructors

ListReceiptRuleSets' 

Fields

  • nextToken :: Maybe Text

    A token returned from a previous call to ListReceiptRuleSets to indicate the position in the receipt rule set list.

Instances

Instances details
ToHeaders ListReceiptRuleSets Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

ToPath ListReceiptRuleSets Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

ToQuery ListReceiptRuleSets Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

AWSPager ListReceiptRuleSets Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

AWSRequest ListReceiptRuleSets Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

Associated Types

type AWSResponse ListReceiptRuleSets #

Generic ListReceiptRuleSets Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

Associated Types

type Rep ListReceiptRuleSets :: Type -> Type #

Read ListReceiptRuleSets Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

Show ListReceiptRuleSets Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

NFData ListReceiptRuleSets Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

Methods

rnf :: ListReceiptRuleSets -> () #

Eq ListReceiptRuleSets Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

Hashable ListReceiptRuleSets Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

type AWSResponse ListReceiptRuleSets Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

type Rep ListReceiptRuleSets Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

type Rep ListReceiptRuleSets = D1 ('MetaData "ListReceiptRuleSets" "Amazonka.SES.ListReceiptRuleSets" "amazonka-ses-2.0-Gc6VkOIX7Sd2eunWehphuf" 'False) (C1 ('MetaCons "ListReceiptRuleSets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListReceiptRuleSets :: ListReceiptRuleSets Source #

Create a value of ListReceiptRuleSets 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:

ListReceiptRuleSets, listReceiptRuleSets_nextToken - A token returned from a previous call to ListReceiptRuleSets to indicate the position in the receipt rule set list.

Request Lenses

listReceiptRuleSets_nextToken :: Lens' ListReceiptRuleSets (Maybe Text) Source #

A token returned from a previous call to ListReceiptRuleSets to indicate the position in the receipt rule set list.

Destructuring the Response

data ListReceiptRuleSetsResponse Source #

A list of receipt rule sets that exist under your AWS account.

See: newListReceiptRuleSetsResponse smart constructor.

Constructors

ListReceiptRuleSetsResponse' 

Fields

  • nextToken :: Maybe Text

    A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls of ListReceiptRuleSets to retrieve up to 100 receipt rule sets at a time.

  • ruleSets :: Maybe [ReceiptRuleSetMetadata]

    The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListReceiptRuleSetsResponse Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

Associated Types

type Rep ListReceiptRuleSetsResponse :: Type -> Type #

Read ListReceiptRuleSetsResponse Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

Show ListReceiptRuleSetsResponse Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

NFData ListReceiptRuleSetsResponse Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

Eq ListReceiptRuleSetsResponse Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

type Rep ListReceiptRuleSetsResponse Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

type Rep ListReceiptRuleSetsResponse = D1 ('MetaData "ListReceiptRuleSetsResponse" "Amazonka.SES.ListReceiptRuleSets" "amazonka-ses-2.0-Gc6VkOIX7Sd2eunWehphuf" 'False) (C1 ('MetaCons "ListReceiptRuleSetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "ruleSets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReceiptRuleSetMetadata])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListReceiptRuleSetsResponse Source #

Create a value of ListReceiptRuleSetsResponse 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:

ListReceiptRuleSets, listReceiptRuleSetsResponse_nextToken - A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls of ListReceiptRuleSets to retrieve up to 100 receipt rule sets at a time.

$sel:ruleSets:ListReceiptRuleSetsResponse', listReceiptRuleSetsResponse_ruleSets - The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.

$sel:httpStatus:ListReceiptRuleSetsResponse', listReceiptRuleSetsResponse_httpStatus - The response's http status code.

Response Lenses

listReceiptRuleSetsResponse_nextToken :: Lens' ListReceiptRuleSetsResponse (Maybe Text) Source #

A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls of ListReceiptRuleSets to retrieve up to 100 receipt rule sets at a time.

listReceiptRuleSetsResponse_ruleSets :: Lens' ListReceiptRuleSetsResponse (Maybe [ReceiptRuleSetMetadata]) Source #

The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.