Modify Db Parameter Group
rds_modify_db_parameter_group | R Documentation |
Modifies the parameters of a DB parameter group¶
Description¶
Modifies the parameters of a DB parameter group. To modify more than one
parameter, submit a list of the following: ParameterName
,
ParameterValue
, and ApplyMethod
. A maximum of 20 parameters can be
modified in a single request.
After you modify a DB parameter group, you should wait at least 5
minutes before creating your first DB instance that uses that DB
parameter group as the default parameter group. This allows Amazon RDS
to fully complete the modify operation before the parameter group is
used as the default for a new DB instance. This is especially important
for parameters that are critical when creating the default database for
a DB instance, such as the character set for the default database
defined by the character_set_database
parameter. You can use the
Parameter Groups option of the Amazon RDS console or the
DescribeDBParameters command to verify that your DB parameter group
has been created or modified.
Usage¶
rds_modify_db_parameter_group(DBParameterGroupName, Parameters)
Arguments¶
DBParameterGroupName |
[required] The name of the DB parameter group. Constraints:
|
Parameters |
[required] 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):
You can use the When the application method is When the application method is You can't use For more information on modifying DB parameters, see Working with DB parameter groups in the Amazon RDS User Guide. |
Value¶
A list with the following syntax:
list(
DBParameterGroupName = "string"
)
Request syntax¶
svc$modify_db_parameter_group(
DBParameterGroupName = "string",
Parameters = list(
list(
ParameterName = "string",
ParameterValue = "string",
Description = "string",
Source = "string",
ApplyType = "string",
DataType = "string",
AllowedValues = "string",
IsModifiable = TRUE|FALSE,
MinimumEngineVersion = "string",
ApplyMethod = "immediate"|"pending-reboot",
SupportedEngineModes = list(
"string"
)
)
)
)
Examples¶
## Not run:
# This example immediately changes the specified setting for the specified
# DB parameter group.
svc$modify_db_parameter_group(
DBParameterGroupName = "mymysqlparametergroup",
Parameters = list(
list(
ApplyMethod = "immediate",
ParameterName = "time_zone",
ParameterValue = "America/Phoenix"
)
)
)
## End(Not run)