Skip to content

ModifyClusterSnapshotMessage

Source code in docs_src/capo_redshift/types/modify_cluster_snapshot_message.py
class ModifyClusterSnapshotMessage(TypedDict, closed=True):
    snapshot_identifier: NotRequired["capo_redshift.types.string.String"]
    """<p>The identifier of the snapshot whose setting 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 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>"""
    force: NotRequired["capo_redshift.types.boolean.Boolean"]
    """<p>A Boolean option to override an exception if the retention period has already passed.</p>"""

force instance-attribute

force: NotRequired[Boolean]

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

manual_snapshot_retention_period instance-attribute

manual_snapshot_retention_period: NotRequired[IntegerOptional]

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

If the manual snapshot falls outside of the new retention period, you can specify the force option to immediately delete the snapshot.

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

snapshot_identifier instance-attribute

snapshot_identifier: NotRequired[String]

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