| 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.CreateControl
Description
Creates a new custom control in Audit Manager.
Synopsis
- data CreateControl = CreateControl' {}
- newCreateControl :: Text -> NonEmpty CreateControlMappingSource -> CreateControl
- createControl_actionPlanInstructions :: Lens' CreateControl (Maybe Text)
- createControl_actionPlanTitle :: Lens' CreateControl (Maybe Text)
- createControl_description :: Lens' CreateControl (Maybe Text)
- createControl_tags :: Lens' CreateControl (Maybe (HashMap Text Text))
- createControl_testingInformation :: Lens' CreateControl (Maybe Text)
- createControl_name :: Lens' CreateControl Text
- createControl_controlMappingSources :: Lens' CreateControl (NonEmpty CreateControlMappingSource)
- data CreateControlResponse = CreateControlResponse' {
- control :: Maybe Control
- httpStatus :: Int
- newCreateControlResponse :: Int -> CreateControlResponse
- createControlResponse_control :: Lens' CreateControlResponse (Maybe Control)
- createControlResponse_httpStatus :: Lens' CreateControlResponse Int
Creating a Request
data CreateControl Source #
See: newCreateControl smart constructor.
Constructors
| CreateControl' | |
Fields
| |
Instances
Create a value of CreateControl 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:
CreateControl, createControl_actionPlanInstructions - The recommended actions to carry out if the control isn't fulfilled.
CreateControl, createControl_actionPlanTitle - The title of the action plan for remediating the control.
CreateControl, createControl_description - The description of the control.
CreateControl, createControl_tags - The tags that are associated with the control.
CreateControl, createControl_testingInformation - The steps to follow to determine if the control is satisfied.
CreateControl, createControl_name - The name of the control.
CreateControl, createControl_controlMappingSources - The data mapping sources for the control.
Request Lenses
createControl_actionPlanInstructions :: Lens' CreateControl (Maybe Text) Source #
The recommended actions to carry out if the control isn't fulfilled.
createControl_actionPlanTitle :: Lens' CreateControl (Maybe Text) Source #
The title of the action plan for remediating the control.
createControl_description :: Lens' CreateControl (Maybe Text) Source #
The description of the control.
createControl_tags :: Lens' CreateControl (Maybe (HashMap Text Text)) Source #
The tags that are associated with the control.
createControl_testingInformation :: Lens' CreateControl (Maybe Text) Source #
The steps to follow to determine if the control is satisfied.
createControl_name :: Lens' CreateControl Text Source #
The name of the control.
createControl_controlMappingSources :: Lens' CreateControl (NonEmpty CreateControlMappingSource) Source #
The data mapping sources for the control.
Destructuring the Response
data CreateControlResponse Source #
See: newCreateControlResponse smart constructor.
Constructors
| CreateControlResponse' | |
Fields
| |
Instances
newCreateControlResponse Source #
Create a value of CreateControlResponse 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:CreateControlResponse', createControlResponse_control - The new control that the CreateControl API returned.
$sel:httpStatus:CreateControlResponse', createControlResponse_httpStatus - The response's http status code.
Response Lenses
createControlResponse_control :: Lens' CreateControlResponse (Maybe Control) Source #
The new control that the CreateControl API returned.
createControlResponse_httpStatus :: Lens' CreateControlResponse Int Source #
The response's http status code.