Class: Aws::QConnect::Types::Span

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

Overview

A span represents a unit of work during AI agent execution, capturing timing, status, and contextual attributes.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#assistant_id ⇒ String

UUID of the Connect AI Assistant resource

Returns:

  • (String)


10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10981

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#attributes ⇒ Types::SpanAttributes

Span-specific contextual attributes



10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10981

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#end_timestamp ⇒ Time

Operation end time in milliseconds since epoch

Returns:

  • (Time)


10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10981

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#origin_request_id ⇒ String

The origin request identifier for end-to-end tracing.

Returns:

  • (String)


10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10981

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#parent_span_id ⇒ String

Parent span identifier for hierarchy. Null for root spans.

Returns:

  • (String)


10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10981

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#request_id ⇒ String

The service request ID that initiated the operation

Returns:

  • (String)


10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10981

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#session_id ⇒ String

UUID of the Connect AI Session resource

Returns:

  • (String)


10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10981

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#span_id ⇒ String

Unique span identifier

Returns:

  • (String)


10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10981

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#span_name ⇒ String

Service-defined operation name

Returns:

  • (String)


10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10981

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#span_type ⇒ String

Operation relationship type

Returns:

  • (String)


10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10981

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#start_timestamp ⇒ Time

Operation start time in milliseconds since epoch

Returns:

  • (Time)


10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10981

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

Span completion status

Returns:

  • (String)


10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10981

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#status_description ⇒ String

Human-readable error description when status is ERROR or TIMEOUT

Returns:

  • (String)


10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 10981

class Span < Struct.new(
  :span_id,
  :assistant_id,
  :session_id,
  :parent_span_id,
  :span_name,
  :span_type,
  :start_timestamp,
  :end_timestamp,
  :status,
  :status_description,
  :request_id,
  :origin_request_id,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end