Exemplo n.º 1
0
        internal virtual TestPaginatorResponse TestPaginator(TestPaginatorRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = TestPaginatorRequestMarshaller.Instance;
            options.ResponseUnmarshaller = TestPaginatorResponseUnmarshaller.Instance;

            return(Invoke <TestPaginatorResponse>(request, options));
        }
Exemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="request">Container for the necessary parameters to execute the TestPaginator service method.</param>
        /// <param name="cancellationToken">
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// </param>
        ///
        /// <returns>The response from the TestPaginator service method, as returned by PaginatorsTest.</returns>
        /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/paginator-test-2021-03-14/TestPaginator">REST API Reference for TestPaginator Operation</seealso>
        public virtual Task <TestPaginatorResponse> TestPaginatorAsync(TestPaginatorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = TestPaginatorRequestMarshaller.Instance;
            options.ResponseUnmarshaller = TestPaginatorResponseUnmarshaller.Instance;

            return(InvokeAsync <TestPaginatorResponse>(request, options, cancellationToken));
        }
Exemplo n.º 3
0
        /// <summary>
        /// Initiates the asynchronous execution of the TestPaginator operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the TestPaginator operation on AmazonPaginatorsTestClient.</param>
        /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
        /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
        ///          procedure using the AsyncState property.</param>
        ///
        /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTestPaginator
        ///         operation.</returns>
        /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/paginator-test-2021-03-14/TestPaginator">REST API Reference for TestPaginator Operation</seealso>
        public virtual IAsyncResult BeginTestPaginator(TestPaginatorRequest request, AsyncCallback callback, object state)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = TestPaginatorRequestMarshaller.Instance;
            options.ResponseUnmarshaller = TestPaginatorResponseUnmarshaller.Instance;

            return(BeginInvoke(request, options, callback, state));
        }