Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Retrieves a list of access preview findings generated by the specified access preview.
This operation returns paginated results.
Synopsis
- data ListAccessPreviewFindings = ListAccessPreviewFindings' {
- nextToken :: Maybe Text
- filter' :: Maybe (HashMap Text Criterion)
- maxResults :: Maybe Int
- accessPreviewId :: Text
- analyzerArn :: Text
- newListAccessPreviewFindings :: Text -> Text -> ListAccessPreviewFindings
- listAccessPreviewFindings_nextToken :: Lens' ListAccessPreviewFindings (Maybe Text)
- listAccessPreviewFindings_filter :: Lens' ListAccessPreviewFindings (Maybe (HashMap Text Criterion))
- listAccessPreviewFindings_maxResults :: Lens' ListAccessPreviewFindings (Maybe Int)
- listAccessPreviewFindings_accessPreviewId :: Lens' ListAccessPreviewFindings Text
- listAccessPreviewFindings_analyzerArn :: Lens' ListAccessPreviewFindings Text
- data ListAccessPreviewFindingsResponse = ListAccessPreviewFindingsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- findings :: [AccessPreviewFinding]
- newListAccessPreviewFindingsResponse :: Int -> ListAccessPreviewFindingsResponse
- listAccessPreviewFindingsResponse_nextToken :: Lens' ListAccessPreviewFindingsResponse (Maybe Text)
- listAccessPreviewFindingsResponse_httpStatus :: Lens' ListAccessPreviewFindingsResponse Int
- listAccessPreviewFindingsResponse_findings :: Lens' ListAccessPreviewFindingsResponse [AccessPreviewFinding]
Creating a Request
data ListAccessPreviewFindings Source #
See: newListAccessPreviewFindings
smart constructor.
ListAccessPreviewFindings' | |
|
Instances
newListAccessPreviewFindings Source #
:: Text | |
-> Text | |
-> ListAccessPreviewFindings |
Create a value of ListAccessPreviewFindings
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:nextToken:ListAccessPreviewFindings'
, listAccessPreviewFindings_nextToken
- A token used for pagination of results returned.
$sel:filter':ListAccessPreviewFindings'
, listAccessPreviewFindings_filter
- Criteria to filter the returned findings.
$sel:maxResults:ListAccessPreviewFindings'
, listAccessPreviewFindings_maxResults
- The maximum number of results to return in the response.
$sel:accessPreviewId:ListAccessPreviewFindings'
, listAccessPreviewFindings_accessPreviewId
- The unique ID for the access preview.
$sel:analyzerArn:ListAccessPreviewFindings'
, listAccessPreviewFindings_analyzerArn
- The
ARN of the analyzer
used to generate the access.
Request Lenses
listAccessPreviewFindings_nextToken :: Lens' ListAccessPreviewFindings (Maybe Text) Source #
A token used for pagination of results returned.
listAccessPreviewFindings_filter :: Lens' ListAccessPreviewFindings (Maybe (HashMap Text Criterion)) Source #
Criteria to filter the returned findings.
listAccessPreviewFindings_maxResults :: Lens' ListAccessPreviewFindings (Maybe Int) Source #
The maximum number of results to return in the response.
listAccessPreviewFindings_accessPreviewId :: Lens' ListAccessPreviewFindings Text Source #
The unique ID for the access preview.
listAccessPreviewFindings_analyzerArn :: Lens' ListAccessPreviewFindings Text Source #
The ARN of the analyzer used to generate the access.
Destructuring the Response
data ListAccessPreviewFindingsResponse Source #
See: newListAccessPreviewFindingsResponse
smart constructor.
ListAccessPreviewFindingsResponse' | |
|
Instances
newListAccessPreviewFindingsResponse Source #
Create a value of ListAccessPreviewFindingsResponse
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:nextToken:ListAccessPreviewFindings'
, listAccessPreviewFindingsResponse_nextToken
- A token used for pagination of results returned.
$sel:httpStatus:ListAccessPreviewFindingsResponse'
, listAccessPreviewFindingsResponse_httpStatus
- The response's http status code.
$sel:findings:ListAccessPreviewFindingsResponse'
, listAccessPreviewFindingsResponse_findings
- A list of access preview findings that match the specified filter
criteria.
Response Lenses
listAccessPreviewFindingsResponse_nextToken :: Lens' ListAccessPreviewFindingsResponse (Maybe Text) Source #
A token used for pagination of results returned.
listAccessPreviewFindingsResponse_httpStatus :: Lens' ListAccessPreviewFindingsResponse Int Source #
The response's http status code.
listAccessPreviewFindingsResponse_findings :: Lens' ListAccessPreviewFindingsResponse [AccessPreviewFinding] Source #
A list of access preview findings that match the specified filter criteria.