Smaws_Client_Snowball.CancelJob
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.
val request :
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