#[non_exhaustive]
pub struct AwsRdsDbSnapshotDetails {
Show 27 fields pub db_snapshot_identifier: Option<String>, pub db_instance_identifier: Option<String>, pub snapshot_create_time: Option<String>, pub engine: Option<String>, pub allocated_storage: Option<i32>, pub status: Option<String>, pub port: Option<i32>, pub availability_zone: Option<String>, pub vpc_id: Option<String>, pub instance_create_time: Option<String>, pub master_username: Option<String>, pub engine_version: Option<String>, pub license_model: Option<String>, pub snapshot_type: Option<String>, pub iops: Option<i32>, pub option_group_name: Option<String>, pub percent_progress: Option<i32>, pub source_region: Option<String>, pub source_db_snapshot_identifier: Option<String>, pub storage_type: Option<String>, pub tde_credential_arn: Option<String>, pub encrypted: Option<bool>, pub kms_key_id: Option<String>, pub timezone: Option<String>, pub iam_database_authentication_enabled: Option<bool>, pub processor_features: Option<Vec<AwsRdsDbProcessorFeature>>, pub dbi_resource_id: Option<String>,
}
Expand description

Provides details about an Amazon RDS DB cluster snapshot.

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§db_snapshot_identifier: Option<String>

The name or ARN of the DB snapshot that is used to restore the DB instance.

§db_instance_identifier: Option<String>

A name for the DB instance.

§snapshot_create_time: Option<String>

When the snapshot was taken in Coordinated Universal Time (UTC).

§engine: Option<String>

The name of the database engine to use for this DB instance. Valid values are as follows:

  • aurora

  • aurora-mysql

  • aurora-postgresql

  • c

  • mariadb

  • mysql

  • oracle-ee

  • oracle-se

  • oracle-se1

  • oracle-se2

  • sqlserver-ee

  • sqlserver-ex

  • sqlserver-se

  • sqlserver-web

§allocated_storage: Option<i32>

The amount of storage (in gigabytes) to be initially allocated for the database instance.

§status: Option<String>

The status of this DB snapshot.

§port: Option<i32>

The port that the database engine was listening on at the time of the snapshot.

§availability_zone: Option<String>

Specifies the name of the Availability Zone in which the DB instance was located at the time of the DB snapshot.

§vpc_id: Option<String>

The VPC ID associated with the DB snapshot.

§instance_create_time: Option<String>

Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created.

§master_username: Option<String>

The master user name for the DB snapshot.

§engine_version: Option<String>

The version of the database engine.

§license_model: Option<String>

License model information for the restored DB instance.

§snapshot_type: Option<String>

The type of the DB snapshot.

§iops: Option<i32>

The provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.

§option_group_name: Option<String>

The option group name for the DB snapshot.

§percent_progress: Option<i32>

The percentage of the estimated data that has been transferred.

§source_region: Option<String>

The Amazon Web Services Region that the DB snapshot was created in or copied from.

§source_db_snapshot_identifier: Option<String>

The DB snapshot ARN that the DB snapshot was copied from.

§storage_type: Option<String>

The storage type associated with the DB snapshot. Valid values are as follows:

  • gp2

  • io1

  • standard

§tde_credential_arn: Option<String>

The ARN from the key store with which to associate the instance for TDE encryption.

§encrypted: Option<bool>

Whether the DB snapshot is encrypted.

§kms_key_id: Option<String>

If Encrypted is true, the KMS key identifier for the encrypted DB snapshot.

§timezone: Option<String>

The time zone of the DB snapshot.

§iam_database_authentication_enabled: Option<bool>

Whether mapping of IAM accounts to database accounts is enabled.

§processor_features: Option<Vec<AwsRdsDbProcessorFeature>>

The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.

§dbi_resource_id: Option<String>

The identifier for the source DB instance.

Implementations§

source§

impl AwsRdsDbSnapshotDetails

source

