5.0.0 • Published 5 years ago
@datafire/amazonaws_honeycode v5.0.0
@datafire/amazonaws_honeycode
Client library for Amazon Honeycode
Installation and Usage
npm install --save @datafire/amazonaws_honeycode
let amazonaws_honeycode = require('@datafire/amazonaws_honeycode').create({
accessKeyId: "",
secretAccessKey: "",
region: ""
});
.then(data => {
console.log(data);
});
Description
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.
Actions
GetScreenData
amazonaws_honeycode.GetScreenData({
"workbookId": "",
"appId": "",
"screenId": ""
}, context)
Input
- input
object
- appId required
string
: The ID of the app that contains the screem. - maxResults
integer
: The number of results to be returned on a single page. Specify a number between 1 and 100. The maximum value is 100. This parameter is optional. If you don't specify this parameter, the default page size is 100. - nextToken
string
: This parameter is optional. If a nextToken is not specified, the API returns the first page of data. Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API will throw ValidationException. - screenId required
string
: The ID of the screen. - variables
object
: Variables are optional and are needed only if the screen requires them to render correctly. Variables are specified as a map where the key is the name of the variable as defined on the screen. The value is an object which currently has only one property, rawValue, which holds the value of the variable to be passed to the screen. - workbookId required
string
: The ID of the workbook that contains the screen.
- appId required
Output
- output GetScreenDataResult
InvokeScreenAutomation
amazonaws_honeycode.InvokeScreenAutomation({
"workbookId": "",
"appId": "",
"screenId": "",
"automationId": ""
}, context)
Input
- input
object
- workbookId required
string
- appId required
string
- screenId required
string
- automationId required
string
- clientRequestToken
string
: The request token for performing the automation action. Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error like a failed network connection, you can retry the call with the same request token. The service ensures that if the first call using that request token is successfully performed, the second call will return the response of the previous call rather than performing the action again. Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests spanning hours or days. - rowId
string
: The row ID for the automation if the automation is defined inside a block with source or list. - variables
object
: Variables are specified as a map where the key is the name of the variable as defined on the screen. The value is an object which currently has only one property, rawValue, which holds the value of the variable to be passed to the screen. Any variables defined in a screen are required to be passed in the call.
- workbookId required
Output
- output InvokeScreenAutomationResult
ListTables
amazonaws_honeycode.ListTables({
"workbookId": ""
}, context)
Input
- input
object
- workbookId required
string
- maxResults
integer
- nextToken
string
- workbookId required
Output
- output ListTablesResult
ListTableColumns
amazonaws_honeycode.ListTableColumns({
"workbookId": "",
"tableId": ""
}, context)
Input
- input
object
- workbookId required
string
- tableId required
string
- nextToken
string
- workbookId required
Output
- output ListTableColumnsResult
StartTableDataImportJob
amazonaws_honeycode.StartTableDataImportJob({
"workbookId": "",
"tableId": "",
"dataSource": {},
"dataFormat": "",
"importOptions": {},
"clientRequestToken": ""
}, context)
Input
- input
object
- workbookId required
string
- tableId required
string
- clientRequestToken required
string
: The request token for performing the update action. Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error like a failed network connection, you can retry the call with the same request token. The service ensures that if the first call using that request token is successfully performed, the second call will not perform the action again. Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests spanning hours or days. - dataFormat required
string
(values: DELIMITED_TEXT): The format of the data that is being imported. Currently the only option supported is "DELIMITED_TEXT". - dataSource required
object
: An object that has details about the source of the data that was submitted for import.- dataSourceConfig
- dataSourceUrl
- dataSourceConfig
- importOptions required
object
: An object that contains the options specified by the sumitter of the import request.- delimitedTextOptions
- dataCharacterEncoding
- delimiter required
- hasHeaderRow
- ignoreEmptyRows
- destinationOptions
- columnMap
- delimitedTextOptions
- workbookId required
Output
DescribeTableDataImportJob
amazonaws_honeycode.DescribeTableDataImportJob({
"workbookId": "",
"tableId": "",
"jobId": ""
}, context)
Input
- input
object
- workbookId required
string
- tableId required
string
- jobId required
string
- workbookId required
Output
BatchCreateTableRows
amazonaws_honeycode.BatchCreateTableRows({
"workbookId": "",
"tableId": "",
"rowsToCreate": []
}, context)
Input
- input
object
- workbookId required
string
- tableId required
string
- clientRequestToken
string
: The request token for performing the batch create operation. Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error like a failed network connection, you can retry the call with the same request token. The service ensures that if the first call using that request token is successfully performed, the second call will not perform the operation again. Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests spanning hours or days. - rowsToCreate required
array
: The list of rows to create at the end of the table. Each item in this list needs to have a batch item id to uniquely identify the element in the request and the cells to create for that row. You need to specify at least one item in this list. Note that if one of the column ids in any of the rows in the request does not exist in the table, then the request fails and no updates are made to the table.- items CreateRowData
- workbookId required
Output
- output BatchCreateTableRowsResult
BatchDeleteTableRows
amazonaws_honeycode.BatchDeleteTableRows({
"workbookId": "",
"tableId": "",
"rowIds": []
}, context)
Input
- input
object
- workbookId required
string
- tableId required
string
- clientRequestToken
string
: The request token for performing the delete action. Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error like a failed network connection, you can retry the call with the same request token. The service ensures that if the first call using that request token is successfully performed, the second call will not perform the action again. Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests spanning hours or days. - rowIds required
array
: The list of row ids to delete from the table. You need to specify at least one row id in this list. Note that if one of the row ids provided in the request does not exist in the table, then the request fails and no rows are deleted from the table.- items RowId
- workbookId required
Output
- output BatchDeleteTableRowsResult
BatchUpdateTableRows
amazonaws_honeycode.BatchUpdateTableRows({
"workbookId": "",
"tableId": "",
"rowsToUpdate": []
}, context)
Input
- input
object
- workbookId required
string
- tableId required
string
- clientRequestToken
string
: The request token for performing the update action. Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error like a failed network connection, you can retry the call with the same request token. The service ensures that if the first call using that request token is successfully performed, the second call will not perform the action again. Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests spanning hours or days. - rowsToUpdate required
array
: The list of rows to update in the table. Each item in this list needs to contain the row id to update along with the map of column id to cell values for each column in that row that needs to be updated. You need to specify at least one row in this list, and for each row, you need to specify at least one column to update. Note that if one of the row or column ids in the request does not exist in the table, then the request fails and no updates are made to the table.- items UpdateRowData
- workbookId required
Output
- output BatchUpdateTableRowsResult
BatchUpsertTableRows
amazonaws_honeycode.BatchUpsertTableRows({
"workbookId": "",
"tableId": "",
"rowsToUpsert": []
}, context)
Input
- input
object
- workbookId required
string
- tableId required
string
- clientRequestToken
string
: The request token for performing the update action. Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error like a failed network connection, you can retry the call with the same request token. The service ensures that if the first call using that request token is successfully performed, the second call will not perform the action again. Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests spanning hours or days. - rowsToUpsert required
array
: The list of rows to upsert in the table. Each item in this list needs to have a batch item id to uniquely identify the element in the request, a filter expression to find the rows to update for that element and the cell values to set for each column in the upserted rows. You need to specify at least one item in this list. Note that if one of the filter formulas in the request fails to evaluate because of an error or one of the column ids in any of the rows does not exist in the table, then the request fails and no updates are made to the table.- items UpsertRowData
- workbookId required
Output
- output BatchUpsertTableRowsResult
ListTableRows
amazonaws_honeycode.ListTableRows({
"workbookId": "",
"tableId": ""
}, context)
Input
- input
object
- workbookId required
string
- tableId required
string
- maxResults
string
- nextToken
string
- maxResults
integer
: The maximum number of rows to return in each page of the results. - nextToken
string
: This parameter is optional. If a nextToken is not specified, the API returns the first page of data. Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API will throw ValidationException. - rowIds
array
: This parameter is optional. If one or more row ids are specified in this list, then only the specified row ids are returned in the result. If no row ids are specified here, then all the rows in the table are returned.- items RowId
- workbookId required
Output
- output ListTableRowsResult
QueryTableRows
amazonaws_honeycode.QueryTableRows({
"workbookId": "",
"tableId": "",
"filterFormula": {}
}, context)
Input
- input
object
- workbookId required
string
- tableId required
string
- maxResults
string
- nextToken
string
- filterFormula required
object
: An object that represents a filter formula along with the id of the context row under which the filter function needs to evaluate.- contextRowId
- formula
- maxResults
integer
: The maximum number of rows to return in each page of the results. - nextToken
string
: This parameter is optional. If a nextToken is not specified, the API returns the first page of data. Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API will throw ValidationException.
- workbookId required
Output
- output QueryTableRowsResult
Definitions
AccessDeniedException
AutomationExecutionException
AutomationExecutionTimeoutException
AwsUserArn
- AwsUserArn
string
BatchCreateTableRowsRequest
- BatchCreateTableRowsRequest
object
- clientRequestToken
- rowsToCreate required
- items CreateRowData
BatchCreateTableRowsResult
- BatchCreateTableRowsResult
object
- createdRows required
- failedBatchItems
- items FailedBatchItem
- workbookCursor required
BatchDeleteTableRowsRequest
- BatchDeleteTableRowsRequest
object
- clientRequestToken
- rowIds required
- items RowId
BatchDeleteTableRowsResult
- BatchDeleteTableRowsResult
object
- failedBatchItems
- items FailedBatchItem
- workbookCursor required
- failedBatchItems
BatchErrorMessage
- BatchErrorMessage
string
BatchItemId
- BatchItemId
string
BatchUpdateTableRowsRequest
- BatchUpdateTableRowsRequest
object
- clientRequestToken
- rowsToUpdate required
- items UpdateRowData
BatchUpdateTableRowsResult
- BatchUpdateTableRowsResult
object
- failedBatchItems
- items FailedBatchItem
- workbookCursor required
- failedBatchItems
BatchUpsertTableRowsRequest
- BatchUpsertTableRowsRequest
object
- clientRequestToken
- rowsToUpsert required
- items UpsertRowData
BatchUpsertTableRowsResult
- BatchUpsertTableRowsResult
object
- failedBatchItems
- items FailedBatchItem
- rows required
- workbookCursor required
- failedBatchItems
Cell
- Cell
object
: An object that represents a single cell in a table.- format
- formattedValue
- formula
- rawValue
CellInput
- CellInput
object
: CellInput object contains the data needed to create or update cells in a table.- fact
Cells
- Cells
array
- items Cell
ClientRequestToken
- ClientRequestToken
string
ColumnMetadata
- ColumnMetadata
object
: Metadata for column in the table.- format required
- name required
CreateRowData
- CreateRowData
object
: Data needed to create a single row in a table as part of the BatchCreateTableRows request.- batchItemId required
- cellsToCreate required
CreateRowDataList
- CreateRowDataList
array
- items CreateRowData
CreatedRowsMap
- CreatedRowsMap
object
DataItem
- DataItem
object
: The data in a particular data cell defined on the screen.- formattedValue
- overrideFormat
- rawValue
DataItems
- DataItems
array
- items DataItem
DelimitedTextDelimiter
- DelimitedTextDelimiter
string
DelimitedTextImportOptions
- DelimitedTextImportOptions
object
: An object that contains the options relating to parsing delimited text as part of an import request.- dataCharacterEncoding
- delimiter required
- hasHeaderRow
- ignoreEmptyRows
DescribeTableDataImportJobRequest
- DescribeTableDataImportJobRequest
object
DescribeTableDataImportJobResult
- DescribeTableDataImportJobResult
object
- jobMetadata required
- dataSource required
- dataSourceConfig required
- dataSourceUrl
- dataSourceConfig required
- importOptions required
- delimitedTextOptions
- dataCharacterEncoding
- delimiter required
- hasHeaderRow
- ignoreEmptyRows
- destinationOptions
- columnMap
- delimitedTextOptions
- submitTime required
- submitter required
- userArn
- dataSource required
- jobStatus required
- message required
- jobMetadata required
DestinationOptions
- DestinationOptions
object
: An object that contains the options relating to the destination of the import request.- columnMap
- Email
string
Fact
- Fact
string
FailedBatchItem
- FailedBatchItem
object
: A single item in a batch that failed to perform the intended action because of an error preventing it from succeeding.- errorMessage required
- id required
FailedBatchItems
- FailedBatchItems
array
- items FailedBatchItem
Filter
- Filter
object
: An object that represents a filter formula along with the id of the context row under which the filter function needs to evaluate.- contextRowId
- formula required
Format
- Format
string
(values: AUTO, NUMBER, CURRENCY, DATE, TIME, DATE_TIME, PERCENTAGE, TEXT, ACCOUNTING, CONTACT, ROWLINK)
FormattedValue
- FormattedValue
string
Formula
- Formula
string
GetScreenDataRequest
- GetScreenDataRequest
object
- appId required
- maxResults
- nextToken
- screenId required
- variables
- workbookId required
GetScreenDataResult
- GetScreenDataResult
object
- nextToken
- results required
- workbookCursor required
HasHeaderRow
- HasHeaderRow
boolean
IgnoreEmptyRows
- IgnoreEmptyRows
boolean
ImportColumnMap
- ImportColumnMap
object
ImportDataCharacterEncoding
- ImportDataCharacterEncoding
string
(values: UTF-8, US-ASCII, ISO-8859-1, UTF-16BE, UTF-16LE, UTF-16)
ImportDataSource
- ImportDataSource
object
: An object that has details about the source of the data that was submitted for import.- dataSourceConfig required
- dataSourceUrl
- dataSourceConfig required
ImportDataSourceConfig
- ImportDataSourceConfig
object
: An object that contains the configuration parameters for the data source of an import request.- dataSourceUrl
ImportJobSubmitter
- ImportJobSubmitter
object
: An object that contains the attributes of the submitter of the import job.- userArn
ImportOptions
- ImportOptions
object
: An object that contains the options specified by the sumitter of the import request.- delimitedTextOptions
- dataCharacterEncoding
- delimiter required
- hasHeaderRow
- ignoreEmptyRows
- destinationOptions
- columnMap
- delimitedTextOptions
ImportSourceDataFormat
- ImportSourceDataFormat
string
(values: DELIMITED_TEXT)
InternalServerException
InvokeScreenAutomationRequest
- InvokeScreenAutomationRequest
object
- clientRequestToken
- rowId
- variables
InvokeScreenAutomationResult
- InvokeScreenAutomationResult
object
- workbookCursor required
JobId
- JobId
string
ListTableColumnsRequest
- ListTableColumnsRequest
object
ListTableColumnsResult
- ListTableColumnsResult
object
- nextToken
- tableColumns required
- items TableColumn
- workbookCursor
ListTableRowsRequest
- ListTableRowsRequest
object
- maxResults
- nextToken
- rowIds
- items RowId
ListTableRowsResult
- ListTableRowsResult
object
- columnIds required
- items ResourceId
- nextToken
- rowIdsNotFound
- items RowId
- rows required
- items TableRow
- workbookCursor required
- columnIds required
ListTablesRequest
- ListTablesRequest
object
ListTablesResult
- ListTablesResult
object
- nextToken
- tables required
- items Table
- workbookCursor
MaxResults
- MaxResults
integer
Name
- Name
string
PaginationToken
- PaginationToken
string
QueryTableRowsRequest
- QueryTableRowsRequest
object
- filterFormula required
- contextRowId
- formula required
- maxResults
- nextToken
- filterFormula required
QueryTableRowsResult
- QueryTableRowsResult
object
- columnIds required
- items ResourceId
- nextToken
- rows required
- items TableRow
- workbookCursor required
- columnIds required
RawValue
- RawValue
string
RequestTimeoutException
ResourceId
- ResourceId
string
ResourceIds
- ResourceIds
array
- items ResourceId
ResourceNotFoundException
ResultHeader
- ResultHeader
array
- items ColumnMetadata
ResultRow
- ResultRow
object
: A single row in the ResultSet.- dataItems required
- items DataItem
- rowId
- dataItems required
ResultRows
- ResultRows
array
- items ResultRow
ResultSet
- ResultSet
object
: ResultSet contains the results of the request for a single block or list defined on the screen.- headers required
- items ColumnMetadata
- rows required
- items ResultRow
- headers required
ResultSetMap
- ResultSetMap
object
RowDataInput
- RowDataInput
object
RowId
- RowId
string
RowIdList
- RowIdList
array
- items RowId
SecureURL
- SecureURL
string
ServiceQuotaExceededException
ServiceUnavailableException
SourceDataColumnIndex
- SourceDataColumnIndex
integer
SourceDataColumnProperties
- SourceDataColumnProperties
object
: An object that contains the properties for importing data to a specific column in a table.- columnIndex
StartTableDataImportJobRequest
- StartTableDataImportJobRequest
object
- clientRequestToken required
- dataFormat required
- dataSource required
- dataSourceConfig required
- dataSourceUrl
- dataSourceConfig required
- importOptions required
- delimitedTextOptions
- dataCharacterEncoding
- delimiter required
- hasHeaderRow
- ignoreEmptyRows
- destinationOptions
- columnMap
- delimitedTextOptions
StartTableDataImportJobResult
- StartTableDataImportJobResult
object
- jobId required
- jobStatus required
Table
- Table
object
: An object representing the properties of a table in a workbook.- tableId
- tableName
TableColumn
- TableColumn
object
: An object that contains attributes about a single column in a table- format
- tableColumnId
- tableColumnName
TableColumnName
- TableColumnName
string
TableColumns
- TableColumns
array
- items TableColumn
TableDataImportJobMessage
- TableDataImportJobMessage
string
TableDataImportJobMetadata
- TableDataImportJobMetadata
object
: The metadata associated with the table data import job that was submitted.- dataSource required
- dataSourceConfig required
- dataSourceUrl
- dataSourceConfig required
- importOptions required
- delimitedTextOptions
- dataCharacterEncoding
- delimiter required
- hasHeaderRow
- ignoreEmptyRows
- destinationOptions
- columnMap
- delimitedTextOptions
- submitTime required
- submitter required
- userArn
- dataSource required
TableDataImportJobStatus
- TableDataImportJobStatus
string
(values: SUBMITTED, IN_PROGRESS, COMPLETED, FAILED)
TableName
- TableName
string
TableRow
- TableRow
object
: An object that contains attributes about a single row in a table- cells required
- items Cell
- rowId required
- cells required
TableRows
- TableRows
array
- items TableRow
Tables
- Tables
array
- items Table
ThrottlingException
TimestampInMillis
- TimestampInMillis
string
UpdateRowData
- UpdateRowData
object
: Data needed to create a single row in a table as part of the BatchCreateTableRows request.- cellsToUpdate required
- rowId required
UpdateRowDataList
- UpdateRowDataList
array
- items UpdateRowData
UpsertAction
- UpsertAction
string
(values: UPDATED, APPENDED)
UpsertRowData
- UpsertRowData
object
: Data needed to upsert rows in a table as part of a single item in the BatchUpsertTableRows request.- batchItemId required
- cellsToUpdate required
- filter required
- contextRowId
- formula required
UpsertRowDataList
- UpsertRowDataList
array
- items UpsertRowData
UpsertRowsResult
- UpsertRowsResult
object
: An object that represents the result of a single upsert row request.- rowIds required
- items RowId
- upsertAction required
- rowIds required
UpsertRowsResultMap
- UpsertRowsResultMap
object
ValidationException
VariableName
- VariableName
string
VariableValue
- VariableValue
object
: The input variables to the app to be used by the InvokeScreenAutomation action request.- rawValue required
VariableValueMap
- VariableValueMap
object
WorkbookCursor
- WorkbookCursor
integer
5.0.0
5 years ago