| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.DataExchange.UpdateEventAction
Description
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_action :: Lens' UpdateEventActionResponse (Maybe Action)
 - updateEventActionResponse_arn :: Lens' UpdateEventActionResponse (Maybe Text)
 - updateEventActionResponse_createdAt :: Lens' UpdateEventActionResponse (Maybe UTCTime)
 - updateEventActionResponse_event :: Lens' UpdateEventActionResponse (Maybe Event)
 - updateEventActionResponse_id :: Lens' UpdateEventActionResponse (Maybe Text)
 - updateEventActionResponse_updatedAt :: Lens' UpdateEventActionResponse (Maybe UTCTime)
 - updateEventActionResponse_httpStatus :: Lens' UpdateEventActionResponse Int
 
Creating a Request
data UpdateEventAction Source #
See: newUpdateEventAction smart constructor.
Constructors
| UpdateEventAction' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> UpdateEventAction | 
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:
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.
Constructors
| UpdateEventActionResponse' | |
Fields 
  | |
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:
UpdateEventAction, updateEventActionResponse_action - What occurs after a certain event.
UpdateEventActionResponse, updateEventActionResponse_arn - The ARN for the event action.
UpdateEventActionResponse, updateEventActionResponse_createdAt - The date and time that the event action was created, in ISO 8601 format.
UpdateEventActionResponse, updateEventActionResponse_event - What occurs to start an action.
UpdateEventActionResponse, updateEventActionResponse_id - The unique identifier for the event action.
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_action :: Lens' UpdateEventActionResponse (Maybe Action) Source #
What occurs after a certain event.
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_event :: Lens' UpdateEventActionResponse (Maybe Event) Source #
What occurs to start an action.
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.