Skip to main content

refresh_schedules

Creates, updates, deletes or gets a refresh_schedule resource or lists refresh_schedules in a region

Overview

Namerefresh_schedules
TypeResource
DescriptionDefinition of the AWS::QuickSight::RefreshSchedule Resource Type.
Idaws.quicksight.refresh_schedules

Fields

NameDatatypeDescription
arnstring

The Amazon Resource Name (ARN) of the data source.

aws_account_idstring
data_set_idstring
scheduleobject
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERT, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all refresh_schedules in a region.

SELECT
region,
arn,
aws_account_id,
data_set_id,
schedule
FROM aws.quicksight.refresh_schedules
WHERE region = 'us-east-1';

Gets all properties from an individual refresh_schedule.

SELECT
region,
arn,
aws_account_id,
data_set_id,
schedule
FROM aws.quicksight.refresh_schedules
WHERE region = 'us-east-1' AND data__Identifier = '<AwsAccountId>|<DataSetId>|<Schedule/ScheduleId>';

INSERT example

Use the following StackQL query and manifest file to create a new refresh_schedule resource, using stack-deploy.

/*+ create */
INSERT INTO aws.quicksight.refresh_schedules (
,
region
)
SELECT
'{{ }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.quicksight.refresh_schedules
WHERE data__Identifier = '<AwsAccountId|DataSetId|Schedule/ScheduleId>'
AND region = 'us-east-1';

Permissions

To operate on the refresh_schedules resource, the following permissions are required:

Create

quicksight:CreateRefreshSchedule,
quicksight:DescribeRefreshSchedule

Update

quicksight:UpdateRefreshSchedule,
quicksight:DescribeRefreshSchedule

Delete

quicksight:DeleteRefreshSchedule,
quicksight:DescribeRefreshSchedule

List

quicksight:ListRefreshSchedules

Read

quicksight:DescribeRefreshSchedule