| 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.GetEventAction
Description
This operation retrieves information about an event action.
Synopsis
- data GetEventAction = GetEventAction' {}
- newGetEventAction :: Text -> GetEventAction
- getEventAction_eventActionId :: Lens' GetEventAction Text
- data GetEventActionResponse = GetEventActionResponse' {}
- newGetEventActionResponse :: Int -> GetEventActionResponse
- getEventActionResponse_action :: Lens' GetEventActionResponse (Maybe Action)
- getEventActionResponse_arn :: Lens' GetEventActionResponse (Maybe Text)
- getEventActionResponse_createdAt :: Lens' GetEventActionResponse (Maybe UTCTime)
- getEventActionResponse_event :: Lens' GetEventActionResponse (Maybe Event)
- getEventActionResponse_id :: Lens' GetEventActionResponse (Maybe Text)
- getEventActionResponse_updatedAt :: Lens' GetEventActionResponse (Maybe UTCTime)
- getEventActionResponse_httpStatus :: Lens' GetEventActionResponse Int
Creating a Request
data GetEventAction Source #
See: newGetEventAction smart constructor.
Constructors
| GetEventAction' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetEventAction |
Create a value of GetEventAction 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:eventActionId:GetEventAction', getEventAction_eventActionId - The unique identifier for the event action.
Request Lenses
getEventAction_eventActionId :: Lens' GetEventAction Text Source #
The unique identifier for the event action.
Destructuring the Response
data GetEventActionResponse Source #
See: newGetEventActionResponse smart constructor.
Constructors
| GetEventActionResponse' | |
Fields
| |
Instances
newGetEventActionResponse Source #
Create a value of GetEventActionResponse 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:
GetEventActionResponse, getEventActionResponse_action - What occurs after a certain event.
GetEventActionResponse, getEventActionResponse_arn - The ARN for the event action.
GetEventActionResponse, getEventActionResponse_createdAt - The date and time that the event action was created, in ISO 8601 format.
GetEventActionResponse, getEventActionResponse_event - What occurs to start an action.
GetEventActionResponse, getEventActionResponse_id - The unique identifier for the event action.
GetEventActionResponse, getEventActionResponse_updatedAt - The date and time that the event action was last updated, in ISO 8601
format.
$sel:httpStatus:GetEventActionResponse', getEventActionResponse_httpStatus - The response's http status code.
Response Lenses
getEventActionResponse_action :: Lens' GetEventActionResponse (Maybe Action) Source #
What occurs after a certain event.
getEventActionResponse_arn :: Lens' GetEventActionResponse (Maybe Text) Source #
The ARN for the event action.
getEventActionResponse_createdAt :: Lens' GetEventActionResponse (Maybe UTCTime) Source #
The date and time that the event action was created, in ISO 8601 format.
getEventActionResponse_event :: Lens' GetEventActionResponse (Maybe Event) Source #
What occurs to start an action.
getEventActionResponse_id :: Lens' GetEventActionResponse (Maybe Text) Source #
The unique identifier for the event action.
getEventActionResponse_updatedAt :: Lens' GetEventActionResponse (Maybe UTCTime) Source #
The date and time that the event action was last updated, in ISO 8601 format.
getEventActionResponse_httpStatus :: Lens' GetEventActionResponse Int Source #
The response's http status code.