Module Values_1.CreateProvisioningTemplateRequestSource

Creates a provisioning template. Requires permission to access the CreateProvisioningTemplate action.

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

    The name of the provisioning template.

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

    The description of the provisioning template.

    *)
  3. templateBody : Values_0.TemplateBody.t;
    (*

    The JSON formatted contents of the provisioning template.

    *)
  4. enabled : Values_0.Enabled.t option;
    (*

    True to enable the provisioning template, otherwise false.

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

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

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

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

    *)
  7. tags : Values_0.TagList.t option;
    (*

    Metadata which can be used to manage the provisioning template. For URI Request parameters use format: ...key1=value1&key2=value2... For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..." For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."

    *)
  8. type_ : Values_0.TemplateType.t option;
    (*

    The type you define in a provisioning template. You can create a template with only one type. You can't change the template type after its creation. The default value is FLEET_PROVISIONING. For more information about provisioning template, see: Provisioning template.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?enabled:??? -> ?preProvisioningHook:??? -> ?tags:??? -> ?type_:??? -> templateName:Values_0.TemplateName.t -> templateBody:Values_0.TemplateBody.t -> provisioningRoleArn:Values_0.RoleArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Enabled.t | `Enum of string | `List of [> `Structure of (string * [> `String of string ]) list ] list | `String of Values_0.TemplateName.t | `Structure of (string * [> `String of string ]) 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