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 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_event :: Lens' CreateEventActionResponse (Maybe Event)
- createEventActionResponse_arn :: Lens' CreateEventActionResponse (Maybe Text)
- createEventActionResponse_createdAt :: Lens' CreateEventActionResponse (Maybe UTCTime)
- createEventActionResponse_action :: Lens' CreateEventActionResponse (Maybe Action)
- createEventActionResponse_id :: Lens' CreateEventActionResponse (Maybe Text)
- createEventActionResponse_updatedAt :: Lens' CreateEventActionResponse (Maybe UTCTime)
- createEventActionResponse_httpStatus :: Lens' CreateEventActionResponse Int
Creating a Request
data CreateEventAction Source #
The request body for CreateEventAction.
See: newCreateEventAction
smart constructor.
Instances
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:
$sel:action:CreateEventAction'
, createEventAction_action
- What occurs after a certain event.
$sel: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.
CreateEventActionResponse' | |
|
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:
$sel:event:CreateEventAction'
, createEventActionResponse_event
- What occurs to start an action.
$sel:arn:CreateEventActionResponse'
, createEventActionResponse_arn
- The ARN for the event action.
$sel:createdAt:CreateEventActionResponse'
, createEventActionResponse_createdAt
- The date and time that the event action was created, in ISO 8601 format.
$sel:action:CreateEventAction'
, createEventActionResponse_action
- What occurs after a certain event.
$sel:id:CreateEventActionResponse'
, createEventActionResponse_id
- The unique identifier for the event action.
$sel:updatedAt: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_event :: Lens' CreateEventActionResponse (Maybe Event) Source #
What occurs to start an action.
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_action :: Lens' CreateEventActionResponse (Maybe Action) Source #
What occurs after a certain event.
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.