#[non_exhaustive]pub struct ModifyDbParameterGroupInput {
pub db_parameter_group_name: Option<String>,
pub parameters: Option<Vec<Parameter>>,
}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.db_parameter_group_name: Option<String>The name of the DB parameter group.
Constraints:
-
If supplied, must match the name of an existing
DBParameterGroup.
parameters: Option<Vec<Parameter>>An array of parameter names, values, and the application methods for the parameter update. At least one parameter name, value, and application method must be supplied; later arguments are optional. A maximum of 20 parameters can be modified in a single request.
Valid Values (for the application method): immediate | pending-reboot
You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters.
When the application method is immediate, changes to dynamic parameters are applied immediately to the DB instances associated with the parameter group.
When the application method is pending-reboot, changes to dynamic and static parameters are applied after a reboot without failover to the DB instances associated with the parameter group.
You can't use pending-reboot with dynamic parameters on RDS for SQL Server DB instances. Use immediate.
For more information on modifying DB parameters, see Working with DB parameter groups in the Amazon RDS User Guide.
Implementations§
source§impl ModifyDbParameterGroupInput
impl ModifyDbParameterGroupInput
sourcepub fn db_parameter_group_name(&self) -> Option<&str>
pub fn db_parameter_group_name(&self) -> Option<&str>
The name of the DB parameter group.
Constraints:
-
If supplied, must match the name of an existing
DBParameterGroup.
sourcepub fn parameters(&self) -> &[Parameter]
pub fn parameters(&self) -> &[Parameter]
An array of parameter names, values, and the application methods for the parameter update. At least one parameter name, value, and application method must be supplied; later arguments are optional. A maximum of 20 parameters can be modified in a single request.
Valid Values (for the application method): immediate | pending-reboot
You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters.
When the application method is immediate, changes to dynamic parameters are applied immediately to the DB instances associated with the parameter group.
When the application method is pending-reboot, changes to dynamic and static parameters are applied after a reboot without failover to the DB instances associated with the parameter group.
You can't use pending-reboot with dynamic parameters on RDS for SQL Server DB instances. Use immediate.
For more information on modifying DB parameters, see Working with DB parameter groups in the Amazon RDS User Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .parameters.is_none().
source§impl ModifyDbParameterGroupInput
impl ModifyDbParameterGroupInput
sourcepub fn builder() -> ModifyDbParameterGroupInputBuilder
pub fn builder() -> ModifyDbParameterGroupInputBuilder
Creates a new builder-style object to manufacture ModifyDbParameterGroupInput.
Trait Implementations§
source§impl Clone for ModifyDbParameterGroupInput
impl Clone for ModifyDbParameterGroupInput
source§fn clone(&self) -> ModifyDbParameterGroupInput
fn clone(&self) -> ModifyDbParameterGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ModifyDbParameterGroupInput
impl Debug for ModifyDbParameterGroupInput
source§impl PartialEq for ModifyDbParameterGroupInput
impl PartialEq for ModifyDbParameterGroupInput
source§fn eq(&self, other: &ModifyDbParameterGroupInput) -> bool
fn eq(&self, other: &ModifyDbParameterGroupInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ModifyDbParameterGroupInput
Auto Trait Implementations§
impl Freeze for ModifyDbParameterGroupInput
impl RefUnwindSafe for ModifyDbParameterGroupInput
impl Send for ModifyDbParameterGroupInput
impl Sync for ModifyDbParameterGroupInput
impl Unpin for ModifyDbParameterGroupInput
impl UnwindSafe for ModifyDbParameterGroupInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more