/// <summary> /// The BatchDeleteTableRows API allows you to delete one or more rows from a table in /// a workbook. You need to specify the ids of the rows that you want to delete from the /// table. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchDeleteTableRows 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 BatchDeleteTableRows 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/BatchDeleteTableRows">REST API Reference for BatchDeleteTableRows Operation</seealso> public virtual Task <BatchDeleteTableRowsResponse> BatchDeleteTableRowsAsync(BatchDeleteTableRowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDeleteTableRowsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDeleteTableRowsResponseUnmarshaller.Instance; return(InvokeAsync <BatchDeleteTableRowsResponse>(request, options, cancellationToken)); }
internal virtual BatchDeleteTableRowsResponse BatchDeleteTableRows(BatchDeleteTableRowsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDeleteTableRowsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDeleteTableRowsResponseUnmarshaller.Instance; return(Invoke <BatchDeleteTableRowsResponse>(request, options)); }