v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14238527879.4 KB

Modifies the settings for a snapshot.

This exanmple modifies the manual retention period setting for a cluster snapshot.

get/#Action=ModifyClusterSnapshot

Query parameters

SnapshotIdentifierstring required

The identifier of the snapshot whose setting you want to modify.

ManualSnapshotRetentionPeriodinteger
<p>The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.</p> <p>If the manual snapshot falls outside of the new retention period, you can specify the force option to immediately delete the snapshot.</p> <p>The value must be either -1 or an integer between 1 and 3,653.</p>
Forceboolean

A Boolean option to override an exception if the retention period has already passed.

Action'ModifyClusterSnapshot' required
Version'2012-12-01' required

Response

Success