internal virtual DeleteJobTemplateResponse DeleteJobTemplate(DeleteJobTemplateRequest request) { var marshaller = new DeleteJobTemplateRequestMarshaller(); var unmarshaller = DeleteJobTemplateResponseUnmarshaller.Instance; return(Invoke <DeleteJobTemplateRequest, DeleteJobTemplateResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the DeleteJobTemplate operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteJobTemplate 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/mediaconvert-2017-08-29/DeleteJobTemplate">REST API Reference for DeleteJobTemplate Operation</seealso> public virtual Task <DeleteJobTemplateResponse> DeleteJobTemplateAsync(DeleteJobTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteJobTemplateRequestMarshaller(); var unmarshaller = DeleteJobTemplateResponseUnmarshaller.Instance; return(InvokeAsync <DeleteJobTemplateRequest, DeleteJobTemplateResponse>(request, marshaller, unmarshaller, cancellationToken)); }