AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Permanently remove a job from a queue. Once you have canceled a job, you can't start it again. You can't delete a running job.
For .NET Core and PCL this operation is only available in asynchronous form. Please refer to CancelJobAsync.
public abstract CancelJobResponse CancelJob( CancelJobRequest request )
Container for the necessary parameters to execute the CancelJob service method.
|BadRequestException||The service can't process your request because of a problem in the request. Please check your request form and syntax.|
|ConflictException||The service could not complete your request because there is a conflict with the current state of the resource.|
|ForbiddenException||You don't have permissions for this action with the credentials you sent.|
|InternalServerErrorException||The service encountered an unexpected condition and cannot fulfill your request.|
|NotFoundException||The resource you requested does not exist.|
|TooManyRequestsException||Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.|
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms