#[non_exhaustive]
pub struct DescribeResizeOutput {
Show 16 fields pub target_node_type: Option<String>, pub target_number_of_nodes: Option<i32>, pub target_cluster_type: Option<String>, pub status: Option<String>, pub import_tables_completed: Option<Vec<String>>, pub import_tables_in_progress: Option<Vec<String>>, pub import_tables_not_started: Option<Vec<String>>, pub avg_resize_rate_in_mega_bytes_per_second: Option<f64>, pub total_resize_data_in_mega_bytes: Option<i64>, pub progress_in_mega_bytes: Option<i64>, pub elapsed_time_in_seconds: Option<i64>, pub estimated_time_to_completion_in_seconds: Option<i64>, pub resize_type: Option<String>, pub message: Option<String>, pub target_encryption_type: Option<String>, pub data_transfer_progress_percent: Option<f64>, /* private fields */
}
Expand description

Describes the result of a cluster resize operation.

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.
§target_node_type: Option<String>

The node type that the cluster will have after the resize operation is complete.

§target_number_of_nodes: Option<i32>

The number of nodes that the cluster will have after the resize operation is complete.

§target_cluster_type: Option<String>

The cluster type after the resize operation is complete.

Valid Values: multi-node | single-node

§status: Option<String>

The status of the resize operation.

Valid Values: NONE | IN_PROGRESS | FAILED | SUCCEEDED | CANCELLING

§import_tables_completed: Option<Vec<String>>

The names of tables that have been completely imported .

Valid Values: List of table names.

§import_tables_in_progress: Option<Vec<String>>

The names of tables that are being currently imported.

Valid Values: List of table names.

§import_tables_not_started: Option<Vec<String>>

The names of tables that have not been yet imported.

Valid Values: List of table names

§avg_resize_rate_in_mega_bytes_per_second: Option<f64>

The average rate of the resize operation over the last few minutes, measured in megabytes per second. After the resize operation completes, this value shows the average rate of the entire resize operation.

§total_resize_data_in_mega_bytes: Option<i64>

The estimated total amount of data, in megabytes, on the cluster before the resize operation began.

§progress_in_mega_bytes: Option<i64>

While the resize operation is in progress, this value shows the current amount of data, in megabytes, that has been processed so far. When the resize operation is complete, this value shows the total amount of data, in megabytes, on the cluster, which may be more or less than TotalResizeDataInMegaBytes (the estimated total amount of data before resize).

§elapsed_time_in_seconds: Option<i64>

The amount of seconds that have elapsed since the resize operation began. After the resize operation completes, this value shows the total actual time, in seconds, for the resize operation.

§estimated_time_to_completion_in_seconds: Option<i64>

The estimated time remaining, in seconds, until the resize operation is complete. This value is calculated based on the average resize rate and the estimated amount of data remaining to be processed. Once the resize operation is complete, this value will be 0.

§resize_type: Option<String>

An enum with possible values of ClassicResize and ElasticResize. These values describe the type of resize operation being performed.

§message: Option<String>

An optional string to provide additional details about the resize action.

§target_encryption_type: Option<String>

The type of encryption for the cluster after the resize is complete.

Possible values are KMS and None.

§data_transfer_progress_percent: Option<f64>

The percent of data transferred from source cluster to target cluster.

Implementations§

source§

impl DescribeResizeOutput

source

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

The node type that the cluster will have after the resize operation is complete.

source

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

The number of nodes that the cluster will have after the resize operation is complete.

source

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

The cluster type after the resize operation is complete.

Valid Values: multi-node | single-node

source

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

The status of the resize operation.

Valid Values: NONE | IN_PROGRESS | FAILED | SUCCEEDED | CANCELLING

source

pub fn import_tables_completed(&self) -> Option<&[String]>

The names of tables that have been completely imported .

Valid Values: List of table names.

source

pub fn import_tables_in_progress(&self) -> Option<&[String]>

The names of tables that are being currently imported.

Valid Values: List of table names.

source

pub fn import_tables_not_started(&self) -> Option<&[String]>

The names of tables that have not been yet imported.

Valid Values: List of table names

source

pub fn avg_resize_rate_in_mega_bytes_per_second(&self) -> Option<f64>

The average rate of the resize operation over the last few minutes, measured in megabytes per second. After the resize operation completes, this value shows the average rate of the entire resize operation.

source

pub fn total_resize_data_in_mega_bytes(&self) -> Option<i64>

The estimated total amount of data, in megabytes, on the cluster before the resize operation began.

source

pub fn progress_in_mega_bytes(&self) -> Option<i64>

While the resize operation is in progress, this value shows the current amount of data, in megabytes, that has been processed so far. When the resize operation is complete, this value shows the total amount of data, in megabytes, on the cluster, which may be more or less than TotalResizeDataInMegaBytes (the estimated total amount of data before resize).

source

pub fn elapsed_time_in_seconds(&self) -> Option<i64>

The amount of seconds that have elapsed since the resize operation began. After the resize operation completes, this value shows the total actual time, in seconds, for the resize operation.

source

pub fn estimated_time_to_completion_in_seconds(&self) -> Option<i64>

The estimated time remaining, in seconds, until the resize operation is complete. This value is calculated based on the average resize rate and the estimated amount of data remaining to be processed. Once the resize operation is complete, this value will be 0.

source

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

An enum with possible values of ClassicResize and ElasticResize. These values describe the type of resize operation being performed.

source

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

An optional string to provide additional details about the resize action.

source

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

The type of encryption for the cluster after the resize is complete.

Possible values are KMS and None.

source

pub fn data_transfer_progress_percent(&self) -> Option<f64>

The percent of data transferred from source cluster to target cluster.

source§

impl DescribeResizeOutput

source

pub fn builder() -> DescribeResizeOutputBuilder

Creates a new builder-style object to manufacture DescribeResizeOutput.

Trait Implementations§

source§

impl Clone for DescribeResizeOutput

source§

fn clone(&self) -> DescribeResizeOutput

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 DescribeResizeOutput

source§

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

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

impl PartialEq<DescribeResizeOutput> for DescribeResizeOutput

source§

fn eq(&self, other: &DescribeResizeOutput) -> 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 RequestId for DescribeResizeOutput

source§

fn request_id(&self) -> Option<&str>

Returns the request ID, or None if the service could not be reached.
source§

impl StructuralPartialEq for DescribeResizeOutput

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere 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 Twhere 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 Twhere 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