| 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.CreateEventAction
Description
This operation creates an event action.
Synopsis
- data CreateEventAction = CreateEventAction' {}
- newCreateEventAction :: Action -> Event -> CreateEventAction
- createEventAction_action :: Lens' CreateEventAction Action
- createEventAction_event :: Lens' CreateEventAction Event
- data CreateEventActionResponse = CreateEventActionResponse' {}
- newCreateEventActionResponse :: Int -> CreateEventActionResponse
- createEventActionResponse_action :: Lens' CreateEventActionResponse (Maybe Action)
- createEventActionResponse_arn :: Lens' CreateEventActionResponse (Maybe Text)
- createEventActionResponse_createdAt :: Lens' CreateEventActionResponse (Maybe UTCTime)
- createEventActionResponse_event :: Lens' CreateEventActionResponse (Maybe Event)
- createEventActionResponse_id :: Lens' CreateEventActionResponse (Maybe Text)
- createEventActionResponse_updatedAt :: Lens' CreateEventActionResponse (Maybe UTCTime)
- createEventActionResponse_httpStatus :: Lens' CreateEventActionResponse Int
Creating a Request
data CreateEventAction Source #
See: newCreateEventAction smart constructor.
Constructors
| CreateEventAction' | |
Instances
Arguments
| :: Action | |
| -> Event | |
| -> CreateEventAction |
Create a value of CreateEventAction 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:
CreateEventAction, createEventAction_action - What occurs after a certain event.
CreateEventAction, createEventAction_event - What occurs to start an action.
Request Lenses
createEventAction_action :: Lens' CreateEventAction Action Source #
What occurs after a certain event.
createEventAction_event :: Lens' CreateEventAction Event Source #
What occurs to start an action.
Destructuring the Response
data CreateEventActionResponse Source #
See: newCreateEventActionResponse smart constructor.
Constructors
| CreateEventActionResponse' | |
Fields
| |
Instances
newCreateEventActionResponse Source #
Create a value of CreateEventActionResponse 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:
CreateEventAction, createEventActionResponse_action - What occurs after a certain event.
CreateEventActionResponse, createEventActionResponse_arn - The ARN for the event action.
CreateEventActionResponse, createEventActionResponse_createdAt - The date and time that the event action was created, in ISO 8601 format.
CreateEventAction, createEventActionResponse_event - What occurs to start an action.
CreateEventActionResponse, createEventActionResponse_id - The unique identifier for the event action.
CreateEventActionResponse, createEventActionResponse_updatedAt - The date and time that the event action was last updated, in ISO 8601
format.
$sel:httpStatus:CreateEventActionResponse', createEventActionResponse_httpStatus - The response's http status code.
Response Lenses
createEventActionResponse_action :: Lens' CreateEventActionResponse (Maybe Action) Source #
What occurs after a certain event.
createEventActionResponse_arn :: Lens' CreateEventActionResponse (Maybe Text) Source #
The ARN for the event action.
createEventActionResponse_createdAt :: Lens' CreateEventActionResponse (Maybe UTCTime) Source #
The date and time that the event action was created, in ISO 8601 format.
createEventActionResponse_event :: Lens' CreateEventActionResponse (Maybe Event) Source #
What occurs to start an action.
createEventActionResponse_id :: Lens' CreateEventActionResponse (Maybe Text) Source #
The unique identifier for the event action.
createEventActionResponse_updatedAt :: Lens' CreateEventActionResponse (Maybe UTCTime) Source #
The date and time that the event action was last updated, in ISO 8601 format.
createEventActionResponse_httpStatus :: Lens' CreateEventActionResponse Int Source #
The response's http status code.