libZSservicesZSamazonka-xrayZSamazonka-xray
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.XRay.GetInsightEvents

Description

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

Creating a Request

data GetInsightEvents Source #

See: newGetInsightEvents smart constructor.

Constructors

GetInsightEvents' 

Fields

  • nextToken :: Maybe Text

    Specify the pagination token returned by a previous request to retrieve the next page of events.

  • maxResults :: Maybe Natural

    Used to retrieve at most the specified value of events.

  • insightId :: Text

    The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.

Instances

Instances details
Eq GetInsightEvents Source # 
Instance details

Defined in Amazonka.XRay.GetInsightEvents

Read GetInsightEvents Source # 
Instance details

Defined in Amazonka.XRay.GetInsightEvents

Show GetInsightEvents Source # 
Instance details

Defined in Amazonka.XRay.GetInsightEvents

Generic GetInsightEvents Source # 
Instance details

Defined in Amazonka.XRay.GetInsightEvents

Associated Types

type Rep GetInsightEvents :: Type -> Type #

NFData GetInsightEvents Source # 
Instance details

Defined in Amazonka.XRay.GetInsightEvents

Methods

rnf :: GetInsightEvents -> () #

Hashable GetInsightEvents Source # 
Instance details

Defined in Amazonka.XRay.GetInsightEvents

ToJSON GetInsightEvents Source # 
Instance details

Defined in Amazonka.XRay.GetInsightEvents

AWSRequest GetInsightEvents Source # 
Instance details

Defined in Amazonka.XRay.GetInsightEvents

Associated Types

type AWSResponse GetInsightEvents #

ToHeaders GetInsightEvents Source # 
Instance details

Defined in Amazonka.XRay.GetInsightEvents

ToPath GetInsightEvents Source # 
Instance details

Defined in Amazonka.XRay.GetInsightEvents

ToQuery GetInsightEvents Source # 
Instance details

Defined in Amazonka.XRay.GetInsightEvents

type Rep GetInsightEvents Source # 
Instance details

Defined in Amazonka.XRay.GetInsightEvents

type Rep GetInsightEvents = D1 ('MetaData "GetInsightEvents" "Amazonka.XRay.GetInsightEvents" "libZSservicesZSamazonka-xrayZSamazonka-xray" 'False) (C1 ('MetaCons "GetInsightEvents'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "insightId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetInsightEvents Source # 
Instance details

Defined in Amazonka.XRay.GetInsightEvents

newGetInsightEvents Source #

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.

Constructors

GetInsightEventsResponse' 

Fields

  • insightEvents :: Maybe [InsightEvent]

    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.

  • nextToken :: Maybe Text

    Use this token to retrieve the next page of insight events.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetInsightEventsResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightEvents

Read GetInsightEventsResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightEvents

Show GetInsightEventsResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightEvents

Generic GetInsightEventsResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightEvents

Associated Types

type Rep GetInsightEventsResponse :: Type -> Type #

NFData GetInsightEventsResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightEvents

type Rep GetInsightEventsResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightEvents

type Rep GetInsightEventsResponse = D1 ('MetaData "GetInsightEventsResponse" "Amazonka.XRay.GetInsightEvents" "libZSservicesZSamazonka-xrayZSamazonka-xray" 'False) (C1 ('MetaCons "GetInsightEventsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "insightEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InsightEvent])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.