create_column_statistics_task_settings
async
¶
create_column_statistics_task_settings(
database_name: NameString,
table_name: NameString,
role: NameString,
*,
config_overrides: Optional[AsyncGlueClientConfig] = 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/async_glue.py
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 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 | |