Struct aws_sdk_rds::client::fluent_builders::ResetDBParameterGroup
source · [−]pub struct ResetDBParameterGroup { /* private fields */ }Expand description
Fluent builder constructing a request to ResetDBParameterGroup.
Modifies the parameters of a DB parameter group to the engine/system default value. To reset specific parameters, provide a list of the following: ParameterName and ApplyMethod. To reset the entire DB parameter group, specify the DBParameterGroup name and ResetAllParameters parameters. When resetting the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance restart or RebootDBInstance request.
Implementations
sourceimpl ResetDBParameterGroup
impl ResetDBParameterGroup
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ResetDBParameterGroup, AwsResponseRetryClassifier>, SdkError<ResetDBParameterGroupError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ResetDBParameterGroup, AwsResponseRetryClassifier>, SdkError<ResetDBParameterGroupError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<ResetDbParameterGroupOutput, SdkError<ResetDBParameterGroupError>>
pub async fn send(
self
) -> Result<ResetDbParameterGroupOutput, SdkError<ResetDBParameterGroupError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn db_parameter_group_name(self, input: impl Into<String>) -> Self
pub fn db_parameter_group_name(self, input: impl Into<String>) -> Self
The name of the DB parameter group.
Constraints:
-
Must match the name of an existing
DBParameterGroup.
sourcepub fn set_db_parameter_group_name(self, input: Option<String>) -> Self
pub fn set_db_parameter_group_name(self, input: Option<String>) -> Self
The name of the DB parameter group.
Constraints:
-
Must match the name of an existing
DBParameterGroup.
sourcepub fn reset_all_parameters(self, input: bool) -> Self
pub fn reset_all_parameters(self, input: bool) -> Self
A value that indicates whether to reset all parameters in the DB parameter group to default values. By default, all parameters in the DB parameter group are reset to default values.
sourcepub fn set_reset_all_parameters(self, input: Option<bool>) -> Self
pub fn set_reset_all_parameters(self, input: Option<bool>) -> Self
A value that indicates whether to reset all parameters in the DB parameter group to default values. By default, all parameters in the DB parameter group are reset to default values.
sourcepub fn parameters(self, input: Parameter) -> Self
pub fn parameters(self, input: Parameter) -> Self
Appends an item to Parameters.
To override the contents of this collection use set_parameters.
To reset the entire DB parameter group, specify the DBParameterGroup name and ResetAllParameters parameters. To reset specific parameters, provide a list of the following: ParameterName and ApplyMethod. A maximum of 20 parameters can be modified in a single request.
MySQL
Valid Values (for Apply 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, and changes are applied when DB instance reboots.
MariaDB
Valid Values (for Apply 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, and changes are applied when DB instance reboots.
Oracle
Valid Values (for Apply method): pending-reboot
sourcepub fn set_parameters(self, input: Option<Vec<Parameter>>) -> Self
pub fn set_parameters(self, input: Option<Vec<Parameter>>) -> Self
To reset the entire DB parameter group, specify the DBParameterGroup name and ResetAllParameters parameters. To reset specific parameters, provide a list of the following: ParameterName and ApplyMethod. A maximum of 20 parameters can be modified in a single request.
MySQL
Valid Values (for Apply 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, and changes are applied when DB instance reboots.
MariaDB
Valid Values (for Apply 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, and changes are applied when DB instance reboots.
Oracle
Valid Values (for Apply method): pending-reboot
Trait Implementations
sourceimpl Clone for ResetDBParameterGroup
impl Clone for ResetDBParameterGroup
sourcefn clone(&self) -> ResetDBParameterGroup
fn clone(&self) -> ResetDBParameterGroup
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more