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