/*
* 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.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.Honeycode.Model;
using Amazon.Honeycode.Model.Internal.MarshallTransformations;
using Amazon.Honeycode.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.Honeycode
{
///
/// Implementation 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 class AmazonHoneycodeClient : AmazonServiceClient, IAmazonHoneycode
{
private static IServiceMetadata serviceMetadata = new AmazonHoneycodeMetadata();
private IHoneycodePaginatorFactory _paginators;
///
/// Paginators for the service
///
public IHoneycodePaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new HoneycodePaginatorFactory(this);
}
return this._paginators;
}
}
#region Constructors
///
/// Constructs AmazonHoneycodeClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonHoneycodeClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonHoneycodeConfig()) { }
///
/// Constructs AmazonHoneycodeClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonHoneycodeClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonHoneycodeConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonHoneycodeClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonHoneycodeClient Configuration Object
public AmazonHoneycodeClient(AmazonHoneycodeConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonHoneycodeClient with AWS Credentials
///
/// AWS Credentials
public AmazonHoneycodeClient(AWSCredentials credentials)
: this(credentials, new AmazonHoneycodeConfig())
{
}
///
/// Constructs AmazonHoneycodeClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonHoneycodeClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonHoneycodeConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonHoneycodeClient with AWS Credentials and an
/// AmazonHoneycodeClient Configuration object.
///
/// AWS Credentials
/// The AmazonHoneycodeClient Configuration Object
public AmazonHoneycodeClient(AWSCredentials credentials, AmazonHoneycodeConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonHoneycodeClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonHoneycodeClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonHoneycodeConfig())
{
}
///
/// Constructs AmazonHoneycodeClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonHoneycodeClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonHoneycodeConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonHoneycodeClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonHoneycodeClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonHoneycodeClient Configuration Object
public AmazonHoneycodeClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonHoneycodeConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonHoneycodeClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonHoneycodeClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonHoneycodeConfig())
{
}
///
/// Constructs AmazonHoneycodeClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonHoneycodeClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonHoneycodeConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonHoneycodeClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonHoneycodeClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonHoneycodeClient Configuration Object
public AmazonHoneycodeClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonHoneycodeConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonHoneycodeEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#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.
///
/// 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
public virtual BatchCreateTableRowsResponse BatchCreateTableRows(BatchCreateTableRowsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchCreateTableRowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchCreateTableRowsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task BatchCreateTableRowsAsync(BatchCreateTableRowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchCreateTableRowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchCreateTableRowsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, 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.
///
/// 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
public virtual BatchDeleteTableRowsResponse BatchDeleteTableRows(BatchDeleteTableRowsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDeleteTableRowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDeleteTableRowsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task BatchDeleteTableRowsAsync(BatchDeleteTableRowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDeleteTableRowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDeleteTableRowsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, 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.
///
/// 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
public virtual BatchUpdateTableRowsResponse BatchUpdateTableRows(BatchUpdateTableRowsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchUpdateTableRowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchUpdateTableRowsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task BatchUpdateTableRowsAsync(BatchUpdateTableRowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchUpdateTableRowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchUpdateTableRowsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, 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.
///
/// 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
public virtual BatchUpsertTableRowsResponse BatchUpsertTableRows(BatchUpsertTableRowsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchUpsertTableRowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchUpsertTableRowsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task BatchUpsertTableRowsAsync(BatchUpsertTableRowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchUpsertTableRowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchUpsertTableRowsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, 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.
///
/// 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
public virtual DescribeTableDataImportJobResponse DescribeTableDataImportJob(DescribeTableDataImportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTableDataImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTableDataImportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task DescribeTableDataImportJobAsync(DescribeTableDataImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTableDataImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTableDataImportJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, 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.
///
/// 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
public virtual GetScreenDataResponse GetScreenData(GetScreenDataRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetScreenDataRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetScreenDataResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task GetScreenDataAsync(GetScreenDataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetScreenDataRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetScreenDataResponseUnmarshaller.Instance;
return InvokeAsync(request, options, 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.
///
/// 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
public virtual InvokeScreenAutomationResponse InvokeScreenAutomation(InvokeScreenAutomationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = InvokeScreenAutomationRequestMarshaller.Instance;
options.ResponseUnmarshaller = InvokeScreenAutomationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task InvokeScreenAutomationAsync(InvokeScreenAutomationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = InvokeScreenAutomationRequestMarshaller.Instance;
options.ResponseUnmarshaller = InvokeScreenAutomationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, 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.
///
/// 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
public virtual ListTableColumnsResponse ListTableColumns(ListTableColumnsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTableColumnsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTableColumnsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task ListTableColumnsAsync(ListTableColumnsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTableColumnsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTableColumnsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, 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.
///
/// 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
public virtual ListTableRowsResponse ListTableRows(ListTableRowsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTableRowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTableRowsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task ListTableRowsAsync(ListTableRowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTableRowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTableRowsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, 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.
///
/// 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
public virtual ListTablesResponse ListTables(ListTablesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTablesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTablesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task ListTablesAsync(ListTablesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTablesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTablesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, 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.
///
/// 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
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, 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.
///
/// 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
public virtual QueryTableRowsResponse QueryTableRows(QueryTableRowsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = QueryTableRowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = QueryTableRowsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task QueryTableRowsAsync(QueryTableRowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = QueryTableRowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = QueryTableRowsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, 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.
///
/// 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
public virtual StartTableDataImportJobResponse StartTableDataImportJob(StartTableDataImportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartTableDataImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartTableDataImportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task StartTableDataImportJobAsync(StartTableDataImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartTableDataImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartTableDataImportJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, 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.
///
/// 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
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, 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.
///
/// 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
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}