---
title: "PUT /accounts/{AwsAccountId}/data-sets/{DataSetId}/refresh-schedules"
method: PUT
path: "/accounts/{AwsAccountId}/data-sets/{DataSetId}/refresh-schedules"
---

# PUT /accounts/{AwsAccountId}/data-sets/{DataSetId}/refresh-schedules

`PUT /accounts/{AwsAccountId}/data-sets/{DataSetId}/refresh-schedules`

Updates a refresh schedule for a dataset.

## Path parameters

- `DataSetId` string, required
- `AwsAccountId` string, required

## Request body

- object
  - `Schedule` object, required — The refresh schedule of a dataset.
    - `ScheduleId` string — An identifier for the refresh schedule.
    - `ScheduleFrequency` object — The frequency for the refresh schedule.
      - `Interval` 'MINUTE15' | 'MINUTE30' | 'HOURLY' | 'DAILY' | 'WEEKLY' | 'MONTHLY', required — <p>The interval between scheduled refreshes. Valid values are as follows:</p> <ul> <li> <p> <code>MINUTE15</code>: The dataset refreshes every 15 minutes. This value is only supported for incremental refreshes. This interval can only be used for one schedule per dataset.</p> </li> <li> <p> <code>MINUTE30</code>:The dataset refreshes every 30 minutes. This value is only supported for incremental refreshes. This interval can only be used for one schedule per dataset.</p> </li> <li> <p> <code>HOURLY</code>: The dataset refreshes every hour. This interval can only be used for one schedule per dataset.</p> </li> <li> <p> <code>DAILY</code>: The dataset refreshes every day.</p> </li> <li> <p> <code>WEEKLY</code>: The dataset refreshes every week.</p> </li> <li> <p> <code>MONTHLY</code>: The dataset refreshes every month.</p> </li> </ul>
      - `RefreshOnDay` object — The day of the week that you want to schedule the refresh on. This value is required for weekly and monthly refresh intervals.
        - `DayOfWeek` 'SUNDAY' | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' — The day of the week that you want to schedule a refresh on.
        - `DayOfMonth` string — The day of the month that you want to schedule refresh on.
      - `Timezone` string — The timezone that you want the refresh schedule to use. The timezone ID must match a corresponding ID found on <code>java.util.time.getAvailableIDs()</code>.
      - `TimeOfTheDay` string — The time of day that you want the datset to refresh. This value is expressed in HH:MM format. This field is not required for schedules that refresh hourly.
    - `StartAfterDateTime` string, date-time — Time after which the refresh schedule can be started, expressed in <code>YYYY-MM-DDTHH:MM:SS</code> format.
    - `RefreshType` 'INCREMENTAL_REFRESH' | 'FULL_REFRESH' — <p>The type of refresh that a datset undergoes. Valid values are as follows:</p> <ul> <li> <p> <code>FULL_REFRESH</code>: A complete refresh of a dataset.</p> </li> <li> <p> <code>INCREMENTAL_REFRESH</code>: A partial refresh of some rows of a dataset, based on the time window specified.</p> </li> </ul> <p>For more information on full and incremental refreshes, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/refreshing-imported-data.html">Refreshing SPICE data</a> in the <i>Amazon QuickSight User Guide</i>.</p>
    - `Arn` string — The Amazon Resource Name (ARN) for the refresh schedule.

## Response `200`

Success

- UpdateRefreshScheduleResponse
  - `Status` integer — The HTTP status of the request.
  - `RequestId` string — The Amazon Web Services request ID for this operation.
  - `ScheduleId` string — The ID of the refresh schedule.
  - `Arn` string — The Amazon Resource Name (ARN) for the refresh schedule.

## Other responses

- `480` — AccessDeniedException
- `481` — InvalidParameterValueException
- `482` — ResourceNotFoundException
- `483` — ThrottlingException
- `484` — LimitExceededException
- `485` — PreconditionNotMetException
- `486` — InternalFailureException

---

[API](https://skmtc.net/aws/apis/quicksight.md) · [All operations](https://skmtc.net/aws/apis/quicksight/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/quicksight/versions/2f2bbd7e70ca/schema)
