libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer
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.AccessAnalyzer.ListArchiveRules

Description

Retrieves a list of archive rules created for the specified analyzer.

This operation returns paginated results.

Synopsis

Creating a Request

data ListArchiveRules Source #

Retrieves a list of archive rules created for the specified analyzer.

See: newListArchiveRules smart constructor.

Constructors

ListArchiveRules' 

Fields

Instances

Instances details
Eq ListArchiveRules Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

Read ListArchiveRules Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

Show ListArchiveRules Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

Generic ListArchiveRules Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

Associated Types

type Rep ListArchiveRules :: Type -> Type #

NFData ListArchiveRules Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

Methods

rnf :: ListArchiveRules -> () #

Hashable ListArchiveRules Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

AWSPager ListArchiveRules Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

AWSRequest ListArchiveRules Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

Associated Types

type AWSResponse ListArchiveRules #

ToHeaders ListArchiveRules Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

ToPath ListArchiveRules Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

ToQuery ListArchiveRules Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

type Rep ListArchiveRules Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

type Rep ListArchiveRules = D1 ('MetaData "ListArchiveRules" "Amazonka.AccessAnalyzer.ListArchiveRules" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "ListArchiveRules'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "analyzerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListArchiveRules Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

newListArchiveRules Source #

Create a value of ListArchiveRules 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:ListArchiveRules', listArchiveRules_nextToken - A token used for pagination of results returned.

$sel:maxResults:ListArchiveRules', listArchiveRules_maxResults - The maximum number of results to return in the request.

$sel:analyzerName:ListArchiveRules', listArchiveRules_analyzerName - The name of the analyzer to retrieve rules from.

Request Lenses

listArchiveRules_nextToken :: Lens' ListArchiveRules (Maybe Text) Source #

A token used for pagination of results returned.

listArchiveRules_maxResults :: Lens' ListArchiveRules (Maybe Int) Source #

The maximum number of results to return in the request.

listArchiveRules_analyzerName :: Lens' ListArchiveRules Text Source #

The name of the analyzer to retrieve rules from.

Destructuring the Response

data ListArchiveRulesResponse Source #

The response to the request.

See: newListArchiveRulesResponse smart constructor.

Constructors

ListArchiveRulesResponse' 

Fields

Instances

Instances details
Eq ListArchiveRulesResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

Read ListArchiveRulesResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

Show ListArchiveRulesResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

Generic ListArchiveRulesResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

Associated Types

type Rep ListArchiveRulesResponse :: Type -> Type #

NFData ListArchiveRulesResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

type Rep ListArchiveRulesResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

type Rep ListArchiveRulesResponse = D1 ('MetaData "ListArchiveRulesResponse" "Amazonka.AccessAnalyzer.ListArchiveRules" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "ListArchiveRulesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "archiveRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ArchiveRuleSummary]))))

newListArchiveRulesResponse Source #

Create a value of ListArchiveRulesResponse 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:ListArchiveRules', listArchiveRulesResponse_nextToken - A token used for pagination of results returned.

$sel:httpStatus:ListArchiveRulesResponse', listArchiveRulesResponse_httpStatus - The response's http status code.

$sel:archiveRules:ListArchiveRulesResponse', listArchiveRulesResponse_archiveRules - A list of archive rules created for the specified analyzer.

Response Lenses

listArchiveRulesResponse_nextToken :: Lens' ListArchiveRulesResponse (Maybe Text) Source #

A token used for pagination of results returned.

listArchiveRulesResponse_archiveRules :: Lens' ListArchiveRulesResponse [ArchiveRuleSummary] Source #

A list of archive rules created for the specified analyzer.