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

Defined in Amazonka.XRay.GetServiceGraph

Read GetServiceGraph Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

Show GetServiceGraph Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

Generic GetServiceGraph Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

Associated Types

type Rep GetServiceGraph :: Type -> Type #

NFData GetServiceGraph Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

Methods

rnf :: GetServiceGraph -> () #

Hashable GetServiceGraph Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

ToJSON 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 #

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

type Rep GetServiceGraph Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

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

Defined in Amazonka.XRay.GetServiceGraph

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:

$sel:nextToken:GetServiceGraph', getServiceGraph_nextToken - Pagination token.

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

$sel:groupName:GetServiceGraph', getServiceGraph_groupName - The name of a group based on which you want to generate a graph.

$sel:startTime:GetServiceGraph', getServiceGraph_startTime - The start of the time frame for which to generate a graph.

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

Defined in Amazonka.XRay.GetServiceGraph

Read GetServiceGraphResponse Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

Show GetServiceGraphResponse Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

Generic GetServiceGraphResponse Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

Associated Types

type Rep GetServiceGraphResponse :: Type -> Type #

NFData GetServiceGraphResponse Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

Methods

rnf :: GetServiceGraphResponse -> () #

type Rep GetServiceGraphResponse Source # 
Instance details

Defined in Amazonka.XRay.GetServiceGraph

type Rep GetServiceGraphResponse = D1 ('MetaData "GetServiceGraphResponse" "Amazonka.XRay.GetServiceGraph" "libZSservicesZSamazonka-xrayZSamazonka-xray" 'False) (C1 ('MetaCons "GetServiceGraphResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "containsOldGroupVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "services") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ServiceInfo])) :*: 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.

$sel:startTime:GetServiceGraph', getServiceGraphResponse_startTime - The start of the time frame for which the graph was generated.

$sel:nextToken:GetServiceGraph', getServiceGraphResponse_nextToken - Pagination token.

$sel:endTime:GetServiceGraph', getServiceGraphResponse_endTime - The end of the time frame for which the graph was generated.

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

$sel:httpStatus: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_startTime :: Lens' GetServiceGraphResponse (Maybe UTCTime) Source #

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

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.