| 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.ListTemplateVersions
Description
Lists all the versions of the templates in the current Amazon QuickSight account.
This operation returns paginated results.
Synopsis
- data ListTemplateVersions = ListTemplateVersions' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- awsAccountId :: Text
- templateId :: Text
- newListTemplateVersions :: Text -> Text -> ListTemplateVersions
- listTemplateVersions_maxResults :: Lens' ListTemplateVersions (Maybe Natural)
- listTemplateVersions_nextToken :: Lens' ListTemplateVersions (Maybe Text)
- listTemplateVersions_awsAccountId :: Lens' ListTemplateVersions Text
- listTemplateVersions_templateId :: Lens' ListTemplateVersions Text
- data ListTemplateVersionsResponse = ListTemplateVersionsResponse' {}
- newListTemplateVersionsResponse :: Int -> ListTemplateVersionsResponse
- listTemplateVersionsResponse_nextToken :: Lens' ListTemplateVersionsResponse (Maybe Text)
- listTemplateVersionsResponse_requestId :: Lens' ListTemplateVersionsResponse (Maybe Text)
- listTemplateVersionsResponse_templateVersionSummaryList :: Lens' ListTemplateVersionsResponse (Maybe [TemplateVersionSummary])
- listTemplateVersionsResponse_status :: Lens' ListTemplateVersionsResponse Int
Creating a Request
data ListTemplateVersions Source #
See: newListTemplateVersions smart constructor.
Constructors
| ListTemplateVersions' | |
Fields
| |
Instances
newListTemplateVersions Source #
Arguments
| :: Text | |
| -> Text | |
| -> ListTemplateVersions |
Create a value of ListTemplateVersions 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:ListTemplateVersions', listTemplateVersions_maxResults - The maximum number of results to be returned per request.
ListTemplateVersions, listTemplateVersions_nextToken - The token for the next set of results, or null if there are no more
results.
ListTemplateVersions, listTemplateVersions_awsAccountId - The ID of the Amazon Web Services account that contains the templates
that you're listing.
ListTemplateVersions, listTemplateVersions_templateId - The ID for the template.
Request Lenses
listTemplateVersions_maxResults :: Lens' ListTemplateVersions (Maybe Natural) Source #
The maximum number of results to be returned per request.
listTemplateVersions_nextToken :: Lens' ListTemplateVersions (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listTemplateVersions_awsAccountId :: Lens' ListTemplateVersions Text Source #
The ID of the Amazon Web Services account that contains the templates that you're listing.
listTemplateVersions_templateId :: Lens' ListTemplateVersions Text Source #
The ID for the template.
Destructuring the Response
data ListTemplateVersionsResponse Source #
See: newListTemplateVersionsResponse smart constructor.
Constructors
| ListTemplateVersionsResponse' | |
Fields
| |
Instances
newListTemplateVersionsResponse Source #
Arguments
| :: Int | |
| -> ListTemplateVersionsResponse |
Create a value of ListTemplateVersionsResponse 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:
ListTemplateVersions, listTemplateVersionsResponse_nextToken - The token for the next set of results, or null if there are no more
results.
$sel:requestId:ListTemplateVersionsResponse', listTemplateVersionsResponse_requestId - The Amazon Web Services request ID for this operation.
$sel:templateVersionSummaryList:ListTemplateVersionsResponse', listTemplateVersionsResponse_templateVersionSummaryList - A structure containing a list of all the versions of the specified
template.
ListTemplateVersionsResponse, listTemplateVersionsResponse_status - The HTTP status of the request.
Response Lenses
listTemplateVersionsResponse_nextToken :: Lens' ListTemplateVersionsResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listTemplateVersionsResponse_requestId :: Lens' ListTemplateVersionsResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
listTemplateVersionsResponse_templateVersionSummaryList :: Lens' ListTemplateVersionsResponse (Maybe [TemplateVersionSummary]) Source #
A structure containing a list of all the versions of the specified template.
listTemplateVersionsResponse_status :: Lens' ListTemplateVersionsResponse Int Source #
The HTTP status of the request.