Struct aws_sdk_databasemigration::input::ApplyPendingMaintenanceActionInput [−][src]
#[non_exhaustive]pub struct ApplyPendingMaintenanceActionInput {
pub replication_instance_arn: Option<String>,
pub apply_action: Option<String>,
pub opt_in_type: 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 DMS resource that the pending maintenance action applies to.
apply_action: Option<String>
The pending maintenance action to apply to this resource.
Valid values: os-upgrade
, system-update
, db-upgrade
opt_in_type: Option<String>
A value that specifies the type of opt-in request, or undoes an opt-in request. You can't undo an
opt-in request of type immediate
.
Valid values:
-
immediate
- Apply the maintenance action immediately. -
next-maintenance
- Apply the maintenance action during the next maintenance window for the resource. -
undo-opt-in
- Cancel any existingnext-maintenance
opt-in requests.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ApplyPendingMaintenanceAction, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ApplyPendingMaintenanceAction, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ApplyPendingMaintenanceAction
>
Creates a new builder-style object to manufacture ApplyPendingMaintenanceActionInput
The Amazon Resource Name (ARN) of the DMS resource that the pending maintenance action applies to.
The pending maintenance action to apply to this resource.
Valid values: os-upgrade
, system-update
, db-upgrade
A value that specifies the type of opt-in request, or undoes an opt-in request. You can't undo an
opt-in request of type immediate
.
Valid values:
-
immediate
- Apply the maintenance action immediately. -
next-maintenance
- Apply the maintenance action during the next maintenance window for the resource. -
undo-opt-in
- Cancel any existingnext-maintenance
opt-in requests.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for ApplyPendingMaintenanceActionInput
impl Sync for ApplyPendingMaintenanceActionInput
impl Unpin for ApplyPendingMaintenanceActionInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more