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 |
Cancels a mitigation action task that is in progress. If the task is not in progress, an InvalidRequestException occurs.
Requires permission to access the CancelAuditMitigationActionsTask action.
Synopsis
- data CancelAuditMitigationActionsTask = CancelAuditMitigationActionsTask' {}
- newCancelAuditMitigationActionsTask :: Text -> CancelAuditMitigationActionsTask
- cancelAuditMitigationActionsTask_taskId :: Lens' CancelAuditMitigationActionsTask Text
- data CancelAuditMitigationActionsTaskResponse = CancelAuditMitigationActionsTaskResponse' {
- httpStatus :: Int
- newCancelAuditMitigationActionsTaskResponse :: Int -> CancelAuditMitigationActionsTaskResponse
- cancelAuditMitigationActionsTaskResponse_httpStatus :: Lens' CancelAuditMitigationActionsTaskResponse Int
Creating a Request
data CancelAuditMitigationActionsTask Source #
See: newCancelAuditMitigationActionsTask
smart constructor.
Instances
newCancelAuditMitigationActionsTask Source #
Create a value of CancelAuditMitigationActionsTask
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:taskId:CancelAuditMitigationActionsTask'
, cancelAuditMitigationActionsTask_taskId
- The unique identifier for the task that you want to cancel.
Request Lenses
cancelAuditMitigationActionsTask_taskId :: Lens' CancelAuditMitigationActionsTask Text Source #
The unique identifier for the task that you want to cancel.
Destructuring the Response
data CancelAuditMitigationActionsTaskResponse Source #
See: newCancelAuditMitigationActionsTaskResponse
smart constructor.
CancelAuditMitigationActionsTaskResponse' | |
|
Instances
newCancelAuditMitigationActionsTaskResponse Source #
Create a value of CancelAuditMitigationActionsTaskResponse
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:CancelAuditMitigationActionsTaskResponse'
, cancelAuditMitigationActionsTaskResponse_httpStatus
- The response's http status code.
Response Lenses
cancelAuditMitigationActionsTaskResponse_httpStatus :: Lens' CancelAuditMitigationActionsTaskResponse Int Source #
The response's http status code.