create_catalog
async
¶
create_catalog(
name: CatalogNameString,
catalog_input: CatalogInput,
*,
config_overrides: Optional[AsyncGlueClientConfig] = 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/async_glue.py
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 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 | |