Struct aws_sdk_databasemigration::types::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§
source§impl 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.
source§impl Connection
impl Connection
sourcepub fn builder() -> ConnectionBuilder
pub fn builder() -> ConnectionBuilder
Creates a new builder-style object to manufacture Connection
.
Trait Implementations§
source§impl Clone for Connection
impl Clone for Connection
source§fn clone(&self) -> Connection
fn clone(&self) -> Connection
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Connection
impl Debug for Connection
source§impl PartialEq<Connection> for Connection
impl PartialEq<Connection> for Connection
source§fn eq(&self, other: &Connection) -> bool
fn eq(&self, other: &Connection) -> bool
self
and other
values to be equal, and is used
by ==
.