{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-glue/refs/heads/main/json-schema/glue-get-databases-request-schema.json",
"title": "GetDatabasesRequest",
"description": "GetDatabasesRequest schema from Amazon Glue API",
"type": "object",
"properties": {
"CatalogId": {
"allOf": [
{
"$ref": "#/components/schemas/CatalogIdString"
},
{
"description": "The ID of the Data Catalog from which to retrieve Databases. If none is provided, the Amazon Web Services account ID is used by default."
}
]
},
"NextToken": {
"allOf": [
{
"$ref": "#/components/schemas/Token"
},
{
"description": "A continuation token, if this is a continuation call."
}
]
},
"MaxResults": {
"allOf": [
{
"$ref": "#/components/schemas/CatalogGetterPageSize"
},
{
"description": "The maximum number of databases to return in one response."
}
]
},
"ResourceShareType": {
"allOf": [
{
"$ref": "#/components/schemas/ResourceShareType"
},
{
"description": "
Allows you to specify that you want to list the databases shared with your account. The allowable values are FEDERATED, FOREIGN or ALL.
If set to FEDERATED, will list the federated databases (referencing an external entity) shared with your account.
If set to FOREIGN, will list the databases shared with your account.
If set to ALL, will list the databases shared with your account, as well as the databases in yor local account.