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

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

Read CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

Show CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

Generic CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

Associated Types

type Rep CreateArchiveRule :: Type -> Type #

NFData CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

Methods

rnf :: CreateArchiveRule -> () #

Hashable CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

ToJSON CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

AWSRequest CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

Associated Types

type AWSResponse 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

type Rep CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

type Rep CreateArchiveRule = D1 ('MetaData "CreateArchiveRule" "Amazonka.AccessAnalyzer.CreateArchiveRule" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" '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 "filter'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Criterion)) :*: S1 ('MetaSel ('Just "ruleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateArchiveRule Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

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.

$sel:filter':CreateArchiveRule', createArchiveRule_filter - The criteria for the rule.

$sel:ruleName:CreateArchiveRule', createArchiveRule_ruleName - The name of the rule to create.

Request Lenses

Destructuring the Response

data CreateArchiveRuleResponse Source #

See: newCreateArchiveRuleResponse smart constructor.

Instances

Instances details
Eq CreateArchiveRuleResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

Read CreateArchiveRuleResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

Show CreateArchiveRuleResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

Generic CreateArchiveRuleResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.CreateArchiveRule

Associated Types

type Rep CreateArchiveRuleResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" '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.