create_table_optimizer
async
¶
create_table_optimizer(
catalog_id: CatalogIdString,
database_name: NameString,
table_name: NameString,
type: TableOptimizerType,
table_optimizer_configuration: TableOptimizerConfiguration,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
) -> CreateTableOptimizerResponse
Creates a new table optimizer for a specific function.
Parameters:
-
catalog_id(CatalogIdString) –The Catalog ID of the table.
-
database_name(NameString) –The name of the database in the catalog in which the table resides.
-
table_name(NameString) –The name of the table.
-
type(TableOptimizerType) –The type of table optimizer.
-
table_optimizer_configuration(TableOptimizerConfiguration) –A
TableOptimizerConfigurationobject representing the configuration of a table optimizer.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
AlreadyExistsException–A resource to be created or added already exists.
-
EntityNotFoundException–A specified entity does not exist
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
ThrottlingException–The throttling threshhold was exceeded.
-
ValidationException–A value could not be validated.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/async_glue.py
4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 | |