#[non_exhaustive]
pub struct Snapshot { /* private fields */ }
Expand description

Describes a snapshot.

Implementations§

The snapshot identifier that is provided in the request.

The identifier of the cluster for which the snapshot was taken.

The time (in UTC format) when Amazon Redshift began the snapshot. A snapshot contains a copy of the cluster data as of this exact time.

The snapshot status. The value of the status depends on the API operation used:

  • CreateClusterSnapshot and CopyClusterSnapshot returns status as "creating".

  • DescribeClusterSnapshots returns status as "creating", "available", "final snapshot", or "failed".

  • DeleteClusterSnapshot returns status as "deleted".

The port that the cluster is listening on.

The Availability Zone in which the cluster was created.

The time (UTC) when the cluster was originally created.

The admin user name for the cluster.

The version ID of the Amazon Redshift engine that is running on the cluster.

The cluster version of the cluster used to create the snapshot. For example, 1.0.15503.

The snapshot type. Snapshots created using CreateClusterSnapshot and CopyClusterSnapshot are of type "manual".

The node type of the nodes in the cluster.

The number of nodes in the cluster.

The name of the database that was created when the cluster was created.

The VPC identifier of the cluster if the snapshot is from a cluster in a VPC. Otherwise, this field is not in the output.

If true, the data in the snapshot is encrypted at rest.

The Key Management Service (KMS) key ID of the encryption key that was used to encrypt data in the cluster from which the snapshot was taken.

A boolean that indicates whether the snapshot data is encrypted using the HSM keys of the source cluster. true indicates that the data is encrypted using HSM keys.

A list of the Amazon Web Services accounts authorized to restore the snapshot. Returns null if no accounts are authorized. Visible only to the snapshot owner.

For manual snapshots, the Amazon Web Services account used to create or copy the snapshot. For automatic snapshots, the owner of the cluster. The owner can perform all snapshot actions, such as sharing a manual snapshot.

The size of the complete set of backup data that would be used to restore the cluster.

The size of the incremental backup.

The number of megabytes that have been transferred to the snapshot backup.

The number of megabytes per second being transferred to the snapshot backup. Returns 0 for a completed backup.

The estimate of the time remaining before the snapshot backup will complete. Returns 0 for a completed backup.

The amount of time an in-progress snapshot backup has been running, or the amount of time it took a completed backup to finish.

The source region from which the snapshot was copied.

The list of tags for the cluster snapshot.

The list of node types that this cluster snapshot is able to restore into.

An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide.

If this option is true, enhanced VPC routing is enabled.

Default: false

The name of the maintenance track for the snapshot.

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

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

The number of days until a manual snapshot will pass its retention period.

A timestamp representing the start of the retention period for the snapshot.

Creates a new builder-style object to manufacture Snapshot.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more