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 |
X-Ray reevaluates insights periodically until they're resolved, and records each intermediate state as an event. You can review an insight's events in the Impact Timeline on the Inspect page in the X-Ray console.
Synopsis
- data GetInsightEvents = GetInsightEvents' {}
- newGetInsightEvents :: Text -> GetInsightEvents
- getInsightEvents_nextToken :: Lens' GetInsightEvents (Maybe Text)
- getInsightEvents_maxResults :: Lens' GetInsightEvents (Maybe Natural)
- getInsightEvents_insightId :: Lens' GetInsightEvents Text
- data GetInsightEventsResponse = GetInsightEventsResponse' {
- insightEvents :: Maybe [InsightEvent]
- nextToken :: Maybe Text
- httpStatus :: Int
- newGetInsightEventsResponse :: Int -> GetInsightEventsResponse
- getInsightEventsResponse_insightEvents :: Lens' GetInsightEventsResponse (Maybe [InsightEvent])
- getInsightEventsResponse_nextToken :: Lens' GetInsightEventsResponse (Maybe Text)
- getInsightEventsResponse_httpStatus :: Lens' GetInsightEventsResponse Int
Creating a Request
data GetInsightEvents Source #
See: newGetInsightEvents
smart constructor.
GetInsightEvents' | |
|
Instances
Create a value of GetInsightEvents
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:GetInsightEvents'
, getInsightEvents_nextToken
- Specify the pagination token returned by a previous request to retrieve
the next page of events.
$sel:maxResults:GetInsightEvents'
, getInsightEvents_maxResults
- Used to retrieve at most the specified value of events.
$sel:insightId:GetInsightEvents'
, getInsightEvents_insightId
- The insight's unique identifier. Use the GetInsightSummaries action to
retrieve an InsightId.
Request Lenses
getInsightEvents_nextToken :: Lens' GetInsightEvents (Maybe Text) Source #
Specify the pagination token returned by a previous request to retrieve the next page of events.
getInsightEvents_maxResults :: Lens' GetInsightEvents (Maybe Natural) Source #
Used to retrieve at most the specified value of events.
getInsightEvents_insightId :: Lens' GetInsightEvents Text Source #
The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.
Destructuring the Response
data GetInsightEventsResponse Source #
See: newGetInsightEventsResponse
smart constructor.
GetInsightEventsResponse' | |
|
Instances
newGetInsightEventsResponse Source #
Create a value of GetInsightEventsResponse
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:insightEvents:GetInsightEventsResponse'
, getInsightEventsResponse_insightEvents
- A detailed description of the event. This includes the time of the
event, client and root cause impact statistics, and the top anomalous
service at the time of the event.
$sel:nextToken:GetInsightEvents'
, getInsightEventsResponse_nextToken
- Use this token to retrieve the next page of insight events.
$sel:httpStatus:GetInsightEventsResponse'
, getInsightEventsResponse_httpStatus
- The response's http status code.
Response Lenses
getInsightEventsResponse_insightEvents :: Lens' GetInsightEventsResponse (Maybe [InsightEvent]) Source #
A detailed description of the event. This includes the time of the event, client and root cause impact statistics, and the top anomalous service at the time of the event.
getInsightEventsResponse_nextToken :: Lens' GetInsightEventsResponse (Maybe Text) Source #
Use this token to retrieve the next page of insight events.
getInsightEventsResponse_httpStatus :: Lens' GetInsightEventsResponse Int Source #
The response's http status code.