internal virtual RotateSecretResponse RotateSecret(RotateSecretRequest request)
        {
            var marshaller   = RotateSecretRequestMarshaller.Instance;
            var unmarshaller = RotateSecretResponseUnmarshaller.Instance;

            return(Invoke <RotateSecretRequest, RotateSecretResponse>(request, marshaller, unmarshaller));
        }
        /// <summary>
        /// Initiates the asynchronous execution of the RotateSecret operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the RotateSecret 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/RotateSecret">REST API Reference for RotateSecret Operation</seealso>
        public virtual Task <RotateSecretResponse> RotateSecretAsync(RotateSecretRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = RotateSecretRequestMarshaller.Instance;
            var unmarshaller = RotateSecretResponseUnmarshaller.Instance;

            return(InvokeAsync <RotateSecretRequest, RotateSecretResponse>(request, marshaller,
                                                                           unmarshaller, cancellationToken));
        }
Beispiel #3
0
        /// <summary>
        /// Initiates the asynchronous execution of the RotateSecret operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the RotateSecret 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/RotateSecret">REST API Reference for RotateSecret Operation</seealso>
        public virtual Task <RotateSecretResponse> RotateSecretAsync(RotateSecretRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = RotateSecretRequestMarshaller.Instance;
            options.ResponseUnmarshaller = RotateSecretResponseUnmarshaller.Instance;

            return(InvokeAsync <RotateSecretResponse>(request, options, cancellationToken));
        }
Beispiel #4
0
        internal virtual RotateSecretResponse RotateSecret(RotateSecretRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = RotateSecretRequestMarshaller.Instance;
            options.ResponseUnmarshaller = RotateSecretResponseUnmarshaller.Instance;

            return(Invoke <RotateSecretResponse>(request, options));
        }