Smaws_Client_Glue.GetCatalogsRetrieves 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `EntityNotFoundException of Types.entity_not_found_exception
| `FederationSourceException of Types.federation_source_exception
| `FederationSourceRetryableException of
Types.federation_source_retryable_exception
| `GlueEncryptionException of Types.glue_encryption_exception
| `InternalServiceException of Types.internal_service_exception
| `InvalidInputException of Types.invalid_input_exception
| `OperationTimeoutException of Types.operation_timeout_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.get_catalogs_request ->
(Types.get_catalogs_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `EntityNotFoundException of Types.entity_not_found_exception
| `FederationSourceException of Types.federation_source_exception
| `FederationSourceRetryableException of
Types.federation_source_retryable_exception
| `GlueEncryptionException of Types.glue_encryption_exception
| `InternalServiceException of Types.internal_service_exception
| `InvalidInputException of Types.invalid_input_exception
| `OperationTimeoutException of Types.operation_timeout_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.get_catalogs_request ->
(Types.get_catalogs_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `EntityNotFoundException of Types.entity_not_found_exception
| `FederationSourceException of Types.federation_source_exception
| `FederationSourceRetryableException of
Types.federation_source_retryable_exception
| `GlueEncryptionException of Types.glue_encryption_exception
| `InternalServiceException of Types.internal_service_exception
| `InvalidInputException of Types.invalid_input_exception
| `OperationTimeoutException of Types.operation_timeout_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result