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