#[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 ==.