Module Values.UpdateJobStatusResultSource

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. jobId : JobId.t option;
    (*

    The ID for the job whose status was updated.

    *)
  2. status : JobStatus.t option;
    (*

    The current status for the specified job.

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

    The reason that the specified job's status was updated.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `InternalServiceException of InternalServiceException.t
  3. | `JobStatusException of JobStatusException.t
  4. | `NotFoundException of NotFoundException.t
  5. | `TooManyRequestsException of TooManyRequestsException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?jobId:??? -> ?status:??? -> ?statusUpdateReason:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of BadRequestException.t | `InternalServiceException of InternalServiceException.t | `JobStatusException of JobStatusException.t | `NotFoundException of NotFoundException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of BadRequestException.t | `InternalServiceException of InternalServiceException.t | `JobStatusException of JobStatusException.t | `NotFoundException of NotFoundException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of JobId.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