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¶
-
ParentCatalogIdThe ID of the parent catalog in which the catalog resides. If none is provided, the Amazon Web Services Account Number is used by default.
-
NextTokenA continuation token, if this is a continuation call.
-
MaxResultsThe maximum number of catalogs to return in one response.
-
RecursiveWhether to list all catalogs across the catalog hierarchy, starting from the
ParentCatalogId. Defaults tofalse. Whentrue, all catalog objects in theParentCatalogIDhierarchy are enumerated in the response. -
IncludeRootWhether to list the default catalog in the account and region in the response. Defaults to
false. WhentrueandParentCatalogId = NULL | Amazon Web Services Account ID, all catalogs and the default catalog are enumerated in the response.When the
ParentCatalogIdis not equal to null, and this attribute is passed asfalseortrue, anInvalidInputExceptionis thrown. -
HasDatabasesWhen
true, the response only includes catalogs that can contain databases. Some catalogs are organizational containers that hold only other catalogs, not databases. When this parameter is set totrue, those container-only catalogs are excluded, and only catalogs capable of containing databases are returned. Defaults tofalse.
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",
ConnectionType = "string"
),
CatalogProperties = list(
DataLakeAccessProperties = list(
DataLakeAccess = TRUE|FALSE,
DataTransferRole = "string",
KmsKey = "string",
ManagedWorkgroupName = "string",
ManagedWorkgroupStatus = "string",
RedshiftDatabaseName = "string",
StatusMessage = "string",
CatalogType = "string"
),
IcebergOptimizationProperties = list(
RoleArn = "string",
Compaction = list(
"string"
),
Retention = list(
"string"
),
OrphanFileDeletion = list(
"string"
),
LastUpdatedTime = as.POSIXct(
"2015-01-01"
)
),
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"
)
)
),
AllowFullTableExternalDataAccess = "True"|"False"
)
),
NextToken = "string"
)