Retrieves all catalogs defined in a catalog in the Glue Data Catalog
Source:R/glue_operations.R
glue_get_catalogs.RdRetrieves 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.
See https://www.paws-r-sdk.com/docs/glue_get_catalogs/ for full documentation.
Usage
glue_get_catalogs(
ParentCatalogId = NULL,
NextToken = NULL,
MaxResults = NULL,
Recursive = NULL,
IncludeRoot = NULL,
HasDatabases = NULL
)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 theParentCatalogIDhierarchy are enumerated in the response.- IncludeRoot
Whether 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.- HasDatabases
When
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.