AWS SDK for .NET Documentation
CancelJob Method (cancelJobRequest)
Amazon ► Amazon.ImportExport ► AmazonImportExport ► CancelJob(CancelJobRequest)
Did this page help you? Yes No Tell us about it...

This operation cancels a specified job. Only the job owner can cancel it. The operation fails if the job has already started or is complete.

Declaration Syntax

C#

    CancelJobResponse CancelJob(
    	CancelJobRequest cancelJobRequest
    )

Parameters

cancelJobRequest (CancelJobRequest)
  Container for the necessary parameters to execute the CancelJob service method on AmazonImportExport.

Return Value
The response from the CancelJob service method, as returned by AmazonImportExport.
Exceptions

Exception | Condition
--- | ---
CanceledJobIdException |
ExpiredJobIdException |
InvalidAccessKeyIdException |
InvalidJobIdException |
UnableToCancelJobIdException |

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)