Struct aws_sdk_databasemigration::model::Connection
source · [−]#[non_exhaustive]pub struct Connection {
pub replication_instance_arn: Option<String>,
pub endpoint_arn: Option<String>,
pub status: Option<String>,
pub last_failure_message: Option<String>,
pub endpoint_identifier: Option<String>,
pub replication_instance_identifier: Option<String>,
}
Expand description
Status of the connection between an endpoint and a replication instance, including Amazon Resource Names (ARNs) and the last error message issued.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.replication_instance_arn: Option<String>
The ARN of the replication instance.
endpoint_arn: Option<String>
The ARN string that uniquely identifies the endpoint.
status: Option<String>
The connection status. This parameter can return one of the following values:
-
"successful"
-
"testing"
-
"failed"
-
"deleting"
last_failure_message: Option<String>
The error message when the connection last failed.
endpoint_identifier: Option<String>
The identifier of the endpoint. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
replication_instance_identifier: Option<String>
The replication instance identifier. This parameter is stored as a lowercase string.
Implementations
sourceimpl Connection
impl Connection
sourcepub fn replication_instance_arn(&self) -> Option<&str>
pub fn replication_instance_arn(&self) -> Option<&str>
The ARN of the replication instance.
sourcepub fn endpoint_arn(&self) -> Option<&str>
pub fn endpoint_arn(&self) -> Option<&str>
The ARN string that uniquely identifies the endpoint.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The connection status. This parameter can return one of the following values:
-
"successful"
-
"testing"
-
"failed"
-
"deleting"
sourcepub fn last_failure_message(&self) -> Option<&str>
pub fn last_failure_message(&self) -> Option<&str>
The error message when the connection last failed.
sourcepub fn endpoint_identifier(&self) -> Option<&str>
pub fn endpoint_identifier(&self) -> Option<&str>
The identifier of the endpoint. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
sourcepub fn replication_instance_identifier(&self) -> Option<&str>
pub fn replication_instance_identifier(&self) -> Option<&str>
The replication instance identifier. This parameter is stored as a lowercase string.
sourceimpl Connection
impl Connection
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Connection
Trait Implementations
sourceimpl Clone for Connection
impl Clone for Connection
sourcefn clone(&self) -> Connection
fn clone(&self) -> Connection
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 Connection
impl Debug for Connection
sourceimpl PartialEq<Connection> for Connection
impl PartialEq<Connection> for Connection
sourcefn eq(&self, other: &Connection) -> bool
fn eq(&self, other: &Connection) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Connection) -> bool
fn ne(&self, other: &Connection) -> bool
This method tests for !=
.
impl StructuralPartialEq for Connection
Auto Trait Implementations
impl RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnwindSafe for Connection
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> 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