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 aliases of a template.
This operation returns paginated results.
Synopsis
- data ListTemplateAliases = ListTemplateAliases' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- awsAccountId :: Text
- templateId :: Text
- newListTemplateAliases :: Text -> Text -> ListTemplateAliases
- listTemplateAliases_nextToken :: Lens' ListTemplateAliases (Maybe Text)
- listTemplateAliases_maxResults :: Lens' ListTemplateAliases (Maybe Natural)
- listTemplateAliases_awsAccountId :: Lens' ListTemplateAliases Text
- listTemplateAliases_templateId :: Lens' ListTemplateAliases Text
- data ListTemplateAliasesResponse = ListTemplateAliasesResponse' {}
- newListTemplateAliasesResponse :: Int -> ListTemplateAliasesResponse
- listTemplateAliasesResponse_requestId :: Lens' ListTemplateAliasesResponse (Maybe Text)
- listTemplateAliasesResponse_templateAliasList :: Lens' ListTemplateAliasesResponse (Maybe [TemplateAlias])
- listTemplateAliasesResponse_nextToken :: Lens' ListTemplateAliasesResponse (Maybe Text)
- listTemplateAliasesResponse_status :: Lens' ListTemplateAliasesResponse Int
Creating a Request
data ListTemplateAliases Source #
See: newListTemplateAliases
smart constructor.
ListTemplateAliases' | |
|
Instances
newListTemplateAliases Source #
:: Text | |
-> Text | |
-> ListTemplateAliases |
Create a value of ListTemplateAliases
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:ListTemplateAliases'
, listTemplateAliases_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:maxResults:ListTemplateAliases'
, listTemplateAliases_maxResults
- The maximum number of results to be returned per request.
$sel:awsAccountId:ListTemplateAliases'
, listTemplateAliases_awsAccountId
- The ID of the Amazon Web Services account that contains the template
aliases that you're listing.
$sel:templateId:ListTemplateAliases'
, listTemplateAliases_templateId
- The ID for the template.
Request Lenses
listTemplateAliases_nextToken :: Lens' ListTemplateAliases (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listTemplateAliases_maxResults :: Lens' ListTemplateAliases (Maybe Natural) Source #
The maximum number of results to be returned per request.
listTemplateAliases_awsAccountId :: Lens' ListTemplateAliases Text Source #
The ID of the Amazon Web Services account that contains the template aliases that you're listing.
listTemplateAliases_templateId :: Lens' ListTemplateAliases Text Source #
The ID for the template.
Destructuring the Response
data ListTemplateAliasesResponse Source #
See: newListTemplateAliasesResponse
smart constructor.
ListTemplateAliasesResponse' | |
|
Instances
newListTemplateAliasesResponse Source #
Create a value of ListTemplateAliasesResponse
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:ListTemplateAliasesResponse'
, listTemplateAliasesResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:templateAliasList:ListTemplateAliasesResponse'
, listTemplateAliasesResponse_templateAliasList
- A structure containing the list of the template's aliases.
$sel:nextToken:ListTemplateAliases'
, listTemplateAliasesResponse_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:status:ListTemplateAliasesResponse'
, listTemplateAliasesResponse_status
- The HTTP status of the request.
Response Lenses
listTemplateAliasesResponse_requestId :: Lens' ListTemplateAliasesResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
listTemplateAliasesResponse_templateAliasList :: Lens' ListTemplateAliasesResponse (Maybe [TemplateAlias]) Source #
A structure containing the list of the template's aliases.
listTemplateAliasesResponse_nextToken :: Lens' ListTemplateAliasesResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listTemplateAliasesResponse_status :: Lens' ListTemplateAliasesResponse Int Source #
The HTTP status of the request.