amazonka-guardduty-2.0: Amazon GuardDuty 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.GuardDuty.ArchiveFindings

Description

Archives GuardDuty findings that are specified by the list of finding IDs.

Only the administrator account can archive findings. Member accounts don't have permission to archive findings from their accounts.

Synopsis

Creating a Request

data ArchiveFindings Source #

See: newArchiveFindings smart constructor.

Constructors

ArchiveFindings' 

Fields

  • detectorId :: Text

    The ID of the detector that specifies the GuardDuty service whose findings you want to archive.

  • findingIds :: [Text]

    The IDs of the findings that you want to archive.

Instances

Instances details
ToJSON ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

ToHeaders ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

ToPath ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

ToQuery ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

AWSRequest ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

Associated Types

type AWSResponse ArchiveFindings #

Generic ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

Associated Types

type Rep ArchiveFindings :: Type -> Type #

Read ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

Show ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

NFData ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

Methods

rnf :: ArchiveFindings -> () #

Eq ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

Hashable ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

type AWSResponse ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

type Rep ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

type Rep ArchiveFindings = D1 ('MetaData "ArchiveFindings" "Amazonka.GuardDuty.ArchiveFindings" "amazonka-guardduty-2.0-2NN502sGcQRH5risQZb24c" 'False) (C1 ('MetaCons "ArchiveFindings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "detectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "findingIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newArchiveFindings Source #

Create a value of ArchiveFindings 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:

ArchiveFindings, archiveFindings_detectorId - The ID of the detector that specifies the GuardDuty service whose findings you want to archive.

$sel:findingIds:ArchiveFindings', archiveFindings_findingIds - The IDs of the findings that you want to archive.

Request Lenses

archiveFindings_detectorId :: Lens' ArchiveFindings Text Source #

The ID of the detector that specifies the GuardDuty service whose findings you want to archive.

archiveFindings_findingIds :: Lens' ArchiveFindings [Text] Source #

The IDs of the findings that you want to archive.

Destructuring the Response

data ArchiveFindingsResponse Source #

See: newArchiveFindingsResponse smart constructor.

Constructors

ArchiveFindingsResponse' 

Fields

Instances

Instances details
Generic ArchiveFindingsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

Associated Types

type Rep ArchiveFindingsResponse :: Type -> Type #

Read ArchiveFindingsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

Show ArchiveFindingsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

NFData ArchiveFindingsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

Methods

rnf :: ArchiveFindingsResponse -> () #

Eq ArchiveFindingsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

type Rep ArchiveFindingsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

type Rep ArchiveFindingsResponse = D1 ('MetaData "ArchiveFindingsResponse" "Amazonka.GuardDuty.ArchiveFindings" "amazonka-guardduty-2.0-2NN502sGcQRH5risQZb24c" 'False) (C1 ('MetaCons "ArchiveFindingsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newArchiveFindingsResponse Source #

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

Response Lenses