Get Databases
glue_get_databases | R Documentation |
Retrieves all databases defined in a given Data Catalog¶
Description¶
Retrieves all databases defined in a given Data Catalog.
Usage¶
glue_get_databases(CatalogId, NextToken, MaxResults, ResourceShareType,
AttributesToGet)
Arguments¶
CatalogId |
The ID of the Data Catalog from which to retrieve
|
NextToken |
A continuation token, if this is a continuation call. |
MaxResults |
The maximum number of databases to return in one response. |
ResourceShareType |
Allows you to specify that you want to list the databases shared
with your account. The allowable values are
|
AttributesToGet |
Specifies the database fields returned by the
|
Value¶
A list with the following syntax:
list(
DatabaseList = list(
list(
Name = "string",
Description = "string",
LocationUri = "string",
Parameters = list(
"string"
),
CreateTime = as.POSIXct(
"2015-01-01"
),
CreateTableDefaultPermissions = list(
list(
Principal = list(
DataLakePrincipalIdentifier = "string"
),
Permissions = list(
"ALL"|"SELECT"|"ALTER"|"DROP"|"DELETE"|"INSERT"|"CREATE_DATABASE"|"CREATE_TABLE"|"DATA_LOCATION_ACCESS"
)
)
),
TargetDatabase = list(
CatalogId = "string",
DatabaseName = "string",
Region = "string"
),
CatalogId = "string",
FederatedDatabase = list(
Identifier = "string",
ConnectionName = "string"
)
)
),
NextToken = "string"
)
Request syntax¶
svc$get_databases(
CatalogId = "string",
NextToken = "string",
MaxResults = 123,
ResourceShareType = "FOREIGN"|"ALL"|"FEDERATED",
AttributesToGet = list(
"NAME"
)
)