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 |
Deletes a custom control in Audit Manager.
Synopsis
- data DeleteControl = DeleteControl' {}
- newDeleteControl :: Text -> DeleteControl
- deleteControl_controlId :: Lens' DeleteControl Text
- data DeleteControlResponse = DeleteControlResponse' {
- httpStatus :: Int
- newDeleteControlResponse :: Int -> DeleteControlResponse
- deleteControlResponse_httpStatus :: Lens' DeleteControlResponse Int
Creating a Request
data DeleteControl Source #
See: newDeleteControl
smart constructor.
Instances
Create a value of DeleteControl
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:
DeleteControl
, deleteControl_controlId
- The unique identifier for the control.
Request Lenses
deleteControl_controlId :: Lens' DeleteControl Text Source #
The unique identifier for the control.
Destructuring the Response
data DeleteControlResponse Source #
See: newDeleteControlResponse
smart constructor.
DeleteControlResponse' | |
|
Instances
newDeleteControlResponse Source #
Create a value of DeleteControlResponse
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:httpStatus:DeleteControlResponse'
, deleteControlResponse_httpStatus
- The response's http status code.
Response Lenses
deleteControlResponse_httpStatus :: Lens' DeleteControlResponse Int Source #
The response's http status code.