#[non_exhaustive]pub struct ReplicationInstance {Show 23 fields
pub replication_instance_identifier: Option<String>,
pub replication_instance_class: Option<String>,
pub replication_instance_status: Option<String>,
pub allocated_storage: i32,
pub instance_create_time: Option<DateTime>,
pub vpc_security_groups: Option<Vec<VpcSecurityGroupMembership>>,
pub availability_zone: Option<String>,
pub replication_subnet_group: Option<ReplicationSubnetGroup>,
pub preferred_maintenance_window: Option<String>,
pub pending_modified_values: Option<ReplicationPendingModifiedValues>,
pub multi_az: bool,
pub engine_version: Option<String>,
pub auto_minor_version_upgrade: bool,
pub kms_key_id: Option<String>,
pub replication_instance_arn: Option<String>,
pub replication_instance_public_ip_address: Option<String>,
pub replication_instance_private_ip_address: Option<String>,
pub replication_instance_public_ip_addresses: Option<Vec<String>>,
pub replication_instance_private_ip_addresses: Option<Vec<String>>,
pub publicly_accessible: bool,
pub secondary_availability_zone: Option<String>,
pub free_until: Option<DateTime>,
pub dns_name_servers: Option<String>,
}
Expand description
Provides information that defines a replication instance.
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_identifier: Option<String>
The replication instance identifier is a required parameter. This parameter is stored as a lowercase string.
Constraints:
-
Must contain 1-63 alphanumeric characters or hyphens.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
Example: myrepinstance
replication_instance_class: Option<String>
The compute and memory capacity of the replication instance as defined for the specified replication instance class. It is a required parameter, although a default value is pre-selected in the DMS console.
For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.
replication_instance_status: Option<String>
The status of the replication instance. The possible return values include:
-
"available"
-
"creating"
-
"deleted"
-
"deleting"
-
"failed"
-
"modifying"
-
"upgrading"
-
"rebooting"
-
"resetting-master-credentials"
-
"storage-full"
-
"incompatible-credentials"
-
"incompatible-network"
-
"maintenance"
allocated_storage: i32
The amount of storage (in gigabytes) that is allocated for the replication instance.
instance_create_time: Option<DateTime>
The time the replication instance was created.
vpc_security_groups: Option<Vec<VpcSecurityGroupMembership>>
The VPC security group for the instance.
availability_zone: Option<String>
The Availability Zone for the instance.
replication_subnet_group: Option<ReplicationSubnetGroup>
The subnet group for the replication instance.
preferred_maintenance_window: Option<String>
The maintenance window times for the replication instance. Any pending upgrades to the replication instance are performed during this time.
pending_modified_values: Option<ReplicationPendingModifiedValues>
The pending modification values.
multi_az: bool
Specifies whether the replication instance is a Multi-AZ deployment. You can't set the AvailabilityZone
parameter if the Multi-AZ parameter is set to true
.
engine_version: Option<String>
The engine version number of the replication instance.
If an engine version number is not specified when a replication instance is created, the default is the latest engine version available.
When modifying a major engine version of an instance, also set AllowMajorVersionUpgrade
to true
.
auto_minor_version_upgrade: bool
Boolean value indicating if minor version upgrades will be automatically applied to the instance.
kms_key_id: Option<String>
An KMS key identifier that is used to encrypt the data on the replication instance.
If you don't specify a value for the KmsKeyId
parameter, then DMS uses your default encryption key.
KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
replication_instance_arn: Option<String>
The Amazon Resource Name (ARN) of the replication instance.
replication_instance_public_ip_address: Option<String>
The public IP address of the replication instance.
replication_instance_private_ip_address: Option<String>
The private IP address of the replication instance.
replication_instance_public_ip_addresses: Option<Vec<String>>
One or more public IP addresses for the replication instance.
replication_instance_private_ip_addresses: Option<Vec<String>>
One or more private IP addresses for the replication instance.
publicly_accessible: bool
Specifies the accessibility options for the replication instance. A value of true
represents an instance with a public IP address. A value of false
represents an instance with a private IP address. The default value is true
.
secondary_availability_zone: Option<String>
The Availability Zone of the standby replication instance in a Multi-AZ deployment.
free_until: Option<DateTime>
The expiration date of the free replication instance that is part of the Free DMS program.
dns_name_servers: Option<String>
The DNS name servers supported for the replication instance to access your on-premise source or target database.
Implementations
sourceimpl ReplicationInstance
impl ReplicationInstance
sourcepub fn replication_instance_identifier(&self) -> Option<&str>
pub fn replication_instance_identifier(&self) -> Option<&str>
The replication instance identifier is a required parameter. This parameter is stored as a lowercase string.
Constraints:
-
Must contain 1-63 alphanumeric characters or hyphens.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
Example: myrepinstance
sourcepub fn replication_instance_class(&self) -> Option<&str>
pub fn replication_instance_class(&self) -> Option<&str>
The compute and memory capacity of the replication instance as defined for the specified replication instance class. It is a required parameter, although a default value is pre-selected in the DMS console.
For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.
sourcepub fn replication_instance_status(&self) -> Option<&str>
pub fn replication_instance_status(&self) -> Option<&str>
The status of the replication instance. The possible return values include:
-
"available"
-
"creating"
-
"deleted"
-
"deleting"
-
"failed"
-
"modifying"
-
"upgrading"
-
"rebooting"
-
"resetting-master-credentials"
-
"storage-full"
-
"incompatible-credentials"
-
"incompatible-network"
-
"maintenance"
sourcepub fn allocated_storage(&self) -> i32
pub fn allocated_storage(&self) -> i32
The amount of storage (in gigabytes) that is allocated for the replication instance.
sourcepub fn instance_create_time(&self) -> Option<&DateTime>
pub fn instance_create_time(&self) -> Option<&DateTime>
The time the replication instance was created.
sourcepub fn vpc_security_groups(&self) -> Option<&[VpcSecurityGroupMembership]>
pub fn vpc_security_groups(&self) -> Option<&[VpcSecurityGroupMembership]>
The VPC security group for the instance.
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone for the instance.
sourcepub fn replication_subnet_group(&self) -> Option<&ReplicationSubnetGroup>
pub fn replication_subnet_group(&self) -> Option<&ReplicationSubnetGroup>
The subnet group for the replication instance.
sourcepub fn preferred_maintenance_window(&self) -> Option<&str>
pub fn preferred_maintenance_window(&self) -> Option<&str>
The maintenance window times for the replication instance. Any pending upgrades to the replication instance are performed during this time.
sourcepub fn pending_modified_values(
&self
) -> Option<&ReplicationPendingModifiedValues>
pub fn pending_modified_values(
&self
) -> Option<&ReplicationPendingModifiedValues>
The pending modification values.
sourcepub fn multi_az(&self) -> bool
pub fn multi_az(&self) -> bool
Specifies whether the replication instance is a Multi-AZ deployment. You can't set the AvailabilityZone
parameter if the Multi-AZ parameter is set to true
.
sourcepub fn engine_version(&self) -> Option<&str>
pub fn engine_version(&self) -> Option<&str>
The engine version number of the replication instance.
If an engine version number is not specified when a replication instance is created, the default is the latest engine version available.
When modifying a major engine version of an instance, also set AllowMajorVersionUpgrade
to true
.
sourcepub fn auto_minor_version_upgrade(&self) -> bool
pub fn auto_minor_version_upgrade(&self) -> bool
Boolean value indicating if minor version upgrades will be automatically applied to the instance.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
An KMS key identifier that is used to encrypt the data on the replication instance.
If you don't specify a value for the KmsKeyId
parameter, then DMS uses your default encryption key.
KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
sourcepub fn replication_instance_arn(&self) -> Option<&str>
pub fn replication_instance_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the replication instance.
sourcepub fn replication_instance_public_ip_address(&self) -> Option<&str>
pub fn replication_instance_public_ip_address(&self) -> Option<&str>
The public IP address of the replication instance.
sourcepub fn replication_instance_private_ip_address(&self) -> Option<&str>
pub fn replication_instance_private_ip_address(&self) -> Option<&str>
The private IP address of the replication instance.
sourcepub fn replication_instance_public_ip_addresses(&self) -> Option<&[String]>
pub fn replication_instance_public_ip_addresses(&self) -> Option<&[String]>
One or more public IP addresses for the replication instance.
sourcepub fn replication_instance_private_ip_addresses(&self) -> Option<&[String]>
pub fn replication_instance_private_ip_addresses(&self) -> Option<&[String]>
One or more private IP addresses for the replication instance.
sourcepub fn publicly_accessible(&self) -> bool
pub fn publicly_accessible(&self) -> bool
Specifies the accessibility options for the replication instance. A value of true
represents an instance with a public IP address. A value of false
represents an instance with a private IP address. The default value is true
.
sourcepub fn secondary_availability_zone(&self) -> Option<&str>
pub fn secondary_availability_zone(&self) -> Option<&str>
The Availability Zone of the standby replication instance in a Multi-AZ deployment.
sourcepub fn free_until(&self) -> Option<&DateTime>
pub fn free_until(&self) -> Option<&DateTime>
The expiration date of the free replication instance that is part of the Free DMS program.
sourcepub fn dns_name_servers(&self) -> Option<&str>
pub fn dns_name_servers(&self) -> Option<&str>
The DNS name servers supported for the replication instance to access your on-premise source or target database.
sourceimpl ReplicationInstance
impl ReplicationInstance
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReplicationInstance
Trait Implementations
sourceimpl Clone for ReplicationInstance
impl Clone for ReplicationInstance
sourcefn clone(&self) -> ReplicationInstance
fn clone(&self) -> ReplicationInstance
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 ReplicationInstance
impl Debug for ReplicationInstance
sourceimpl PartialEq<ReplicationInstance> for ReplicationInstance
impl PartialEq<ReplicationInstance> for ReplicationInstance
sourcefn eq(&self, other: &ReplicationInstance) -> bool
fn eq(&self, other: &ReplicationInstance) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ReplicationInstance) -> bool
fn ne(&self, other: &ReplicationInstance) -> bool
This method tests for !=
.
impl StructuralPartialEq for ReplicationInstance
Auto Trait Implementations
impl RefUnwindSafe for ReplicationInstance
impl Send for ReplicationInstance
impl Sync for ReplicationInstance
impl Unpin for ReplicationInstance
impl UnwindSafe for ReplicationInstance
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