update_data_quality_evaluation_config
async
¶
update_data_quality_evaluation_config(
name: NameString,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
data_source: Optional[DataQualityEvaluationConfigDataSource] = None,
ruleset_name: Optional[NameString] = None,
managed_ruleset_name: Optional[DataQualityEvaluationConfigManagedRuleset] = None,
triggers: Optional[DataQualityEvaluationConfigTriggers] = None,
schedule_expression: Optional[DataQualityEvaluationConfigScheduleExpression] = None,
start_at: Optional[Timestamp] = None,
end_at: Optional[Timestamp] = None,
pause_runs: Optional[NullableBoolean] = None,
role: Optional[RoleString] = None,
number_of_workers: Optional[NullableInteger] = None,
timeout: Optional[Timeout] = None,
additional_run_options: Optional[
DataQualityEvaluationConfigAdditionalRunOptions
] = None,
additional_data_sources: Optional[DataSourceMap] = None,
) -> UpdateDataQualityEvaluationConfigResponse
Updates a data quality evaluation configuration. Fields that you don't specify keep their current values.
Parameters:
-
name(NameString) –The name of the data quality evaluation configuration to update.
-
data_source(Optional[DataQualityEvaluationConfigDataSource], default:None) –The database or table that the configuration applies to. Replaces the current data source.
-
ruleset_name(Optional[NameString], default:None) –The name of a Data Quality Definition Language (DQDL) ruleset, containing analyzers, rules, or both, to evaluate tables with. You create the ruleset using the
CreateDataQualityRulesetAPI. Specify eitherRulesetNameorManagedRulesetName, not both. -
managed_ruleset_name(Optional[DataQualityEvaluationConfigManagedRuleset], default:None) –A built-in ruleset,
SIMPLEorADVANCED, that profiles each table. -
triggers(Optional[DataQualityEvaluationConfigTriggers], default:None) –When the configuration evaluates tables. Replaces the current triggers. Choose from the following triggers:
- ONCE
-
Evaluates each table one time, including when tables are added to a database or catalog.
- SCHEDULE
-
Evaluates each table on the cron or rate expression in
ScheduleExpression, between the optionalStartAtandEndAttimes. - METADATA_CHANGE
-
Evaluates a table whenever its Glue Data Catalog metadata changes, such as a schema change or an Apache Iceberg commit.
-
schedule_expression(Optional[DataQualityEvaluationConfigScheduleExpression], default:None) –A cron or rate expression, in UTC, for the
SCHEDULEtrigger, for examplecron(0 6 * * ? *). The schedule can run at most once an hour. -
start_at(Optional[Timestamp], default:None) –The time from which the schedule runs, inclusive.
-
end_at(Optional[Timestamp], default:None) –The time at which the schedule stops running, exclusive.
-
pause_runs(Optional[NullableBoolean], default:None) –Specifies whether to pause the configuration. While paused, the configuration evaluates nothing, including tables added to the catalog or database.
-
role(Optional[RoleString], default:None) –The IAM role that evaluations assume. You can specify the role name or the role Amazon Resource Name (ARN). The role needs the trust policy and permissions described for
CreateDataQualityEvaluationConfig. -
number_of_workers(Optional[NullableInteger], default:None) –The number of
G.1Xworkers to be used in the run. The default is 5. -
timeout(Optional[Timeout], default:None) –The timeout for a run in minutes. This is the maximum time that a run can consume resources before it is terminated and enters
TIMEOUTstatus. The default is 2,880 minutes (48 hours). -
additional_run_options(Optional[DataQualityEvaluationConfigAdditionalRunOptions], default:None) –Additional run options you can specify for an evaluation run.
-
additional_data_sources(Optional[DataSourceMap], default:None) –A map of reference strings to additional data sources you can specify for an evaluation run.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
ConcurrentModificationException–Two processes are trying to modify a resource simultaneously.
-
EntityNotFoundException–A specified entity does not exist
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/async_glue.py
20816 20817 20818 20819 20820 20821 20822 20823 20824 20825 20826 20827 20828 20829 20830 20831 20832 20833 20834 20835 20836 20837 20838 20839 20840 20841 20842 20843 20844 20845 20846 20847 20848 20849 20850 20851 20852 20853 20854 20855 20856 20857 20858 20859 20860 20861 20862 20863 20864 20865 20866 20867 20868 20869 20870 20871 20872 20873 20874 20875 20876 20877 20878 20879 20880 20881 20882 20883 20884 20885 20886 20887 20888 20889 20890 20891 20892 20893 20894 20895 20896 20897 20898 20899 20900 20901 20902 20903 20904 20905 20906 20907 20908 20909 20910 20911 20912 20913 20914 20915 20916 20917 20918 20919 20920 20921 20922 20923 20924 20925 20926 20927 20928 20929 20930 20931 | |