Skip to main content

topic_refresh_schedules

Creates, updates, deletes, gets or lists a topic_refresh_schedules resource.

Overview

Nametopic_refresh_schedules
TypeResource
Idaws.quicksight.topic_refresh_schedules

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
dataset_arnstringThe Amazon Resource Name (ARN) of the dataset.
refresh_scheduleobjectA structure that represents a topic refresh schedule.
request_idstringThe Amazon Web Services request ID for this operation.
statusintegerThe HTTP status of the request.
topic_arnstringThe Amazon Resource Name (ARN) of the topic.
topic_idstringThe ID of the topic that contains the refresh schedule that you want to describe. This ID is unique per Amazon Web Services Region for each Amazon Web Services account. (pattern: <code>^[A-Za-z0-9-_.\+]*$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_topic_refresh_scheduleselectaws_account_id, topic_id, dataset_id, regionDeletes a topic refresh schedule.
list_topic_refresh_schedulesselectaws_account_id, topic_id, regionLists all of the refresh schedules for a topic.
create_topic_refresh_scheduleinsertaws_account_id, topic_id, region, DatasetArn, RefreshScheduleCreates a topic refresh schedule.
update_topic_refresh_scheduleupdateaws_account_id, topic_id, dataset_id, region, RefreshScheduleUpdates a topic refresh schedule.
delete_topic_refresh_scheduledeleteaws_account_id, topic_id, dataset_id, regionDeletes a topic refresh schedule.

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.
dataset_idstringThe ID of the dataset.
regionstringAWS region (default: us-east-1)
topic_idstringThe ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

SELECT examples

Deletes a topic refresh schedule.

SELECT
dataset_arn,
refresh_schedule,
request_id,
status,
topic_arn,
topic_id
FROM aws.quicksight.topic_refresh_schedules
WHERE aws_account_id = '{{ aws_account_id }}' -- required
AND topic_id = '{{ topic_id }}' -- required
AND dataset_id = '{{ dataset_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a topic refresh schedule.

INSERT INTO aws.quicksight.topic_refresh_schedules (
DatasetArn,
DatasetName,
RefreshSchedule,
aws_account_id,
topic_id,
region
)
SELECT
'{{ DatasetArn }}' /* required */,
'{{ DatasetName }}',
'{{ RefreshSchedule }}' /* required */,
'{{ aws_account_id }}',
'{{ topic_id }}',
'{{ region }}'
RETURNING
dataset_arn,
request_id,
status,
topic_arn,
topic_id
;

UPDATE examples

Updates a topic refresh schedule.

UPDATE aws.quicksight.topic_refresh_schedules
SET
RefreshSchedule = '{{ RefreshSchedule }}'
WHERE
aws_account_id = '{{ aws_account_id }}' --required
AND topic_id = '{{ topic_id }}' --required
AND dataset_id = '{{ dataset_id }}' --required
AND region = '{{ region }}' --required
AND RefreshSchedule = '{{ RefreshSchedule }}' --required
RETURNING
dataset_arn,
request_id,
status,
topic_arn,
topic_id;

DELETE examples

Deletes a topic refresh schedule.

DELETE FROM aws.quicksight.topic_refresh_schedules
WHERE aws_account_id = '{{ aws_account_id }}' --required
AND topic_id = '{{ topic_id }}' --required
AND dataset_id = '{{ dataset_id }}' --required
AND region = '{{ region }}' --required
;