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