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.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
ToJSON GetInsightImpactGraph Source # 
Instance details

Defined in Amazonka.XRay.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

AWSRequest GetInsightImpactGraph Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

Associated Types

type AWSResponse GetInsightImpactGraph #

Generic GetInsightImpactGraph Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

Associated Types

type Rep GetInsightImpactGraph :: Type -> Type #

Read GetInsightImpactGraph Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

Show GetInsightImpactGraph Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

NFData GetInsightImpactGraph Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

Methods

rnf :: GetInsightImpactGraph -> () #

Eq GetInsightImpactGraph Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

Hashable GetInsightImpactGraph Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

type AWSResponse 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" "amazonka-xray-2.0-EVMSPoflqtHB9ZqvEIOE4Q" '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))))

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:

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

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

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.

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
Generic GetInsightImpactGraphResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

Associated Types

type Rep GetInsightImpactGraphResponse :: Type -> Type #

Read GetInsightImpactGraphResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

Show GetInsightImpactGraphResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

NFData GetInsightImpactGraphResponse Source # 
Instance details

Defined in Amazonka.XRay.GetInsightImpactGraph

Eq 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" "amazonka-xray-2.0-EVMSPoflqtHB9ZqvEIOE4Q" 'False) (C1 ('MetaCons "GetInsightImpactGraphResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "endTime") '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 "serviceGraphEndTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "serviceGraphStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "services") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InsightImpactGraphService]))) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: 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:

GetInsightImpactGraph, getInsightImpactGraphResponse_endTime - The provided end time.

GetInsightImpactGraph, getInsightImpactGraphResponse_insightId - The insight's unique identifier.

GetInsightImpactGraph, getInsightImpactGraphResponse_nextToken - Pagination token.

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

$sel:serviceGraphStartTime:GetInsightImpactGraphResponse', getInsightImpactGraphResponse_serviceGraphStartTime - The time, in Unix seconds, at which the service graph started.

GetInsightImpactGraphResponse, getInsightImpactGraphResponse_services - The Amazon Web Services instrumented services related to the insight.

GetInsightImpactGraph, getInsightImpactGraphResponse_startTime - The provided start time.

GetInsightImpactGraphResponse, getInsightImpactGraphResponse_httpStatus - The response's http status code.

Response Lenses

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

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

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

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

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

The Amazon Web Services instrumented services related to the insight.