Smaws_Client_Snowball.CancelJobCancels 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidJobStateException of Types.invalid_job_state_exception
| `InvalidResourceException of Types.invalid_resource_exception
| `KMSRequestFailedException of Types.kms_request_failed_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.cancel_job_request ->
(Types.cancel_job_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidJobStateException of Types.invalid_job_state_exception
| `InvalidResourceException of Types.invalid_resource_exception
| `KMSRequestFailedException of Types.kms_request_failed_exception ])
Stdlib.result