libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoT.DescribeProvisioningTemplate

Description

Returns information about a fleet provisioning template.

Requires permission to access the DescribeProvisioningTemplate action.

Synopsis

Creating a Request

data DescribeProvisioningTemplate Source #

See: newDescribeProvisioningTemplate smart constructor.

Constructors

DescribeProvisioningTemplate' 

Fields

Instances

Instances details
Eq DescribeProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.DescribeProvisioningTemplate

Read DescribeProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.DescribeProvisioningTemplate

Show DescribeProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.DescribeProvisioningTemplate

Generic DescribeProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.DescribeProvisioningTemplate

Associated Types

type Rep DescribeProvisioningTemplate :: Type -> Type #

NFData DescribeProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.DescribeProvisioningTemplate

Hashable DescribeProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.DescribeProvisioningTemplate

AWSRequest DescribeProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.DescribeProvisioningTemplate

ToHeaders DescribeProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.DescribeProvisioningTemplate

ToPath DescribeProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.DescribeProvisioningTemplate

ToQuery DescribeProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.DescribeProvisioningTemplate

type Rep DescribeProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.DescribeProvisioningTemplate

type Rep DescribeProvisioningTemplate = D1 ('MetaData "DescribeProvisioningTemplate" "Amazonka.IoT.DescribeProvisioningTemplate" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DescribeProvisioningTemplate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "templateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.DescribeProvisioningTemplate

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

Destructuring the Response

data DescribeProvisioningTemplateResponse Source #

Constructors

DescribeProvisioningTemplateResponse' 

Fields

Instances

Instances details
Eq DescribeProvisioningTemplateResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeProvisioningTemplate

Read DescribeProvisioningTemplateResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeProvisioningTemplate

Show DescribeProvisioningTemplateResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeProvisioningTemplate

Generic DescribeProvisioningTemplateResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeProvisioningTemplate

NFData DescribeProvisioningTemplateResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeProvisioningTemplate

type Rep DescribeProvisioningTemplateResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeProvisioningTemplate

type Rep DescribeProvisioningTemplateResponse = D1 ('MetaData "DescribeProvisioningTemplateResponse" "Amazonka.IoT.DescribeProvisioningTemplate" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DescribeProvisioningTemplateResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "lastModifiedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "templateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "preProvisioningHook") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProvisioningHook)) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "provisioningRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "defaultVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "templateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "templateBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

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_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_templateBody :: Lens' DescribeProvisioningTemplateResponse (Maybe Text) Source #

The JSON formatted contents of the fleet provisioning template.