update_database
¶
update_database(
name: NameString,
database_input: DatabaseInput,
*,
config_overrides: Optional[GlueClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
) -> UpdateDatabaseResponse
Updates an existing database definition in a Data Catalog.
Parameters:
-
catalog_id(Optional[CatalogIdString], default:None) –The ID of the Data Catalog in which the metadata database resides. If none is provided, the Amazon Web Services account ID is used by default.
-
name(NameString) –The name of the database to update in the catalog. For Hive compatibility, this is folded to lowercase.
-
database_input(DatabaseInput) –A
DatabaseInputobject specifying the new definition of the metadata database in the catalog.
Raises:
-
AlreadyExistsException–A resource to be created or added already exists.
-
ConcurrentModificationException–Two processes are trying to modify a resource simultaneously.
-
EntityNotFoundException–A specified entity does not exist
-
FederationSourceException–A federation source failed.
-
FederationSourceRetryableException–A federation source failed, but the operation may be retried.
-
GlueEncryptionException–An encryption operation failed.
-
InternalServiceException–An internal service error occurred.
-
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
20422 20423 20424 20425 20426 20427 20428 20429 20430 20431 20432 20433 20434 20435 20436 20437 20438 20439 20440 20441 20442 20443 20444 20445 20446 20447 20448 20449 20450 20451 20452 20453 20454 20455 20456 20457 20458 20459 20460 20461 20462 20463 20464 20465 20466 20467 20468 20469 20470 20471 20472 20473 20474 20475 20476 20477 20478 20479 20480 20481 20482 | |