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 |
Updates a custom control in Audit Manager.
Synopsis
- data UpdateControl = UpdateControl' {}
- newUpdateControl :: Text -> Text -> NonEmpty ControlMappingSource -> UpdateControl
- updateControl_testingInformation :: Lens' UpdateControl (Maybe Text)
- updateControl_actionPlanInstructions :: Lens' UpdateControl (Maybe Text)
- updateControl_actionPlanTitle :: Lens' UpdateControl (Maybe Text)
- updateControl_description :: 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.
UpdateControl' | |
|
Instances
:: 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:
$sel:testingInformation:UpdateControl'
, updateControl_testingInformation
- The steps that to follow to determine if the control has been satisfied.
$sel:actionPlanInstructions:UpdateControl'
, updateControl_actionPlanInstructions
- The recommended actions to carry out if the control is not fulfilled.
$sel:actionPlanTitle:UpdateControl'
, updateControl_actionPlanTitle
- The title of the action plan for remediating the control.
$sel:description:UpdateControl'
, updateControl_description
- The optional description of the control.
$sel:controlId:UpdateControl'
, updateControl_controlId
- The identifier for the specified control.
$sel:name:UpdateControl'
, updateControl_name
- The name of the control to be updated.
$sel:controlMappingSources:UpdateControl'
, updateControl_controlMappingSources
- The data mapping sources for the specified control.
Request Lenses
updateControl_testingInformation :: Lens' UpdateControl (Maybe Text) Source #
The steps that to follow to determine if the control has been satisfied.
updateControl_actionPlanInstructions :: Lens' UpdateControl (Maybe Text) Source #
The recommended actions to carry out if the control is not 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_controlId :: Lens' UpdateControl Text Source #
The identifier for the specified control.
updateControl_name :: Lens' UpdateControl Text Source #
The name of the control to be updated.
updateControl_controlMappingSources :: Lens' UpdateControl (NonEmpty ControlMappingSource) Source #
The data mapping sources for the specified control.
Destructuring the Response
data UpdateControlResponse Source #
See: newUpdateControlResponse
smart constructor.
UpdateControlResponse' | |
|
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 returned by the UpdateControl
API.
$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 returned by the UpdateControl
API.
updateControlResponse_httpStatus :: Lens' UpdateControlResponse Int Source #
The response's http status code.