internal virtual UpdateSecretVersionStageResponse UpdateSecretVersionStage(UpdateSecretVersionStageRequest request)
        {
            var marshaller   = UpdateSecretVersionStageRequestMarshaller.Instance;
            var unmarshaller = UpdateSecretVersionStageResponseUnmarshaller.Instance;

            return(Invoke <UpdateSecretVersionStageRequest, UpdateSecretVersionStageResponse>(request, marshaller, unmarshaller));
        }
Ejemplo n.º 2
0
        internal virtual UpdateSecretVersionStageResponse UpdateSecretVersionStage(UpdateSecretVersionStageRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = UpdateSecretVersionStageRequestMarshaller.Instance;
            options.ResponseUnmarshaller = UpdateSecretVersionStageResponseUnmarshaller.Instance;

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

            return(InvokeAsync <UpdateSecretVersionStageRequest, UpdateSecretVersionStageResponse>(request, marshaller,
                                                                                                   unmarshaller, cancellationToken));
        }