#[non_exhaustive]pub struct ReplicationInstance { /* private fields */ }
Expand description
Provides information that defines a replication instance.
Implementations§
source§impl 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>
👎Deprecated
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>
👎Deprecated
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 replication_instance_ipv6_addresses(&self) -> Option<&[String]>
pub fn replication_instance_ipv6_addresses(&self) -> Option<&[String]>
One or more IPv6 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.
sourcepub fn network_type(&self) -> Option<&str>
pub fn network_type(&self) -> Option<&str>
The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
source§impl ReplicationInstance
impl ReplicationInstance
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReplicationInstance
.
Trait Implementations§
source§impl Clone for ReplicationInstance
impl Clone for ReplicationInstance
source§fn clone(&self) -> ReplicationInstance
fn clone(&self) -> ReplicationInstance
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReplicationInstance
impl Debug for ReplicationInstance
source§impl PartialEq<ReplicationInstance> for ReplicationInstance
impl PartialEq<ReplicationInstance> for ReplicationInstance
source§fn eq(&self, other: &ReplicationInstance) -> bool
fn eq(&self, other: &ReplicationInstance) -> bool
self
and other
values to be equal, and is used
by ==
.