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

Defined in Amazonka.AccessAnalyzer.UpdateFindings

Read UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

Show UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

Generic UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

Associated Types

type Rep UpdateFindings :: Type -> Type #

NFData UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

Methods

rnf :: UpdateFindings -> () #

Hashable UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

ToJSON UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

AWSRequest UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

Associated Types

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

type Rep UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

type Rep UpdateFindings = D1 ('MetaData "UpdateFindings" "Amazonka.AccessAnalyzer.UpdateFindings" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" '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)))))
type AWSResponse UpdateFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

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.

$sel:resourceArn:UpdateFindings', updateFindings_resourceArn - The ARN of the resource identified in the finding.

$sel:analyzerArn:UpdateFindings', updateFindings_analyzerArn - The ARN of the analyzer that generated the findings to update.

$sel:status: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
Eq UpdateFindingsResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

Read UpdateFindingsResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

Show UpdateFindingsResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

Generic UpdateFindingsResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

Associated Types

type Rep UpdateFindingsResponse :: Type -> Type #

NFData UpdateFindingsResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

Methods

rnf :: UpdateFindingsResponse -> () #

type Rep UpdateFindingsResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.UpdateFindings

type Rep UpdateFindingsResponse = D1 ('MetaData "UpdateFindingsResponse" "Amazonka.AccessAnalyzer.UpdateFindings" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" '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.