internal NotifyApplicationStateResponse NotifyApplicationState(NotifyApplicationStateRequest request) { var marshaller = new NotifyApplicationStateRequestMarshaller(); var unmarshaller = NotifyApplicationStateResponseUnmarshaller.Instance; return(Invoke <NotifyApplicationStateRequest, NotifyApplicationStateResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the NotifyApplicationState operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the NotifyApplicationState 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/NotifyApplicationState">REST API Reference for NotifyApplicationState Operation</seealso> public Task <NotifyApplicationStateResponse> NotifyApplicationStateAsync(NotifyApplicationStateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new NotifyApplicationStateRequestMarshaller(); var unmarshaller = NotifyApplicationStateResponseUnmarshaller.Instance; return(InvokeAsync <NotifyApplicationStateRequest, NotifyApplicationStateResponse>(request, marshaller, unmarshaller, cancellationToken)); }
internal virtual NotifyApplicationStateResponse NotifyApplicationState(NotifyApplicationStateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = NotifyApplicationStateRequestMarshaller.Instance; options.ResponseUnmarshaller = NotifyApplicationStateResponseUnmarshaller.Instance; return(Invoke <NotifyApplicationStateResponse>(request, options)); }
/// <summary> /// Initiates the asynchronous execution of the NotifyApplicationState operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the NotifyApplicationState 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/NotifyApplicationState">REST API Reference for NotifyApplicationState Operation</seealso> public virtual Task <NotifyApplicationStateResponse> NotifyApplicationStateAsync(NotifyApplicationStateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = NotifyApplicationStateRequestMarshaller.Instance; options.ResponseUnmarshaller = NotifyApplicationStateResponseUnmarshaller.Instance; return(InvokeAsync <NotifyApplicationStateResponse>(request, options, cancellationToken)); }