Skip to content

ConnectionSummary

Source code in docs_src/capo_context/types/connection_summary.py
class ConnectionSummary(TypedDict, closed=True):
    id: "capo_context.types.connection_id.ConnectionId"
    """<p>The ID of the connection.</p>"""
    arn: NotRequired["capo_context.types.connection_arn_string.ConnectionArnString"]
    """<p>The ARN of the connection.</p>"""
    name: NotRequired["capo_context.types.resource_name.ResourceName"]
    """<p>The name of the connection.</p>"""
    type: NotRequired["capo_context.types.connection_type.ConnectionType"]
    """<p>The kind of external data source.</p> <p>Valid values:</p> <ul> <li> <p> <code>GLUE_DATA_CATALOG</code> - An AWS Glue Data Catalog, or an AWS Glue connection that fronts a federated AWS data source.</p> </li> <li> <p> <code>BEDROCK_KNOWLEDGE_BASE</code> - An Amazon Bedrock knowledge base.</p> </li> <li> <p> <code>DATABRICKS</code> - A Databricks third-party catalog.</p> </li> <li> <p> <code>SNOWFLAKE</code> - A Snowflake third-party catalog.</p> </li> </ul>"""
    status: NotRequired["capo_context.types.connection_status.ConnectionStatus"]
    """<p>The status of the connection.</p> <p>Valid values:</p> <ul> <li> <p> <code>CREATING</code> - Validation or provisioning is in progress.</p> </li> <li> <p> <code>ACTIVE</code> - The data source is reachable and, for a third-party connection, AWS Glue has provisioned catalog synchronization. This does not mean a crawl has started or completed.</p> </li> <li> <p> <code>UPDATING</code> - The connection is being updated.</p> </li> <li> <p> <code>DELETING</code> - The connection is being deleted.</p> </li> <li> <p> <code>FAILED</code> - Validation or provisioning failed terminally.</p> </li> </ul>"""
    created_at: NotRequired["datetime.datetime"]
    """<p>The date and time when the connection was created.</p>"""
    updated_at: NotRequired["datetime.datetime"]
    """<p>The date and time when the connection was last updated.</p>"""
    data_source: NotRequired[
        "capo_context.types.data_source_reference.DataSourceReference"
    ]
    """<p>The connection's data source: its type and location ARN, in the same form as the <code>dataSource</code> that GetConnection returns.</p>"""
    scope: NotRequired["capo_context.types.data_source_scope.DataSourceScope"]
    """<p>The part of the data source that the connection ingests, in the same form as the <code>scope</code> that GetConnection returns. Absent or empty if the connection ingests the whole source.</p>"""

arn instance-attribute

arn: NotRequired[ConnectionArnString]

The ARN of the connection.

created_at instance-attribute

created_at: NotRequired[datetime]

The date and time when the connection was created.

data_source instance-attribute

data_source: NotRequired[DataSourceReference]

The connection's data source: its type and location ARN, in the same form as the dataSource that GetConnection returns.

id instance-attribute

The ID of the connection.

name instance-attribute

name: NotRequired[ResourceName]

The name of the connection.

scope instance-attribute

scope: NotRequired[DataSourceScope]

The part of the data source that the connection ingests, in the same form as the scope that GetConnection returns. Absent or empty if the connection ingests the whole source.

status instance-attribute

status: NotRequired[ConnectionStatus]

The status of the connection.

Valid values:

  • CREATING - Validation or provisioning is in progress.

  • ACTIVE - The data source is reachable and, for a third-party connection, AWS Glue has provisioned catalog synchronization. This does not mean a crawl has started or completed.

  • UPDATING - The connection is being updated.

  • DELETING - The connection is being deleted.

  • FAILED - Validation or provisioning failed terminally.

type instance-attribute

type: NotRequired[ConnectionType]

The kind of external data source.

Valid values:

  • GLUE_DATA_CATALOG - An AWS Glue Data Catalog, or an AWS Glue connection that fronts a federated AWS data source.

  • BEDROCK_KNOWLEDGE_BASE - An Amazon Bedrock knowledge base.

  • DATABRICKS - A Databricks third-party catalog.

  • SNOWFLAKE - A Snowflake third-party catalog.

updated_at instance-attribute

updated_at: NotRequired[datetime]

The date and time when the connection was last updated.