UpdateConnectionResponse
¶
Source code in docs_src/capo_context/types/update_connection_response.py
access_config
instance-attribute
¶
access_config: NotRequired[AccessConfig]
Per-connection access configuration: the IAM role used for data access.
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.
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
¶
name: ResourceName
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
¶
status: ConnectionStatus
The connection's status. Valid values:
-
CREATING- Validation or provisioning is still in progress. -
ACTIVE- The data source is reachable and, for aDATABRICKSorSNOWFLAKEconnection, 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.