Module Values.JobTemplateSource

This entity describes a job template. Job template stores values of StartJobRun API request in a template and can be used to start a job run. Job template allows two use cases: avoid repeating recurring StartJobRun API request values, enforcing certain values in StartJobRun API request.

Sourcetype nonrec t = {
  1. name : ResourceNameString.t option;
    (*

    The name of the job template.

    *)
  2. id : ResourceIdString.t option;
    (*

    The ID of the job template.

    *)
  3. arn : JobTemplateArn.t option;
    (*

    The ARN of the job template.

    *)
  4. createdAt : Date.t option;
    (*

    The date and time when the job template was created.

    *)
  5. createdBy : RequestIdentityUserArn.t option;
    (*

    The user who created the job template.

    *)
  6. tags : TagMap.t option;
    (*

    The tags assigned to the job template.

    *)
  7. jobTemplateData : JobTemplateData.t option;
    (*

    The job template data which holds values of StartJobRun API request.

    *)
  8. kmsKeyArn : KmsKeyArn.t option;
    (*

    The KMS key ARN used to encrypt the job template.

    *)
  9. decryptionError : String2048.t option;
    (*

    The error message in case the decryption of job template fails.

    *)
}
Sourceval make : ?name:??? -> ?id:??? -> ?arn:??? -> ?createdAt:??? -> ?createdBy:??? -> ?tags:??? -> ?jobTemplateData:??? -> ?kmsKeyArn:??? -> ?decryptionError:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of String128.t ] * [> `String of StringEmpty256.t ]) list | `String of ResourceNameString.t | `Structure of (string * [> `Map of ([> `String of TemplateParameterName.t ] * [> `String of StringEmpty256.t | `Structure of (string * [> `Enum of string | `String of String1024.t ]) list ]) list | `String of ParametricIAMRoleArn.t | `Structure of (string * Awso.Botodata.value) list ]) list | `Timestamp of Date.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