pub fn db_snapshot_identifier(&self) -> Option<&str>

The name or ARN of the DB snapshot that is used to restore the DB instance.

source

pub fn db_instance_identifier(&self) -> Option<&str>

A name for the DB instance.

source

pub fn snapshot_create_time(&self) -> Option<&str>

When the snapshot was taken in Coordinated Universal Time (UTC).

source

pub fn engine(&self) -> Option<&str>

The name of the database engine to use for this DB instance. Valid values are as follows:

  • aurora

  • aurora-mysql

  • aurora-postgresql

  • c

  • mariadb

  • mysql

  • oracle-ee

  • oracle-se

  • oracle-se1

  • oracle-se2

  • sqlserver-ee

  • sqlserver-ex

  • sqlserver-se

  • sqlserver-web

source

pub fn allocated_storage(&self) -> Option<i32>

The amount of storage (in gigabytes) to be initially allocated for the database instance.

source

pub fn status(&self) -> Option<&str>

The status of this DB snapshot.

source

pub fn port(&self) -> Option<i32>

The port that the database engine was listening on at the time of the snapshot.

source

pub fn availability_zone(&self) -> Option<&str>

Specifies the name of the Availability Zone in which the DB instance was located at the time of the DB snapshot.

source

pub fn vpc_id(&self) -> Option<&str>

The VPC ID associated with the DB snapshot.

source

pub fn instance_create_time(&self) -> Option<&str>

Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created.

source

pub fn master_username(&self) -> Option<&str>

The master user name for the DB snapshot.

source

pub fn engine_version(&self) -> Option<&str>

The version of the database engine.

source

pub fn license_model(&self) -> Option<&str>

License model information for the restored DB instance.

source

pub fn snapshot_type(&self) -> Option<&str>

The type of the DB snapshot.

source

pub fn iops(&self) -> Option<i32>

The provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.

source

pub fn option_group_name(&self) -> Option<&str>

The option group name for the DB snapshot.

source

pub fn percent_progress(&self) -> Option<i32>

The percentage of the estimated data that has been transferred.

source

pub fn source_region(&self) -> Option<&str>

The Amazon Web Services Region that the DB snapshot was created in or copied from.

source

pub fn source_db_snapshot_identifier(&self) -> Option<&str>

The DB snapshot ARN that the DB snapshot was copied from.

source

pub fn storage_type(&self) -> Option<&str>

The storage type associated with the DB snapshot. Valid values are as follows:

  • gp2

  • io1

  • standard

source

pub fn tde_credential_arn(&self) -> Option<&str>

The ARN from the key store with which to associate the instance for TDE encryption.

source

pub fn encrypted(&self) -> Option<bool>

Whether the DB snapshot is encrypted.

source

pub fn kms_key_id(&self) -> Option<&str>

If Encrypted is true, the KMS key identifier for the encrypted DB snapshot.

source

pub fn timezone(&self) -> Option<&str>

The time zone of the DB snapshot.

source

pub fn iam_database_authentication_enabled(&self) -> Option<bool>

Whether mapping of IAM accounts to database accounts is enabled.

source

pub fn processor_features(&self) -> &[AwsRdsDbProcessorFeature]

The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.

If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .processor_features.is_none().

source

pub fn dbi_resource_id(&self) -> Option<&str>

The identifier for the source DB instance.

source§

impl AwsRdsDbSnapshotDetails

source

pub fn builder() -> AwsRdsDbSnapshotDetailsBuilder

Creates a new builder-style object to manufacture AwsRdsDbSnapshotDetails.

Trait Implementations§

source§

impl Clone for AwsRdsDbSnapshotDetails

source§

fn clone(&self) -> AwsRdsDbSnapshotDetails

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AwsRdsDbSnapshotDetails

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for AwsRdsDbSnapshotDetails

source§

fn eq(&self, other: &AwsRdsDbSnapshotDetails) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for AwsRdsDbSnapshotDetails

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more