#[non_exhaustive]
pub struct Replication {
Show 19 fields pub replication_config_identifier: Option<String>, pub replication_config_arn: Option<String>, pub source_endpoint_arn: Option<String>, pub target_endpoint_arn: Option<String>, pub replication_type: Option<MigrationTypeValue>, pub status: Option<String>, pub provision_data: Option<ProvisionData>, pub stop_reason: Option<String>, pub failure_messages: Option<Vec<String>>, pub replication_stats: Option<ReplicationStats>, pub start_replication_type: Option<String>, pub cdc_start_time: Option<DateTime>, pub cdc_start_position: Option<String>, pub cdc_stop_position: Option<String>, pub recovery_checkpoint: Option<String>, pub replication_create_time: Option<DateTime>, pub replication_update_time: Option<DateTime>, pub replication_last_stop_time: Option<DateTime>, pub replication_deprovision_time: Option<DateTime>,
}
Expand description

Provides information that describes a serverless replication created by the CreateReplication 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.
§replication_config_identifier: Option<String>

The identifier for the ReplicationConfig associated with the replication.

§replication_config_arn: Option<String>

The Amazon Resource Name for the ReplicationConfig associated with the replication.

§source_endpoint_arn: Option<String>

The Amazon Resource Name for an existing Endpoint the serverless replication uses for its data source.

§target_endpoint_arn: Option<String>

The Amazon Resource Name for an existing Endpoint the serverless replication uses for its data target.

§replication_type: Option<MigrationTypeValue>

The type of the serverless replication.

§status: Option<String>

The current status of the serverless replication.

§provision_data: Option<ProvisionData>

Information about provisioning resources for an DMS serverless replication.

§stop_reason: Option<String>

The reason the replication task was stopped. This response parameter can return one of the following values:

  • "Stop Reason NORMAL"

  • "Stop Reason RECOVERABLE_ERROR"

  • "Stop Reason FATAL_ERROR"

  • "Stop Reason FULL_LOAD_ONLY_FINISHED"

  • "Stop Reason STOPPED_AFTER_FULL_LOAD" – Full load completed, with cached changes not applied

  • "Stop Reason STOPPED_AFTER_CACHED_EVENTS" – Full load completed, with cached changes applied

  • "Stop Reason EXPRESS_LICENSE_LIMITS_REACHED"

  • "Stop Reason STOPPED_AFTER_DDL_APPLY" – User-defined stop task after DDL applied

  • "Stop Reason STOPPED_DUE_TO_LOW_MEMORY"

  • "Stop Reason STOPPED_DUE_TO_LOW_DISK"

  • "Stop Reason STOPPED_AT_SERVER_TIME" – User-defined server time for stopping task

  • "Stop Reason STOPPED_AT_COMMIT_TIME" – User-defined commit time for stopping task

  • "Stop Reason RECONFIGURATION_RESTART"

  • "Stop Reason RECYCLE_TASK"

§failure_messages: Option<Vec<String>>

Error and other information about why a serverless replication failed.

§replication_stats: Option<ReplicationStats>

This object provides a collection of statistics about a serverless replication.

§start_replication_type: Option<String>

The replication type.

§cdc_start_time: Option<DateTime>

Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime or CdcStartPosition to specify when you want a CDC operation to start. Specifying both values results in an error.

§cdc_start_position: Option<String>

Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime or CdcStartPosition to specify when you want a CDC operation to start. Specifying both values results in an error.

§cdc_stop_position: Option<String>

Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.

§recovery_checkpoint: Option<String>

Indicates the last checkpoint that occurred during a change data capture (CDC) operation. You can provide this value to the CdcStartPosition parameter to start a CDC operation that begins at that checkpoint.

§replication_create_time: Option<DateTime>

The time the serverless replication was created.

§replication_update_time: Option<DateTime>

The time the serverless replication was updated.

§replication_last_stop_time: Option<DateTime>

The timestamp when replication was last stopped.

§replication_deprovision_time: Option<DateTime>

The timestamp when DMS will deprovision the replication.

Implementations§

source§

impl Replication

source

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

The identifier for the ReplicationConfig associated with the replication.

source

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

The Amazon Resource Name for the ReplicationConfig associated with the replication.

source

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

The Amazon Resource Name for an existing Endpoint the serverless replication uses for its data source.

source

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

The Amazon Resource Name for an existing Endpoint the serverless replication uses for its data target.

source

pub fn replication_type(&self) -> Option<&MigrationTypeValue>

The type of the serverless replication.

source

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

The current status of the serverless replication.

source

pub fn provision_data(&self) -> Option<&ProvisionData>

Information about provisioning resources for an DMS serverless replication.

source

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

The reason the replication task was stopped. This response parameter can return one of the following values:

  • "Stop Reason NORMAL"

  • "Stop Reason RECOVERABLE_ERROR"

  • "Stop Reason FATAL_ERROR"

  • "Stop Reason FULL_LOAD_ONLY_FINISHED"

  • "Stop Reason STOPPED_AFTER_FULL_LOAD" – Full load completed, with cached changes not applied

  • "Stop Reason STOPPED_AFTER_CACHED_EVENTS" – Full load completed, with cached changes applied

  • "Stop Reason EXPRESS_LICENSE_LIMITS_REACHED"

  • "Stop Reason STOPPED_AFTER_DDL_APPLY" – User-defined stop task after DDL applied

  • "Stop Reason STOPPED_DUE_TO_LOW_MEMORY"

  • "Stop Reason STOPPED_DUE_TO_LOW_DISK"

  • "Stop Reason STOPPED_AT_SERVER_TIME" – User-defined server time for stopping task

  • "Stop Reason STOPPED_AT_COMMIT_TIME" – User-defined commit time for stopping task

  • "Stop Reason RECONFIGURATION_RESTART"

  • "Stop Reason RECYCLE_TASK"

source

pub fn failure_messages(&self) -> &[String]

Error and other information about why a serverless replication failed.

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

source

pub fn replication_stats(&self) -> Option<&ReplicationStats>

This object provides a collection of statistics about a serverless replication.

source

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

The replication type.

source

pub fn cdc_start_time(&self) -> Option<&DateTime>

Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime or CdcStartPosition to specify when you want a CDC operation to start. Specifying both values results in an error.

source

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

Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime or CdcStartPosition to specify when you want a CDC operation to start. Specifying both values results in an error.

source

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

Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.

source

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

Indicates the last checkpoint that occurred during a change data capture (CDC) operation. You can provide this value to the CdcStartPosition parameter to start a CDC operation that begins at that checkpoint.

source

pub fn replication_create_time(&self) -> Option<&DateTime>

The time the serverless replication was created.

source

pub fn replication_update_time(&self) -> Option<&DateTime>

The time the serverless replication was updated.

source

pub fn replication_last_stop_time(&self) -> Option<&DateTime>

The timestamp when replication was last stopped.

source

pub fn replication_deprovision_time(&self) -> Option<&DateTime>

The timestamp when DMS will deprovision the replication.

source§

impl Replication

source

pub fn builder() -> ReplicationBuilder

Creates a new builder-style object to manufacture Replication.

Trait Implementations§

source§

impl Clone for Replication

source§

fn clone(&self) -> Replication

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 Replication

source§

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

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

impl PartialEq for Replication

source§

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

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