[][src]Struct rusoto_redshift::Snapshot

pub struct Snapshot {
    pub accounts_with_restore_access: Option<Vec<AccountWithRestoreAccess>>,
    pub actual_incremental_backup_size_in_mega_bytes: Option<f64>,
    pub availability_zone: Option<String>,
    pub backup_progress_in_mega_bytes: Option<f64>,
    pub cluster_create_time: Option<String>,
    pub cluster_identifier: Option<String>,
    pub cluster_version: Option<String>,
    pub current_backup_rate_in_mega_bytes_per_second: Option<f64>,
    pub db_name: Option<String>,
    pub elapsed_time_in_seconds: Option<i64>,
    pub encrypted: Option<bool>,
    pub encrypted_with_hsm: Option<bool>,
    pub enhanced_vpc_routing: Option<bool>,
    pub estimated_seconds_to_completion: Option<i64>,
    pub kms_key_id: Option<String>,
    pub maintenance_track_name: Option<String>,
    pub manual_snapshot_remaining_days: Option<i64>,
    pub manual_snapshot_retention_period: Option<i64>,
    pub master_username: Option<String>,
    pub node_type: Option<String>,
    pub number_of_nodes: Option<i64>,
    pub owner_account: Option<String>,
    pub port: Option<i64>,
    pub restorable_node_types: Option<Vec<String>>,
    pub snapshot_create_time: Option<String>,
    pub snapshot_identifier: Option<String>,
    pub snapshot_retention_start_time: Option<String>,
    pub snapshot_type: Option<String>,
    pub source_region: Option<String>,
    pub status: Option<String>,
    pub tags: Option<Vec<Tag>>,
    pub total_backup_size_in_mega_bytes: Option<f64>,
    pub vpc_id: Option<String>,
}

Describes a snapshot.

Fields

accounts_with_restore_access: Option<Vec<AccountWithRestoreAccess>>

A list of the AWS customer accounts authorized to restore the snapshot. Returns null if no accounts are authorized. Visible only to the snapshot owner.

actual_incremental_backup_size_in_mega_bytes: Option<f64>

The size of the incremental backup.

availability_zone: Option<String>

The Availability Zone in which the cluster was created.

backup_progress_in_mega_bytes: Option<f64>

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

cluster_create_time: Option<String>

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

cluster_identifier: Option<String>

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

cluster_version: Option<String>

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

current_backup_rate_in_mega_bytes_per_second: Option<f64>

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

db_name: Option<String>

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

elapsed_time_in_seconds: Option<i64>

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

encrypted: Option<bool>

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

encrypted_with_hsm: Option<bool>

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.

enhanced_vpc_routing: Option<bool>

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

estimated_seconds_to_completion: Option<i64>

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

kms_key_id: Option<String>

The AWS 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.

maintenance_track_name: Option<String>

The name of the maintenance track for the snapshot.

manual_snapshot_remaining_days: Option<i64>

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

manual_snapshot_retention_period: Option<i64>

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.

master_username: Option<String>

The master user name for the cluster.

node_type: Option<String>

The node type of the nodes in the cluster.

number_of_nodes: Option<i64>

The number of nodes in the cluster.

owner_account: Option<String>

For manual snapshots, the AWS customer 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.

port: Option<i64>

The port that the cluster is listening on.

restorable_node_types: Option<Vec<String>>

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

snapshot_create_time: Option<String>

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.

snapshot_identifier: Option<String>

The snapshot identifier that is provided in the request.

snapshot_retention_start_time: Option<String>

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

snapshot_type: Option<String>

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

source_region: Option<String>

The source region from which the snapshot was copied.

status: Option<String>

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

tags: Option<Vec<Tag>>

The list of tags for the cluster snapshot.

total_backup_size_in_mega_bytes: Option<f64>

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

vpc_id: Option<String>

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

Trait Implementations

impl Clone for Snapshot[src]

impl Debug for Snapshot[src]

impl Default for Snapshot[src]

impl PartialEq<Snapshot> for Snapshot[src]

impl StructuralPartialEq for Snapshot[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.