Amazon.Batch.AmazonBatchClient.TerminateJob C# (CSharp) Метод

TerminateJob() публичный Метод

Terminates jobs in a job queue. Jobs that are in the STARTING or RUNNING state are terminated, which causes them to transition to FAILED. Jobs that have not progressed to the STARTING state are cancelled.
/// These errors are usually caused by a client action, such as using an action or resource /// on behalf of a user that doesn't have permission to use the action or resource, or /// specifying an identifier that is not valid. /// /// These errors are usually caused by a server issue. ///
public TerminateJob ( TerminateJobRequest request ) : TerminateJobResponse
request Amazon.Batch.Model.TerminateJobRequest Container for the necessary parameters to execute the TerminateJob service method.
Результат TerminateJobResponse
        public TerminateJobResponse TerminateJob(TerminateJobRequest request)
        {
            var marshaller = new TerminateJobRequestMarshaller();
            var unmarshaller = TerminateJobResponseUnmarshaller.Instance;

            return Invoke<TerminateJobRequest,TerminateJobResponse>(request, marshaller, unmarshaller);
        }