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 |
Creates a template alias for a template.
Synopsis
- data CreateTemplateAlias = CreateTemplateAlias' {}
- newCreateTemplateAlias :: Text -> Text -> Text -> Natural -> CreateTemplateAlias
- createTemplateAlias_awsAccountId :: Lens' CreateTemplateAlias Text
- createTemplateAlias_templateId :: Lens' CreateTemplateAlias Text
- createTemplateAlias_aliasName :: Lens' CreateTemplateAlias Text
- createTemplateAlias_templateVersionNumber :: Lens' CreateTemplateAlias Natural
- data CreateTemplateAliasResponse = CreateTemplateAliasResponse' {}
- newCreateTemplateAliasResponse :: Int -> CreateTemplateAliasResponse
- createTemplateAliasResponse_requestId :: Lens' CreateTemplateAliasResponse (Maybe Text)
- createTemplateAliasResponse_templateAlias :: Lens' CreateTemplateAliasResponse (Maybe TemplateAlias)
- createTemplateAliasResponse_status :: Lens' CreateTemplateAliasResponse Int
Creating a Request
data CreateTemplateAlias Source #
See: newCreateTemplateAlias
smart constructor.
CreateTemplateAlias' | |
|
Instances
newCreateTemplateAlias Source #
:: Text | |
-> Text | |
-> Text | |
-> Natural | |
-> CreateTemplateAlias |
Create a value of CreateTemplateAlias
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:awsAccountId:CreateTemplateAlias'
, createTemplateAlias_awsAccountId
- The ID of the Amazon Web Services account that contains the template
that you creating an alias for.
$sel:templateId:CreateTemplateAlias'
, createTemplateAlias_templateId
- An ID for the template.
$sel:aliasName:CreateTemplateAlias'
, createTemplateAlias_aliasName
- The name that you want to give to the template alias that you're
creating. Don't start the alias name with the $
character. Alias
names that start with $
are reserved by Amazon QuickSight.
$sel:templateVersionNumber:CreateTemplateAlias'
, createTemplateAlias_templateVersionNumber
- The version number of the template.
Request Lenses
createTemplateAlias_awsAccountId :: Lens' CreateTemplateAlias Text Source #
The ID of the Amazon Web Services account that contains the template that you creating an alias for.
createTemplateAlias_templateId :: Lens' CreateTemplateAlias Text Source #
An ID for the template.
createTemplateAlias_aliasName :: Lens' CreateTemplateAlias Text Source #
The name that you want to give to the template alias that you're
creating. Don't start the alias name with the $
character. Alias
names that start with $
are reserved by Amazon QuickSight.
createTemplateAlias_templateVersionNumber :: Lens' CreateTemplateAlias Natural Source #
The version number of the template.
Destructuring the Response
data CreateTemplateAliasResponse Source #
See: newCreateTemplateAliasResponse
smart constructor.
CreateTemplateAliasResponse' | |
|
Instances
newCreateTemplateAliasResponse Source #
Create a value of CreateTemplateAliasResponse
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:CreateTemplateAliasResponse'
, createTemplateAliasResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:templateAlias:CreateTemplateAliasResponse'
, createTemplateAliasResponse_templateAlias
- Information about the template alias.
$sel:status:CreateTemplateAliasResponse'
, createTemplateAliasResponse_status
- The HTTP status of the request.
Response Lenses
createTemplateAliasResponse_requestId :: Lens' CreateTemplateAliasResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
createTemplateAliasResponse_templateAlias :: Lens' CreateTemplateAliasResponse (Maybe TemplateAlias) Source #
Information about the template alias.
createTemplateAliasResponse_status :: Lens' CreateTemplateAliasResponse Int Source #
The HTTP status of the request.