| 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.DAX.UpdateParameterGroup
Description
Modifies 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.
$sel:parameterNameValues:UpdateParameterGroup', updateParameterGroup_parameterNameValues - An array of name-value pairs for the parameters in the group. Each
element in the array represents a single parameter.
record-ttl-millis and query-ttl-millis are the only supported
parameter names. For more details, see
Configuring TTL Settings.
Request Lenses
updateParameterGroup_parameterGroupName :: Lens' UpdateParameterGroup Text Source #
The name of the parameter group.
updateParameterGroup_parameterNameValues :: Lens' UpdateParameterGroup [ParameterNameValue] Source #
An array of name-value pairs for the parameters in the group. Each element in the array represents a single parameter.
record-ttl-millis and query-ttl-millis are the only supported
parameter names. For more details, see
Configuring TTL Settings.
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:
UpdateParameterGroupResponse, updateParameterGroupResponse_parameterGroup - The parameter group that has been modified.
$sel:httpStatus:UpdateParameterGroupResponse', updateParameterGroupResponse_httpStatus - The response's http status code.
Response Lenses
updateParameterGroupResponse_parameterGroup :: Lens' UpdateParameterGroupResponse (Maybe ParameterGroup) Source #
The parameter group that has been modified.
updateParameterGroupResponse_httpStatus :: Lens' UpdateParameterGroupResponse Int Source #
The response's http status code.