internal CreateProgressUpdateStreamResponse CreateProgressUpdateStream(CreateProgressUpdateStreamRequest request) { var marshaller = new CreateProgressUpdateStreamRequestMarshaller(); var unmarshaller = CreateProgressUpdateStreamResponseUnmarshaller.Instance; return(Invoke <CreateProgressUpdateStreamRequest, CreateProgressUpdateStreamResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the CreateProgressUpdateStream operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateProgressUpdateStream 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/AWSMigrationHub-2017-05-31/CreateProgressUpdateStream">REST API Reference for CreateProgressUpdateStream Operation</seealso> public Task <CreateProgressUpdateStreamResponse> CreateProgressUpdateStreamAsync(CreateProgressUpdateStreamRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new CreateProgressUpdateStreamRequestMarshaller(); var unmarshaller = CreateProgressUpdateStreamResponseUnmarshaller.Instance; return(InvokeAsync <CreateProgressUpdateStreamRequest, CreateProgressUpdateStreamResponse>(request, marshaller, unmarshaller, cancellationToken)); }
/// <summary> /// Initiates the asynchronous execution of the CreateProgressUpdateStream operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateProgressUpdateStream 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/AWSMigrationHub-2017-05-31/CreateProgressUpdateStream">REST API Reference for CreateProgressUpdateStream Operation</seealso> public virtual Task <CreateProgressUpdateStreamResponse> CreateProgressUpdateStreamAsync(CreateProgressUpdateStreamRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProgressUpdateStreamRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProgressUpdateStreamResponseUnmarshaller.Instance; return(InvokeAsync <CreateProgressUpdateStreamResponse>(request, options, cancellationToken)); }
internal virtual CreateProgressUpdateStreamResponse CreateProgressUpdateStream(CreateProgressUpdateStreamRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProgressUpdateStreamRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProgressUpdateStreamResponseUnmarshaller.Instance; return(Invoke <CreateProgressUpdateStreamResponse>(request, options)); }