internal virtual DeleteComputeEnvironmentResponse DeleteComputeEnvironment(DeleteComputeEnvironmentRequest request) { var marshaller = new DeleteComputeEnvironmentRequestMarshaller(); var unmarshaller = DeleteComputeEnvironmentResponseUnmarshaller.Instance; return(Invoke <DeleteComputeEnvironmentRequest, DeleteComputeEnvironmentResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the DeleteComputeEnvironment operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteComputeEnvironment 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/DeleteComputeEnvironment">REST API Reference for DeleteComputeEnvironment Operation</seealso> public Task <DeleteComputeEnvironmentResponse> DeleteComputeEnvironmentAsync(DeleteComputeEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteComputeEnvironmentRequestMarshaller(); var unmarshaller = DeleteComputeEnvironmentResponseUnmarshaller.Instance; return(InvokeAsync <DeleteComputeEnvironmentRequest, DeleteComputeEnvironmentResponse>(request, marshaller, unmarshaller, cancellationToken)); }
internal virtual DeleteComputeEnvironmentResponse DeleteComputeEnvironment(DeleteComputeEnvironmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteComputeEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteComputeEnvironmentResponseUnmarshaller.Instance; return(Invoke <DeleteComputeEnvironmentResponse>(request, options)); }
/// <summary> /// Initiates the asynchronous execution of the DeleteComputeEnvironment operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteComputeEnvironment 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/DeleteComputeEnvironment">REST API Reference for DeleteComputeEnvironment Operation</seealso> public virtual Task <DeleteComputeEnvironmentResponse> DeleteComputeEnvironmentAsync(DeleteComputeEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteComputeEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteComputeEnvironmentResponseUnmarshaller.Instance; return(InvokeAsync <DeleteComputeEnvironmentResponse>(request, options, cancellationToken)); }