List batch imports
imports_list_batches( hidden = NULL, limit = NULL, page_num = NULL, order = NULL, order_dir = NULL )
hidden | boolean optional. If specified to be true, returns hidden items. Defaults to false, returning non-hidden items. |
---|---|
limit | integer optional. Number of results to return. Defaults to 20. Maximum allowed is 50. |
page_num | integer optional. Page number of the results to return. Defaults to the first page, 1. |
order | string optional. The field on which to order the result set. Defaults to updated_at. Must be one of: updated_at, created_at. |
order_dir | string optional. Direction in which to sort, either asc (ascending) or desc (descending) defaulting to desc. |
An array containing the following fields:
integer, The ID for the import.
string, The destination schema name. This schema must already exist in Redshift.
string, The destination table name, without the schema prefix. This table must already exist in Redshift.
integer, The ID of the destination database host.
string, The state of the run; one of "queued", "running", "succeeded", "failed", or "cancelled".
string, The time the last run started at.
string, The time the last run completed.
string, The error returned by the run, if any.