amazonka-accessanalyzer-2.0: Amazon Access Analyzer 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.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
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

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 #

Generic ListArchiveRules Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

Associated Types

type Rep ListArchiveRules :: Type -> Type #

Read ListArchiveRules Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

Show ListArchiveRules Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

NFData ListArchiveRules Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

Methods

rnf :: ListArchiveRules -> () #

Eq ListArchiveRules Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

Hashable ListArchiveRules Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

type AWSResponse 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" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "ListArchiveRules'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "analyzerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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:maxResults:ListArchiveRules', listArchiveRules_maxResults - The maximum number of results to return in the request.

ListArchiveRules, listArchiveRules_nextToken - A token used for pagination of results returned.

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

Request Lenses

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

The maximum number of results to return in the request.

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

A token used for pagination of results returned.

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
Generic ListArchiveRulesResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

Associated Types

type Rep ListArchiveRulesResponse :: Type -> Type #

Read ListArchiveRulesResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

Show ListArchiveRulesResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

NFData ListArchiveRulesResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListArchiveRules

Eq 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" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" '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:

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.