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.GetInsightImpactGraph

Description

Retrieves a service graph structure filtered by the specified insight. The service graph is limited to only structural information. For a complete service graph, use this API with the GetServiceGraph API.

Synopsis

Creating a Request

data GetInsightImpactGraph Source #

See: newGetInsightImpactGraph smart constructor.

Constructors

GetInsightImpactGraph' 

Fields

  • nextToken :: Maybe Text

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

  • insightId :: Text

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

  • startTime :: POSIX

    The estimated start time of the insight, in Unix time seconds. The StartTime is inclusive of the value provided and can't be more than 30 days old.

  • endTime :: POSIX

    The estimated end time of the insight, in Unix time seconds. The EndTime is exclusive of the value provided. The time range between the start time and end time can't be more than six hours.

Instances

Instances details
Eq GetInsightImpactGraph Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

Read GetInsightImpactGraph Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

Show GetInsightImpactGraph Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

Generic GetInsightImpactGraph Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

Associated Types

type Rep GetInsightImpactGraph :: Type -> Type #

NFData GetInsightImpactGraph Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

Methods

rnf :: GetInsightImpactGraph -> () #

Hashable GetInsightImpactGraph Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

ToJSON GetInsightImpactGraph Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

AWSRequest GetInsightImpactGraph Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

Associated Types

type AWSResponse GetInsightImpactGraph #

ToHeaders GetInsightImpactGraph Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

ToPath GetInsightImpactGraph Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

ToQuery GetInsightImpactGraph Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

type Rep GetInsightImpactGraph Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

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

Defined in Amazonka.XRay.GetInsightImpactGraph

newGetInsightImpactGraph Source #

Create a value of GetInsightImpactGraph 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:GetInsightImpactGraph', getInsightImpactGraph_nextToken - Specify the pagination token returned by a previous request to retrieve the next page of results.

$sel:insightId:GetInsightImpactGraph', getInsightImpactGraph_insightId - The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.

$sel:startTime:GetInsightImpactGraph', getInsightImpactGraph_startTime - The estimated start time of the insight, in Unix time seconds. The StartTime is inclusive of the value provided and can't be more than 30 days old.

$sel:endTime:GetInsightImpactGraph', getInsightImpactGraph_endTime - The estimated end time of the insight, in Unix time seconds. The EndTime is exclusive of the value provided. The time range between the start time and end time can't be more than six hours.

Request Lenses

getInsightImpactGraph_nextToken :: Lens' GetInsightImpactGraph (Maybe Text) Source #

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

getInsightImpactGraph_insightId :: Lens' GetInsightImpactGraph Text Source #

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

getInsightImpactGraph_startTime :: Lens' GetInsightImpactGraph UTCTime Source #

The estimated start time of the insight, in Unix time seconds. The StartTime is inclusive of the value provided and can't be more than 30 days old.

getInsightImpactGraph_endTime :: Lens' GetInsightImpactGraph UTCTime Source #

The estimated end time of the insight, in Unix time seconds. The EndTime is exclusive of the value provided. The time range between the start time and end time can't be more than six hours.

Destructuring the Response

data GetInsightImpactGraphResponse Source #

See: newGetInsightImpactGraphResponse smart constructor.

Constructors

GetInsightImpactGraphResponse' 

Fields

Instances

Instances details
Eq GetInsightImpactGraphResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

Read GetInsightImpactGraphResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

Show GetInsightImpactGraphResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

Generic GetInsightImpactGraphResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

Associated Types

type Rep GetInsightImpactGraphResponse :: Type -> Type #

NFData GetInsightImpactGraphResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

type Rep GetInsightImpactGraphResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

type Rep GetInsightImpactGraphResponse = D1 ('MetaData "GetInsightImpactGraphResponse" "Amazonka.XRay.GetInsightImpactGraph" "libZSservicesZSamazonka-xrayZSamazonka-xray" 'False) (C1 ('MetaCons "GetInsightImpactGraphResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "serviceGraphStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "insightId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "serviceGraphEndTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "services") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InsightImpactGraphService])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetInsightImpactGraphResponse Source #

Create a value of GetInsightImpactGraphResponse 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:serviceGraphStartTime:GetInsightImpactGraphResponse', getInsightImpactGraphResponse_serviceGraphStartTime - The time, in Unix seconds, at which the service graph started.

$sel:startTime:GetInsightImpactGraph', getInsightImpactGraphResponse_startTime - The provided start time.

$sel:insightId:GetInsightImpactGraph', getInsightImpactGraphResponse_insightId - The insight's unique identifier.

$sel:nextToken:GetInsightImpactGraph', getInsightImpactGraphResponse_nextToken - Pagination token.

$sel:endTime:GetInsightImpactGraph', getInsightImpactGraphResponse_endTime - The provided end time.

$sel:serviceGraphEndTime:GetInsightImpactGraphResponse', getInsightImpactGraphResponse_serviceGraphEndTime - The time, in Unix seconds, at which the service graph ended.

$sel:services:GetInsightImpactGraphResponse', getInsightImpactGraphResponse_services - The Amazon Web Services instrumented services related to the insight.

$sel:httpStatus:GetInsightImpactGraphResponse', getInsightImpactGraphResponse_httpStatus - The response's http status code.

Response Lenses

getInsightImpactGraphResponse_serviceGraphStartTime :: Lens' GetInsightImpactGraphResponse (Maybe UTCTime) Source #

The time, in Unix seconds, at which the service graph started.

getInsightImpactGraphResponse_serviceGraphEndTime :: Lens' GetInsightImpactGraphResponse (Maybe UTCTime) Source #

The time, in Unix seconds, at which the service graph ended.

getInsightImpactGraphResponse_services :: Lens' GetInsightImpactGraphResponse (Maybe [InsightImpactGraphService]) Source #

The Amazon Web Services instrumented services related to the insight.