コード例 #1
0
        internal virtual DescribeServerResponse DescribeServer(DescribeServerRequest request)
        {
            var marshaller   = DescribeServerRequestMarshaller.Instance;
            var unmarshaller = DescribeServerResponseUnmarshaller.Instance;

            return(Invoke <DescribeServerRequest, DescribeServerResponse>(request, marshaller, unmarshaller));
        }
コード例 #2
0
        /// <summary>
        /// Initiates the asynchronous execution of the DescribeServer operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the DescribeServer 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/DescribeServer">REST API Reference for DescribeServer Operation</seealso>
        public virtual Task <DescribeServerResponse> DescribeServerAsync(DescribeServerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = DescribeServerRequestMarshaller.Instance;
            var unmarshaller = DescribeServerResponseUnmarshaller.Instance;

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

            options.RequestMarshaller    = DescribeServerRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DescribeServerResponseUnmarshaller.Instance;

            return(InvokeAsync <DescribeServerResponse>(request, options, cancellationToken));
        }
コード例 #4
0
        internal virtual DescribeServerResponse DescribeServer(DescribeServerRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = DescribeServerRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DescribeServerResponseUnmarshaller.Instance;

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