update_data_quality_evaluation_config
¶
update_data_quality_evaluation_config(
name: NameString,
*,
config_overrides: Optional[GlueClientConfig] = 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/glue.py
20484 20485 20486 20487 20488 20489 20490 20491 20492 20493 20494 20495 20496 20497 20498 20499 20500 20501 20502 20503 20504 20505 20506 20507 20508 20509 20510 20511 20512 20513 20514 20515 20516 20517 20518 20519 20520 20521 20522 20523 20524 20525 20526 20527 20528 20529 20530 20531 20532 20533 20534 20535 20536 20537 20538 20539 20540 20541 20542 20543 20544 20545 20546 20547 20548 20549 20550 20551 20552 20553 20554 20555 20556 20557 20558 20559 20560 20561 20562 20563 20564 20565 20566 20567 20568 20569 20570 20571 20572 20573 20574 20575 20576 20577 20578 20579 20580 20581 20582 20583 20584 20585 20586 20587 20588 20589 20590 20591 20592 20593 20594 20595 20596 20597 20598 | |