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
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 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 | |