Skip to content

DeleteConnectionRequest

Source code in docs_src/capo_context/types/delete_connection_request.py
class DeleteConnectionRequest(TypedDict, closed=True):
    connection_id: "capo_context.types.connection_identifier.ConnectionIdentifier"
    """<p>The connection to delete, by its ID (which starts with <code>conn-</code>) or its ARN.</p>"""
    deletion_mode: NotRequired["capo_context.types.deletion_mode.DeletionMode"]
    """<p>Specifies what happens to the connectivity resources behind the connection: the AWS Glue connection, whether AWS Context created it or you specified an existing one. AWS Context keeps the AWS Glue connections named in <code>glueConnectionMappings</code>. This member doesn't affect agent context content. To remove the connection's content from an agent context, remove the connection from the agent context with UpdateAgentContext. AWS Context never changes your source data. If you omit it, the default is <code>RETAIN</code>. It has no effect on <code>GLUE_DATA_CATALOG</code> and <code>BEDROCK_KNOWLEDGE_BASE</code> connections.</p>"""

connection_id instance-attribute

connection_id: ConnectionIdentifier

The connection to delete, by its ID (which starts with conn-) or its ARN.

deletion_mode instance-attribute

deletion_mode: NotRequired[DeletionMode]

Specifies what happens to the connectivity resources behind the connection: the AWS Glue connection, whether AWS Context created it or you specified an existing one. AWS Context keeps the AWS Glue connections named in glueConnectionMappings. This member doesn't affect agent context content. To remove the connection's content from an agent context, remove the connection from the agent context with UpdateAgentContext. AWS Context never changes your source data. If you omit it, the default is RETAIN. It has no effect on GLUE_DATA_CATALOG and BEDROCK_KNOWLEDGE_BASE connections.