internal virtual StopServerResponse StopServer(StopServerRequest request)
        {
            var marshaller   = StopServerRequestMarshaller.Instance;
            var unmarshaller = StopServerResponseUnmarshaller.Instance;

            return(Invoke <StopServerRequest, StopServerResponse>(request, marshaller, unmarshaller));
        }
        /// <summary>
        /// Initiates the asynchronous execution of the StopServer operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the StopServer 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/transfer-2018-11-05/StopServer">REST API Reference for StopServer Operation</seealso>
        public virtual Task <StopServerResponse> StopServerAsync(StopServerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = StopServerRequestMarshaller.Instance;
            var unmarshaller = StopServerResponseUnmarshaller.Instance;

            return(InvokeAsync <StopServerRequest, StopServerResponse>(request, marshaller,
                                                                       unmarshaller, cancellationToken));
        }
        /// <summary>
        /// Initiates the asynchronous execution of the StopServer operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the StopServer 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/transfer-2018-11-05/StopServer">REST API Reference for StopServer Operation</seealso>
        public virtual Task <StopServerResponse> StopServerAsync(StopServerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = StopServerRequestMarshaller.Instance;
            options.ResponseUnmarshaller = StopServerResponseUnmarshaller.Instance;

            return(InvokeAsync <StopServerResponse>(request, options, cancellationToken));
        }
        internal virtual StopServerResponse StopServer(StopServerRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = StopServerRequestMarshaller.Instance;
            options.ResponseUnmarshaller = StopServerResponseUnmarshaller.Instance;

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