Class: Aws::Context::Types::TraceAnalysisConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::Context::Types::TraceAnalysisConfig
- Defined in:
- gems/aws-sdk-context/lib/aws-sdk-context/types.rb
Overview
An agent context's agentic trace analysis settings.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#include_context_agent_traces ⇒ String
Specifies whether trace analysis includes traces from the agents built into AWS Context, such as the retrieval agent.
-
#status ⇒ String
Specifies whether you allow AWS Context to use
traceAnalysisRoleto analyze this agent context's agent traces, and to capture its own agents' traces asincludeContextAgentTracesspecifies. -
#trace_analysis_role ⇒ String
The IAM role that AWS Context assumes to access the agent context's connected source data when it analyzes agent traces.
Instance Attribute Details
#include_context_agent_traces ⇒ String
Specifies whether trace analysis includes traces from the agents
built into AWS Context, such as the retrieval agent. Uses
traceAnalysisRole and takes effect only while status is
ENABLED. An agent context that has never set it reads ENABLED.
7305 7306 7307 7308 7309 7310 7311 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7305 class TraceAnalysisConfig < Struct.new( :status, :trace_analysis_role, :include_context_agent_traces) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
Specifies whether you allow AWS Context to use traceAnalysisRole
to analyze this agent context's agent traces, and to capture its
own agents' traces as includeContextAgentTraces specifies.
Defaults to ENABLED when you set traceAnalysisConfig on
CreateAgentContext. Setting it to ENABLED requires
traceAnalysisRole. Setting it to DISABLED removes the role. An
agent context that has never set it reads ENABLED when it has a
traceAnalysisRole, and DISABLED otherwise.
7305 7306 7307 7308 7309 7310 7311 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7305 class TraceAnalysisConfig < Struct.new( :status, :trace_analysis_role, :include_context_agent_traces) SENSITIVE = [] include Aws::Structure end |
#trace_analysis_role ⇒ String
The IAM role that AWS Context assumes to access the agent context's
connected source data when it analyzes agent traces. The role must
be in the same account as the agent context. Its trust policy must
allow the AWS Context service principal, with aws:SourceArn set to
the agent context's ARN and aws:SourceAccount set to its account.
You must have iam:PassRole permission on the role to pass it to
AWS Context. Otherwise, the request fails with
AccessDeniedException. Required to set status to ENABLED. You
can't set it while status is DISABLED.
7305 7306 7307 7308 7309 7310 7311 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7305 class TraceAnalysisConfig < Struct.new( :status, :trace_analysis_role, :include_context_agent_traces) SENSITIVE = [] include Aws::Structure end |