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 control within an assessment in Audit Manager.
Synopsis
- data UpdateAssessmentControl = UpdateAssessmentControl' {}
- newUpdateAssessmentControl :: Text -> Text -> Text -> UpdateAssessmentControl
- updateAssessmentControl_controlStatus :: Lens' UpdateAssessmentControl (Maybe ControlStatus)
- updateAssessmentControl_commentBody :: Lens' UpdateAssessmentControl (Maybe Text)
- updateAssessmentControl_assessmentId :: Lens' UpdateAssessmentControl Text
- updateAssessmentControl_controlSetId :: Lens' UpdateAssessmentControl Text
- updateAssessmentControl_controlId :: Lens' UpdateAssessmentControl Text
- data UpdateAssessmentControlResponse = UpdateAssessmentControlResponse' {}
- newUpdateAssessmentControlResponse :: Int -> UpdateAssessmentControlResponse
- updateAssessmentControlResponse_control :: Lens' UpdateAssessmentControlResponse (Maybe AssessmentControl)
- updateAssessmentControlResponse_httpStatus :: Lens' UpdateAssessmentControlResponse Int
Creating a Request
data UpdateAssessmentControl Source #
See: newUpdateAssessmentControl
smart constructor.
UpdateAssessmentControl' | |
|
Instances
newUpdateAssessmentControl Source #
:: Text | |
-> Text | |
-> Text | |
-> UpdateAssessmentControl |
Create a value of UpdateAssessmentControl
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:controlStatus:UpdateAssessmentControl'
, updateAssessmentControl_controlStatus
- The status of the specified control.
$sel:commentBody:UpdateAssessmentControl'
, updateAssessmentControl_commentBody
- The comment body text for the specified control.
$sel:assessmentId:UpdateAssessmentControl'
, updateAssessmentControl_assessmentId
- The identifier for the specified assessment.
$sel:controlSetId:UpdateAssessmentControl'
, updateAssessmentControl_controlSetId
- The identifier for the specified control set.
$sel:controlId:UpdateAssessmentControl'
, updateAssessmentControl_controlId
- The identifier for the specified control.
Request Lenses
updateAssessmentControl_controlStatus :: Lens' UpdateAssessmentControl (Maybe ControlStatus) Source #
The status of the specified control.
updateAssessmentControl_commentBody :: Lens' UpdateAssessmentControl (Maybe Text) Source #
The comment body text for the specified control.
updateAssessmentControl_assessmentId :: Lens' UpdateAssessmentControl Text Source #
The identifier for the specified assessment.
updateAssessmentControl_controlSetId :: Lens' UpdateAssessmentControl Text Source #
The identifier for the specified control set.
updateAssessmentControl_controlId :: Lens' UpdateAssessmentControl Text Source #
The identifier for the specified control.
Destructuring the Response
data UpdateAssessmentControlResponse Source #
See: newUpdateAssessmentControlResponse
smart constructor.
UpdateAssessmentControlResponse' | |
|
Instances
Eq UpdateAssessmentControlResponse Source # | |
Read UpdateAssessmentControlResponse Source # | |
Show UpdateAssessmentControlResponse Source # | |
Generic UpdateAssessmentControlResponse Source # | |
NFData UpdateAssessmentControlResponse Source # | |
Defined in Amazonka.AuditManager.UpdateAssessmentControl rnf :: UpdateAssessmentControlResponse -> () # | |
type Rep UpdateAssessmentControlResponse Source # | |
Defined in Amazonka.AuditManager.UpdateAssessmentControl type Rep UpdateAssessmentControlResponse = D1 ('MetaData "UpdateAssessmentControlResponse" "Amazonka.AuditManager.UpdateAssessmentControl" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" 'False) (C1 ('MetaCons "UpdateAssessmentControlResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "control") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssessmentControl)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateAssessmentControlResponse Source #
Create a value of UpdateAssessmentControlResponse
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:UpdateAssessmentControlResponse'
, updateAssessmentControlResponse_control
- The name of the updated control set returned by the
UpdateAssessmentControl
API.
$sel:httpStatus:UpdateAssessmentControlResponse'
, updateAssessmentControlResponse_httpStatus
- The response's http status code.
Response Lenses
updateAssessmentControlResponse_control :: Lens' UpdateAssessmentControlResponse (Maybe AssessmentControl) Source #
The name of the updated control set returned by the
UpdateAssessmentControl
API.
updateAssessmentControlResponse_httpStatus :: Lens' UpdateAssessmentControlResponse Int Source #
The response's http status code.