Module Values_0.UpdateProvisioningTemplateRequestSource

Updates a provisioning template. Requires permission to access the UpdateProvisioningTemplate action.

Sourcetype nonrec t = {
  1. templateName : TemplateName.t;
    (*

    The name of the provisioning template.

    *)
  2. description : TemplateDescription.t option;
    (*

    The description of the provisioning template.

    *)
  3. enabled : Enabled.t option;
    (*

    True to enable the provisioning template, otherwise false.

    *)
  4. defaultVersionId : TemplateVersionId.t option;
    (*

    The ID of the default provisioning template version.

    *)
  5. provisioningRoleArn : RoleArn.t option;
    (*

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

    *)
  6. preProvisioningHook : ProvisioningHook.t option;
    (*

    Updates the pre-provisioning hook template. Only supports template of type FLEET_PROVISIONING. For more information about provisioning template types, see type.

    *)
  7. removePreProvisioningHook : RemoveHook.t option;
    (*

    Removes pre-provisioning hook template.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?enabled:??? -> ?defaultVersionId:??? -> ?provisioningRoleArn:??? -> ?preProvisioningHook:??? -> ?removePreProvisioningHook:??? -> templateName:TemplateName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Enabled.t | `Integer of TemplateVersionId.t | `String of TemplateName.t | `Structure of (string * [> `String of PayloadVersion.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t