create_column_statistics_task_settings
¶
create_column_statistics_task_settings(
database_name: NameString,
table_name: NameString,
role: NameString,
*,
config_overrides: Optional[GlueClientConfig] = None,
schedule: Optional[CronExpression] = None,
column_name_list: Optional[ColumnNameList] = None,
sample_size: Optional[SampleSizePercentage] = None,
catalog_id: Optional[CatalogIdString] = None,
security_configuration: Optional[NameString] = None,
tags: Optional[TagsMap] = None,
) -> CreateColumnStatisticsTaskSettingsResponse
Creates settings for a column statistics task.
Parameters:
-
database_name(NameString) –The name of the database where the table resides.
-
table_name(NameString) –The name of the table for which to generate column statistics.
-
role(NameString) –The role used for running the column statistics.
-
schedule(Optional[CronExpression], default:None) –A schedule for running the column statistics, specified in CRON syntax.
-
column_name_list(Optional[ColumnNameList], default:None) –A list of column names for which to run statistics.
-
sample_size(Optional[SampleSizePercentage], default:None) –The percentage of data to sample.
-
catalog_id(Optional[CatalogIdString], default:None) –The ID of the Data Catalog in which the database resides.
-
security_configuration(Optional[NameString], default:None) –Name of the security configuration that is used to encrypt CloudWatch logs.
-
tags(Optional[TagsMap], default:None) –A map of tags.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
AlreadyExistsException–A resource to be created or added already exists.
-
ColumnStatisticsTaskRunningException–An exception thrown when you try to start another job while running a column stats generation job.
-
EntityNotFoundException–A specified entity does not exist
-
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/glue.py
2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 | |