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.
Requires permission to access the DescribeProvisioningTemplate action.
Synopsis
- data DescribeProvisioningTemplate = DescribeProvisioningTemplate' {
- templateName :: Text
- newDescribeProvisioningTemplate :: Text -> DescribeProvisioningTemplate
- describeProvisioningTemplate_templateName :: Lens' DescribeProvisioningTemplate Text
- data DescribeProvisioningTemplateResponse = DescribeProvisioningTemplateResponse' {
- lastModifiedDate :: Maybe POSIX
- templateName :: Maybe Text
- preProvisioningHook :: Maybe ProvisioningHook
- enabled :: Maybe Bool
- provisioningRoleArn :: Maybe Text
- defaultVersionId :: Maybe Int
- creationDate :: Maybe POSIX
- templateArn :: Maybe Text
- templateBody :: Maybe Text
- description :: Maybe Text
- httpStatus :: Int
- newDescribeProvisioningTemplateResponse :: Int -> DescribeProvisioningTemplateResponse
- describeProvisioningTemplateResponse_lastModifiedDate :: Lens' DescribeProvisioningTemplateResponse (Maybe UTCTime)
- describeProvisioningTemplateResponse_templateName :: Lens' DescribeProvisioningTemplateResponse (Maybe Text)
- describeProvisioningTemplateResponse_preProvisioningHook :: Lens' DescribeProvisioningTemplateResponse (Maybe ProvisioningHook)
- describeProvisioningTemplateResponse_enabled :: Lens' DescribeProvisioningTemplateResponse (Maybe Bool)
- describeProvisioningTemplateResponse_provisioningRoleArn :: Lens' DescribeProvisioningTemplateResponse (Maybe Text)
- describeProvisioningTemplateResponse_defaultVersionId :: Lens' DescribeProvisioningTemplateResponse (Maybe Int)
- describeProvisioningTemplateResponse_creationDate :: Lens' DescribeProvisioningTemplateResponse (Maybe UTCTime)
- describeProvisioningTemplateResponse_templateArn :: Lens' DescribeProvisioningTemplateResponse (Maybe Text)
- describeProvisioningTemplateResponse_templateBody :: Lens' DescribeProvisioningTemplateResponse (Maybe Text)
- describeProvisioningTemplateResponse_description :: Lens' DescribeProvisioningTemplateResponse (Maybe Text)
- describeProvisioningTemplateResponse_httpStatus :: Lens' DescribeProvisioningTemplateResponse Int
Creating a Request
data DescribeProvisioningTemplate Source #
See: newDescribeProvisioningTemplate
smart constructor.
DescribeProvisioningTemplate' | |
|
Instances
newDescribeProvisioningTemplate Source #
Create a value of DescribeProvisioningTemplate
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:DescribeProvisioningTemplate'
, describeProvisioningTemplate_templateName
- The name of the fleet provisioning template.
Request Lenses
describeProvisioningTemplate_templateName :: Lens' DescribeProvisioningTemplate Text Source #
The name of the fleet provisioning template.
Destructuring the Response
data DescribeProvisioningTemplateResponse Source #
See: newDescribeProvisioningTemplateResponse
smart constructor.
DescribeProvisioningTemplateResponse' | |
|
Instances
newDescribeProvisioningTemplateResponse Source #
Create a value of DescribeProvisioningTemplateResponse
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:lastModifiedDate:DescribeProvisioningTemplateResponse'
, describeProvisioningTemplateResponse_lastModifiedDate
- The date when the fleet provisioning template was last modified.
$sel:templateName:DescribeProvisioningTemplate'
, describeProvisioningTemplateResponse_templateName
- The name of the fleet provisioning template.
$sel:preProvisioningHook:DescribeProvisioningTemplateResponse'
, describeProvisioningTemplateResponse_preProvisioningHook
- Gets information about a pre-provisioned hook.
$sel:enabled:DescribeProvisioningTemplateResponse'
, describeProvisioningTemplateResponse_enabled
- True if the fleet provisioning template is enabled, otherwise false.
$sel:provisioningRoleArn:DescribeProvisioningTemplateResponse'
, describeProvisioningTemplateResponse_provisioningRoleArn
- The ARN of the role associated with the provisioning template. This IoT
role grants permission to provision a device.
$sel:defaultVersionId:DescribeProvisioningTemplateResponse'
, describeProvisioningTemplateResponse_defaultVersionId
- The default fleet template version ID.
$sel:creationDate:DescribeProvisioningTemplateResponse'
, describeProvisioningTemplateResponse_creationDate
- The date when the fleet provisioning template was created.
$sel:templateArn:DescribeProvisioningTemplateResponse'
, describeProvisioningTemplateResponse_templateArn
- The ARN of the fleet provisioning template.
$sel:templateBody:DescribeProvisioningTemplateResponse'
, describeProvisioningTemplateResponse_templateBody
- The JSON formatted contents of the fleet provisioning template.
$sel:description:DescribeProvisioningTemplateResponse'
, describeProvisioningTemplateResponse_description
- The description of the fleet provisioning template.
$sel:httpStatus:DescribeProvisioningTemplateResponse'
, describeProvisioningTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
describeProvisioningTemplateResponse_lastModifiedDate :: Lens' DescribeProvisioningTemplateResponse (Maybe UTCTime) Source #
The date when the fleet provisioning template was last modified.
describeProvisioningTemplateResponse_templateName :: Lens' DescribeProvisioningTemplateResponse (Maybe Text) Source #
The name of the fleet provisioning template.
describeProvisioningTemplateResponse_preProvisioningHook :: Lens' DescribeProvisioningTemplateResponse (Maybe ProvisioningHook) Source #
Gets information about a pre-provisioned hook.
describeProvisioningTemplateResponse_enabled :: Lens' DescribeProvisioningTemplateResponse (Maybe Bool) Source #
True if the fleet provisioning template is enabled, otherwise false.
describeProvisioningTemplateResponse_provisioningRoleArn :: Lens' DescribeProvisioningTemplateResponse (Maybe Text) Source #
The ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.
describeProvisioningTemplateResponse_defaultVersionId :: Lens' DescribeProvisioningTemplateResponse (Maybe Int) Source #
The default fleet template version ID.
describeProvisioningTemplateResponse_creationDate :: Lens' DescribeProvisioningTemplateResponse (Maybe UTCTime) Source #
The date when the fleet provisioning template was created.
describeProvisioningTemplateResponse_templateArn :: Lens' DescribeProvisioningTemplateResponse (Maybe Text) Source #
The ARN of the fleet provisioning template.
describeProvisioningTemplateResponse_templateBody :: Lens' DescribeProvisioningTemplateResponse (Maybe Text) Source #
The JSON formatted contents of the fleet provisioning template.
describeProvisioningTemplateResponse_description :: Lens' DescribeProvisioningTemplateResponse (Maybe Text) Source #
The description of the fleet provisioning template.
describeProvisioningTemplateResponse_httpStatus :: Lens' DescribeProvisioningTemplateResponse Int Source #
The response's http status code.