update_connection
¶
update_connection(
name: NameString,
connection_input: ConnectionInput,
*,
config_overrides: Optional[GlueClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
) -> UpdateConnectionResponse
Updates a connection definition in the Data Catalog.
Parameters:
-
catalog_id(Optional[CatalogIdString], default:None) –The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services account ID is used by default.
-
name(NameString) –The name of the connection definition to update.
-
connection_input(ConnectionInput) –A
ConnectionInputobject that redefines the connection in question.
Raises:
-
EntityNotFoundException–A specified entity does not exist
-
GlueEncryptionException–An encryption operation failed.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/glue.py
20181 20182 20183 20184 20185 20186 20187 20188 20189 20190 20191 20192 20193 20194 20195 20196 20197 20198 20199 20200 20201 20202 20203 20204 20205 20206 20207 20208 20209 20210 20211 20212 20213 20214 20215 20216 20217 20218 20219 20220 20221 20222 20223 20224 20225 20226 20227 20228 20229 20230 20231 20232 20233 20234 20235 20236 20237 20238 20239 20240 20241 20242 20243 20244 | |