CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

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

3 in the AWS CLI reference
--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.