Amazon.WorkSpaces.AmazonWorkSpacesClient.RebootWorkspacesAsync C# (CSharp) Method

RebootWorkspacesAsync() public method

Initiates the asynchronous execution of the RebootWorkspaces operation.
public RebootWorkspacesAsync ( RebootWorkspacesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.WorkSpaces.Model.RebootWorkspacesRequest Container for the necessary parameters to execute the RebootWorkspaces operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<RebootWorkspacesResponse> RebootWorkspacesAsync(RebootWorkspacesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new RebootWorkspacesRequestMarshaller();
            var unmarshaller = RebootWorkspacesResponseUnmarshaller.Instance;

            return InvokeAsync<RebootWorkspacesRequest,RebootWorkspacesResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }