AWS SDK Version 3 for .NET
API Reference

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. The CancelJob operation cancels an unfinished job.

You can only cancel a job that has a status of Submitted. To prevent a pipeline from starting to process a job while you're getting the job identifier, use UpdatePipelineStatus to temporarily pause the pipeline.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.ElasticTranscoder.AmazonElasticTranscoderRequest
      Amazon.ElasticTranscoder.Model.CancelJobRequest

Namespace: Amazon.ElasticTranscoder.Model
Assembly: AWSSDK.ElasticTranscoder.dll
Version: 3.x.y.z

Syntax

C#
public class CancelJobRequest : AmazonElasticTranscoderRequest
         IAmazonWebServiceRequest

The CancelJobRequest type exposes the following members

Constructors

NameDescription
Public Method CancelJobRequest()

Properties

NameTypeDescription
Public Property Id System.String

Gets and sets the property Id.

The identifier of the job that you want to cancel.

To get a list of the jobs (including their jobId) that have a status of Submitted, use the ListJobsByStatus API action.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5