| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MemoryDb.UpdateParameterGroup
Description
Updates the parameters of a parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.
Synopsis
- data UpdateParameterGroup = UpdateParameterGroup' {}
- newUpdateParameterGroup :: Text -> UpdateParameterGroup
- updateParameterGroup_parameterGroupName :: Lens' UpdateParameterGroup Text
- updateParameterGroup_parameterNameValues :: Lens' UpdateParameterGroup [ParameterNameValue]
- data UpdateParameterGroupResponse = UpdateParameterGroupResponse' {}
- newUpdateParameterGroupResponse :: Int -> UpdateParameterGroupResponse
- updateParameterGroupResponse_parameterGroup :: Lens' UpdateParameterGroupResponse (Maybe ParameterGroup)
- updateParameterGroupResponse_httpStatus :: Lens' UpdateParameterGroupResponse Int
Creating a Request
data UpdateParameterGroup Source #
See: newUpdateParameterGroup smart constructor.
Constructors
| UpdateParameterGroup' | |
Fields
| |
Instances
newUpdateParameterGroup Source #
Arguments
| :: Text | |
| -> UpdateParameterGroup |
Create a value of UpdateParameterGroup 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:
UpdateParameterGroup, updateParameterGroup_parameterGroupName - The name of the parameter group to update.
$sel:parameterNameValues:UpdateParameterGroup', updateParameterGroup_parameterNameValues - An array of parameter names and values for the parameter update. You
must supply at least one parameter name and value; subsequent arguments
are optional. A maximum of 20 parameters may be updated per request.
Request Lenses
updateParameterGroup_parameterGroupName :: Lens' UpdateParameterGroup Text Source #
The name of the parameter group to update.
updateParameterGroup_parameterNameValues :: Lens' UpdateParameterGroup [ParameterNameValue] Source #
An array of parameter names and values for the parameter update. You must supply at least one parameter name and value; subsequent arguments are optional. A maximum of 20 parameters may be updated per request.
Destructuring the Response
data UpdateParameterGroupResponse Source #
See: newUpdateParameterGroupResponse smart constructor.
Constructors
| UpdateParameterGroupResponse' | |
Fields
| |
Instances
newUpdateParameterGroupResponse Source #
Create a value of UpdateParameterGroupResponse 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:UpdateParameterGroupResponse', updateParameterGroupResponse_parameterGroup - The updated parameter group
$sel:httpStatus:UpdateParameterGroupResponse', updateParameterGroupResponse_httpStatus - The response's http status code.
Response Lenses
updateParameterGroupResponse_parameterGroup :: Lens' UpdateParameterGroupResponse (Maybe ParameterGroup) Source #
The updated parameter group
updateParameterGroupResponse_httpStatus :: Lens' UpdateParameterGroupResponse Int Source #
The response's http status code.