Amazon.Batch.AmazonBatchClient.DeregisterJobDefinitionAsync C# (CSharp) Method

DeregisterJobDefinitionAsync() public method

Initiates the asynchronous execution of the DeregisterJobDefinition operation.
public DeregisterJobDefinitionAsync ( DeregisterJobDefinitionRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.Batch.Model.DeregisterJobDefinitionRequest Container for the necessary parameters to execute the DeregisterJobDefinition operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<DeregisterJobDefinitionResponse> DeregisterJobDefinitionAsync(DeregisterJobDefinitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new DeregisterJobDefinitionRequestMarshaller();
            var unmarshaller = DeregisterJobDefinitionResponseUnmarshaller.Instance;

            return InvokeAsync<DeregisterJobDefinitionRequest,DeregisterJobDefinitionResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }