amazonka-xray-2.0: Amazon X-Ray SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.XRay.GetInsight

Description

Retrieves the summary information of an insight. This includes impact to clients and root cause services, the top anomalous services, the category, the state of the insight, and the start and end time of the insight.

Synopsis

Creating a Request

data GetInsight Source #

See: newGetInsight smart constructor.

Constructors

GetInsight' 

Fields

  • insightId :: Text

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

Instances

Instances details
ToJSON GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

ToHeaders GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

Methods

toHeaders :: GetInsight -> [Header] #

ToPath GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

ToQuery GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

AWSRequest GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

Associated Types

type AWSResponse GetInsight #

Generic GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

Associated Types

type Rep GetInsight :: Type -> Type #

Read GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

Show GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

NFData GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

Methods

rnf :: GetInsight -> () #

Eq GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

Hashable GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

type AWSResponse GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

type Rep GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

type Rep GetInsight = D1 ('MetaData "GetInsight" "Amazonka.XRay.GetInsight" "amazonka-xray-2.0-EVMSPoflqtHB9ZqvEIOE4Q" 'False) (C1 ('MetaCons "GetInsight'" 'PrefixI 'True) (S1 ('MetaSel ('Just "insightId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetInsight Source #

Arguments

:: Text

GetInsight

-> GetInsight 

Create a value of GetInsight 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:

GetInsight, getInsight_insightId - The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.

Request Lenses

getInsight_insightId :: Lens' GetInsight Text Source #

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

Destructuring the Response

data GetInsightResponse Source #

See: newGetInsightResponse smart constructor.

Constructors

GetInsightResponse' 

Fields

Instances

Instances details
Generic GetInsightResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

Associated Types

type Rep GetInsightResponse :: Type -> Type #

Read GetInsightResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

Show GetInsightResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

NFData GetInsightResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

Methods

rnf :: GetInsightResponse -> () #

Eq GetInsightResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

type Rep GetInsightResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

type Rep GetInsightResponse = D1 ('MetaData "GetInsightResponse" "Amazonka.XRay.GetInsight" "amazonka-xray-2.0-EVMSPoflqtHB9ZqvEIOE4Q" 'False) (C1 ('MetaCons "GetInsightResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "insight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Insight)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetInsightResponse Source #

Create a value of GetInsightResponse 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:insight:GetInsightResponse', getInsightResponse_insight - The summary information of an insight.

GetInsightResponse, getInsightResponse_httpStatus - The response's http status code.

Response Lenses

getInsightResponse_insight :: Lens' GetInsightResponse (Maybe Insight) Source #

The summary information of an insight.