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 the name and description of a custom action target in Security Hub.
Synopsis
- data UpdateActionTarget = UpdateActionTarget' {
- name :: Maybe Text
- description :: Maybe Text
- actionTargetArn :: Text
- newUpdateActionTarget :: Text -> UpdateActionTarget
- updateActionTarget_name :: Lens' UpdateActionTarget (Maybe Text)
- updateActionTarget_description :: Lens' UpdateActionTarget (Maybe Text)
- updateActionTarget_actionTargetArn :: Lens' UpdateActionTarget Text
- data UpdateActionTargetResponse = UpdateActionTargetResponse' {
- httpStatus :: Int
- newUpdateActionTargetResponse :: Int -> UpdateActionTargetResponse
- updateActionTargetResponse_httpStatus :: Lens' UpdateActionTargetResponse Int
Creating a Request
data UpdateActionTarget Source #
See: newUpdateActionTarget
smart constructor.
UpdateActionTarget' | |
|
Instances
newUpdateActionTarget Source #
Create a value of UpdateActionTarget
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:name:UpdateActionTarget'
, updateActionTarget_name
- The updated name of the custom action target.
$sel:description:UpdateActionTarget'
, updateActionTarget_description
- The updated description for the custom action target.
$sel:actionTargetArn:UpdateActionTarget'
, updateActionTarget_actionTargetArn
- The ARN of the custom action target to update.
Request Lenses
updateActionTarget_name :: Lens' UpdateActionTarget (Maybe Text) Source #
The updated name of the custom action target.
updateActionTarget_description :: Lens' UpdateActionTarget (Maybe Text) Source #
The updated description for the custom action target.
updateActionTarget_actionTargetArn :: Lens' UpdateActionTarget Text Source #
The ARN of the custom action target to update.
Destructuring the Response
data UpdateActionTargetResponse Source #
See: newUpdateActionTargetResponse
smart constructor.
UpdateActionTargetResponse' | |
|
Instances
newUpdateActionTargetResponse Source #
Create a value of UpdateActionTargetResponse
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:UpdateActionTargetResponse'
, updateActionTargetResponse_httpStatus
- The response's http status code.
Response Lenses
updateActionTargetResponse_httpStatus :: Lens' UpdateActionTargetResponse Int Source #
The response's http status code.