Class: Aws::XRay::Types::Segment

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb

Overview

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 AWS X-Ray Segment Documents in the AWS X-Ray Developer Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#documentString

The segment document.

Returns:

  • (String)


1966
1967
1968
1969
1970
1971
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 1966

class Segment < Struct.new(
  :id,
  :document)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The segment's ID.

Returns:

  • (String)


1966
1967
1968
1969
1970
1971
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 1966

class Segment < Struct.new(
  :id,
  :document)
  SENSITIVE = []
  include Aws::Structure
end