Beispiel #1
0
        internal virtual ListApplicationSnapshotsResponse ListApplicationSnapshots(ListApplicationSnapshotsRequest request)
        {
            var marshaller   = ListApplicationSnapshotsRequestMarshaller.Instance;
            var unmarshaller = ListApplicationSnapshotsResponseUnmarshaller.Instance;

            return(Invoke <ListApplicationSnapshotsRequest, ListApplicationSnapshotsResponse>(request, marshaller, unmarshaller));
        }
Beispiel #2
0
        internal virtual ListApplicationSnapshotsResponse ListApplicationSnapshots(ListApplicationSnapshotsRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = ListApplicationSnapshotsRequestMarshaller.Instance;
            options.ResponseUnmarshaller = ListApplicationSnapshotsResponseUnmarshaller.Instance;

            return(Invoke <ListApplicationSnapshotsResponse>(request, options));
        }
Beispiel #3
0
        /// <summary>
        /// Initiates the asynchronous execution of the ListApplicationSnapshots operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the ListApplicationSnapshots 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/kinesisanalyticsv2-2018-05-23/ListApplicationSnapshots">REST API Reference for ListApplicationSnapshots Operation</seealso>
        public virtual Task <ListApplicationSnapshotsResponse> ListApplicationSnapshotsAsync(ListApplicationSnapshotsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = ListApplicationSnapshotsRequestMarshaller.Instance;
            options.ResponseUnmarshaller = ListApplicationSnapshotsResponseUnmarshaller.Instance;

            return(InvokeAsync <ListApplicationSnapshotsResponse>(request, options, cancellationToken));
        }