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 |
Describes the template alias for a template.
Synopsis
- data DescribeTemplateAlias = DescribeTemplateAlias' {
- awsAccountId :: Text
- templateId :: Text
- aliasName :: Text
- newDescribeTemplateAlias :: Text -> Text -> Text -> DescribeTemplateAlias
- describeTemplateAlias_awsAccountId :: Lens' DescribeTemplateAlias Text
- describeTemplateAlias_templateId :: Lens' DescribeTemplateAlias Text
- describeTemplateAlias_aliasName :: Lens' DescribeTemplateAlias Text
- data DescribeTemplateAliasResponse = DescribeTemplateAliasResponse' {}
- newDescribeTemplateAliasResponse :: Int -> DescribeTemplateAliasResponse
- describeTemplateAliasResponse_requestId :: Lens' DescribeTemplateAliasResponse (Maybe Text)
- describeTemplateAliasResponse_templateAlias :: Lens' DescribeTemplateAliasResponse (Maybe TemplateAlias)
- describeTemplateAliasResponse_status :: Lens' DescribeTemplateAliasResponse Int
Creating a Request
data DescribeTemplateAlias Source #
See: newDescribeTemplateAlias
smart constructor.
DescribeTemplateAlias' | |
|
Instances
newDescribeTemplateAlias Source #
:: Text | |
-> Text | |
-> Text | |
-> DescribeTemplateAlias |
Create a value of DescribeTemplateAlias
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:DescribeTemplateAlias'
, describeTemplateAlias_awsAccountId
- The ID of the Amazon Web Services account that contains the template
alias that you're describing.
$sel:templateId:DescribeTemplateAlias'
, describeTemplateAlias_templateId
- The ID for the template.
$sel:aliasName:DescribeTemplateAlias'
, describeTemplateAlias_aliasName
- The name of the template alias that you want to describe. If you name a
specific alias, you describe the version that the alias points to. You
can specify the latest version of the template by providing the keyword
$LATEST
in the AliasName
parameter. The keyword $PUBLISHED
doesn't apply to templates.
Request Lenses
describeTemplateAlias_awsAccountId :: Lens' DescribeTemplateAlias Text Source #
The ID of the Amazon Web Services account that contains the template alias that you're describing.
describeTemplateAlias_templateId :: Lens' DescribeTemplateAlias Text Source #
The ID for the template.
describeTemplateAlias_aliasName :: Lens' DescribeTemplateAlias Text Source #
The name of the template alias that you want to describe. If you name a
specific alias, you describe the version that the alias points to. You
can specify the latest version of the template by providing the keyword
$LATEST
in the AliasName
parameter. The keyword $PUBLISHED
doesn't apply to templates.
Destructuring the Response
data DescribeTemplateAliasResponse Source #
See: newDescribeTemplateAliasResponse
smart constructor.
DescribeTemplateAliasResponse' | |
|
Instances
newDescribeTemplateAliasResponse Source #
Create a value of DescribeTemplateAliasResponse
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:DescribeTemplateAliasResponse'
, describeTemplateAliasResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:templateAlias:DescribeTemplateAliasResponse'
, describeTemplateAliasResponse_templateAlias
- Information about the template alias.
$sel:status:DescribeTemplateAliasResponse'
, describeTemplateAliasResponse_status
- The HTTP status of the request.
Response Lenses
describeTemplateAliasResponse_requestId :: Lens' DescribeTemplateAliasResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
describeTemplateAliasResponse_templateAlias :: Lens' DescribeTemplateAliasResponse (Maybe TemplateAlias) Source #
Information about the template alias.
describeTemplateAliasResponse_status :: Lens' DescribeTemplateAliasResponse Int Source #
The HTTP status of the request.