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.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
Eq GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

Read GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

Show GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

Generic GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

Associated Types

type Rep GetInsight :: Type -> Type #

NFData GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

Methods

rnf :: GetInsight -> () #

Hashable GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

ToJSON GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

AWSRequest GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

Associated Types

type AWSResponse 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

type Rep GetInsight Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

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

Defined in Amazonka.XRay.GetInsight

newGetInsight Source #

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:

$sel:insightId: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
Eq GetInsightResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

Read GetInsightResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

Show GetInsightResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

Generic GetInsightResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

Associated Types

type Rep GetInsightResponse :: Type -> Type #

NFData GetInsightResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

Methods

rnf :: GetInsightResponse -> () #

type Rep GetInsightResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsight

type Rep GetInsightResponse = D1 ('MetaData "GetInsightResponse" "Amazonka.XRay.GetInsight" "libZSservicesZSamazonka-xrayZSamazonka-xray" '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.

$sel:httpStatus:GetInsightResponse', getInsightResponse_httpStatus - The response's http status code.

Response Lenses

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

The summary information of an insight.