/// <summary> /// The ListTableRows API allows you to retrieve a list of all the rows in a table in /// a workbook. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTableRows service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListTableRows service method, as returned by Honeycode.</returns> /// <exception cref="Amazon.Honeycode.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. Check that the workbook /// is owned by you and your IAM policy allows access to the resource in the request. /// </exception> /// <exception cref="Amazon.Honeycode.Model.InternalServerException"> /// There were unexpected errors from the server. /// </exception> /// <exception cref="Amazon.Honeycode.Model.RequestTimeoutException"> /// The request timed out. /// </exception> /// <exception cref="Amazon.Honeycode.Model.ResourceNotFoundException"> /// A Workbook, Table, App, Screen or Screen Automation was not found with the given ID. /// </exception> /// <exception cref="Amazon.Honeycode.Model.ServiceUnavailableException"> /// Remote service is unreachable. /// </exception> /// <exception cref="Amazon.Honeycode.Model.ThrottlingException"> /// Tps(transactions per second) rate reached. /// </exception> /// <exception cref="Amazon.Honeycode.Model.ValidationException"> /// Request is invalid. The message in the response contains details on why the request /// is invalid. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ListTableRows">REST API Reference for ListTableRows Operation</seealso> public virtual Task <ListTableRowsResponse> ListTableRowsAsync(ListTableRowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTableRowsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTableRowsResponseUnmarshaller.Instance; return(InvokeAsync <ListTableRowsResponse>(request, options, cancellationToken)); }
internal virtual ListTableRowsResponse ListTableRows(ListTableRowsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTableRowsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTableRowsResponseUnmarshaller.Instance; return(Invoke <ListTableRowsResponse>(request, options)); }