Beispiel #1
0
        internal CreateStreamingURLResponse CreateStreamingURL(CreateStreamingURLRequest request)
        {
            var marshaller   = new CreateStreamingURLRequestMarshaller();
            var unmarshaller = CreateStreamingURLResponseUnmarshaller.Instance;

            return(Invoke <CreateStreamingURLRequest, CreateStreamingURLResponse>(request, marshaller, unmarshaller));
        }
Beispiel #2
0
        /// <summary>
        /// Initiates the asynchronous execution of the CreateStreamingURL operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the CreateStreamingURL 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/appstream-2016-12-01/CreateStreamingURL">REST API Reference for CreateStreamingURL Operation</seealso>
        public Task <CreateStreamingURLResponse> CreateStreamingURLAsync(CreateStreamingURLRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = new CreateStreamingURLRequestMarshaller();
            var unmarshaller = CreateStreamingURLResponseUnmarshaller.Instance;

            return(InvokeAsync <CreateStreamingURLRequest, CreateStreamingURLResponse>(request, marshaller,
                                                                                       unmarshaller, cancellationToken));
        }