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

Description

Retrieves information about an archive rule.

To learn about filter keys that you can use to create an archive rule, see IAM Access Analyzer filter keys in the IAM User Guide.

Synopsis

Creating a Request

data GetArchiveRule Source #

Retrieves an archive rule.

See: newGetArchiveRule smart constructor.

Constructors

GetArchiveRule' 

Fields

Instances

Instances details
ToHeaders GetArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.GetArchiveRule

ToPath GetArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.GetArchiveRule

ToQuery GetArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.GetArchiveRule

AWSRequest GetArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.GetArchiveRule

Associated Types

type AWSResponse GetArchiveRule #

Generic GetArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.GetArchiveRule

Associated Types

type Rep GetArchiveRule :: Type -> Type #

Read GetArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.GetArchiveRule

Show GetArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.GetArchiveRule

NFData GetArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.GetArchiveRule

Methods

rnf :: GetArchiveRule -> () #

Eq GetArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.GetArchiveRule

Hashable GetArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.GetArchiveRule

type AWSResponse GetArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.GetArchiveRule

type Rep GetArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.GetArchiveRule

type Rep GetArchiveRule = D1 ('MetaData "GetArchiveRule" "Amazonka.AccessAnalyzer.GetArchiveRule" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "GetArchiveRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "analyzerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "ruleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetArchiveRule Source #

Create a value of GetArchiveRule 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:analyzerName:GetArchiveRule', getArchiveRule_analyzerName - The name of the analyzer to retrieve rules from.

GetArchiveRule, getArchiveRule_ruleName - The name of the rule to retrieve.

Request Lenses

getArchiveRule_analyzerName :: Lens' GetArchiveRule Text Source #

The name of the analyzer to retrieve rules from.

getArchiveRule_ruleName :: Lens' GetArchiveRule Text Source #

The name of the rule to retrieve.

Destructuring the Response

data GetArchiveRuleResponse Source #

The response to the request.

See: newGetArchiveRuleResponse smart constructor.

Constructors

GetArchiveRuleResponse' 

Fields

Instances

Instances details
Generic GetArchiveRuleResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.GetArchiveRule

Associated Types

type Rep GetArchiveRuleResponse :: Type -> Type #

Read GetArchiveRuleResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.GetArchiveRule

Show GetArchiveRuleResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.GetArchiveRule

NFData GetArchiveRuleResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.GetArchiveRule

Methods

rnf :: GetArchiveRuleResponse -> () #

Eq GetArchiveRuleResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.GetArchiveRule

type Rep GetArchiveRuleResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.GetArchiveRule

type Rep GetArchiveRuleResponse = D1 ('MetaData "GetArchiveRuleResponse" "Amazonka.AccessAnalyzer.GetArchiveRule" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "GetArchiveRuleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "archiveRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ArchiveRuleSummary)))

newGetArchiveRuleResponse Source #

Create a value of GetArchiveRuleResponse 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:httpStatus:GetArchiveRuleResponse', getArchiveRuleResponse_httpStatus - The response's http status code.

$sel:archiveRule:GetArchiveRuleResponse', getArchiveRuleResponse_archiveRule - Undocumented member.

Response Lenses