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 a template's metadata.
Synopsis
- data DescribeTemplate = DescribeTemplate' {}
- newDescribeTemplate :: Text -> Text -> DescribeTemplate
- describeTemplate_aliasName :: Lens' DescribeTemplate (Maybe Text)
- describeTemplate_versionNumber :: Lens' DescribeTemplate (Maybe Natural)
- describeTemplate_awsAccountId :: Lens' DescribeTemplate Text
- describeTemplate_templateId :: Lens' DescribeTemplate Text
- data DescribeTemplateResponse = DescribeTemplateResponse' {}
- newDescribeTemplateResponse :: Int -> DescribeTemplateResponse
- describeTemplateResponse_requestId :: Lens' DescribeTemplateResponse (Maybe Text)
- describeTemplateResponse_template :: Lens' DescribeTemplateResponse (Maybe Template)
- describeTemplateResponse_status :: Lens' DescribeTemplateResponse Int
Creating a Request
data DescribeTemplate Source #
See: newDescribeTemplate
smart constructor.
DescribeTemplate' | |
|
Instances
:: Text | |
-> Text | |
-> DescribeTemplate |
Create a value of DescribeTemplate
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:aliasName:DescribeTemplate'
, describeTemplate_aliasName
- The alias of the template 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.
$sel:versionNumber:DescribeTemplate'
, describeTemplate_versionNumber
- (Optional) The number for the version to describe. If a VersionNumber
parameter value isn't provided, the latest version of the template is
described.
$sel:awsAccountId:DescribeTemplate'
, describeTemplate_awsAccountId
- The ID of the Amazon Web Services account that contains the template
that you're describing.
$sel:templateId:DescribeTemplate'
, describeTemplate_templateId
- The ID for the template.
Request Lenses
describeTemplate_aliasName :: Lens' DescribeTemplate (Maybe Text) Source #
The alias of the template 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.
describeTemplate_versionNumber :: Lens' DescribeTemplate (Maybe Natural) Source #
(Optional) The number for the version to describe. If a VersionNumber
parameter value isn't provided, the latest version of the template is
described.
describeTemplate_awsAccountId :: Lens' DescribeTemplate Text Source #
The ID of the Amazon Web Services account that contains the template that you're describing.
describeTemplate_templateId :: Lens' DescribeTemplate Text Source #
The ID for the template.
Destructuring the Response
data DescribeTemplateResponse Source #
See: newDescribeTemplateResponse
smart constructor.
Instances
newDescribeTemplateResponse Source #
Create a value of DescribeTemplateResponse
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:DescribeTemplateResponse'
, describeTemplateResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:template:DescribeTemplateResponse'
, describeTemplateResponse_template
- The template structure for the object you want to describe.
$sel:status:DescribeTemplateResponse'
, describeTemplateResponse_status
- The HTTP status of the request.
Response Lenses
describeTemplateResponse_requestId :: Lens' DescribeTemplateResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
describeTemplateResponse_template :: Lens' DescribeTemplateResponse (Maybe Template) Source #
The template structure for the object you want to describe.
describeTemplateResponse_status :: Lens' DescribeTemplateResponse Int Source #
The HTTP status of the request.