Segment - Amazon X-Ray
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Segment

A segment from a trace that has been ingested by the X-Ray service. The segment can be compiled from documents uploaded with PutTraceSegments, or an inferred segment for a downstream service, generated from a subsegment sent by the service that called it.

For the full segment document schema, see Amazon X-Ray Segment Documents in the Amazon X-Ray Developer Guide.

Contents

Document

The segment document.

Type: String

Length Constraints: Minimum length of 1.

Required: No

Id

The segment's ID.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: