Skip to content

UpdateConnectionResponse

Source code in docs_src/capo_context/types/update_connection_response.py
class UpdateConnectionResponse(TypedDict, closed=True):
    id: "capo_context.types.connection_id.ConnectionId"
    """<p>The ID of the connection.</p>"""
    arn: "capo_context.types.connection_arn_string.ConnectionArnString"
    """<p>The ARN of the connection.</p>"""
    name: "capo_context.types.resource_name.ResourceName"
    """<p>The name of the connection. You set it when you create the connection and can change it with UpdateConnection. Uses the same constraints as an agent context name. Always present.</p>"""
    data_source: "capo_context.types.data_source_reference.DataSourceReference"
    """<p>The typed reference to the external data source that this connection binds to. Its <code>type</code>, the authoritative kind of data source, is in <code>dataSource.type</code>.</p>"""
    scope: NotRequired["capo_context.types.data_source_scope.DataSourceScope"]
    """<p>The hierarchical subset of the data source this connection ingests.</p>"""
    access_config: NotRequired["capo_context.types.access_config.AccessConfig"]
    """<p>Per-connection access configuration: the IAM role used for data access.</p>"""
    sync_schedule: NotRequired["capo_context.types.sync_schedule.SyncSchedule"]
    """<p>The effective sync schedule. Present for <code>DATABRICKS</code> and <code>SNOWFLAKE</code> connections (<code>DAILY</code> if you didn't specify one). Absent for <code>GLUE_DATA_CATALOG</code> and <code>BEDROCK_KNOWLEDGE_BASE</code> connections, which are event-driven.</p>"""
    ingestion_config: NotRequired["capo_context.types.ingestion_config.IngestionConfig"]
    """<p>The connection's ingestion configuration (the IAM role a data producer assumes to push into this connection). Absent when no ingestion role is configured.</p>"""
    glue_connection_mappings: NotRequired[
        "capo_context.types.glue_connection_mapping_list.GlueConnectionMappingList"
    ]
    """<p>The AWS Glue connection for each <code>redshiftNamespace</code>, each <code>rdsInstance</code> and <code>rdsDatabase</code> pair, or each <code>snowflakeDatabase</code> in <code>scope</code>. Absent when none is configured.</p>"""
    status: "capo_context.types.connection_status.ConnectionStatus"
    """<p>The connection's status. Valid values:</p> <ul> <li> <p> <code>CREATING</code> - Validation or provisioning is still in progress.</p> </li> <li> <p> <code>ACTIVE</code> - The data source is reachable and, for a <code>DATABRICKS</code> or <code>SNOWFLAKE</code> connection, AWS Glue has provisioned catalog synchronization and returned its crawler ARN. This doesn't mean that 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, and the connection can't recover.</p> </li> </ul>"""
    failure: NotRequired["capo_context.types.connection_failure.ConnectionFailure"]
    """<p>The reason the connection is FAILED. Absent in every other status.</p>"""
    sub_status: NotRequired["capo_context.types.resource_sub_status.ResourceSubStatus"]
    """<p>The last milestone a third-party connection's lifecycle reached. Present in two statuses: CREATING, where it shows the resources provisioned so far, and DELETING, where it shows the resources removed so far. Absent in every other status and while nothing has been done yet in the current direction. CREATING at GLUE_CONNECTION_VALIDATED on a connection created with <code>publish: false</code> means it is waiting for UpdateConnection <code>publish: true</code>.</p>"""
    created_at: "datetime.datetime"
    """<p>The date and time when the connection was created.</p>"""
    updated_at: "datetime.datetime"
    """<p>When the resource last changed. Equal to <code>createdAt</code> until the first update.</p>"""

access_config instance-attribute

access_config: NotRequired[AccessConfig]

Per-connection access configuration: the IAM role used for data access.

arn instance-attribute

The ARN of the connection.

created_at instance-attribute

created_at: datetime

The date and time when the connection was created.

data_source instance-attribute

data_source: DataSourceReference

The typed reference to the external data source that this connection binds to. Its type, the authoritative kind of data source, is in dataSource.type.

failure instance-attribute

failure: NotRequired[ConnectionFailure]

The reason the connection is FAILED. Absent in every other status.

glue_connection_mappings instance-attribute

glue_connection_mappings: NotRequired[GlueConnectionMappingList]

The AWS Glue connection for each redshiftNamespace, each rdsInstance and rdsDatabase pair, or each snowflakeDatabase in scope. Absent when none is configured.

id instance-attribute

The ID of the connection.

ingestion_config instance-attribute

ingestion_config: NotRequired[IngestionConfig]

The connection's ingestion configuration (the IAM role a data producer assumes to push into this connection). Absent when no ingestion role is configured.

name instance-attribute

The name of the connection. You set it when you create the connection and can change it with UpdateConnection. Uses the same constraints as an agent context name. Always present.

scope instance-attribute

scope: NotRequired[DataSourceScope]

The hierarchical subset of the data source this connection ingests.

status instance-attribute

The connection's status. Valid values:

  • CREATING - Validation or provisioning is still in progress.

  • ACTIVE - The data source is reachable and, for a DATABRICKS or SNOWFLAKE connection, AWS Glue has provisioned catalog synchronization and returned its crawler ARN. This doesn't mean that a crawl has started or completed.

  • UPDATING - The connection is being updated.

  • DELETING - The connection is being deleted.

  • FAILED - Validation or provisioning failed, and the connection can't recover.

sub_status instance-attribute

sub_status: NotRequired[ResourceSubStatus]

The last milestone a third-party connection's lifecycle reached. Present in two statuses: CREATING, where it shows the resources provisioned so far, and DELETING, where it shows the resources removed so far. Absent in every other status and while nothing has been done yet in the current direction. CREATING at GLUE_CONNECTION_VALIDATED on a connection created with publish: false means it is waiting for UpdateConnection publish: true.

sync_schedule instance-attribute

sync_schedule: NotRequired[SyncSchedule]

The effective sync schedule. Present for DATABRICKS and SNOWFLAKE connections (DAILY if you didn't specify one). Absent for GLUE_DATA_CATALOG and BEDROCK_KNOWLEDGE_BASE connections, which are event-driven.

updated_at instance-attribute

updated_at: datetime

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