amazonka-accessanalyzer-2.0: Amazon Access Analyzer 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.AccessAnalyzer.ListFindings

Description

Retrieves a list of findings generated by the specified analyzer.

To learn about filter keys that you can use to retrieve a list of findings, see IAM Access Analyzer filter keys in the IAM User Guide.

This operation returns paginated results.

Synopsis

Creating a Request

data ListFindings Source #

Retrieves a list of findings generated by the specified analyzer.

See: newListFindings smart constructor.

Constructors

ListFindings' 

Fields

Instances

Instances details
ToJSON ListFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListFindings

ToHeaders ListFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListFindings

ToPath ListFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListFindings

ToQuery ListFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListFindings

AWSPager ListFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListFindings

AWSRequest ListFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListFindings

Associated Types

type AWSResponse ListFindings #

Generic ListFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListFindings

Associated Types

type Rep ListFindings :: Type -> Type #

Read ListFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListFindings

Show ListFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListFindings

NFData ListFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListFindings

Methods

rnf :: ListFindings -> () #

Eq ListFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListFindings

Hashable ListFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListFindings

type AWSResponse ListFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListFindings

type Rep ListFindings Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListFindings

type Rep ListFindings = D1 ('MetaData "ListFindings" "Amazonka.AccessAnalyzer.ListFindings" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "ListFindings'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filter'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Criterion))) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SortCriteria)) :*: S1 ('MetaSel ('Just "analyzerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newListFindings 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:

ListFindings, listFindings_filter - A filter to match for the findings to return.

$sel:maxResults:ListFindings', listFindings_maxResults - The maximum number of results to return in the response.

ListFindings, listFindings_nextToken - A token used for pagination of results returned.

$sel:sort:ListFindings', listFindings_sort - The sort order for the findings returned.

ListFindings, listFindings_analyzerArn - The ARN of the analyzer to retrieve findings from.

Request Lenses

listFindings_filter :: Lens' ListFindings (Maybe (HashMap Text Criterion)) Source #

A filter to match for the findings to return.

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

The maximum number of results to return in the response.

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

A token used for pagination of results returned.

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

The sort order for the findings returned.

Destructuring the Response

data ListFindingsResponse Source #

The response to the request.

See: newListFindingsResponse smart constructor.

Constructors

ListFindingsResponse' 

Fields

Instances

Instances details
Generic ListFindingsResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListFindings

Associated Types

type Rep ListFindingsResponse :: Type -> Type #

Read ListFindingsResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListFindings

Show ListFindingsResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListFindings

NFData ListFindingsResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListFindings

Methods

rnf :: ListFindingsResponse -> () #

Eq ListFindingsResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListFindings

type Rep ListFindingsResponse Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.ListFindings

type Rep ListFindingsResponse = D1 ('MetaData "ListFindingsResponse" "Amazonka.AccessAnalyzer.ListFindings" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "ListFindingsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "findings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [FindingSummary]))))

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:

ListFindings, listFindingsResponse_nextToken - A token used for pagination of results returned.

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

$sel:findings:ListFindingsResponse', listFindingsResponse_findings - A list of findings retrieved from the analyzer that match the filter criteria specified, if any.

Response Lenses

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

A token used for pagination of results returned.

listFindingsResponse_findings :: Lens' ListFindingsResponse [FindingSummary] Source #

A list of findings retrieved from the analyzer that match the filter criteria specified, if any.