libZSservicesZSamazonka-sesZSamazonka-ses
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq ListReceiptRuleSets Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

Read ListReceiptRuleSets Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

Show ListReceiptRuleSets Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

Generic ListReceiptRuleSets Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

Associated Types

type Rep ListReceiptRuleSets :: Type -> Type #

NFData ListReceiptRuleSets Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

Methods

rnf :: ListReceiptRuleSets -> () #

Hashable 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 #

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

type Rep ListReceiptRuleSets Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

type Rep ListReceiptRuleSets = D1 ('MetaData "ListReceiptRuleSets" "Amazonka.SES.ListReceiptRuleSets" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "ListReceiptRuleSets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse ListReceiptRuleSets Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

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:

$sel:nextToken: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

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

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListReceiptRuleSetsResponse Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

Read ListReceiptRuleSetsResponse Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

Show ListReceiptRuleSetsResponse Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

Generic ListReceiptRuleSetsResponse Source # 
Instance details

Defined in Amazonka.SES.ListReceiptRuleSets

Associated Types

type Rep ListReceiptRuleSetsResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "ListReceiptRuleSetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleSets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReceiptRuleSetMetadata])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:

$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:nextToken: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:httpStatus:ListReceiptRuleSetsResponse', listReceiptRuleSetsResponse_httpStatus - The response's http status code.

Response Lenses

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.

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.