Module Values.UpdateJobStatusRequestSource

Updates the status for the specified job. Use this operation to confirm that you want to run a job or to cancel an existing job. For more information, see S3 Batch Operations in the Amazon S3 User Guide. Permissions To use the UpdateJobStatus operation, you must have permission to perform the s3:UpdateJobStatus action. Related actions include: CreateJob ListJobs DescribeJob UpdateJobStatus

Sourcetype nonrec t = {
  1. accountId : AccountId.t;
    (*

    The Amazon Web Services account ID associated with the S3 Batch Operations job.

    *)
  2. jobId : JobId.t;
    (*

    The ID of the job whose status you want to update.

    *)
  3. requestedJobStatus : RequestedJobStatus.t;
    (*

    The status that you want to move the specified job to.

    *)
  4. statusUpdateReason : JobStatusUpdateReason.t option;
    (*

    A description of the reason why you want to change the specified job's status. This field can be any string up to the maximum length.

    *)
}
Sourceval context_ : string
Sourceval make : ?statusUpdateReason:??? -> accountId:AccountId.t -> jobId:JobId.t -> requestedJobStatus:RequestedJobStatus.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of AccountId.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