| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AccessAnalyzer.ListAccessPreviews
Description
Retrieves a list of access previews for the specified analyzer.
This operation returns paginated results.
Synopsis
- data ListAccessPreviews = ListAccessPreviews' {
- maxResults :: Maybe Int
- nextToken :: Maybe Text
- analyzerArn :: Text
- newListAccessPreviews :: Text -> ListAccessPreviews
- listAccessPreviews_maxResults :: Lens' ListAccessPreviews (Maybe Int)
- listAccessPreviews_nextToken :: Lens' ListAccessPreviews (Maybe Text)
- 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.
Constructors
| ListAccessPreviews' | |
Fields
| |
Instances
newListAccessPreviews Source #
Arguments
| :: Text | |
| -> ListAccessPreviews |
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:maxResults:ListAccessPreviews', listAccessPreviews_maxResults - The maximum number of results to return in the response.
ListAccessPreviews, listAccessPreviews_nextToken - A token used for pagination of results returned.
ListAccessPreviews, listAccessPreviews_analyzerArn - The
ARN of the analyzer
used to generate the access preview.
Request Lenses
listAccessPreviews_maxResults :: Lens' ListAccessPreviews (Maybe Int) Source #
The maximum number of results to return in the response.
listAccessPreviews_nextToken :: Lens' ListAccessPreviews (Maybe Text) Source #
A token used for pagination of results returned.
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.
Constructors
| ListAccessPreviewsResponse' | |
Fields
| |
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:
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.