libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
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.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

Instances

Instances details
Eq GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

Read GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

Show GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

Generic GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

Associated Types

type Rep GetFindings :: Type -> Type #

NFData GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

Methods

rnf :: GetFindings -> () #

Hashable GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

ToJSON GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

AWSRequest GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

Associated Types

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

type Rep GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

type Rep GetFindings = D1 ('MetaData "GetFindings" "Amazonka.MacieV2.GetFindings" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" '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])))
type AWSResponse GetFindings Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

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.

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.

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 meets the criteria specified in the request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

Read GetFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

Show GetFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

Generic GetFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

Associated Types

type Rep GetFindingsResponse :: Type -> Type #

NFData GetFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

Methods

rnf :: GetFindingsResponse -> () #

type Rep GetFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.GetFindings

type Rep GetFindingsResponse = D1 ('MetaData "GetFindingsResponse" "Amazonka.MacieV2.GetFindings" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" '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 meets 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 meets the criteria specified in the request.