You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

Instance Attribute Summary collapse

Instance Attribute Details

#documentString

The segment document

Returns:

  • (String)


591
592
593
594
595
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 591

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

#idString

The segment's ID.

Returns:

  • (String)


591
592
593
594
595
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 591

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