Struct rusoto_dms::StartReplicationTaskMessage
source · [−]pub struct StartReplicationTaskMessage {
pub cdc_start_position: Option<String>,
pub cdc_start_time: Option<f64>,
pub cdc_stop_position: Option<String>,
pub replication_task_arn: String,
pub start_replication_task_type: String,
}
Expand description
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 a 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”
When you use this task setting with a source PostgreSQL database, a logical replication slot should already be created and associated with the source endpoint. You can verify this by setting the slotName
extra connection attribute to the name of this logical replication slot. For more information, see Extra Connection Attributes When Using PostgreSQL as a Source for AWS DMS.
cdc_start_time: Option<f64>
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.
Timestamp Example: --cdc-start-time “2018-03-08T12:12:12”
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:2018-02-09T12:12:12”
Commit time example: --cdc-stop-position “commit_time: 2018-02-09T12:12:12 “
replication_task_arn: String
The Amazon Resource Name (ARN) of the replication task to be started.
start_replication_task_type: String
A type of replication task.
Trait Implementations
sourceimpl Clone for StartReplicationTaskMessage
impl Clone for StartReplicationTaskMessage
sourcefn clone(&self) -> StartReplicationTaskMessage
fn clone(&self) -> StartReplicationTaskMessage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StartReplicationTaskMessage
impl Debug for StartReplicationTaskMessage
sourceimpl Default for StartReplicationTaskMessage
impl Default for StartReplicationTaskMessage
sourcefn default() -> StartReplicationTaskMessage
fn default() -> StartReplicationTaskMessage
Returns the “default value” for a type. Read more
sourceimpl PartialEq<StartReplicationTaskMessage> for StartReplicationTaskMessage
impl PartialEq<StartReplicationTaskMessage> for StartReplicationTaskMessage
sourcefn eq(&self, other: &StartReplicationTaskMessage) -> bool
fn eq(&self, other: &StartReplicationTaskMessage) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StartReplicationTaskMessage) -> bool
fn ne(&self, other: &StartReplicationTaskMessage) -> bool
This method tests for !=
.
impl StructuralPartialEq for StartReplicationTaskMessage
Auto Trait Implementations
impl RefUnwindSafe for StartReplicationTaskMessage
impl Send for StartReplicationTaskMessage
impl Sync for StartReplicationTaskMessage
impl Unpin for StartReplicationTaskMessage
impl UnwindSafe for StartReplicationTaskMessage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more