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 |
Modifies the parameters of a parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire parameter group, specify the AllParameters and ParameterGroupName parameters.
Synopsis
- data ResetParameterGroup = ResetParameterGroup' {}
- newResetParameterGroup :: Text -> ResetParameterGroup
- resetParameterGroup_allParameters :: Lens' ResetParameterGroup (Maybe Bool)
- resetParameterGroup_parameterNames :: Lens' ResetParameterGroup (Maybe [Text])
- resetParameterGroup_parameterGroupName :: Lens' ResetParameterGroup Text
- data ResetParameterGroupResponse = ResetParameterGroupResponse' {}
- newResetParameterGroupResponse :: Int -> ResetParameterGroupResponse
- resetParameterGroupResponse_parameterGroup :: Lens' ResetParameterGroupResponse (Maybe ParameterGroup)
- resetParameterGroupResponse_httpStatus :: Lens' ResetParameterGroupResponse Int
Creating a Request
data ResetParameterGroup Source #
See: newResetParameterGroup
smart constructor.
ResetParameterGroup' | |
|
Instances
newResetParameterGroup Source #
Create a value of ResetParameterGroup
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:allParameters:ResetParameterGroup'
, resetParameterGroup_allParameters
- If true, all parameters in the parameter group are reset to their
default values. If false, only the parameters listed by ParameterNames
are reset to their default values.
$sel:parameterNames:ResetParameterGroup'
, resetParameterGroup_parameterNames
- An array of parameter names to reset to their default values. If
AllParameters is true, do not use ParameterNames. If AllParameters is
false, you must specify the name of at least one parameter to reset.
ResetParameterGroup
, resetParameterGroup_parameterGroupName
- The name of the parameter group to reset.
Request Lenses
resetParameterGroup_allParameters :: Lens' ResetParameterGroup (Maybe Bool) Source #
If true, all parameters in the parameter group are reset to their default values. If false, only the parameters listed by ParameterNames are reset to their default values.
resetParameterGroup_parameterNames :: Lens' ResetParameterGroup (Maybe [Text]) Source #
An array of parameter names to reset to their default values. If AllParameters is true, do not use ParameterNames. If AllParameters is false, you must specify the name of at least one parameter to reset.
resetParameterGroup_parameterGroupName :: Lens' ResetParameterGroup Text Source #
The name of the parameter group to reset.
Destructuring the Response
data ResetParameterGroupResponse Source #
See: newResetParameterGroupResponse
smart constructor.
ResetParameterGroupResponse' | |
|
Instances
newResetParameterGroupResponse Source #
Create a value of ResetParameterGroupResponse
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:ResetParameterGroupResponse'
, resetParameterGroupResponse_parameterGroup
- The parameter group being reset.
$sel:httpStatus:ResetParameterGroupResponse'
, resetParameterGroupResponse_httpStatus
- The response's http status code.
Response Lenses
resetParameterGroupResponse_parameterGroup :: Lens' ResetParameterGroupResponse (Maybe ParameterGroup) Source #
The parameter group being reset.
resetParameterGroupResponse_httpStatus :: Lens' ResetParameterGroupResponse Int Source #
The response's http status code.