Skip to main content

ingestions

Creates, updates, deletes, gets or lists an ingestions resource.

Overview

Nameingestions
TypeResource
Idaws.quicksight.ingestions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
ingestionobjectInformation about the ingestion.
request_idstringThe Amazon Web Services request ID for this operation.
statusintegerThe HTTP status of the request.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_ingestionselectaws_account_id, data_set_id, ingestion_id, regionDescribes a SPICE ingestion.
list_ingestionsselectdata_set_id, aws_account_id, regionnext-token, max-resultsLists the history of SPICE ingestions for a dataset. Limited to 5 TPS per user and 25 TPS per account.
create_ingestioninsertdata_set_id, ingestion_id, aws_account_id, regionCreates and starts a new SPICE ingestion for a dataset. You can manually refresh datasets in an Enterprise edition account 32 times in a 24-hour period. You can manually refresh datasets in a Standard edition account 8 times in a 24-hour period. Each 24-hour period is measured starting 24 hours before the current date and time. Any ingestions operating on tagged datasets inherit the same tags automatically for use in access control. For an example, see How do I create an IAM policy to control access to Amazon EC2 resources using tags? in the Amazon Web Services Knowledge Center. Tags are visible on the tagged dataset, but not on the ingestion resource.
cancel_ingestionexecaws_account_id, data_set_id, ingestion_id, regionCancels an ongoing ingestion of data into SPICE.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
aws_account_idstringThe Amazon Web Services account ID.
data_set_idstringThe ID of the dataset used in the ingestion.
ingestion_idstringAn ID for the ingestion.
regionstringAWS region (default: us-east-1)
max-resultsintegerThe maximum number of results to be returned per request.
next-tokenstringThe token for the next set of results, or null if there are no more results.

SELECT examples

Describes a SPICE ingestion.

SELECT
ingestion,
request_id,
status
FROM aws.quicksight.ingestions
WHERE aws_account_id = '{{ aws_account_id }}' -- required
AND data_set_id = '{{ data_set_id }}' -- required
AND ingestion_id = '{{ ingestion_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates and starts a new SPICE ingestion for a dataset. You can manually refresh datasets in an Enterprise edition account 32 times in a 24-hour period. You can manually refresh datasets in a Standard edition account 8 times in a 24-hour period. Each 24-hour period is measured starting 24 hours before the current date and time. Any ingestions operating on tagged datasets inherit the same tags automatically for use in access control. For an example, see How do I create an IAM policy to control access to Amazon EC2 resources using tags? in the Amazon Web Services Knowledge Center. Tags are visible on the tagged dataset, but not on the ingestion resource.

INSERT INTO aws.quicksight.ingestions (
IngestionType,
data_set_id,
ingestion_id,
aws_account_id,
region
)
SELECT
'{{ IngestionType }}',
'{{ data_set_id }}',
'{{ ingestion_id }}',
'{{ aws_account_id }}',
'{{ region }}'
RETURNING
arn,
ingestion_id,
ingestion_status,
request_id,
status
;

Lifecycle Methods

Cancels an ongoing ingestion of data into SPICE.

EXEC aws.quicksight.ingestions.cancel_ingestion
@aws_account_id='{{ aws_account_id }}' --required,
@data_set_id='{{ data_set_id }}' --required,
@ingestion_id='{{ ingestion_id }}' --required,
@region='{{ region }}' --required
;