create_catalog
¶
create_catalog(
name: CatalogNameString,
catalog_input: CatalogInput,
*,
config_overrides: Optional[GlueClientConfig] = None,
tags: Optional[TagsMap] = None,
) -> CreateCatalogResponse
Creates a new catalog in the Glue Data Catalog.
Parameters:
-
name(CatalogNameString) –The name of the catalog to create.
-
catalog_input(CatalogInput) –A
CatalogInputobject that defines the metadata for the catalog. -
tags(Optional[TagsMap], default:None) –A map array of key-value pairs, not more than 50 pairs. Each key is a UTF-8 string, not less than 1 or more than 128 bytes long. Each value is a UTF-8 string, not more than 256 bytes long. The tags you assign to the catalog.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
AlreadyExistsException–A resource to be created or added already exists.
-
ConcurrentModificationException–Two processes are trying to modify a resource simultaneously.
-
EntityNotFoundException–A specified entity does not exist
-
FederatedResourceAlreadyExistsException–A federated resource already exists.
-
FederationSourceException–A federation source failed.
-
GlueEncryptionException–An encryption operation failed.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
ResourceNumberLimitExceededException–A resource numerical limit was exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/glue.py
2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 | |