CmdID / aws / aws redshift
aws redshift batch-modify-cluster-snapshots
Modifies the settings for a set of cluster snapshots. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To modify a set of cluster snapshots
The following batch-modify-cluster-snapshots example modifies the settings for a set of cluster snapshots.
aws redshift batch-modify-cluster-snapshots --snapshot-identifier-list mycluster-2019-11-06-16-31 mycluster-2019-11-06-16-32 --manual-snapshot-retention-period 30Identify--snapshot-identifier-listA list of snapshot identifiers you want to modify.--manual-snapshot-retention-periodThe number of days that a manual snapshot is retained.Its output
{
"Resources": [
"mycluster-2019-11-06-16-31",
"mycluster-2019-11-06-16-32"
],
"Errors": []
}For more information, see Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.
Options
--forceA boolean value indicating whether to override an exception if the retention period has passed.--manual-snapshot-retention-periodThe number of days that a manual snapshot is retained.--snapshot-identifier-listA list of snapshot identifiers you want to modify.