#[non_exhaustive]pub struct ModifyReplicationInstanceInput {
pub replication_instance_arn: Option<String>,
pub allocated_storage: Option<i32>,
pub apply_immediately: bool,
pub replication_instance_class: Option<String>,
pub vpc_security_group_ids: Option<Vec<String>>,
pub preferred_maintenance_window: Option<String>,
pub multi_az: Option<bool>,
pub engine_version: Option<String>,
pub allow_major_version_upgrade: bool,
pub auto_minor_version_upgrade: Option<bool>,
pub replication_instance_identifier: Option<String>,
}
Expand description
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 Amazon Resource Name (ARN) of the replication instance.
allocated_storage: Option<i32>
The amount of storage (in gigabytes) to be allocated for the replication instance.
apply_immediately: bool
Indicates whether the changes should be applied immediately or during the next maintenance window.
replication_instance_class: Option<String>
The compute and memory capacity of the replication instance as defined for the specified replication instance class. For example to specify the instance class dms.c4.large, set this parameter to "dms.c4.large"
.
For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.
vpc_security_group_ids: Option<Vec<String>>
Specifies the VPC security group to be used with the replication instance. The VPC security group must work with the VPC containing the replication instance.
preferred_maintenance_window: Option<String>
The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage. Changing this parameter does not result in an outage, except in the following situation, and the change is asynchronously applied as soon as possible. If moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure pending changes are applied.
Default: Uses existing setting
Format: ddd:hh24:mi-ddd:hh24:mi
Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
Constraints: Must be at least 30 minutes
multi_az: Option<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.
When modifying a major engine version of an instance, also set AllowMajorVersionUpgrade
to true
.
allow_major_version_upgrade: bool
Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage, and the change is asynchronously applied as soon as possible.
This parameter must be set to true
when specifying a value for the EngineVersion
parameter that is a different major version than the replication instance's current version.
auto_minor_version_upgrade: Option<bool>
A value that indicates that minor version upgrades are applied automatically to the replication instance during the maintenance window. Changing this parameter doesn't result in an outage, except in the case described following. The change is asynchronously applied as soon as possible.
An outage does result if these factors apply:
-
This parameter is set to
true
during the maintenance window. -
A newer minor version is available.
-
DMS has enabled automatic patching for the given engine version.
replication_instance_identifier: Option<String>
The replication instance identifier. This parameter is stored as a lowercase string.
Implementations
sourceimpl ModifyReplicationInstanceInput
impl ModifyReplicationInstanceInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyReplicationInstance, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyReplicationInstance, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ModifyReplicationInstance
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ModifyReplicationInstanceInput
sourceimpl ModifyReplicationInstanceInput
impl ModifyReplicationInstanceInput
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 allocated_storage(&self) -> Option<i32>
pub fn allocated_storage(&self) -> Option<i32>
The amount of storage (in gigabytes) to be allocated for the replication instance.
sourcepub fn apply_immediately(&self) -> bool
pub fn apply_immediately(&self) -> bool
Indicates whether the changes should be applied immediately or during the next maintenance window.
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. For example to specify the instance class dms.c4.large, set this parameter to "dms.c4.large"
.
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 vpc_security_group_ids(&self) -> Option<&[String]>
pub fn vpc_security_group_ids(&self) -> Option<&[String]>
Specifies the VPC security group to be used with the replication instance. The VPC security group must work with the VPC containing the replication instance.
sourcepub fn preferred_maintenance_window(&self) -> Option<&str>
pub fn preferred_maintenance_window(&self) -> Option<&str>
The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage. Changing this parameter does not result in an outage, except in the following situation, and the change is asynchronously applied as soon as possible. If moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure pending changes are applied.
Default: Uses existing setting
Format: ddd:hh24:mi-ddd:hh24:mi
Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
Constraints: Must be at least 30 minutes
sourcepub fn multi_az(&self) -> Option<bool>
pub fn multi_az(&self) -> Option<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.
When modifying a major engine version of an instance, also set AllowMajorVersionUpgrade
to true
.
sourcepub fn allow_major_version_upgrade(&self) -> bool
pub fn allow_major_version_upgrade(&self) -> bool
Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage, and the change is asynchronously applied as soon as possible.
This parameter must be set to true
when specifying a value for the EngineVersion
parameter that is a different major version than the replication instance's current version.
sourcepub fn auto_minor_version_upgrade(&self) -> Option<bool>
pub fn auto_minor_version_upgrade(&self) -> Option<bool>
A value that indicates that minor version upgrades are applied automatically to the replication instance during the maintenance window. Changing this parameter doesn't result in an outage, except in the case described following. The change is asynchronously applied as soon as possible.
An outage does result if these factors apply:
-
This parameter is set to
true
during the maintenance window. -
A newer minor version is available.
-
DMS has enabled automatic patching for the given engine version.
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.
Trait Implementations
sourceimpl Clone for ModifyReplicationInstanceInput
impl Clone for ModifyReplicationInstanceInput
sourcefn clone(&self) -> ModifyReplicationInstanceInput
fn clone(&self) -> ModifyReplicationInstanceInput
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 PartialEq<ModifyReplicationInstanceInput> for ModifyReplicationInstanceInput
impl PartialEq<ModifyReplicationInstanceInput> for ModifyReplicationInstanceInput
sourcefn eq(&self, other: &ModifyReplicationInstanceInput) -> bool
fn eq(&self, other: &ModifyReplicationInstanceInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ModifyReplicationInstanceInput) -> bool
fn ne(&self, other: &ModifyReplicationInstanceInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ModifyReplicationInstanceInput
Auto Trait Implementations
impl RefUnwindSafe for ModifyReplicationInstanceInput
impl Send for ModifyReplicationInstanceInput
impl Sync for ModifyReplicationInstanceInput
impl Unpin for ModifyReplicationInstanceInput
impl UnwindSafe for ModifyReplicationInstanceInput
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