| 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.AuditManager.UpdateControl
Description
Updates a custom control in Audit Manager.
Synopsis
- data UpdateControl = UpdateControl' {}
- newUpdateControl :: Text -> Text -> NonEmpty ControlMappingSource -> UpdateControl
- updateControl_actionPlanInstructions :: Lens' UpdateControl (Maybe Text)
- updateControl_actionPlanTitle :: Lens' UpdateControl (Maybe Text)
- updateControl_description :: Lens' UpdateControl (Maybe Text)
- updateControl_testingInformation :: Lens' UpdateControl (Maybe Text)
- updateControl_controlId :: Lens' UpdateControl Text
- updateControl_name :: Lens' UpdateControl Text
- updateControl_controlMappingSources :: Lens' UpdateControl (NonEmpty ControlMappingSource)
- data UpdateControlResponse = UpdateControlResponse' {
- control :: Maybe Control
- httpStatus :: Int
- newUpdateControlResponse :: Int -> UpdateControlResponse
- updateControlResponse_control :: Lens' UpdateControlResponse (Maybe Control)
- updateControlResponse_httpStatus :: Lens' UpdateControlResponse Int
Creating a Request
data UpdateControl Source #
See: newUpdateControl smart constructor.
Constructors
| UpdateControl' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> NonEmpty ControlMappingSource | |
| -> UpdateControl |
Create a value of UpdateControl 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:
UpdateControl, updateControl_actionPlanInstructions - The recommended actions to carry out if the control isn't fulfilled.
UpdateControl, updateControl_actionPlanTitle - The title of the action plan for remediating the control.
UpdateControl, updateControl_description - The optional description of the control.
UpdateControl, updateControl_testingInformation - The steps that you should follow to determine if the control is met.
UpdateControl, updateControl_controlId - The identifier for the control.
UpdateControl, updateControl_name - The name of the updated control.
UpdateControl, updateControl_controlMappingSources - The data mapping sources for the control.
Request Lenses
updateControl_actionPlanInstructions :: Lens' UpdateControl (Maybe Text) Source #
The recommended actions to carry out if the control isn't fulfilled.
updateControl_actionPlanTitle :: Lens' UpdateControl (Maybe Text) Source #
The title of the action plan for remediating the control.
updateControl_description :: Lens' UpdateControl (Maybe Text) Source #
The optional description of the control.
updateControl_testingInformation :: Lens' UpdateControl (Maybe Text) Source #
The steps that you should follow to determine if the control is met.
updateControl_controlId :: Lens' UpdateControl Text Source #
The identifier for the control.
updateControl_name :: Lens' UpdateControl Text Source #
The name of the updated control.
updateControl_controlMappingSources :: Lens' UpdateControl (NonEmpty ControlMappingSource) Source #
The data mapping sources for the control.
Destructuring the Response
data UpdateControlResponse Source #
See: newUpdateControlResponse smart constructor.
Constructors
| UpdateControlResponse' | |
Fields
| |
Instances
newUpdateControlResponse Source #
Create a value of UpdateControlResponse 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:control:UpdateControlResponse', updateControlResponse_control - The name of the updated control set that the UpdateControl API
returned.
$sel:httpStatus:UpdateControlResponse', updateControlResponse_httpStatus - The response's http status code.
Response Lenses
updateControlResponse_control :: Lens' UpdateControlResponse (Maybe Control) Source #
The name of the updated control set that the UpdateControl API
returned.
updateControlResponse_httpStatus :: Lens' UpdateControlResponse Int Source #
The response's http status code.