libZSservicesZSamazonka-guarddutyZSamazonka-guardduty
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.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
Eq ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

Read ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

Show ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

Generic ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

Associated Types

type Rep ArchiveFindings :: Type -> Type #

NFData ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

Methods

rnf :: ArchiveFindings -> () #

Hashable ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

ToJSON ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

AWSRequest ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

Associated Types

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

type Rep ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

type Rep ArchiveFindings = D1 ('MetaData "ArchiveFindings" "Amazonka.GuardDuty.ArchiveFindings" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "ArchiveFindings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "detectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "findingIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))
type AWSResponse ArchiveFindings Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

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:

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

Defined in Amazonka.GuardDuty.ArchiveFindings

Read ArchiveFindingsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

Show ArchiveFindingsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

Generic ArchiveFindingsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

Associated Types

type Rep ArchiveFindingsResponse :: Type -> Type #

NFData ArchiveFindingsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

Methods

rnf :: ArchiveFindingsResponse -> () #

type Rep ArchiveFindingsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ArchiveFindings

type Rep ArchiveFindingsResponse = D1 ('MetaData "ArchiveFindingsResponse" "Amazonka.GuardDuty.ArchiveFindings" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" '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