internal virtual CancelRotateSecretResponse CancelRotateSecret(CancelRotateSecretRequest request) { var marshaller = CancelRotateSecretRequestMarshaller.Instance; var unmarshaller = CancelRotateSecretResponseUnmarshaller.Instance; return(Invoke <CancelRotateSecretRequest, CancelRotateSecretResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the CancelRotateSecret operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CancelRotateSecret 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/secretsmanager-2017-10-17/CancelRotateSecret">REST API Reference for CancelRotateSecret Operation</seealso> public virtual Task <CancelRotateSecretResponse> CancelRotateSecretAsync(CancelRotateSecretRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = CancelRotateSecretRequestMarshaller.Instance; var unmarshaller = CancelRotateSecretResponseUnmarshaller.Instance; return(InvokeAsync <CancelRotateSecretRequest, CancelRotateSecretResponse>(request, marshaller, unmarshaller, cancellationToken)); }
/// <summary> /// Initiates the asynchronous execution of the CancelRotateSecret operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CancelRotateSecret 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/secretsmanager-2017-10-17/CancelRotateSecret">REST API Reference for CancelRotateSecret Operation</seealso> public virtual Task <CancelRotateSecretResponse> CancelRotateSecretAsync(CancelRotateSecretRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelRotateSecretRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelRotateSecretResponseUnmarshaller.Instance; return(InvokeAsync <CancelRotateSecretResponse>(request, options, cancellationToken)); }
internal virtual CancelRotateSecretResponse CancelRotateSecret(CancelRotateSecretRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelRotateSecretRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelRotateSecretResponseUnmarshaller.Instance; return(Invoke <CancelRotateSecretResponse>(request, options)); }