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 lists your event actions.
This operation returns paginated results.
Synopsis
- data ListEventActions = ListEventActions' {}
- newListEventActions :: ListEventActions
- listEventActions_eventSourceId :: Lens' ListEventActions (Maybe Text)
- listEventActions_nextToken :: Lens' ListEventActions (Maybe Text)
- listEventActions_maxResults :: Lens' ListEventActions (Maybe Natural)
- data ListEventActionsResponse = ListEventActionsResponse' {
- eventActions :: Maybe [EventActionEntry]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListEventActionsResponse :: Int -> ListEventActionsResponse
- listEventActionsResponse_eventActions :: Lens' ListEventActionsResponse (Maybe [EventActionEntry])
- listEventActionsResponse_nextToken :: Lens' ListEventActionsResponse (Maybe Text)
- listEventActionsResponse_httpStatus :: Lens' ListEventActionsResponse Int
Creating a Request
data ListEventActions Source #
See: newListEventActions
smart constructor.
ListEventActions' | |
|
Instances
newListEventActions :: ListEventActions Source #
Create a value of ListEventActions
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:eventSourceId:ListEventActions'
, listEventActions_eventSourceId
- The unique identifier for the event source.
$sel:nextToken:ListEventActions'
, listEventActions_nextToken
- The token value retrieved from a previous call to access the next page
of results.
$sel:maxResults:ListEventActions'
, listEventActions_maxResults
- The maximum number of results returned by a single call.
Request Lenses
listEventActions_eventSourceId :: Lens' ListEventActions (Maybe Text) Source #
The unique identifier for the event source.
listEventActions_nextToken :: Lens' ListEventActions (Maybe Text) Source #
The token value retrieved from a previous call to access the next page of results.
listEventActions_maxResults :: Lens' ListEventActions (Maybe Natural) Source #
The maximum number of results returned by a single call.
Destructuring the Response
data ListEventActionsResponse Source #
See: newListEventActionsResponse
smart constructor.
ListEventActionsResponse' | |
|
Instances
newListEventActionsResponse Source #
Create a value of ListEventActionsResponse
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:eventActions:ListEventActionsResponse'
, listEventActionsResponse_eventActions
- The event action objects listed by the request.
$sel:nextToken:ListEventActions'
, listEventActionsResponse_nextToken
- The token value retrieved from a previous call to access the next page
of results.
$sel:httpStatus:ListEventActionsResponse'
, listEventActionsResponse_httpStatus
- The response's http status code.
Response Lenses
listEventActionsResponse_eventActions :: Lens' ListEventActionsResponse (Maybe [EventActionEntry]) Source #
The event action objects listed by the request.
listEventActionsResponse_nextToken :: Lens' ListEventActionsResponse (Maybe Text) Source #
The token value retrieved from a previous call to access the next page of results.
listEventActionsResponse_httpStatus :: Lens' ListEventActionsResponse Int Source #
The response's http status code.