/// <summary> /// Initiates the asynchronous execution of the RenewCertificate operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the RenewCertificate 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/acm-2015-12-08/RenewCertificate">REST API Reference for RenewCertificate Operation</seealso> public virtual Task<RenewCertificateResponse> RenewCertificateAsync(RenewCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RenewCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = RenewCertificateResponseUnmarshaller.Instance; return InvokeAsync<RenewCertificateResponse>(request, options, cancellationToken); }
internal virtual RenewCertificateResponse RenewCertificate(RenewCertificateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RenewCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = RenewCertificateResponseUnmarshaller.Instance; return Invoke<RenewCertificateResponse>(request, options); }