Skip to content

UpdateAgentContextRequest

Source code in docs_src/capo_context/types/update_agent_context_request.py
class UpdateAgentContextRequest(TypedDict, closed=True):
    agent_context_id: (
        "capo_context.types.agent_context_identifier.AgentContextIdentifier"
    )
    """<p>The agent context to update, by its ID or ARN.</p>"""
    name: NotRequired["capo_context.types.resource_name.ResourceName"]
    """<p>The new name. If you omit it, the name is unchanged.</p>"""
    description: NotRequired["capo_context.types.user_defined_string.UserDefinedString"]
    """<p>The new description. Absent leaves the description unchanged. An empty string removes it.</p>"""
    connection_mappings: NotRequired[
        "capo_context.types.connection_mapping_list.ConnectionMappingList"
    ]
    """<p>The connection mappings for this agent context, 0–20 entries. If you provide a list, it replaces the stored set: AWS Context removes entries that are not in the list, adds new entries, and overwrites retained entries with exactly the values that you provide, without merging fields. An empty list removes all connection links. If you omit this member, the existing links are unchanged.</p> <p>Each newly referenced connection must exist, be owned by your account, and be <code>ACTIVE</code>. Order is significant. When several connections reach the same AWS Glue Data Catalog table, AWS Context tries the connection mapped first, with its own access, and then the next.</p>"""
    trace_analysis_config: NotRequired[
        "capo_context.types.trace_analysis_config.TraceAnalysisConfig"
    ]
    """<p>Merged into the agent context's trace analysis settings: an absent member leaves its stored value unchanged. <code>status</code> ENABLED requires a role, supplied here or already on the agent context. A role supplied without <code>status</code> requires the agent context's <code>status</code> to read ENABLED.</p>"""
    workforce_sign_in_config: NotRequired[
        "capo_context.types.workforce_sign_in_config.WorkforceSignInConfig"
    ]
    """<p>Merged into the agent context's workforce sign-in settings: an absent member leaves its stored value unchanged. <code>signInUrl</code> replaces the stored URL and reads ENABLED. <code>status</code> DISABLED removes the stored URL. <code>status</code> ENABLED requires a URL, supplied here or already on the agent context.</p>"""
    entity_resolution_config: NotRequired[
        "capo_context.types.entity_resolution_config.EntityResolutionConfig"
    ]
    """<p>Merged into the agent context's entity resolution settings: an absent member leaves its stored value unchanged.</p>"""
    trusted_identity_sources: NotRequired[
        "capo_context.types.trusted_identity_source_list.TrustedIdentitySourceList"
    ]
    """<p>Identity sources to trust in addition to your account. A present list replaces the stored list, <code>[]</code> clears it so only your account is trusted, and an absent field leaves it unchanged. Order is not significant: a list with the stored entries in another order changes nothing. A change takes effect within about a minute.</p>"""

agent_context_id instance-attribute

agent_context_id: AgentContextIdentifier

The agent context to update, by its ID or ARN.

connection_mappings instance-attribute

connection_mappings: NotRequired[ConnectionMappingList]

The connection mappings for this agent context, 0–20 entries. If you provide a list, it replaces the stored set: AWS Context removes entries that are not in the list, adds new entries, and overwrites retained entries with exactly the values that you provide, without merging fields. An empty list removes all connection links. If you omit this member, the existing links are unchanged.

Each newly referenced connection must exist, be owned by your account, and be ACTIVE. Order is significant. When several connections reach the same AWS Glue Data Catalog table, AWS Context tries the connection mapped first, with its own access, and then the next.

description instance-attribute

description: NotRequired[UserDefinedString]

The new description. Absent leaves the description unchanged. An empty string removes it.

entity_resolution_config instance-attribute

entity_resolution_config: NotRequired[EntityResolutionConfig]

Merged into the agent context's entity resolution settings: an absent member leaves its stored value unchanged.

name instance-attribute

name: NotRequired[ResourceName]

The new name. If you omit it, the name is unchanged.

trace_analysis_config instance-attribute

trace_analysis_config: NotRequired[TraceAnalysisConfig]

Merged into the agent context's trace analysis settings: an absent member leaves its stored value unchanged. status ENABLED requires a role, supplied here or already on the agent context. A role supplied without status requires the agent context's status to read ENABLED.

trusted_identity_sources instance-attribute

trusted_identity_sources: NotRequired[TrustedIdentitySourceList]

Identity sources to trust in addition to your account. A present list replaces the stored list, [] clears it so only your account is trusted, and an absent field leaves it unchanged. Order is not significant: a list with the stored entries in another order changes nothing. A change takes effect within about a minute.

workforce_sign_in_config instance-attribute

workforce_sign_in_config: NotRequired[WorkforceSignInConfig]

Merged into the agent context's workforce sign-in settings: an absent member leaves its stored value unchanged. signInUrl replaces the stored URL and reads ENABLED. status DISABLED removes the stored URL. status ENABLED requires a URL, supplied here or already on the agent context.