| 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 |
Amazonka.AuditManager.DeleteControl
Description
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.
Constructors
| DeleteControl' | |
Instances
Arguments
| :: Text | |
| -> DeleteControl |
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:
$sel:controlId:DeleteControl', deleteControl_controlId - The identifier for the specified control.
Request Lenses
deleteControl_controlId :: Lens' DeleteControl Text Source #
The identifier for the specified control.
Destructuring the Response
data DeleteControlResponse Source #
See: newDeleteControlResponse smart constructor.
Constructors
| DeleteControlResponse' | |
Fields
| |
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.