amazonka-maciev2-2.0: Amazon Macie 2 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.MacieV2.GetFindings

Description

Retrieves the details of one or more findings.

Synopsis

Creating a Request

data GetFindings Source #

See: newGetFindings smart constructor.

Constructors

GetFindings' 

Fields

  • sortCriteria :: Maybe SortCriteria

    The criteria for sorting the results of the request.

  • findingIds :: [Text]

    An array of strings that lists the unique identifiers for the findings to retrieve. You can specify as many as 50 unique identifiers in this array.

Instances

Instances details
ToJSON GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

ToHeaders GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

Methods

toHeaders :: GetFindings -> [Header] #

ToPath GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

ToQuery GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

AWSRequest GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

Associated Types

type AWSResponse GetFindings #

Generic GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

Associated Types

type Rep GetFindings :: Type -> Type #

Read GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

Show GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

NFData GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

Methods

rnf :: GetFindings -> () #

Eq GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

Hashable GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

type AWSResponse GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

type Rep GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

type Rep GetFindings = D1 ('MetaData "GetFindings" "Amazonka.MacieV2.GetFindings" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "GetFindings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sortCriteria") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SortCriteria)) :*: S1 ('MetaSel ('Just "findingIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newGetFindings :: GetFindings Source #

Create a value of GetFindings 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:sortCriteria:GetFindings', getFindings_sortCriteria - The criteria for sorting the results of the request.

$sel:findingIds:GetFindings', getFindings_findingIds - An array of strings that lists the unique identifiers for the findings to retrieve. You can specify as many as 50 unique identifiers in this array.

Request Lenses

getFindings_sortCriteria :: Lens' GetFindings (Maybe SortCriteria) Source #

The criteria for sorting the results of the request.

getFindings_findingIds :: Lens' GetFindings [Text] Source #

An array of strings that lists the unique identifiers for the findings to retrieve. You can specify as many as 50 unique identifiers in this array.

Destructuring the Response

data GetFindingsResponse Source #

See: newGetFindingsResponse smart constructor.

Constructors

GetFindingsResponse' 

Fields

  • findings :: Maybe [Finding]

    An array of objects, one for each finding that matches the criteria specified in the request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic GetFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

Associated Types

type Rep GetFindingsResponse :: Type -> Type #

Read GetFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

Show GetFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

NFData GetFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

Methods

rnf :: GetFindingsResponse -> () #

Eq GetFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

type Rep GetFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

type Rep GetFindingsResponse = D1 ('MetaData "GetFindingsResponse" "Amazonka.MacieV2.GetFindings" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "GetFindingsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "findings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Finding])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetFindingsResponse Source #

Create a value of GetFindingsResponse 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:findings:GetFindingsResponse', getFindingsResponse_findings - An array of objects, one for each finding that matches the criteria specified in the request.

$sel:httpStatus:GetFindingsResponse', getFindingsResponse_httpStatus - The response's http status code.

Response Lenses

getFindingsResponse_findings :: Lens' GetFindingsResponse (Maybe [Finding]) Source #

An array of objects, one for each finding that matches the criteria specified in the request.