Class: Aws::QConnect::Types::SpanAttributes

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

Overview

Contextual attributes capturing operation details, LLM configuration, usage metrics, and conversation data

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_id ⇒ String

Amazon Connect agent ID

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#ai_agent_arn ⇒ String

AI agent ARN

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#ai_agent_id ⇒ String

AI agent identifier

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#ai_agent_invoker ⇒ String

Entity that invoked the AI agent

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#ai_agent_name ⇒ String

AI agent name

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#ai_agent_orchestrator_use_case ⇒ String

AI agent orchestrator use case

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#ai_agent_type ⇒ String

AI agent type

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#ai_agent_version ⇒ Integer

AI agent version number

Returns:

  • (Integer)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#cache_read_input_tokens ⇒ Integer

Number of input tokens that were retrieved from cache

Returns:

  • (Integer)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#cache_write_input_tokens ⇒ Integer

Number of input tokens that were written to cache in this request

Returns:

  • (Integer)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#contact_id ⇒ String

Amazon Connect contact identifier

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#error_type ⇒ String

Error classification if span failed (e.g., throttle, timeout)

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#guardrail_assessments ⇒ Array<Types::SpanGuardrailAssessment>

Guardrail assessments for the inference span. Absent on other span types and when no AI Guardrail is attached to the AI Agent.

Returns:



11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#initial_contact_id ⇒ String

Amazon Connect contact identifier

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#input_messages ⇒ Array<Types::SpanMessage>

Input message collection sent to LLM

Returns:



11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#instance_arn ⇒ String

Amazon Connect instance ARN

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#interaction_mode ⇒ String

How the orchestrator engaged the collaborator agent. Present on spans that invoke a collaborator agent.

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#operation_name ⇒ String

Action being performed

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#output_messages ⇒ Array<Types::SpanMessage>

Output message collection received from LLM

Returns:



11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#prompt_arn ⇒ String

AI prompt ARN

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#prompt_id ⇒ String

AI prompt identifier

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#prompt_name ⇒ String

AI prompt name

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#prompt_type ⇒ String

AI prompt type

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#prompt_version ⇒ Integer

AI prompt version number

Returns:

  • (Integer)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#provider_name ⇒ String

Model provider identifier (e.g., aws.bedrock)

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#request_max_tokens ⇒ Integer

Maximum tokens configured for generation

Returns:

  • (Integer)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#request_model ⇒ String

LLM model ID for request (e.g., anthropic.claude-3-sonnet)

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#response_finish_reasons ⇒ Array<String>

Generation termination reasons (e.g., stop, max_tokens)

Returns:

  • (Array<String>)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#response_model ⇒ String

Actual model used for response (usually matches requestModel)

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#return_reason ⇒ String

Reason a sub-agent returned control to the calling agent. Present on return_to_agent spans.

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#session_name ⇒ String

Session name

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#system_instructions ⇒ Array<Types::SpanMessageValue>

System prompt instructions

Returns:



11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#target_agent_id ⇒ String

Identifier of the collaborator agent being invoked. For first-party collaborators this is the Amazon Connect AI agent ID; for third-party collaborators this is the external application ID.

Returns:

  • (String)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#temperature ⇒ Float

Sampling temperature for generation

Returns:

  • (Float)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#time_to_first_token_ms ⇒ Integer

Time to first token in milliseconds, measured from when Amazon Bedrock was invoked to when the first token was returned

Returns:

  • (Integer)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#top_p ⇒ Float

Top-p sampling parameter for generation

Returns:

  • (Float)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#usage_input_tokens ⇒ Integer

Number of input tokens in prompt

Returns:

  • (Integer)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#usage_output_tokens ⇒ Integer

Number of output tokens in response

Returns:

  • (Integer)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end

#usage_total_tokens ⇒ Integer

Total tokens consumed (input + output)

Returns:

  • (Integer)


11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 11669

class SpanAttributes < Struct.new(
  :operation_name,
  :provider_name,
  :error_type,
  :agent_id,
  :instance_arn,
  :contact_id,
  :initial_contact_id,
  :session_name,
  :ai_agent_arn,
  :ai_agent_type,
  :ai_agent_name,
  :ai_agent_id,
  :ai_agent_version,
  :ai_agent_invoker,
  :ai_agent_orchestrator_use_case,
  :interaction_mode,
  :target_agent_id,
  :return_reason,
  :request_model,
  :request_max_tokens,
  :temperature,
  :top_p,
  :response_model,
  :response_finish_reasons,
  :usage_input_tokens,
  :usage_output_tokens,
  :usage_total_tokens,
  :cache_read_input_tokens,
  :cache_write_input_tokens,
  :input_messages,
  :output_messages,
  :system_instructions,
  :prompt_arn,
  :prompt_id,
  :prompt_type,
  :prompt_name,
  :prompt_version,
  :time_to_first_token_ms,
  :guardrail_assessments)
  SENSITIVE = []
  include Aws::Structure
end