Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Modifies the parameters of a cluster 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.
Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot or maintenance window before the change can take effect.
After you create a cluster parameter group, you should wait at least 5
minutes before creating your first cluster that uses that cluster
parameter group as the default parameter group. This allows Amazon
DocumentDB to fully complete the create action before the parameter
group is used as the default for a new cluster. This step is especially
important for parameters that are critical when creating the default
database for a cluster, such as the character set for the default
database defined by the character_set_database
parameter.
Synopsis
- data ModifyDBClusterParameterGroup = ModifyDBClusterParameterGroup' {}
- newModifyDBClusterParameterGroup :: Text -> ModifyDBClusterParameterGroup
- modifyDBClusterParameterGroup_dbClusterParameterGroupName :: Lens' ModifyDBClusterParameterGroup Text
- modifyDBClusterParameterGroup_parameters :: Lens' ModifyDBClusterParameterGroup [Parameter]
- data DBClusterParameterGroupNameMessage = DBClusterParameterGroupNameMessage' {}
- newDBClusterParameterGroupNameMessage :: DBClusterParameterGroupNameMessage
- dbClusterParameterGroupNameMessage_dbClusterParameterGroupName :: Lens' DBClusterParameterGroupNameMessage (Maybe Text)
Creating a Request
data ModifyDBClusterParameterGroup Source #
Represents the input to ModifyDBClusterParameterGroup.
See: newModifyDBClusterParameterGroup
smart constructor.
ModifyDBClusterParameterGroup' | |
|
Instances
newModifyDBClusterParameterGroup Source #
:: Text |
|
-> ModifyDBClusterParameterGroup |
Create a value of ModifyDBClusterParameterGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dbClusterParameterGroupName:ModifyDBClusterParameterGroup'
, modifyDBClusterParameterGroup_dbClusterParameterGroupName
- The name of the cluster parameter group to modify.
$sel:parameters:ModifyDBClusterParameterGroup'
, modifyDBClusterParameterGroup_parameters
- A list of parameters in the cluster parameter group to modify.
Request Lenses
modifyDBClusterParameterGroup_dbClusterParameterGroupName :: Lens' ModifyDBClusterParameterGroup Text Source #
The name of the cluster parameter group to modify.
modifyDBClusterParameterGroup_parameters :: Lens' ModifyDBClusterParameterGroup [Parameter] Source #
A list of parameters in the cluster parameter group to modify.
Destructuring the Response
data DBClusterParameterGroupNameMessage Source #
Contains the name of a cluster parameter group.
See: newDBClusterParameterGroupNameMessage
smart constructor.
DBClusterParameterGroupNameMessage' | |
|
Instances
newDBClusterParameterGroupNameMessage :: DBClusterParameterGroupNameMessage Source #
Create a value of DBClusterParameterGroupNameMessage
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dbClusterParameterGroupName:DBClusterParameterGroupNameMessage'
, dbClusterParameterGroupNameMessage_dbClusterParameterGroupName
- The name of a cluster parameter group.
Constraints:
- Must be from 1 to 255 letters or numbers.
- The first character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
This value is stored as a lowercase string.
Response Lenses
dbClusterParameterGroupNameMessage_dbClusterParameterGroupName :: Lens' DBClusterParameterGroupNameMessage (Maybe Text) Source #
The name of a cluster parameter group.
Constraints:
- Must be from 1 to 255 letters or numbers.
- The first character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
This value is stored as a lowercase string.