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 |
Returns information about a fleet provisioning template version.
Requires permission to access the DescribeProvisioningTemplateVersion action.
Synopsis
- data DescribeProvisioningTemplateVersion = DescribeProvisioningTemplateVersion' {
- templateName :: Text
- versionId :: Int
- newDescribeProvisioningTemplateVersion :: Text -> Int -> DescribeProvisioningTemplateVersion
- describeProvisioningTemplateVersion_templateName :: Lens' DescribeProvisioningTemplateVersion Text
- describeProvisioningTemplateVersion_versionId :: Lens' DescribeProvisioningTemplateVersion Int
- data DescribeProvisioningTemplateVersionResponse = DescribeProvisioningTemplateVersionResponse' {}
- newDescribeProvisioningTemplateVersionResponse :: Int -> DescribeProvisioningTemplateVersionResponse
- describeProvisioningTemplateVersionResponse_versionId :: Lens' DescribeProvisioningTemplateVersionResponse (Maybe Int)
- describeProvisioningTemplateVersionResponse_creationDate :: Lens' DescribeProvisioningTemplateVersionResponse (Maybe UTCTime)
- describeProvisioningTemplateVersionResponse_templateBody :: Lens' DescribeProvisioningTemplateVersionResponse (Maybe Text)
- describeProvisioningTemplateVersionResponse_isDefaultVersion :: Lens' DescribeProvisioningTemplateVersionResponse (Maybe Bool)
- describeProvisioningTemplateVersionResponse_httpStatus :: Lens' DescribeProvisioningTemplateVersionResponse Int
Creating a Request
data DescribeProvisioningTemplateVersion Source #
See: newDescribeProvisioningTemplateVersion
smart constructor.
DescribeProvisioningTemplateVersion' | |
|
Instances
newDescribeProvisioningTemplateVersion Source #
Create a value of DescribeProvisioningTemplateVersion
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:templateName:DescribeProvisioningTemplateVersion'
, describeProvisioningTemplateVersion_templateName
- The template name.
$sel:versionId:DescribeProvisioningTemplateVersion'
, describeProvisioningTemplateVersion_versionId
- The fleet provisioning template version ID.
Request Lenses
describeProvisioningTemplateVersion_templateName :: Lens' DescribeProvisioningTemplateVersion Text Source #
The template name.
describeProvisioningTemplateVersion_versionId :: Lens' DescribeProvisioningTemplateVersion Int Source #
The fleet provisioning template version ID.
Destructuring the Response
data DescribeProvisioningTemplateVersionResponse Source #
See: newDescribeProvisioningTemplateVersionResponse
smart constructor.
DescribeProvisioningTemplateVersionResponse' | |
|
Instances
newDescribeProvisioningTemplateVersionResponse Source #
:: Int |
|
-> DescribeProvisioningTemplateVersionResponse |
Create a value of DescribeProvisioningTemplateVersionResponse
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:versionId:DescribeProvisioningTemplateVersion'
, describeProvisioningTemplateVersionResponse_versionId
- The fleet provisioning template version ID.
$sel:creationDate:DescribeProvisioningTemplateVersionResponse'
, describeProvisioningTemplateVersionResponse_creationDate
- The date when the fleet provisioning template version was created.
$sel:templateBody:DescribeProvisioningTemplateVersionResponse'
, describeProvisioningTemplateVersionResponse_templateBody
- The JSON formatted contents of the fleet provisioning template version.
$sel:isDefaultVersion:DescribeProvisioningTemplateVersionResponse'
, describeProvisioningTemplateVersionResponse_isDefaultVersion
- True if the fleet provisioning template version is the default version.
$sel:httpStatus:DescribeProvisioningTemplateVersionResponse'
, describeProvisioningTemplateVersionResponse_httpStatus
- The response's http status code.
Response Lenses
describeProvisioningTemplateVersionResponse_versionId :: Lens' DescribeProvisioningTemplateVersionResponse (Maybe Int) Source #
The fleet provisioning template version ID.
describeProvisioningTemplateVersionResponse_creationDate :: Lens' DescribeProvisioningTemplateVersionResponse (Maybe UTCTime) Source #
The date when the fleet provisioning template version was created.
describeProvisioningTemplateVersionResponse_templateBody :: Lens' DescribeProvisioningTemplateVersionResponse (Maybe Text) Source #
The JSON formatted contents of the fleet provisioning template version.
describeProvisioningTemplateVersionResponse_isDefaultVersion :: Lens' DescribeProvisioningTemplateVersionResponse (Maybe Bool) Source #
True if the fleet provisioning template version is the default version.
describeProvisioningTemplateVersionResponse_httpStatus :: Lens' DescribeProvisioningTemplateVersionResponse Int Source #
The response's http status code.