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 |
This operation updates the event action.
Synopsis
- data UpdateEventAction = UpdateEventAction' {
- action :: Maybe Action
- eventActionId :: Text
- newUpdateEventAction :: Text -> UpdateEventAction
- updateEventAction_action :: Lens' UpdateEventAction (Maybe Action)
- updateEventAction_eventActionId :: Lens' UpdateEventAction Text
- data UpdateEventActionResponse = UpdateEventActionResponse' {}
- newUpdateEventActionResponse :: Int -> UpdateEventActionResponse
- updateEventActionResponse_event :: Lens' UpdateEventActionResponse (Maybe Event)
- updateEventActionResponse_arn :: Lens' UpdateEventActionResponse (Maybe Text)
- updateEventActionResponse_createdAt :: Lens' UpdateEventActionResponse (Maybe UTCTime)
- updateEventActionResponse_action :: Lens' UpdateEventActionResponse (Maybe Action)
- updateEventActionResponse_id :: Lens' UpdateEventActionResponse (Maybe Text)
- updateEventActionResponse_updatedAt :: Lens' UpdateEventActionResponse (Maybe UTCTime)
- updateEventActionResponse_httpStatus :: Lens' UpdateEventActionResponse Int
Creating a Request
data UpdateEventAction Source #
The request body for UpdateEventAction.
See: newUpdateEventAction
smart constructor.
UpdateEventAction' | |
|
Instances
Create a value of UpdateEventAction
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:action:UpdateEventAction'
, updateEventAction_action
- What occurs after a certain event.
$sel:eventActionId:UpdateEventAction'
, updateEventAction_eventActionId
- The unique identifier for the event action.
Request Lenses
updateEventAction_action :: Lens' UpdateEventAction (Maybe Action) Source #
What occurs after a certain event.
updateEventAction_eventActionId :: Lens' UpdateEventAction Text Source #
The unique identifier for the event action.
Destructuring the Response
data UpdateEventActionResponse Source #
See: newUpdateEventActionResponse
smart constructor.
UpdateEventActionResponse' | |
|
Instances
newUpdateEventActionResponse Source #
Create a value of UpdateEventActionResponse
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:event:UpdateEventActionResponse'
, updateEventActionResponse_event
- What occurs to start an action.
$sel:arn:UpdateEventActionResponse'
, updateEventActionResponse_arn
- The ARN for the event action.
$sel:createdAt:UpdateEventActionResponse'
, updateEventActionResponse_createdAt
- The date and time that the event action was created, in ISO 8601 format.
$sel:action:UpdateEventAction'
, updateEventActionResponse_action
- What occurs after a certain event.
$sel:id:UpdateEventActionResponse'
, updateEventActionResponse_id
- The unique identifier for the event action.
$sel:updatedAt:UpdateEventActionResponse'
, updateEventActionResponse_updatedAt
- The date and time that the event action was last updated, in ISO 8601
format.
$sel:httpStatus:UpdateEventActionResponse'
, updateEventActionResponse_httpStatus
- The response's http status code.
Response Lenses
updateEventActionResponse_event :: Lens' UpdateEventActionResponse (Maybe Event) Source #
What occurs to start an action.
updateEventActionResponse_arn :: Lens' UpdateEventActionResponse (Maybe Text) Source #
The ARN for the event action.
updateEventActionResponse_createdAt :: Lens' UpdateEventActionResponse (Maybe UTCTime) Source #
The date and time that the event action was created, in ISO 8601 format.
updateEventActionResponse_action :: Lens' UpdateEventActionResponse (Maybe Action) Source #
What occurs after a certain event.
updateEventActionResponse_id :: Lens' UpdateEventActionResponse (Maybe Text) Source #
The unique identifier for the event action.
updateEventActionResponse_updatedAt :: Lens' UpdateEventActionResponse (Maybe UTCTime) Source #
The date and time that the event action was last updated, in ISO 8601 format.
updateEventActionResponse_httpStatus :: Lens' UpdateEventActionResponse Int Source #
The response's http status code.