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 MemoryDB parameter group. A parameter group is a collection of parameters and their values that are applied to all of the nodes in any cluster. For more information, see Configuring engine parameters using parameter groups.
Synopsis
- data CreateParameterGroup = CreateParameterGroup' {
- description :: Maybe Text
- tags :: Maybe [Tag]
- parameterGroupName :: Text
- family :: Text
- newCreateParameterGroup :: Text -> Text -> CreateParameterGroup
- createParameterGroup_description :: Lens' CreateParameterGroup (Maybe Text)
- createParameterGroup_tags :: Lens' CreateParameterGroup (Maybe [Tag])
- createParameterGroup_parameterGroupName :: Lens' CreateParameterGroup Text
- createParameterGroup_family :: Lens' CreateParameterGroup Text
- data CreateParameterGroupResponse = CreateParameterGroupResponse' {}
- newCreateParameterGroupResponse :: Int -> CreateParameterGroupResponse
- createParameterGroupResponse_parameterGroup :: Lens' CreateParameterGroupResponse (Maybe ParameterGroup)
- createParameterGroupResponse_httpStatus :: Lens' CreateParameterGroupResponse Int
Creating a Request
data CreateParameterGroup Source #
See: newCreateParameterGroup
smart constructor.
CreateParameterGroup' | |
|
Instances
newCreateParameterGroup Source #
:: Text | |
-> Text | |
-> CreateParameterGroup |
Create a value of CreateParameterGroup
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:description:CreateParameterGroup'
, createParameterGroup_description
- An optional description of the parameter group.
$sel:tags:CreateParameterGroup'
, createParameterGroup_tags
- A list of tags to be added to this resource. A tag is a key-value pair.
A tag key must be accompanied by a tag value, although null is accepted.
$sel:parameterGroupName:CreateParameterGroup'
, createParameterGroup_parameterGroupName
- The name of the parameter group.
$sel:family:CreateParameterGroup'
, createParameterGroup_family
- The name of the parameter group family that the parameter group can be
used with.
Request Lenses
createParameterGroup_description :: Lens' CreateParameterGroup (Maybe Text) Source #
An optional description of the parameter group.
createParameterGroup_tags :: Lens' CreateParameterGroup (Maybe [Tag]) Source #
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
createParameterGroup_parameterGroupName :: Lens' CreateParameterGroup Text Source #
The name of the parameter group.
createParameterGroup_family :: Lens' CreateParameterGroup Text Source #
The name of the parameter group family that the parameter group can be used with.
Destructuring the Response
data CreateParameterGroupResponse Source #
See: newCreateParameterGroupResponse
smart constructor.
CreateParameterGroupResponse' | |
|
Instances
newCreateParameterGroupResponse Source #
Create a value of CreateParameterGroupResponse
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:parameterGroup:CreateParameterGroupResponse'
, createParameterGroupResponse_parameterGroup
- The newly-created parameter group.
$sel:httpStatus:CreateParameterGroupResponse'
, createParameterGroupResponse_httpStatus
- The response's http status code.
Response Lenses
createParameterGroupResponse_parameterGroup :: Lens' CreateParameterGroupResponse (Maybe ParameterGroup) Source #
The newly-created parameter group.
createParameterGroupResponse_httpStatus :: Lens' CreateParameterGroupResponse Int Source #
The response's http status code.