Amazon.ElasticTranscoder.AmazonElasticTranscoderClient.CancelJob C# (CSharp) Method

CancelJob() public method

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.

/// General authentication failure. The request was not signed correctly. /// /// /// /// Elastic Transcoder encountered an unexpected exception while trying to fulfill the /// request. /// /// The resource you are attempting to change is in use. For example, you are attempting /// to delete a pipeline that is currently in use. /// /// The requested resource does not exist or is not available. For example, the pipeline /// to which you're trying to add a job doesn't exist or is still being created. /// /// One or more required parameter values were not provided in the request. ///
public CancelJob ( CancelJobRequest request ) : CancelJobResponse
request Amazon.ElasticTranscoder.Model.CancelJobRequest Container for the necessary parameters to execute the CancelJob service method.
return Amazon.ElasticTranscoder.Model.CancelJobResponse
        public CancelJobResponse CancelJob(CancelJobRequest request)
        {
            var marshaller = new CancelJobRequestMarshaller();
            var unmarshaller = CancelJobResponseUnmarshaller.Instance;

            return Invoke<CancelJobRequest,CancelJobResponse>(request, marshaller, unmarshaller);
        }