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.UpdateProvisioningTemplate

Description

Updates a fleet provisioning template.

Requires permission to access the UpdateProvisioningTemplate action.

Synopsis

Creating a Request

data UpdateProvisioningTemplate Source #

See: newUpdateProvisioningTemplate smart constructor.

Constructors

UpdateProvisioningTemplate' 

Fields

Instances

Instances details
Eq UpdateProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.UpdateProvisioningTemplate

Read UpdateProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.UpdateProvisioningTemplate

Show UpdateProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.UpdateProvisioningTemplate

Generic UpdateProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.UpdateProvisioningTemplate

Associated Types

type Rep UpdateProvisioningTemplate :: Type -> Type #

NFData UpdateProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.UpdateProvisioningTemplate

Hashable UpdateProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.UpdateProvisioningTemplate

ToJSON UpdateProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.UpdateProvisioningTemplate

AWSRequest UpdateProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.UpdateProvisioningTemplate

ToHeaders UpdateProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.UpdateProvisioningTemplate

ToPath UpdateProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.UpdateProvisioningTemplate

ToQuery UpdateProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.UpdateProvisioningTemplate

type Rep UpdateProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.UpdateProvisioningTemplate

type Rep UpdateProvisioningTemplate = D1 ('MetaData "UpdateProvisioningTemplate" "Amazonka.IoT.UpdateProvisioningTemplate" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "UpdateProvisioningTemplate'" 'PrefixI 'True) ((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 "removePreProvisioningHook") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "templateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateProvisioningTemplate Source # 
Instance details

Defined in Amazonka.IoT.UpdateProvisioningTemplate

newUpdateProvisioningTemplate Source #

Create a value of UpdateProvisioningTemplate 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:preProvisioningHook:UpdateProvisioningTemplate', updateProvisioningTemplate_preProvisioningHook - Updates the pre-provisioning hook template.

$sel:enabled:UpdateProvisioningTemplate', updateProvisioningTemplate_enabled - True to enable the fleet provisioning template, otherwise false.

$sel:provisioningRoleArn:UpdateProvisioningTemplate', updateProvisioningTemplate_provisioningRoleArn - The ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.

$sel:defaultVersionId:UpdateProvisioningTemplate', updateProvisioningTemplate_defaultVersionId - The ID of the default provisioning template version.

$sel:removePreProvisioningHook:UpdateProvisioningTemplate', updateProvisioningTemplate_removePreProvisioningHook - Removes pre-provisioning hook template.

$sel:description:UpdateProvisioningTemplate', updateProvisioningTemplate_description - The description of the fleet provisioning template.

$sel:templateName:UpdateProvisioningTemplate', updateProvisioningTemplate_templateName - The name of the fleet provisioning template.

Request Lenses

updateProvisioningTemplate_enabled :: Lens' UpdateProvisioningTemplate (Maybe Bool) Source #

True to enable the fleet provisioning template, otherwise false.

updateProvisioningTemplate_provisioningRoleArn :: Lens' UpdateProvisioningTemplate (Maybe Text) Source #

The ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.

updateProvisioningTemplate_defaultVersionId :: Lens' UpdateProvisioningTemplate (Maybe Int) Source #

The ID of the default provisioning template version.

updateProvisioningTemplate_description :: Lens' UpdateProvisioningTemplate (Maybe Text) Source #

The description of the fleet provisioning template.

Destructuring the Response

data UpdateProvisioningTemplateResponse Source #

Constructors

UpdateProvisioningTemplateResponse' 

Fields

Instances

Instances details
Eq UpdateProvisioningTemplateResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateProvisioningTemplate

Read UpdateProvisioningTemplateResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateProvisioningTemplate

Show UpdateProvisioningTemplateResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateProvisioningTemplate

Generic UpdateProvisioningTemplateResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateProvisioningTemplate

Associated Types

type Rep UpdateProvisioningTemplateResponse :: Type -> Type #

NFData UpdateProvisioningTemplateResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateProvisioningTemplate

type Rep UpdateProvisioningTemplateResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateProvisioningTemplate

type Rep UpdateProvisioningTemplateResponse = D1 ('MetaData "UpdateProvisioningTemplateResponse" "Amazonka.IoT.UpdateProvisioningTemplate" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "UpdateProvisioningTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateProvisioningTemplateResponse Source #

Create a value of UpdateProvisioningTemplateResponse 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:httpStatus:UpdateProvisioningTemplateResponse', updateProvisioningTemplateResponse_httpStatus - The response's http status code.

Response Lenses