ReplicationTask

Struct ReplicationTask 

Source
pub struct ReplicationTask {
Show 18 fields pub cdc_start_position: Option<String>, pub cdc_stop_position: Option<String>, pub last_failure_message: Option<String>, pub migration_type: Option<String>, pub recovery_checkpoint: Option<String>, pub replication_instance_arn: Option<String>, pub replication_task_arn: Option<String>, pub replication_task_creation_date: Option<f64>, pub replication_task_identifier: Option<String>, pub replication_task_settings: Option<String>, pub replication_task_start_date: Option<f64>, pub replication_task_stats: Option<ReplicationTaskStats>, pub source_endpoint_arn: Option<String>, pub status: Option<String>, pub stop_reason: Option<String>, pub table_mappings: Option<String>, pub target_endpoint_arn: Option<String>, pub task_data: Option<String>,
}
Expand description

Provides information that describes a replication task created by the CreateReplicationTask operation.

Fields§

§cdc_start_position: Option<String>

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

The value can be in date, checkpoint, or LSN/SCN format.

Date Example: --cdc-start-position “2018-03-08T12:12:12”

Checkpoint Example: --cdc-start-position "checkpoint:V1#27#mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:1876#0#0#*#0#93"

LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”

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

Server time example: --cdc-stop-position “server_time:3018-02-09T12:12:12”

Commit time example: --cdc-stop-position “commit_time: 3018-02-09T12:12:12 “

§last_failure_message: Option<String>

The last error (failure) message generated for the replication instance.

§migration_type: Option<String>

The type of migration.

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

The Amazon Resource Name (ARN) of the replication instance.

§replication_task_arn: Option<String>

The Amazon Resource Name (ARN) of the replication task.

§replication_task_creation_date: Option<f64>

The date the replication task was created.

§replication_task_identifier: Option<String>

The user-assigned replication task identifier or name.

Constraints:

  • Must contain 1-255 alphanumeric characters or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

§replication_task_settings: Option<String>

The settings for the replication task.

§replication_task_start_date: Option<f64>

The date the replication task is scheduled to start.

§replication_task_stats: Option<ReplicationTaskStats>

The statistics for the task, including elapsed time, tables loaded, and table errors.

§source_endpoint_arn: Option<String>

The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

§status: Option<String>

The status of the replication task.

§stop_reason: Option<String>

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

  • "STOPREASONFULLLOADCOMPLETED" – Full-load migration completed.

  • "STOPREASONCACHEDCHANGESAPPLIED" – Change data capture (CDC) load completed.

  • "STOPREASONCACHEDCHANGESNOTAPPLIED" – In a full-load and CDC migration, the full-load stopped as specified before starting the CDC migration.

  • "STOPREASONSERVERTIME" – The migration stopped at the specified server time.

§table_mappings: Option<String>

Table mappings specified in the task.

§target_endpoint_arn: Option<String>

The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

§task_data: Option<String>

Supplemental information that the task requires to migrate the data for certain source and target endpoints. For more information, see Specifying Supplemental Data for Task Settings in the AWS Database Migration Service User Guide.

Trait Implementations§

Source§

impl Clone for ReplicationTask

Source§

fn clone(&self) -> ReplicationTask

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 ReplicationTask

Source§

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

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

impl Default for ReplicationTask

Source§

fn default() -> ReplicationTask

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

impl<'de> Deserialize<'de> for ReplicationTask

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for ReplicationTask

Source§

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

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> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,