Skip to content

CreateSnapshotRequest

Source code in docs_src/capo_redshift_serverless/types/create_snapshot_request.py
class CreateSnapshotRequest(TypedDict, closed=True):
    namespace_name: "str"
    """<p>The namespace to create a snapshot for.</p>"""
    snapshot_name: "str"
    """<p>The name of the snapshot.</p>"""
    retention_period: NotRequired["int"]
    """<p>How long to retain the created snapshot.</p>"""
    tags: NotRequired["capo_redshift_serverless.types.tag_list.TagList"]
    """<p>An array of <a href="https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_Tag.html">Tag objects</a> to associate with the snapshot.</p>"""

namespace_name instance-attribute

namespace_name: str

The namespace to create a snapshot for.

retention_period instance-attribute

retention_period: NotRequired[int]

How long to retain the created snapshot.

snapshot_name instance-attribute

snapshot_name: str

The name of the snapshot.

tags instance-attribute

tags: NotRequired[TagList]

An array of Tag objects to associate with the snapshot.