{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-glue/refs/heads/main/json-schema/glue-update-database-request-schema.json",
"title": "UpdateDatabaseRequest",
"description": "UpdateDatabaseRequest schema from Amazon Glue API",
"type": "object",
"properties": {
"CatalogId": {
"allOf": [
{
"$ref": "#/components/schemas/CatalogIdString"
},
{
"description": "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": {
"allOf": [
{
"$ref": "#/components/schemas/NameString"
},
{
"description": "The name of the database to update in the catalog. For Hive compatibility, this is folded to lowercase."
}
]
},
"DatabaseInput": {
"allOf": [
{
"$ref": "#/components/schemas/DatabaseInput"
},
{
"description": "A <code>DatabaseInput</code> object specifying the new definition of the metadata database in the catalog."
}
]
}
},
"required": [
"Name",
"DatabaseInput"
]
}