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 |
Updates a fleet provisioning template.
Requires permission to access the UpdateProvisioningTemplate action.
Synopsis
- data UpdateProvisioningTemplate = UpdateProvisioningTemplate' {}
- newUpdateProvisioningTemplate :: Text -> UpdateProvisioningTemplate
- updateProvisioningTemplate_preProvisioningHook :: Lens' UpdateProvisioningTemplate (Maybe ProvisioningHook)
- updateProvisioningTemplate_enabled :: Lens' UpdateProvisioningTemplate (Maybe Bool)
- updateProvisioningTemplate_provisioningRoleArn :: Lens' UpdateProvisioningTemplate (Maybe Text)
- updateProvisioningTemplate_defaultVersionId :: Lens' UpdateProvisioningTemplate (Maybe Int)
- updateProvisioningTemplate_removePreProvisioningHook :: Lens' UpdateProvisioningTemplate (Maybe Bool)
- updateProvisioningTemplate_description :: Lens' UpdateProvisioningTemplate (Maybe Text)
- updateProvisioningTemplate_templateName :: Lens' UpdateProvisioningTemplate Text
- data UpdateProvisioningTemplateResponse = UpdateProvisioningTemplateResponse' {
- httpStatus :: Int
- newUpdateProvisioningTemplateResponse :: Int -> UpdateProvisioningTemplateResponse
- updateProvisioningTemplateResponse_httpStatus :: Lens' UpdateProvisioningTemplateResponse Int
Creating a Request
data UpdateProvisioningTemplate Source #
See: newUpdateProvisioningTemplate
smart constructor.
UpdateProvisioningTemplate' | |
|
Instances
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_preProvisioningHook :: Lens' UpdateProvisioningTemplate (Maybe ProvisioningHook) Source #
Updates the pre-provisioning hook template.
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_removePreProvisioningHook :: Lens' UpdateProvisioningTemplate (Maybe Bool) Source #
Removes pre-provisioning hook template.
updateProvisioningTemplate_description :: Lens' UpdateProvisioningTemplate (Maybe Text) Source #
The description of the fleet provisioning template.
updateProvisioningTemplate_templateName :: Lens' UpdateProvisioningTemplate Text Source #
The name of the fleet provisioning template.
Destructuring the Response
data UpdateProvisioningTemplateResponse Source #
See: newUpdateProvisioningTemplateResponse
smart constructor.
UpdateProvisioningTemplateResponse' | |
|
Instances
Eq UpdateProvisioningTemplateResponse Source # | |
Read UpdateProvisioningTemplateResponse Source # | |
Show UpdateProvisioningTemplateResponse Source # | |
Generic UpdateProvisioningTemplateResponse Source # | |
NFData UpdateProvisioningTemplateResponse Source # | |
Defined in Amazonka.IoT.UpdateProvisioningTemplate rnf :: UpdateProvisioningTemplateResponse -> () # | |
type Rep UpdateProvisioningTemplateResponse Source # | |
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
updateProvisioningTemplateResponse_httpStatus :: Lens' UpdateProvisioningTemplateResponse Int Source #
The response's http status code.