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 |
Lists all the templates in the current Amazon QuickSight account.
This operation returns paginated results.
Synopsis
- data ListTemplates = ListTemplates' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- awsAccountId :: Text
- newListTemplates :: Text -> ListTemplates
- listTemplates_nextToken :: Lens' ListTemplates (Maybe Text)
- listTemplates_maxResults :: Lens' ListTemplates (Maybe Natural)
- listTemplates_awsAccountId :: Lens' ListTemplates Text
- data ListTemplatesResponse = ListTemplatesResponse' {}
- newListTemplatesResponse :: Int -> ListTemplatesResponse
- listTemplatesResponse_requestId :: Lens' ListTemplatesResponse (Maybe Text)
- listTemplatesResponse_templateSummaryList :: Lens' ListTemplatesResponse (Maybe [TemplateSummary])
- listTemplatesResponse_nextToken :: Lens' ListTemplatesResponse (Maybe Text)
- listTemplatesResponse_status :: Lens' ListTemplatesResponse Int
Creating a Request
data ListTemplates Source #
See: newListTemplates
smart constructor.
ListTemplates' | |
|
Instances
Create a value of ListTemplates
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:ListTemplates'
, listTemplates_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:maxResults:ListTemplates'
, listTemplates_maxResults
- The maximum number of results to be returned per request.
$sel:awsAccountId:ListTemplates'
, listTemplates_awsAccountId
- The ID of the Amazon Web Services account that contains the templates
that you're listing.
Request Lenses
listTemplates_nextToken :: Lens' ListTemplates (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listTemplates_maxResults :: Lens' ListTemplates (Maybe Natural) Source #
The maximum number of results to be returned per request.
listTemplates_awsAccountId :: Lens' ListTemplates Text Source #
The ID of the Amazon Web Services account that contains the templates that you're listing.
Destructuring the Response
data ListTemplatesResponse Source #
See: newListTemplatesResponse
smart constructor.
ListTemplatesResponse' | |
|
Instances
newListTemplatesResponse Source #
Create a value of ListTemplatesResponse
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:requestId:ListTemplatesResponse'
, listTemplatesResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:templateSummaryList:ListTemplatesResponse'
, listTemplatesResponse_templateSummaryList
- A structure containing information about the templates in the list.
$sel:nextToken:ListTemplates'
, listTemplatesResponse_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:status:ListTemplatesResponse'
, listTemplatesResponse_status
- The HTTP status of the request.
Response Lenses
listTemplatesResponse_requestId :: Lens' ListTemplatesResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
listTemplatesResponse_templateSummaryList :: Lens' ListTemplatesResponse (Maybe [TemplateSummary]) Source #
A structure containing information about the templates in the list.
listTemplatesResponse_nextToken :: Lens' ListTemplatesResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listTemplatesResponse_status :: Lens' ListTemplatesResponse Int Source #
The HTTP status of the request.