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 |
Creates a new DB cluster parameter group.
Parameters in a DB cluster parameter group apply to all of the instances in a DB cluster.
A DB cluster parameter group is initially created with the default parameters for the database engine used by instances in the DB cluster. To provide custom values for any of the parameters, you must modify the group after creating it using ModifyDBClusterParameterGroup. Once you've created a DB cluster parameter group, you need to associate it with your DB cluster using ModifyDBCluster. When you associate a new DB cluster parameter group with a running DB cluster, you need to reboot the DB instances in the DB cluster without failover for the new DB cluster parameter group and associated settings to take effect.
After you create a DB cluster parameter group, you should wait at least
5 minutes before creating your first DB cluster that uses that DB
cluster parameter group as the default parameter group. This allows
Amazon Neptune to fully complete the create action before the DB cluster
parameter group is used as the default for a new DB cluster. This is
especially important for parameters that are critical when creating the
default database for a DB cluster, 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 Neptune console or the
DescribeDBClusterParameters command to verify that your DB cluster
parameter group has been created or modified.
Synopsis
- data CreateDBClusterParameterGroup = CreateDBClusterParameterGroup' {}
- newCreateDBClusterParameterGroup :: Text -> Text -> Text -> CreateDBClusterParameterGroup
- createDBClusterParameterGroup_tags :: Lens' CreateDBClusterParameterGroup (Maybe [Tag])
- createDBClusterParameterGroup_dbClusterParameterGroupName :: Lens' CreateDBClusterParameterGroup Text
- createDBClusterParameterGroup_dbParameterGroupFamily :: Lens' CreateDBClusterParameterGroup Text
- createDBClusterParameterGroup_description :: Lens' CreateDBClusterParameterGroup Text
- data CreateDBClusterParameterGroupResponse = CreateDBClusterParameterGroupResponse' {}
- newCreateDBClusterParameterGroupResponse :: Int -> CreateDBClusterParameterGroupResponse
- createDBClusterParameterGroupResponse_dbClusterParameterGroup :: Lens' CreateDBClusterParameterGroupResponse (Maybe DBClusterParameterGroup)
- createDBClusterParameterGroupResponse_httpStatus :: Lens' CreateDBClusterParameterGroupResponse Int
Creating a Request
data CreateDBClusterParameterGroup Source #
See: newCreateDBClusterParameterGroup
smart constructor.
CreateDBClusterParameterGroup' | |
|
Instances
newCreateDBClusterParameterGroup Source #
:: Text |
|
-> Text | |
-> Text | |
-> CreateDBClusterParameterGroup |
Create a value of CreateDBClusterParameterGroup
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:tags:CreateDBClusterParameterGroup'
, createDBClusterParameterGroup_tags
- The tags to be assigned to the new DB cluster parameter group.
$sel:dbClusterParameterGroupName:CreateDBClusterParameterGroup'
, createDBClusterParameterGroup_dbClusterParameterGroupName
- The name of the DB cluster parameter group.
Constraints:
- Must match the name of an existing DBClusterParameterGroup.
This value is stored as a lowercase string.
$sel:dbParameterGroupFamily:CreateDBClusterParameterGroup'
, createDBClusterParameterGroup_dbParameterGroupFamily
- The DB cluster parameter group family name. A DB cluster parameter group
can be associated with one and only one DB cluster parameter group
family, and can be applied only to a DB cluster running a database
engine and engine version compatible with that DB cluster parameter
group family.
$sel:description:CreateDBClusterParameterGroup'
, createDBClusterParameterGroup_description
- The description for the DB cluster parameter group.
Request Lenses
createDBClusterParameterGroup_tags :: Lens' CreateDBClusterParameterGroup (Maybe [Tag]) Source #
The tags to be assigned to the new DB cluster parameter group.
createDBClusterParameterGroup_dbClusterParameterGroupName :: Lens' CreateDBClusterParameterGroup Text Source #
The name of the DB cluster parameter group.
Constraints:
- Must match the name of an existing DBClusterParameterGroup.
This value is stored as a lowercase string.
createDBClusterParameterGroup_dbParameterGroupFamily :: Lens' CreateDBClusterParameterGroup Text Source #
The DB cluster parameter group family name. A DB cluster parameter group can be associated with one and only one DB cluster parameter group family, and can be applied only to a DB cluster running a database engine and engine version compatible with that DB cluster parameter group family.
createDBClusterParameterGroup_description :: Lens' CreateDBClusterParameterGroup Text Source #
The description for the DB cluster parameter group.
Destructuring the Response
data CreateDBClusterParameterGroupResponse Source #
See: newCreateDBClusterParameterGroupResponse
smart constructor.
CreateDBClusterParameterGroupResponse' | |
|
Instances
newCreateDBClusterParameterGroupResponse Source #
Create a value of CreateDBClusterParameterGroupResponse
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:dbClusterParameterGroup:CreateDBClusterParameterGroupResponse'
, createDBClusterParameterGroupResponse_dbClusterParameterGroup
- Undocumented member.
$sel:httpStatus:CreateDBClusterParameterGroupResponse'
, createDBClusterParameterGroupResponse_httpStatus
- The response's http status code.
Response Lenses
createDBClusterParameterGroupResponse_dbClusterParameterGroup :: Lens' CreateDBClusterParameterGroupResponse (Maybe DBClusterParameterGroup) Source #
Undocumented member.
createDBClusterParameterGroupResponse_httpStatus :: Lens' CreateDBClusterParameterGroupResponse Int Source #
The response's http status code.