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 previews for the specified analyzer.
This operation returns paginated results.
Synopsis
- data ListAccessPreviews = ListAccessPreviews' {
- nextToken :: Maybe Text
- maxResults :: Maybe Int
- analyzerArn :: Text
- newListAccessPreviews :: Text -> ListAccessPreviews
- listAccessPreviews_nextToken :: Lens' ListAccessPreviews (Maybe Text)
- listAccessPreviews_maxResults :: Lens' ListAccessPreviews (Maybe Int)
- listAccessPreviews_analyzerArn :: Lens' ListAccessPreviews Text
- data ListAccessPreviewsResponse = ListAccessPreviewsResponse' {}
- newListAccessPreviewsResponse :: Int -> ListAccessPreviewsResponse
- listAccessPreviewsResponse_nextToken :: Lens' ListAccessPreviewsResponse (Maybe Text)
- listAccessPreviewsResponse_httpStatus :: Lens' ListAccessPreviewsResponse Int
- listAccessPreviewsResponse_accessPreviews :: Lens' ListAccessPreviewsResponse [AccessPreviewSummary]
Creating a Request
data ListAccessPreviews Source #
See: newListAccessPreviews
smart constructor.
ListAccessPreviews' | |
|
Instances
newListAccessPreviews Source #
Create a value of ListAccessPreviews
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:ListAccessPreviews'
, listAccessPreviews_nextToken
- A token used for pagination of results returned.
$sel:maxResults:ListAccessPreviews'
, listAccessPreviews_maxResults
- The maximum number of results to return in the response.
$sel:analyzerArn:ListAccessPreviews'
, listAccessPreviews_analyzerArn
- The
ARN of the analyzer
used to generate the access preview.
Request Lenses
listAccessPreviews_nextToken :: Lens' ListAccessPreviews (Maybe Text) Source #
A token used for pagination of results returned.
listAccessPreviews_maxResults :: Lens' ListAccessPreviews (Maybe Int) Source #
The maximum number of results to return in the response.
listAccessPreviews_analyzerArn :: Lens' ListAccessPreviews Text Source #
The ARN of the analyzer used to generate the access preview.
Destructuring the Response
data ListAccessPreviewsResponse Source #
See: newListAccessPreviewsResponse
smart constructor.
ListAccessPreviewsResponse' | |
|
Instances
newListAccessPreviewsResponse Source #
Create a value of ListAccessPreviewsResponse
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:ListAccessPreviews'
, listAccessPreviewsResponse_nextToken
- A token used for pagination of results returned.
$sel:httpStatus:ListAccessPreviewsResponse'
, listAccessPreviewsResponse_httpStatus
- The response's http status code.
$sel:accessPreviews:ListAccessPreviewsResponse'
, listAccessPreviewsResponse_accessPreviews
- A list of access previews retrieved for the analyzer.
Response Lenses
listAccessPreviewsResponse_nextToken :: Lens' ListAccessPreviewsResponse (Maybe Text) Source #
A token used for pagination of results returned.
listAccessPreviewsResponse_httpStatus :: Lens' ListAccessPreviewsResponse Int Source #
The response's http status code.
listAccessPreviewsResponse_accessPreviews :: Lens' ListAccessPreviewsResponse [AccessPreviewSummary] Source #
A list of access previews retrieved for the analyzer.