Esempio n. 1
0
        internal virtual CreateApplicationSnapshotResponse CreateApplicationSnapshot(CreateApplicationSnapshotRequest request)
        {
            var marshaller   = CreateApplicationSnapshotRequestMarshaller.Instance;
            var unmarshaller = CreateApplicationSnapshotResponseUnmarshaller.Instance;

            return(Invoke <CreateApplicationSnapshotRequest, CreateApplicationSnapshotResponse>(request, marshaller, unmarshaller));
        }
Esempio n. 2
0
        internal virtual CreateApplicationSnapshotResponse CreateApplicationSnapshot(CreateApplicationSnapshotRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = CreateApplicationSnapshotRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateApplicationSnapshotResponseUnmarshaller.Instance;

            return(Invoke <CreateApplicationSnapshotResponse>(request, options));
        }
Esempio n. 3
0
        /// <summary>
        /// Initiates the asynchronous execution of the CreateApplicationSnapshot operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the CreateApplicationSnapshot 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/CreateApplicationSnapshot">REST API Reference for CreateApplicationSnapshot Operation</seealso>
        public virtual Task <CreateApplicationSnapshotResponse> CreateApplicationSnapshotAsync(CreateApplicationSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = CreateApplicationSnapshotRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateApplicationSnapshotResponseUnmarshaller.Instance;

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