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.ListFindings

Description

Retrieves a subset of information about one or more findings.

This operation returns paginated results.

Synopsis

Creating a Request

data ListFindings Source #

See: newListFindings smart constructor.

Constructors

ListFindings' 

Fields

Instances

Instances details
Eq ListFindings Source # 
Instance details

Defined in Amazonka.MacieV2.ListFindings

Read ListFindings Source # 
Instance details

Defined in Amazonka.MacieV2.ListFindings

Show ListFindings Source # 
Instance details

Defined in Amazonka.MacieV2.ListFindings

Generic ListFindings Source # 
Instance details

Defined in Amazonka.MacieV2.ListFindings

Associated Types

type Rep ListFindings :: Type -> Type #

NFData ListFindings Source # 
Instance details

Defined in Amazonka.MacieV2.ListFindings

Methods

rnf :: ListFindings -> () #

Hashable ListFindings Source # 
Instance details

Defined in Amazonka.MacieV2.ListFindings

ToJSON ListFindings Source # 
Instance details

Defined in Amazonka.MacieV2.ListFindings

AWSPager ListFindings Source # 
Instance details

Defined in Amazonka.MacieV2.ListFindings

AWSRequest ListFindings Source # 
Instance details

Defined in Amazonka.MacieV2.ListFindings

Associated Types

type AWSResponse ListFindings #

ToHeaders ListFindings Source # 
Instance details

Defined in Amazonka.MacieV2.ListFindings

ToPath ListFindings Source # 
Instance details

Defined in Amazonka.MacieV2.ListFindings

ToQuery ListFindings Source # 
Instance details

Defined in Amazonka.MacieV2.ListFindings

type Rep ListFindings Source # 
Instance details

Defined in Amazonka.MacieV2.ListFindings

type Rep ListFindings = D1 ('MetaData "ListFindings" "Amazonka.MacieV2.ListFindings" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "ListFindings'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "findingCriteria") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FindingCriteria)) :*: S1 ('MetaSel ('Just "sortCriteria") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SortCriteria))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse ListFindings Source # 
Instance details

Defined in Amazonka.MacieV2.ListFindings

newListFindings :: ListFindings Source #

Create a value of ListFindings 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:findingCriteria:ListFindings', listFindings_findingCriteria - The criteria to use to filter the results.

$sel:sortCriteria:ListFindings', listFindings_sortCriteria - The criteria to use to sort the results.

$sel:nextToken:ListFindings', listFindings_nextToken - The nextToken string that specifies which page of results to return in a paginated response.

$sel:maxResults:ListFindings', listFindings_maxResults - The maximum number of items to include in each page of the response.

Request Lenses

listFindings_findingCriteria :: Lens' ListFindings (Maybe FindingCriteria) Source #

The criteria to use to filter the results.

listFindings_sortCriteria :: Lens' ListFindings (Maybe SortCriteria) Source #

The criteria to use to sort the results.

listFindings_nextToken :: Lens' ListFindings (Maybe Text) Source #

The nextToken string that specifies which page of results to return in a paginated response.

listFindings_maxResults :: Lens' ListFindings (Maybe Int) Source #

The maximum number of items to include in each page of the response.

Destructuring the Response

data ListFindingsResponse Source #

See: newListFindingsResponse smart constructor.

Constructors

ListFindingsResponse' 

Fields

  • findingIds :: Maybe [Text]

    An array of strings, where each string is the unique identifier for a finding that meets the filter criteria specified in the request.

  • nextToken :: Maybe Text

    The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListFindings

Read ListFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListFindings

Show ListFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListFindings

Generic ListFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListFindings

Associated Types

type Rep ListFindingsResponse :: Type -> Type #

NFData ListFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListFindings

Methods

rnf :: ListFindingsResponse -> () #

type Rep ListFindingsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListFindings

type Rep ListFindingsResponse = D1 ('MetaData "ListFindingsResponse" "Amazonka.MacieV2.ListFindings" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "ListFindingsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "findingIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListFindingsResponse Source #

Create a value of ListFindingsResponse 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:findingIds:ListFindingsResponse', listFindingsResponse_findingIds - An array of strings, where each string is the unique identifier for a finding that meets the filter criteria specified in the request.

$sel:nextToken:ListFindings', listFindingsResponse_nextToken - The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

$sel:httpStatus:ListFindingsResponse', listFindingsResponse_httpStatus - The response's http status code.

Response Lenses

listFindingsResponse_findingIds :: Lens' ListFindingsResponse (Maybe [Text]) Source #

An array of strings, where each string is the unique identifier for a finding that meets the filter criteria specified in the request.

listFindingsResponse_nextToken :: Lens' ListFindingsResponse (Maybe Text) Source #

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.