ResizeProgressMessage

Struct ResizeProgressMessage 

Source
pub struct ResizeProgressMessage {
Show 16 fields pub avg_resize_rate_in_mega_bytes_per_second: Option<f64>, pub data_transfer_progress_percent: Option<f64>, pub elapsed_time_in_seconds: Option<i64>, pub estimated_time_to_completion_in_seconds: Option<i64>, pub import_tables_completed: Option<Vec<String>>, pub import_tables_in_progress: Option<Vec<String>>, pub import_tables_not_started: Option<Vec<String>>, pub message: Option<String>, pub progress_in_mega_bytes: Option<i64>, pub resize_type: Option<String>, pub status: Option<String>, pub target_cluster_type: Option<String>, pub target_encryption_type: Option<String>, pub target_node_type: Option<String>, pub target_number_of_nodes: Option<i64>, pub total_resize_data_in_mega_bytes: Option<i64>,
}
Expand description

Describes the result of a cluster resize operation.

Fields§

§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.

§data_transfer_progress_percent: Option<f64>

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

§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.

§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

§message: Option<String>

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

§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).

§resize_type: Option<String>

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

§status: Option<String>

The status of the resize operation.

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

§target_cluster_type: Option<String>

The cluster type after the resize operation is complete.

Valid Values: multi-node | single-node

§target_encryption_type: Option<String>

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

Possible values are KMS and None. In the China region possible values are: Legacy and None.

§target_node_type: Option<String>

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

§target_number_of_nodes: Option<i64>

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

§total_resize_data_in_mega_bytes: Option<i64>

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

Trait Implementations§

Source§

impl Clone for ResizeProgressMessage

Source§

fn clone(&self) -> ResizeProgressMessage

Returns a duplicate 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 ResizeProgressMessage

Source§

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

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

impl Default for ResizeProgressMessage

Source§

fn default() -> ResizeProgressMessage

Returns the “default value” for a type. Read more
Source§

impl PartialEq for ResizeProgressMessage

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for ResizeProgressMessage

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> 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<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

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>,

Source§

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>,

Source§

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
Source§

impl<T> ErasedDestructor for T
where T: 'static,