Skip to content

GlueClient.create_catalog

rboto-glue==0.4.0 · Service index · Types

Model summary (excerpt): Creates a new catalog in the Glue Data Catalog.

Install and imports

python -m pip install "rboto[glue]==0.4.0"
from rboto import GlueClient
from rboto_glue.types import (
    CatalogInput,
    CreateCatalogOutput,
)

Signature

async def create_catalog(
    *,
    name: str,
    catalog_input: CatalogInput,
    tags: dict[str, str] | None = None,
) -> CreateCatalogOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
name Yes The name of the catalog to create.
catalog_input Yes A CatalogInput object that defines the metadata for the catalog.
tags No 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.

Output

CreateCatalogOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

No fields.

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

CatalogInput, CreateCatalogOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_glue.exceptions:

AccessDeniedError, AlreadyExistsError, ConcurrentModificationError, EntityNotFoundError, FederatedResourceAlreadyExistsError, FederationSourceError, GlueEncryptionError, InternalServiceError, InvalidInputError, OperationTimeoutError, ResourceNumberLimitExceededError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model