Skip to content

UpdateAgentContextResponse

Source code in docs_src/capo_context/types/update_agent_context_response.py
class UpdateAgentContextResponse(TypedDict, closed=True):
    id: "capo_context.types.agent_context_id.AgentContextId"
    """<p>The agent context's opaque ID.</p>"""
    arn: "capo_context.types.agent_context_arn_string.AgentContextArnString"
    """<p>The ARN of the agent context, in the form <code>arn:&lt;partition&gt;:context:&lt;region&gt;:&lt;account-id&gt;:agent-context/&lt;id&gt;</code>.</p>"""
    name: "capo_context.types.resource_name.ResourceName"
    """<p>The name of the agent context. If you didn't specify a name when you created it, the name is <code>default</code>.</p>"""
    description: NotRequired["capo_context.types.user_defined_string.UserDefinedString"]
    """<p>A human-readable description, if one was set.</p>"""
    status: "capo_context.types.agent_context_status.AgentContextStatus"
    """<p>The agent context's lifecycle status.</p> <p>Valid values:</p> <ul> <li> <p> <code>CREATING</code> - The agent context is being created.</p> </li> <li> <p> <code>ACTIVE</code> - The agent context is ready to use.</p> </li> <li> <p> <code>UPDATING</code> - The agent context is being updated.</p> </li> <li> <p> <code>DELETING</code> - The agent context is being deleted.</p> </li> <li> <p> <code>FAILED</code> - The agent context failed.</p> </li> </ul>"""
    created_at: "datetime.datetime"
    """<p>The date and time when the agent context was created.</p>"""
    updated_at: "datetime.datetime"
    """<p>When the resource last changed. Equal to <code>createdAt</code> until the first update.</p>"""
    connection_mappings: NotRequired[
        "capo_context.types.connection_mapping_list.ConnectionMappingList"
    ]
    """<p>The agent context's connection mappings.</p>"""
    encryption_config: "capo_context.types.encryption_config.EncryptionConfig"
    """<p>The agent context's encryption settings.</p>"""
    trace_analysis_config: NotRequired[
        "capo_context.types.trace_analysis_config.TraceAnalysisConfig"
    ]
    """<p>The agent context's trace analysis settings.</p>"""
    workforce_sign_in_config: NotRequired[
        "capo_context.types.workforce_sign_in_config.WorkforceSignInConfig"
    ]
    """<p>How your employees sign in to this agent context's MCP server through your identity provider (workforce sign-in). <code>status</code> reads ENABLED while a sign-in URL is stored, DISABLED otherwise.</p>"""
    entity_resolution_config: NotRequired[
        "capo_context.types.entity_resolution_config.EntityResolutionConfig"
    ]
    """<p>The agent context's entity resolution settings. Populated on every response path that returns the resource.</p>"""
    mcp_server_url: NotRequired["capo_context.types.mcp_server_url.McpServerUrl"]
    """<p>The Model Context Protocol (MCP) server URL to give your employees while workforce sign-in is <code>ENABLED</code>. The URL is the agent context's MCP endpoint, with <code>workforceSignInConfig.signInUrl</code> as its <code>login_hint</code> query parameter and the ID that AWS Context assigns to that sign-in URL as its <code>tenantId</code> query parameter. Absent while workforce sign-in is <code>DISABLED</code>.</p>"""
    trusted_identity_sources: NotRequired[
        "capo_context.types.trusted_identity_source_list.TrustedIdentitySourceList"
    ]
    """<p>Identity sources this agent context trusts in addition to its owner's account. Absent or empty: only the owner's account is trusted.</p>"""

arn instance-attribute

The ARN of the agent context, in the form arn:<partition>:context:<region>:<account-id>:agent-context/<id>.

connection_mappings instance-attribute

connection_mappings: NotRequired[ConnectionMappingList]

The agent context's connection mappings.

created_at instance-attribute

created_at: datetime

The date and time when the agent context was created.

description instance-attribute

description: NotRequired[UserDefinedString]

A human-readable description, if one was set.

encryption_config instance-attribute

encryption_config: EncryptionConfig

The agent context's encryption settings.

entity_resolution_config instance-attribute

entity_resolution_config: NotRequired[EntityResolutionConfig]

The agent context's entity resolution settings. Populated on every response path that returns the resource.

id instance-attribute

The agent context's opaque ID.

mcp_server_url instance-attribute

mcp_server_url: NotRequired[McpServerUrl]

The Model Context Protocol (MCP) server URL to give your employees while workforce sign-in is ENABLED. The URL is the agent context's MCP endpoint, with workforceSignInConfig.signInUrl as its login_hint query parameter and the ID that AWS Context assigns to that sign-in URL as its tenantId query parameter. Absent while workforce sign-in is DISABLED.

name instance-attribute

The name of the agent context. If you didn't specify a name when you created it, the name is default.

status instance-attribute

The agent context's lifecycle status.

Valid values:

  • CREATING - The agent context is being created.

  • ACTIVE - The agent context is ready to use.

  • UPDATING - The agent context is being updated.

  • DELETING - The agent context is being deleted.

  • FAILED - The agent context failed.

trace_analysis_config instance-attribute

trace_analysis_config: NotRequired[TraceAnalysisConfig]

The agent context's trace analysis settings.

trusted_identity_sources instance-attribute

trusted_identity_sources: NotRequired[TrustedIdentitySourceList]

Identity sources this agent context trusts in addition to its owner's account. Absent or empty: only the owner's account is trusted.

updated_at instance-attribute

updated_at: datetime

When the resource last changed. Equal to createdAt until the first update.

workforce_sign_in_config instance-attribute

workforce_sign_in_config: NotRequired[WorkforceSignInConfig]

How your employees sign in to this agent context's MCP server through your identity provider (workforce sign-in). status reads ENABLED while a sign-in URL is stored, DISABLED otherwise.