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 |
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_parameterNames :: Lens' ResetParameterGroup (Maybe [Text])
- resetParameterGroup_allParameters :: Lens' ResetParameterGroup (Maybe Bool)
- 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: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.
$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:parameterGroupName:ResetParameterGroup'
, resetParameterGroup_parameterGroupName
- The name of the parameter group to reset.
Request Lenses
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_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_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.