Module Values_1.CreateJobTemplateRequestSource

Creates a job template. Requires permission to access the CreateJobTemplate action.

Sourcetype nonrec t = {
  1. jobTemplateId : Values_0.JobTemplateId.t;
    (*

    A unique identifier for the job template. We recommend using a UUID. Alpha-numeric characters, "-", and "_" are valid for use here.

    *)
  2. jobArn : Values_0.JobArn.t option;
    (*

    The ARN of the job to use as the basis for the job template.

    *)
  3. documentSource : Values_0.JobDocumentSource.t option;
    (*

    An S3 link, or S3 object URL, to the job document. The link is an Amazon S3 object URL and is required if you don't specify a value for document. For example, --document-source https://s3.region-code.amazonaws.com/example-firmware/device-firmware.1.0 For more information, see Methods for accessing a bucket.

    *)
  4. document : Values_0.JobDocument.t option;
    (*

    The job document. Required if you don't specify a value for documentSource.

    *)
  5. description : Values_0.JobDescription.t;
    (*

    A description of the job document.

    *)
  6. presignedUrlConfig : Values_0.PresignedUrlConfig.t option;
  7. jobExecutionsRolloutConfig : Values_0.JobExecutionsRolloutConfig.t option;
  8. abortConfig : Values_0.AbortConfig.t option;
  9. timeoutConfig : Values_0.TimeoutConfig.t option;
  10. tags : Values_0.TagList.t option;
    (*

    Metadata that can be used to manage the job template.

    *)
  11. jobExecutionsRetryConfig : Values_0.JobExecutionsRetryConfig.t option;
    (*

    Allows you to create the criteria to retry a job.

    *)
  12. maintenanceWindows : Values_0.MaintenanceWindows.t option;
    (*

    Allows you to configure an optional maintenance window for the rollout of a job document to all devices in the target group for a job.

    *)
  13. destinationPackageVersions : Values_0.DestinationPackageVersions.t option;
    (*

    The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes. The package version must be in either the Published or Deprecated state when the job deploys. For more information, see Package version lifecycle. Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.

    *)
}
Sourceval context_ : string
Sourceval make : ?jobArn:??? -> ?documentSource:??? -> ?document:??? -> ?presignedUrlConfig:??? -> ?jobExecutionsRolloutConfig:??? -> ?abortConfig:??? -> ?timeoutConfig:??? -> ?tags:??? -> ?jobExecutionsRetryConfig:??? -> ?maintenanceWindows:??? -> ?destinationPackageVersions:??? -> jobTemplateId:Values_0.JobTemplateId.t -> description:Values_0.JobDescription.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of string | `Structure of (string * [> `Integer of int | `String of string ]) list ] list | `String of Values_0.JobTemplateId.t | `Structure of (string * [> `Integer of int | `List of [> `Structure of (string * [> `Double of float | `Enum of string | `Integer of int ]) list ] list | `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `Double of float | `Integer of int | `Structure of (string * [> `Integer of int ]) list ]) list ]) 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