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

Description

Updates the status for the specified findings.

Synopsis

Creating a Request

data UpdateFindings Source #

Updates findings with the new values provided in the request.

See: newUpdateFindings smart constructor.

Constructors

UpdateFindings' 

Fields

Instances

Instances details
ToJSON UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

ToHeaders UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

ToPath UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

ToQuery UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

AWSRequest UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

Associated Types

type AWSResponse UpdateFindings #

Generic UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

Associated Types

type Rep UpdateFindings :: Type -> Type #

Read UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

Show UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

NFData UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

Methods

rnf :: UpdateFindings -> () #

Eq UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

Hashable UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

type AWSResponse UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

type Rep UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

type Rep UpdateFindings = D1 ('MetaData "UpdateFindings" "Amazonka.AccessAnalyzer.UpdateFindings" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "UpdateFindings'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ids") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "analyzerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FindingStatusUpdate)))))

newUpdateFindings Source #

Create a value of UpdateFindings 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:UpdateFindings', updateFindings_clientToken - A client token.

$sel:ids:UpdateFindings', updateFindings_ids - The IDs of the findings to update.

UpdateFindings, updateFindings_resourceArn - The ARN of the resource identified in the finding.

UpdateFindings, updateFindings_analyzerArn - The ARN of the analyzer that generated the findings to update.

UpdateFindings, updateFindings_status - The state represents the action to take to update the finding Status. Use ARCHIVE to change an Active finding to an Archived finding. Use ACTIVE to change an Archived finding to an Active finding.

Request Lenses

updateFindings_ids :: Lens' UpdateFindings (Maybe [Text]) Source #

The IDs of the findings to update.

updateFindings_resourceArn :: Lens' UpdateFindings (Maybe Text) Source #

The ARN of the resource identified in the finding.

updateFindings_analyzerArn :: Lens' UpdateFindings Text Source #

The ARN of the analyzer that generated the findings to update.

updateFindings_status :: Lens' UpdateFindings FindingStatusUpdate Source #

The state represents the action to take to update the finding Status. Use ARCHIVE to change an Active finding to an Archived finding. Use ACTIVE to change an Archived finding to an Active finding.

Destructuring the Response

data UpdateFindingsResponse Source #

See: newUpdateFindingsResponse smart constructor.

Instances

Instances details
Generic UpdateFindingsResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

Associated Types

type Rep UpdateFindingsResponse :: Type -> Type #

Read UpdateFindingsResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

Show UpdateFindingsResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

NFData UpdateFindingsResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

Methods

rnf :: UpdateFindingsResponse -> () #

Eq UpdateFindingsResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

type Rep UpdateFindingsResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

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

newUpdateFindingsResponse :: UpdateFindingsResponse Source #

Create a value of UpdateFindingsResponse with all optional fields omitted.

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