AthenaClient.update_data_catalog
rboto-athena==0.4.0 · Service index · Types
Model summary (excerpt): Updates the data catalog that has the specified name.
Install and imports
from rboto import AthenaClient
from rboto_athena.types import (
DataCatalogType,
UpdateDataCatalogOutput,
)
Signature
async def update_data_catalog(
*,
name: str,
type: DataCatalogType,
description: str | None = None,
parameters: dict[str, str] | None = None,
) -> UpdateDataCatalogOutput: ...
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 data catalog to update. The catalog name must be unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena. |
type |
Yes | Specifies the type of data catalog to update. Specify LAMBDA for a federated catalog, HIVE for an external hive metastore, or GLUE for an Glue Data Catalog. |
description |
No | New or modified text that describes the data catalog. |
parameters |
No | Specifies the Lambda function or functions to use for updating the data catalog. This is a mapping whose values depend on the catalog type. For the HIVE data catalog type, use the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version. metadata-function= lambda_arn , sdk-version= version_number For... |
Output
UpdateDataCatalogOutput.
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.
Related types
DataCatalogType, UpdateDataCatalogOutput
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_athena.exceptions:
InternalServerError, InvalidRequestError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.