/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the honeycode-2020-03-01.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.Honeycode.Model;
namespace Amazon.Honeycode
{
///
/// Interface for accessing Honeycode
///
/// Amazon Honeycode is a fully managed service that allows you to quickly build mobile
/// and web apps for teams—without programming. Build Honeycode apps for managing almost
/// anything, like projects, customers, operations, approvals, resources, and even your
/// team.
///
public partial interface IAmazonHoneycode : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
IHoneycodePaginatorFactory Paginators { get; }
#endif
#region BatchCreateTableRows
///
/// The BatchCreateTableRows API allows you to create one or more rows at the end of
/// a table in a workbook. The API allows you to specify the values to set in some or
/// all of the columns in the new rows.
///
///
///
/// If a column is not explicitly set in a specific row, then the column level formula
/// specified in the table will be applied to the new row. If there is no column level
/// formula but the last row of the table has a formula, then that formula will be copied
/// down to the new row. If there is no column level formula and no formula in the last
/// row of the table, then that column will be left blank for the new rows.
///
///
/// Container for the necessary parameters to execute the BatchCreateTableRows service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the BatchCreateTableRows service method, as returned by Honeycode.
///
/// 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.
///
///
/// There were unexpected errors from the server.
///
///
/// The request timed out.
///
///
/// A Workbook, Table, App, Screen or Screen Automation was not found with the given ID.
///
///
/// The request caused service quota to be breached.
///
///
/// Remote service is unreachable.
///
///
/// Tps(transactions per second) rate reached.
///
///
/// Request is invalid. The message in the response contains details on why the request
/// is invalid.
///
/// REST API Reference for BatchCreateTableRows Operation
Task BatchCreateTableRowsAsync(BatchCreateTableRowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region BatchDeleteTableRows
///
/// 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.
///
/// Container for the necessary parameters to execute the BatchDeleteTableRows service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the BatchDeleteTableRows service method, as returned by Honeycode.
///
/// 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.
///
///
/// There were unexpected errors from the server.
///
///
/// The request timed out.
///
///
/// A Workbook, Table, App, Screen or Screen Automation was not found with the given ID.
///
///
/// Remote service is unreachable.
///
///
/// Tps(transactions per second) rate reached.
///
///
/// Request is invalid. The message in the response contains details on why the request
/// is invalid.
///
/// REST API Reference for BatchDeleteTableRows Operation
Task BatchDeleteTableRowsAsync(BatchDeleteTableRowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region BatchUpdateTableRows
///
/// The BatchUpdateTableRows API allows you to update one or more rows in a table in
/// a workbook.
///
///
///
/// You can specify the values to set in some or all of the columns in the table for
/// the specified rows. If a column is not explicitly specified in a particular row, then
/// that column will not be updated for that row. To clear out the data in a specific
/// cell, you need to set the value as an empty string ("").
///
///
/// Container for the necessary parameters to execute the BatchUpdateTableRows service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the BatchUpdateTableRows service method, as returned by Honeycode.
///
/// 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.
///
///
/// There were unexpected errors from the server.
///
///
/// The request timed out.
///
///
/// A Workbook, Table, App, Screen or Screen Automation was not found with the given ID.
///
///
/// Remote service is unreachable.
///
///
/// Tps(transactions per second) rate reached.
///
///
/// Request is invalid. The message in the response contains details on why the request
/// is invalid.
///
/// REST API Reference for BatchUpdateTableRows Operation
Task BatchUpdateTableRowsAsync(BatchUpdateTableRowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region BatchUpsertTableRows
///
/// The BatchUpsertTableRows API allows you to upsert one or more rows in a table. The
/// upsert operation takes a filter expression as input and evaluates it to find matching
/// rows on the destination table. If matching rows are found, it will update the cells
/// in the matching rows to new values specified in the request. If no matching rows are
/// found, a new row is added at the end of the table and the cells in that row are set
/// to the new values specified in the request.
///
///
///
/// You can specify the values to set in some or all of the columns in the table for
/// the matching or newly appended rows. If a column is not explicitly specified for a
/// particular row, then that column will not be updated for that row. To clear out the
/// data in a specific cell, you need to set the value as an empty string ("").
///
///
/// Container for the necessary parameters to execute the BatchUpsertTableRows service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the BatchUpsertTableRows service method, as returned by Honeycode.
///
/// 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.
///
///
/// There were unexpected errors from the server.
///
///
/// The request timed out.
///
///
/// A Workbook, Table, App, Screen or Screen Automation was not found with the given ID.
///
///
/// The request caused service quota to be breached.
///
///
/// Remote service is unreachable.
///
///
/// Tps(transactions per second) rate reached.
///
///
/// Request is invalid. The message in the response contains details on why the request
/// is invalid.
///
/// REST API Reference for BatchUpsertTableRows Operation
Task BatchUpsertTableRowsAsync(BatchUpsertTableRowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeTableDataImportJob
///
/// The DescribeTableDataImportJob API allows you to retrieve the status and details
/// of a table data import job.
///
/// Container for the necessary parameters to execute the DescribeTableDataImportJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeTableDataImportJob service method, as returned by Honeycode.
///
/// 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.
///
///
/// There were unexpected errors from the server.
///
///
/// The request timed out.
///
///
/// A Workbook, Table, App, Screen or Screen Automation was not found with the given ID.
///
///
/// Remote service is unreachable.
///
///
/// Tps(transactions per second) rate reached.
///
///
/// Request is invalid. The message in the response contains details on why the request
/// is invalid.
///
/// REST API Reference for DescribeTableDataImportJob Operation
Task DescribeTableDataImportJobAsync(DescribeTableDataImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetScreenData
///
/// The GetScreenData API allows retrieval of data from a screen in a Honeycode app.
/// The API allows setting local variables in the screen to filter, sort or otherwise
/// affect what will be displayed on the screen.
///
/// Container for the necessary parameters to execute the GetScreenData service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetScreenData service method, as returned by Honeycode.
///
/// 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.
///
///
/// There were unexpected errors from the server.
///
///
/// The request timed out.
///
///
/// A Workbook, Table, App, Screen or Screen Automation was not found with the given ID.
///
///
/// Remote service is unreachable.
///
///
/// Tps(transactions per second) rate reached.
///
///
/// Request is invalid. The message in the response contains details on why the request
/// is invalid.
///
/// REST API Reference for GetScreenData Operation
Task GetScreenDataAsync(GetScreenDataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region InvokeScreenAutomation
///
/// The InvokeScreenAutomation API allows invoking an action defined in a screen in a
/// Honeycode app. The API allows setting local variables, which can then be used in the
/// automation being invoked. This allows automating the Honeycode app interactions to
/// write, update or delete data in the workbook.
///
/// Container for the necessary parameters to execute the InvokeScreenAutomation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the InvokeScreenAutomation service method, as returned by Honeycode.
///
/// 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.
///
///
/// The automation execution did not end successfully.
///
///
/// The automation execution timed out.
///
///
/// There were unexpected errors from the server.
///
///
/// The request timed out.
///
///
/// A Workbook, Table, App, Screen or Screen Automation was not found with the given ID.
///
///
/// The request caused service quota to be breached.
///
///
/// Remote service is unreachable.
///
///
/// Tps(transactions per second) rate reached.
///
///
/// Request is invalid. The message in the response contains details on why the request
/// is invalid.
///
/// REST API Reference for InvokeScreenAutomation Operation
Task InvokeScreenAutomationAsync(InvokeScreenAutomationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTableColumns
///
/// The ListTableColumns API allows you to retrieve a list of all the columns in a table
/// in a workbook.
///
/// Container for the necessary parameters to execute the ListTableColumns service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTableColumns service method, as returned by Honeycode.
///
/// 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.
///
///
/// There were unexpected errors from the server.
///
///
/// The request timed out.
///
///
/// A Workbook, Table, App, Screen or Screen Automation was not found with the given ID.
///
///
/// Remote service is unreachable.
///
///
/// Tps(transactions per second) rate reached.
///
///
/// Request is invalid. The message in the response contains details on why the request
/// is invalid.
///
/// REST API Reference for ListTableColumns Operation
Task ListTableColumnsAsync(ListTableColumnsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTableRows
///
/// The ListTableRows API allows you to retrieve a list of all the rows in a table in
/// a workbook.
///
/// Container for the necessary parameters to execute the ListTableRows service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTableRows service method, as returned by Honeycode.
///
/// 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.
///
///
/// There were unexpected errors from the server.
///
///
/// The request timed out.
///
///
/// A Workbook, Table, App, Screen or Screen Automation was not found with the given ID.
///
///
/// Remote service is unreachable.
///
///
/// Tps(transactions per second) rate reached.
///
///
/// Request is invalid. The message in the response contains details on why the request
/// is invalid.
///
/// REST API Reference for ListTableRows Operation
Task ListTableRowsAsync(ListTableRowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTables
///
/// The ListTables API allows you to retrieve a list of all the tables in a workbook.
///
/// Container for the necessary parameters to execute the ListTables service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTables service method, as returned by Honeycode.
///
/// 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.
///
///
/// There were unexpected errors from the server.
///
///
/// The request timed out.
///
///
/// A Workbook, Table, App, Screen or Screen Automation was not found with the given ID.
///
///
/// Remote service is unreachable.
///
///
/// Tps(transactions per second) rate reached.
///
///
/// Request is invalid. The message in the response contains details on why the request
/// is invalid.
///
/// REST API Reference for ListTables Operation
Task ListTablesAsync(ListTablesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
///
/// The ListTagsForResource API allows you to return a resource's tags.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by Honeycode.
///
/// 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.
///
///
/// There were unexpected errors from the server.
///
///
/// The request timed out.
///
///
/// A Workbook, Table, App, Screen or Screen Automation was not found with the given ID.
///
///
/// Remote service is unreachable.
///
///
/// Tps(transactions per second) rate reached.
///
///
/// Request is invalid. The message in the response contains details on why the request
/// is invalid.
///
/// REST API Reference for ListTagsForResource Operation
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region QueryTableRows
///
/// The QueryTableRows API allows you to use a filter formula to query for specific rows
/// in a table.
///
/// Container for the necessary parameters to execute the QueryTableRows service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the QueryTableRows service method, as returned by Honeycode.
///
/// 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.
///
///
/// There were unexpected errors from the server.
///
///
/// The request timed out.
///
///
/// A Workbook, Table, App, Screen or Screen Automation was not found with the given ID.
///
///
/// Remote service is unreachable.
///
///
/// Tps(transactions per second) rate reached.
///
///
/// Request is invalid. The message in the response contains details on why the request
/// is invalid.
///
/// REST API Reference for QueryTableRows Operation
Task QueryTableRowsAsync(QueryTableRowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartTableDataImportJob
///
/// The StartTableDataImportJob API allows you to start an import job on a table. This
/// API will only return the id of the job that was started. To find out the status of
/// the import request, you need to call the DescribeTableDataImportJob API.
///
/// Container for the necessary parameters to execute the StartTableDataImportJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartTableDataImportJob service method, as returned by Honeycode.
///
/// 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.
///
///
/// There were unexpected errors from the server.
///
///
/// The request timed out.
///
///
/// A Workbook, Table, App, Screen or Screen Automation was not found with the given ID.
///
///
/// The request caused service quota to be breached.
///
///
/// Remote service is unreachable.
///
///
/// Tps(transactions per second) rate reached.
///
///
/// Request is invalid. The message in the response contains details on why the request
/// is invalid.
///
/// REST API Reference for StartTableDataImportJob Operation
Task StartTableDataImportJobAsync(StartTableDataImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
///
/// The TagResource API allows you to add tags to an ARN-able resource. Resource includes
/// workbook, table, screen and screen-automation.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by Honeycode.
///
/// 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.
///
///
/// There were unexpected errors from the server.
///
///
/// The request timed out.
///
///
/// A Workbook, Table, App, Screen or Screen Automation was not found with the given ID.
///
///
/// Remote service is unreachable.
///
///
/// Tps(transactions per second) rate reached.
///
///
/// Request is invalid. The message in the response contains details on why the request
/// is invalid.
///
/// REST API Reference for TagResource Operation
Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
///
/// The UntagResource API allows you to removes tags from an ARN-able resource. Resource
/// includes workbook, table, screen and screen-automation.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by Honeycode.
///
/// 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.
///
///
/// There were unexpected errors from the server.
///
///
/// The request timed out.
///
///
/// A Workbook, Table, App, Screen or Screen Automation was not found with the given ID.
///
///
/// Remote service is unreachable.
///
///
/// Tps(transactions per second) rate reached.
///
///
/// Request is invalid. The message in the response contains details on why the request
/// is invalid.
///
/// REST API Reference for UntagResource Operation
Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}