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 |
Deletes a custom action target from Security Hub.
Deleting a custom action target does not affect any findings or insights that were already sent to Amazon CloudWatch Events using the custom action.
Synopsis
- data DeleteActionTarget = DeleteActionTarget' {}
- newDeleteActionTarget :: Text -> DeleteActionTarget
- deleteActionTarget_actionTargetArn :: Lens' DeleteActionTarget Text
- data DeleteActionTargetResponse = DeleteActionTargetResponse' {
- httpStatus :: Int
- actionTargetArn :: Text
- newDeleteActionTargetResponse :: Int -> Text -> DeleteActionTargetResponse
- deleteActionTargetResponse_httpStatus :: Lens' DeleteActionTargetResponse Int
- deleteActionTargetResponse_actionTargetArn :: Lens' DeleteActionTargetResponse Text
Creating a Request
data DeleteActionTarget Source #
See: newDeleteActionTarget
smart constructor.
DeleteActionTarget' | |
|
Instances
newDeleteActionTarget Source #
Create a value of DeleteActionTarget
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:actionTargetArn:DeleteActionTarget'
, deleteActionTarget_actionTargetArn
- The ARN of the custom action target to delete.
Request Lenses
deleteActionTarget_actionTargetArn :: Lens' DeleteActionTarget Text Source #
The ARN of the custom action target to delete.
Destructuring the Response
data DeleteActionTargetResponse Source #
See: newDeleteActionTargetResponse
smart constructor.
DeleteActionTargetResponse' | |
|
Instances
newDeleteActionTargetResponse Source #
:: Int | |
-> Text | |
-> DeleteActionTargetResponse |
Create a value of DeleteActionTargetResponse
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:DeleteActionTargetResponse'
, deleteActionTargetResponse_httpStatus
- The response's http status code.
$sel:actionTargetArn:DeleteActionTarget'
, deleteActionTargetResponse_actionTargetArn
- The ARN of the custom action target that was deleted.
Response Lenses
deleteActionTargetResponse_httpStatus :: Lens' DeleteActionTargetResponse Int Source #
The response's http status code.
deleteActionTargetResponse_actionTargetArn :: Lens' DeleteActionTargetResponse Text Source #
The ARN of the custom action target that was deleted.