Skip to content

BatchModifyClusterSnapshotsMessage

Source code in docs_src/capo_redshift/types/batch_modify_cluster_snapshots_message.py
class BatchModifyClusterSnapshotsMessage(TypedDict, closed=True):
    snapshot_identifier_list: NotRequired[
        "capo_redshift.types.snapshot_identifier_list.SnapshotIdentifierList"
    ]
    """<p>A list of snapshot identifiers you want to modify.</p>"""
    manual_snapshot_retention_period: NotRequired[
        "capo_redshift.types.integer_optional.IntegerOptional"
    ]
    """<p>The number of days that a manual snapshot is retained. If you specify the value -1, the manual snapshot is retained indefinitely.</p> <p>The number must be either -1 or an integer between 1 and 3,653.</p> <p>If you decrease the manual snapshot retention period from its current value, existing manual snapshots that fall outside of the new retention period will return an error. If you want to suppress the errors and delete the snapshots, use the force option. </p>"""
    force: NotRequired["capo_redshift.types.boolean.Boolean"]
    """<p>A boolean value indicating whether to override an exception if the retention period has passed. </p>"""

force instance-attribute

force: NotRequired[Boolean]

A boolean value indicating whether to override an exception if the retention period has passed.

manual_snapshot_retention_period instance-attribute

manual_snapshot_retention_period: NotRequired[IntegerOptional]

The number of days that a manual snapshot is retained. If you specify the value -1, the manual snapshot is retained indefinitely.

The number must be either -1 or an integer between 1 and 3,653.

If you decrease the manual snapshot retention period from its current value, existing manual snapshots that fall outside of the new retention period will return an error. If you want to suppress the errors and delete the snapshots, use the force option.

snapshot_identifier_list instance-attribute

snapshot_identifier_list: NotRequired[SnapshotIdentifierList]

A list of snapshot identifiers you want to modify.