create_table_optimizer
¶
create_table_optimizer(
catalog_id: CatalogIdString,
database_name: NameString,
table_name: NameString,
type: TableOptimizerType,
table_optimizer_configuration: TableOptimizerConfiguration,
*,
config_overrides: Optional[GlueClientConfig] = 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/glue.py
4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 | |