internal virtual DeregisterJobDefinitionResponse DeregisterJobDefinition(DeregisterJobDefinitionRequest request) { var marshaller = new DeregisterJobDefinitionRequestMarshaller(); var unmarshaller = DeregisterJobDefinitionResponseUnmarshaller.Instance; return(Invoke <DeregisterJobDefinitionRequest, DeregisterJobDefinitionResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the DeregisterJobDefinition operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeregisterJobDefinition operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeregisterJobDefinition">REST API Reference for DeregisterJobDefinition Operation</seealso> 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)); }
internal virtual DeregisterJobDefinitionResponse DeregisterJobDefinition(DeregisterJobDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterJobDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterJobDefinitionResponseUnmarshaller.Instance; return(Invoke <DeregisterJobDefinitionResponse>(request, options)); }
/// <summary> /// Initiates the asynchronous execution of the DeregisterJobDefinition operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeregisterJobDefinition operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeregisterJobDefinition">REST API Reference for DeregisterJobDefinition Operation</seealso> public virtual Task <DeregisterJobDefinitionResponse> DeregisterJobDefinitionAsync(DeregisterJobDefinitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterJobDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterJobDefinitionResponseUnmarshaller.Instance; return(InvokeAsync <DeregisterJobDefinitionResponse>(request, options, cancellationToken)); }