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 |
Returns a list of the events emitted by the resources that are evaluated by DevOps Guru. You can use filters to specify which events are returned.
This operation returns paginated results.
Synopsis
- data ListEvents = ListEvents' {}
- newListEvents :: ListEventsFilters -> ListEvents
- listEvents_nextToken :: Lens' ListEvents (Maybe Text)
- listEvents_maxResults :: Lens' ListEvents (Maybe Natural)
- listEvents_filters :: Lens' ListEvents ListEventsFilters
- data ListEventsResponse = ListEventsResponse' {}
- newListEventsResponse :: Int -> ListEventsResponse
- listEventsResponse_nextToken :: Lens' ListEventsResponse (Maybe Text)
- listEventsResponse_httpStatus :: Lens' ListEventsResponse Int
- listEventsResponse_events :: Lens' ListEventsResponse [Event]
Creating a Request
data ListEvents Source #
See: newListEvents
smart constructor.
ListEvents' | |
|
Instances
Create a value of ListEvents
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:nextToken:ListEvents'
, listEvents_nextToken
- The pagination token to use to retrieve the next page of results for
this operation. If this value is null, it retrieves the first page.
$sel:maxResults:ListEvents'
, listEvents_maxResults
- The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
$sel:filters:ListEvents'
, listEvents_filters
- A ListEventsFilters
object used to specify which events to return.
Request Lenses
listEvents_nextToken :: Lens' ListEvents (Maybe Text) Source #
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
listEvents_maxResults :: Lens' ListEvents (Maybe Natural) Source #
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
listEvents_filters :: Lens' ListEvents ListEventsFilters Source #
A ListEventsFilters
object used to specify which events to return.
Destructuring the Response
data ListEventsResponse Source #
See: newListEventsResponse
smart constructor.
Instances
newListEventsResponse Source #
Create a value of ListEventsResponse
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:nextToken:ListEvents'
, listEventsResponse_nextToken
- The pagination token to use to retrieve the next page of results for
this operation. If there are no more pages, this value is null.
$sel:httpStatus:ListEventsResponse'
, listEventsResponse_httpStatus
- The response's http status code.
$sel:events:ListEventsResponse'
, listEventsResponse_events
- A list of the requested events.
Response Lenses
listEventsResponse_nextToken :: Lens' ListEventsResponse (Maybe Text) Source #
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
listEventsResponse_httpStatus :: Lens' ListEventsResponse Int Source #
The response's http status code.
listEventsResponse_events :: Lens' ListEventsResponse [Event] Source #
A list of the requested events.