Class: Aws::BedrockAgentCore::Types::InvokeAgentRuntimeResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[:response]

Instance Attribute Summary collapse

Instance Attribute Details

#baggageString

Additional context information for distributed tracing.

Returns:

  • (String)


2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2541

class InvokeAgentRuntimeResponse < Struct.new(
  :runtime_session_id,
  :mcp_session_id,
  :mcp_protocol_version,
  :trace_id,
  :trace_parent,
  :trace_state,
  :baggage,
  :content_type,
  :response,
  :status_code)
  SENSITIVE = [:response]
  include Aws::Structure
end

#content_typeString

The MIME type of the response data. This indicates how to interpret the response data. Common values include application/json for JSON data.

Returns:

  • (String)


2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2541

class InvokeAgentRuntimeResponse < Struct.new(
  :runtime_session_id,
  :mcp_session_id,
  :mcp_protocol_version,
  :trace_id,
  :trace_parent,
  :trace_state,
  :baggage,
  :content_type,
  :response,
  :status_code)
  SENSITIVE = [:response]
  include Aws::Structure
end

#mcp_protocol_versionString

The version of the MCP protocol being used.

Returns:

  • (String)


2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2541

class InvokeAgentRuntimeResponse < Struct.new(
  :runtime_session_id,
  :mcp_session_id,
  :mcp_protocol_version,
  :trace_id,
  :trace_parent,
  :trace_state,
  :baggage,
  :content_type,
  :response,
  :status_code)
  SENSITIVE = [:response]
  include Aws::Structure
end

#mcp_session_idString

The identifier of the MCP session.

Returns:

  • (String)


2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2541

class InvokeAgentRuntimeResponse < Struct.new(
  :runtime_session_id,
  :mcp_session_id,
  :mcp_protocol_version,
  :trace_id,
  :trace_parent,
  :trace_state,
  :baggage,
  :content_type,
  :response,
  :status_code)
  SENSITIVE = [:response]
  include Aws::Structure
end

#responseIO

The response data from the agent runtime. The format of this data depends on the specific agent configuration and the requested accept type. For most agents, this is a JSON object containing the agent's response to the user's request.

Returns:

  • (IO)


2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2541

class InvokeAgentRuntimeResponse < Struct.new(
  :runtime_session_id,
  :mcp_session_id,
  :mcp_protocol_version,
  :trace_id,
  :trace_parent,
  :trace_state,
  :baggage,
  :content_type,
  :response,
  :status_code)
  SENSITIVE = [:response]
  include Aws::Structure
end

#runtime_session_idString

The identifier of the runtime session.

Returns:

  • (String)


2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2541

class InvokeAgentRuntimeResponse < Struct.new(
  :runtime_session_id,
  :mcp_session_id,
  :mcp_protocol_version,
  :trace_id,
  :trace_parent,
  :trace_state,
  :baggage,
  :content_type,
  :response,
  :status_code)
  SENSITIVE = [:response]
  include Aws::Structure
end

#status_codeInteger

The HTTP status code of the response. A status code of 200 indicates a successful operation. Other status codes indicate various error conditions.

Returns:

  • (Integer)


2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2541

class InvokeAgentRuntimeResponse < Struct.new(
  :runtime_session_id,
  :mcp_session_id,
  :mcp_protocol_version,
  :trace_id,
  :trace_parent,
  :trace_state,
  :baggage,
  :content_type,
  :response,
  :status_code)
  SENSITIVE = [:response]
  include Aws::Structure
end

#trace_idString

The trace identifier for request tracking.

Returns:

  • (String)


2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2541

class InvokeAgentRuntimeResponse < Struct.new(
  :runtime_session_id,
  :mcp_session_id,
  :mcp_protocol_version,
  :trace_id,
  :trace_parent,
  :trace_state,
  :baggage,
  :content_type,
  :response,
  :status_code)
  SENSITIVE = [:response]
  include Aws::Structure
end

#trace_parentString

The parent trace information for distributed tracing.

Returns:

  • (String)


2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2541

class InvokeAgentRuntimeResponse < Struct.new(
  :runtime_session_id,
  :mcp_session_id,
  :mcp_protocol_version,
  :trace_id,
  :trace_parent,
  :trace_state,
  :baggage,
  :content_type,
  :response,
  :status_code)
  SENSITIVE = [:response]
  include Aws::Structure
end

#trace_stateString

The trace state information for distributed tracing.

Returns:

  • (String)


2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2541

class InvokeAgentRuntimeResponse < Struct.new(
  :runtime_session_id,
  :mcp_session_id,
  :mcp_protocol_version,
  :trace_id,
  :trace_parent,
  :trace_state,
  :baggage,
  :content_type,
  :response,
  :status_code)
  SENSITIVE = [:response]
  include Aws::Structure
end