Module Smaws_Client_Snowball.CancelJob

val request : Smaws_Lib.Context.t -> cancel_job_request -> (cancel_job_result, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidJobStateException of invalid_job_state_exception | `InvalidResourceException of invalid_resource_exception | `KMSRequestFailedException of kms_request_failed_exception ]) Stdlib.result

Cancels the specified job. You can only cancel a job before its JobState value changes to PreparingAppliance. Requesting the ListJobs or DescribeJob action returns a job's JobState as part of the response element data returned.