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.
Container for the parameters to the CancelJob operation. Cancels a job.
Requires permission to access the CancelJob action.
public class CancelJobRequest : AmazonIoTRequest IAmazonWebServiceRequest
The CancelJobRequest type exposes the following members
Gets and sets the property Comment.
An optional comment string describing why the job was canceled.
Gets and sets the property Force.
Canceling a job which is "IN_PROGRESS", will cause a device which is executing the job to be unable to update the job execution status. Use caution and ensure that each device executing a job which is canceled is able to recover to a valid state.
Gets and sets the property JobId.
The unique identifier you assigned to this job when it was created.
Gets and sets the property ReasonCode.
(Optional)A reason code string that explains why the job was canceled.
.NET Core App:
Supported in: 3.1
Supported in: 2.0
Supported in: 4.5, 4.0, 3.5