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

Description

Retrieves a document that describes services that process incoming requests, and downstream services that they call as a result. Root services process incoming requests and make calls to downstream services. Root services are applications that use the Amazon Web Services X-Ray SDK. Downstream services can be other applications, Amazon Web Services resources, HTTP web APIs, or SQL databases.

This operation returns paginated results.

Synopsis

Creating a Request

data GetServiceGraph Source #

See: newGetServiceGraph smart constructor.

Constructors

GetServiceGraph' 

Fields

Instances

Instances details
ToJSON GetServiceGraph Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

ToHeaders GetServiceGraph Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

ToPath GetServiceGraph Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

ToQuery GetServiceGraph Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

AWSPager GetServiceGraph Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

AWSRequest GetServiceGraph Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

Associated Types

type AWSResponse GetServiceGraph #

Generic GetServiceGraph Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

Associated Types

type Rep GetServiceGraph :: Type -> Type #

Read GetServiceGraph Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

Show GetServiceGraph Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

NFData GetServiceGraph Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

Methods

rnf :: GetServiceGraph -> () #

Eq GetServiceGraph Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

Hashable GetServiceGraph Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

type AWSResponse GetServiceGraph Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

type Rep GetServiceGraph Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

type Rep GetServiceGraph = D1 ('MetaData "GetServiceGraph" "Amazonka.XRay.GetServiceGraph" "amazonka-xray-2.0-EVMSPoflqtHB9ZqvEIOE4Q" 'False) (C1 ('MetaCons "GetServiceGraph'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "groupARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))))

newGetServiceGraph Source #

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

GetServiceGraph, getServiceGraph_groupARN - The Amazon Resource Name (ARN) of a group based on which you want to generate a graph.

GetServiceGraph, getServiceGraph_groupName - The name of a group based on which you want to generate a graph.

GetServiceGraph, getServiceGraph_nextToken - Pagination token.

GetServiceGraph, getServiceGraph_startTime - The start of the time frame for which to generate a graph.

GetServiceGraph, getServiceGraph_endTime - The end of the timeframe for which to generate a graph.

Request Lenses

getServiceGraph_groupARN :: Lens' GetServiceGraph (Maybe Text) Source #

The Amazon Resource Name (ARN) of a group based on which you want to generate a graph.

getServiceGraph_groupName :: Lens' GetServiceGraph (Maybe Text) Source #

The name of a group based on which you want to generate a graph.

getServiceGraph_startTime :: Lens' GetServiceGraph UTCTime Source #

The start of the time frame for which to generate a graph.

getServiceGraph_endTime :: Lens' GetServiceGraph UTCTime Source #

The end of the timeframe for which to generate a graph.

Destructuring the Response

data GetServiceGraphResponse Source #

See: newGetServiceGraphResponse smart constructor.

Constructors

GetServiceGraphResponse' 

Fields

Instances

Instances details
Generic GetServiceGraphResponse Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

Associated Types

type Rep GetServiceGraphResponse :: Type -> Type #

Read GetServiceGraphResponse Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

Show GetServiceGraphResponse Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

NFData GetServiceGraphResponse Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

Methods

rnf :: GetServiceGraphResponse -> () #

Eq GetServiceGraphResponse Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

type Rep GetServiceGraphResponse Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

type Rep GetServiceGraphResponse = D1 ('MetaData "GetServiceGraphResponse" "Amazonka.XRay.GetServiceGraph" "amazonka-xray-2.0-EVMSPoflqtHB9ZqvEIOE4Q" 'False) (C1 ('MetaCons "GetServiceGraphResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "containsOldGroupVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "services") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ServiceInfo])) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetServiceGraphResponse Source #

Create a value of GetServiceGraphResponse 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:containsOldGroupVersions:GetServiceGraphResponse', getServiceGraphResponse_containsOldGroupVersions - A flag indicating whether the group's filter expression has been consistent, or if the returned service graph may show traces from an older version of the group's filter expression.

GetServiceGraph, getServiceGraphResponse_endTime - The end of the time frame for which the graph was generated.

GetServiceGraph, getServiceGraphResponse_nextToken - Pagination token.

GetServiceGraphResponse, getServiceGraphResponse_services - The services that have processed a traced request during the specified time frame.

GetServiceGraph, getServiceGraphResponse_startTime - The start of the time frame for which the graph was generated.

GetServiceGraphResponse, getServiceGraphResponse_httpStatus - The response's http status code.

Response Lenses

getServiceGraphResponse_containsOldGroupVersions :: Lens' GetServiceGraphResponse (Maybe Bool) Source #

A flag indicating whether the group's filter expression has been consistent, or if the returned service graph may show traces from an older version of the group's filter expression.

getServiceGraphResponse_endTime :: Lens' GetServiceGraphResponse (Maybe UTCTime) Source #

The end of the time frame for which the graph was generated.

getServiceGraphResponse_services :: Lens' GetServiceGraphResponse (Maybe [ServiceInfo]) Source #

The services that have processed a traced request during the specified time frame.

getServiceGraphResponse_startTime :: Lens' GetServiceGraphResponse (Maybe UTCTime) Source #

The start of the time frame for which the graph was generated.