Get Catalogs
glue_get_catalogs | R Documentation |
Retrieves all catalogs defined in a catalog in the Glue Data Catalog¶
Description¶
Retrieves all catalogs defined in a catalog in the Glue Data Catalog. For a Redshift-federated catalog use case, this operation returns the list of catalogs mapped to Redshift databases in the Redshift namespace catalog.
Usage¶
Arguments¶
ParentCatalogId
The ID of the parent catalog in which the catalog resides. If none is provided, the Amazon Web Services Account Number is used by default.
NextToken
A continuation token, if this is a continuation call.
MaxResults
The maximum number of catalogs to return in one response.
Recursive
Whether to list all catalogs across the catalog hierarchy, starting from the
ParentCatalogId
. Defaults tofalse
. Whentrue
, all catalog objects in theParentCatalogID
hierarchy are enumerated in the response.IncludeRoot
Whether to list the default catalog in the account and region in the response. Defaults to
false
. Whentrue
andâ ParentCatalogId = NULL | Amazon Web Services Account IDâ
, all catalogs and the default catalog are enumerated in the response.When the
ParentCatalogId
is not equal to null, and this attribute is passed asfalse
ortrue
, anInvalidInputException
is thrown.
Value¶
A list with the following syntax:
list(
CatalogList = list(
list(
CatalogId = "string",
Name = "string",
ResourceArn = "string",
Description = "string",
Parameters = list(
"string"
),
CreateTime = as.POSIXct(
"2015-01-01"
),
UpdateTime = as.POSIXct(
"2015-01-01"
),
TargetRedshiftCatalog = list(
CatalogArn = "string"
),
FederatedCatalog = list(
Identifier = "string",
ConnectionName = "string"
),
CatalogProperties = list(
DataLakeAccessProperties = list(
DataLakeAccess = TRUE|FALSE,
DataTransferRole = "string",
KmsKey = "string",
ManagedWorkgroupName = "string",
ManagedWorkgroupStatus = "string",
RedshiftDatabaseName = "string",
StatusMessage = "string",
CatalogType = "string"
),
CustomProperties = list(
"string"
)
),
CreateTableDefaultPermissions = list(
list(
Principal = list(
DataLakePrincipalIdentifier = "string"
),
Permissions = list(
"ALL"|"SELECT"|"ALTER"|"DROP"|"DELETE"|"INSERT"|"CREATE_DATABASE"|"CREATE_TABLE"|"DATA_LOCATION_ACCESS"
)
)
),
CreateDatabaseDefaultPermissions = list(
list(
Principal = list(
DataLakePrincipalIdentifier = "string"
),
Permissions = list(
"ALL"|"SELECT"|"ALTER"|"DROP"|"DELETE"|"INSERT"|"CREATE_DATABASE"|"CREATE_TABLE"|"DATA_LOCATION_ACCESS"
)
)
)
)
),
NextToken = "string"
)