Module Values_1.DescribeProvisioningTemplateResponseSource

Returns information about a provisioning template. Requires permission to access the DescribeProvisioningTemplate action.

Sourcetype nonrec t = {
  1. templateArn : Values_0.TemplateArn.t option;
    (*

    The ARN of the provisioning template.

    *)
  2. templateName : Values_0.TemplateName.t option;
    (*

    The name of the provisioning template.

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

    The description of the provisioning template.

    *)
  4. creationDate : Values_0.DateType.t option;
    (*

    The date when the provisioning template was created.

    *)
  5. lastModifiedDate : Values_0.DateType.t option;
    (*

    The date when the provisioning template was last modified.

    *)
  6. defaultVersionId : Values_0.TemplateVersionId.t option;
    (*

    The default fleet template version ID.

    *)
  7. templateBody : Values_0.TemplateBody.t option;
    (*

    The JSON formatted contents of the provisioning template.

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

    True if the provisioning template is enabled, otherwise false.

    *)
  9. provisioningRoleArn : Values_0.RoleArn.t option;
    (*

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

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

    Gets information about a pre-provisioned hook.

    *)
  11. 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.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalFailureException of Values_0.InternalFailureException.t
  2. | `InvalidRequestException of Values_0.InvalidRequestException.t
  3. | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
  4. | `ThrottlingException of Values_0.ThrottlingException.t
  5. | `UnauthorizedException of Values_0.UnauthorizedException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?templateArn:??? -> ?templateName:??? -> ?description:??? -> ?creationDate:??? -> ?lastModifiedDate:??? -> ?defaultVersionId:??? -> ?templateBody:??? -> ?enabled:??? -> ?provisioningRoleArn:??? -> ?preProvisioningHook:??? -> ?type_:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalFailureException of Values_0.InternalFailureException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `ThrottlingException of Values_0.ThrottlingException.t | `UnauthorizedException of Values_0.UnauthorizedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalFailureException of Values_0.InternalFailureException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `ThrottlingException of Values_0.ThrottlingException.t | `UnauthorizedException of Values_0.UnauthorizedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Enabled.t | `Enum of string | `Integer of Values_0.TemplateVersionId.t | `String of Values_0.TemplateArn.t | `Structure of (string * [> `String of string ]) list | `Timestamp of Values_0.DateType.t ]) 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