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

Description

Creates an archive rule for the specified analyzer. Archive rules automatically archive new findings that meet the criteria you define when you create the 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 CreateArchiveRule Source #

Creates an archive rule.

See: newCreateArchiveRule smart constructor.

Constructors

CreateArchiveRule' 

Fields

Instances

Instances details
ToJSON CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

ToHeaders CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

ToPath CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

ToQuery CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

AWSRequest CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

Associated Types

type AWSResponse CreateArchiveRule #

Generic CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

Associated Types

type Rep CreateArchiveRule :: Type -> Type #

Read CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

Show CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

NFData CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

Methods

rnf :: CreateArchiveRule -> () #

Eq CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

Hashable CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

type AWSResponse CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

type Rep CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

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

newCreateArchiveRule Source #

Create a value of CreateArchiveRule 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:clientToken:CreateArchiveRule', createArchiveRule_clientToken - A client token.

$sel:analyzerName:CreateArchiveRule', createArchiveRule_analyzerName - The name of the created analyzer.

CreateArchiveRule, createArchiveRule_ruleName - The name of the rule to create.

CreateArchiveRule, createArchiveRule_filter - The criteria for the rule.

Request Lenses

Destructuring the Response

data CreateArchiveRuleResponse Source #

See: newCreateArchiveRuleResponse smart constructor.

Instances

Instances details
Generic CreateArchiveRuleResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

Associated Types

type Rep CreateArchiveRuleResponse :: Type -> Type #

Read CreateArchiveRuleResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

Show CreateArchiveRuleResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

NFData CreateArchiveRuleResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

Eq CreateArchiveRuleResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

type Rep CreateArchiveRuleResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

type Rep CreateArchiveRuleResponse = D1 ('MetaData "CreateArchiveRuleResponse" "Amazonka.AccessAnalyzer.CreateArchiveRule" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "CreateArchiveRuleResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newCreateArchiveRuleResponse :: CreateArchiveRuleResponse Source #

Create a value of CreateArchiveRuleResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.