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 |
Lists timeline events of the specified incident record.
This operation returns paginated results.
Synopsis
- data ListTimelineEvents = ListTimelineEvents' {}
- newListTimelineEvents :: Text -> ListTimelineEvents
- listTimelineEvents_filters :: Lens' ListTimelineEvents (Maybe [Filter])
- listTimelineEvents_sortOrder :: Lens' ListTimelineEvents (Maybe SortOrder)
- listTimelineEvents_nextToken :: Lens' ListTimelineEvents (Maybe Text)
- listTimelineEvents_maxResults :: Lens' ListTimelineEvents (Maybe Natural)
- listTimelineEvents_sortBy :: Lens' ListTimelineEvents (Maybe TimelineEventSort)
- listTimelineEvents_incidentRecordArn :: Lens' ListTimelineEvents Text
- data ListTimelineEventsResponse = ListTimelineEventsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- eventSummaries :: [EventSummary]
- newListTimelineEventsResponse :: Int -> ListTimelineEventsResponse
- listTimelineEventsResponse_nextToken :: Lens' ListTimelineEventsResponse (Maybe Text)
- listTimelineEventsResponse_httpStatus :: Lens' ListTimelineEventsResponse Int
- listTimelineEventsResponse_eventSummaries :: Lens' ListTimelineEventsResponse [EventSummary]
Creating a Request
data ListTimelineEvents Source #
See: newListTimelineEvents
smart constructor.
ListTimelineEvents' | |
|
Instances
newListTimelineEvents Source #
Create a value of ListTimelineEvents
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:filters:ListTimelineEvents'
, listTimelineEvents_filters
- Filters the timeline events based on the provided conditional values.
You can filter timeline events using the following keys:
eventTime
eventType
$sel:sortOrder:ListTimelineEvents'
, listTimelineEvents_sortOrder
- Sorts the order of timeline events by the value specified in the
sortBy
field.
$sel:nextToken:ListTimelineEvents'
, listTimelineEvents_nextToken
- The pagination token to continue to the next page of results.
$sel:maxResults:ListTimelineEvents'
, listTimelineEvents_maxResults
- The maximum number of results per page.
$sel:sortBy:ListTimelineEvents'
, listTimelineEvents_sortBy
- Sort by the specified key value pair.
$sel:incidentRecordArn:ListTimelineEvents'
, listTimelineEvents_incidentRecordArn
- The Amazon Resource Name (ARN) of the incident that the event is part
of.
Request Lenses
listTimelineEvents_filters :: Lens' ListTimelineEvents (Maybe [Filter]) Source #
Filters the timeline events based on the provided conditional values. You can filter timeline events using the following keys:
eventTime
eventType
listTimelineEvents_sortOrder :: Lens' ListTimelineEvents (Maybe SortOrder) Source #
Sorts the order of timeline events by the value specified in the
sortBy
field.
listTimelineEvents_nextToken :: Lens' ListTimelineEvents (Maybe Text) Source #
The pagination token to continue to the next page of results.
listTimelineEvents_maxResults :: Lens' ListTimelineEvents (Maybe Natural) Source #
The maximum number of results per page.
listTimelineEvents_sortBy :: Lens' ListTimelineEvents (Maybe TimelineEventSort) Source #
Sort by the specified key value pair.
listTimelineEvents_incidentRecordArn :: Lens' ListTimelineEvents Text Source #
The Amazon Resource Name (ARN) of the incident that the event is part of.
Destructuring the Response
data ListTimelineEventsResponse Source #
See: newListTimelineEventsResponse
smart constructor.
ListTimelineEventsResponse' | |
|
Instances
newListTimelineEventsResponse Source #
Create a value of ListTimelineEventsResponse
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:ListTimelineEvents'
, listTimelineEventsResponse_nextToken
- The pagination token to continue to the next page of results.
$sel:httpStatus:ListTimelineEventsResponse'
, listTimelineEventsResponse_httpStatus
- The response's http status code.
$sel:eventSummaries:ListTimelineEventsResponse'
, listTimelineEventsResponse_eventSummaries
- Details about each event that occurred during the incident.
Response Lenses
listTimelineEventsResponse_nextToken :: Lens' ListTimelineEventsResponse (Maybe Text) Source #
The pagination token to continue to the next page of results.
listTimelineEventsResponse_httpStatus :: Lens' ListTimelineEventsResponse Int Source #
The response's http status code.
listTimelineEventsResponse_eventSummaries :: Lens' ListTimelineEventsResponse [EventSummary] Source #
Details about each event that occurred during the incident.