How Can I Update the Snapshot Retention Period for My MDLS Destination?
Question
How can I update the snapshot retention period for an existing Managed Data Lake Service (MDLS) destination?
Environment
Destination: Managed Data Lake Service
Answer
You can update the Snapshot Retention Period for an existing MDLS destination using the Fivetran REST API or in the Fivetran dashboard.
To do so in the Fivetran dashboard:
- In Fivetran, go to your Managed Data Lake Service destination page.
- In the Actions dropdown list, click Edit connection details.
- In the setup form, scroll down to the Snapshot Retention Period dropdown list and change the value to your desired retention period.
- Click Save & Test.
To do so using the Fivetran REST API, use the following endpoint and replace <destination_id> with your destination_id value: PATCH https://api.fivetran.com/v1/destinations/<destination_id>
The API request format can be found in our Managed Data Lake Service API Configuration documentation.
In the API request, you can set the snapshot_retention_period parameter to one of the following values:
ONE_DAYONE_WEEKTWO_WEEKSFOUR_WEEKSSIX_WEEKSRETAIN_ALL_SNAPSHOTS