GlueClient.create_data_quality_evaluation_config
rboto-glue==0.4.0 · Service index · Types
Model summary (excerpt): Creates a data quality evaluation configuration, which evaluates the data quality of a collection of tables in the Glue Data Catalog once, on a schedule, or when table metadata changes. A configuration applies to a catalog, a database, or a single table, and evaluates every table in scope, including tables added later, without per-table setup. When configurations at more than one level apply...
Install and imports
from rboto import GlueClient
from collections.abc import Sequence
from rboto_glue.types import (
CreateDataQualityEvaluationConfigOutput,
DataQualityEvaluationConfigAdditionalRunOptions,
DataQualityEvaluationConfigDataSource,
DataQualityEvaluationConfigLevel,
DataQualityEvaluationConfigManagedRuleset,
DataQualityEvaluationConfigTrigger,
DataSource,
)
Signature
async def create_data_quality_evaluation_config(
*,
name: str,
level: DataQualityEvaluationConfigLevel,
data_source: DataQualityEvaluationConfigDataSource,
role: str,
ruleset_name: str | None = None,
managed_ruleset_name: DataQualityEvaluationConfigManagedRuleset | None = None,
triggers: Sequence[DataQualityEvaluationConfigTrigger] | None = None,
schedule_expression: str | None = None,
start_at: str | None = None,
end_at: str | None = None,
number_of_workers: int | None = None,
timeout: int | None = None,
additional_run_options: DataQualityEvaluationConfigAdditionalRunOptions | None = None,
additional_data_sources: dict[str, DataSource] | None = None,
tags: dict[str, str] | None = None,
client_token: str | None = None,
) -> CreateDataQualityEvaluationConfigOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
name |
Yes | A name for the data quality evaluation configuration. The name must be unique within your account. |
level |
Yes | The Glue Data Catalog hierarchical level that the configuration applies to. Valid values are CATALOG , DATABASE , and TABLE . |
data_source |
Yes | The catalog, database, or table that the configuration applies to, as specified by Level . |
role |
Yes | The IAM role that evaluations assume. You can specify the role name or the role Amazon Resource Name (ARN). The role must allow the glue.amazonaws.com service principal to assume it, and needs permissions to read the catalog ( glue:GetCatalog , glue:GetDatabase , glue:GetTable , glue:SearchTables , and glue:GetPartitions ), read and create rulesets ( glue:GetDataQualityRuleset and... |
ruleset_name |
No | 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 CreateDataQualityRuleset API. Specify either RulesetName or ManagedRulesetName , not both. |
managed_ruleset_name |
No | A built-in ruleset that profiles each table, used when RulesetName is not set. The default is SIMPLE . Choose from the following built-in rulesets: SIMPLE Row count and column count, completeness, minimum, and maximum for every column, mean, sum, and standard deviation for numeric columns, and column length for string columns. ADVANCED Every statistic in SIMPLE , plus distribution, uniqueness,... |
triggers |
No | When the configuration evaluates tables. You can choose one or more triggers, and each table is evaluated at most once an hour. The default is ONCE . 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 optional StartAt... |
schedule_expression |
No | A cron or rate expression, in UTC, for the SCHEDULE trigger, for example cron(0 6 * * ? *) . The schedule can run at most once an hour. |
start_at |
No | The time from which the schedule runs, inclusive. |
end_at |
No | The time at which the schedule stops running, exclusive. |
number_of_workers |
No | The number of G.1X workers to be used in the run. The default is 5. |
timeout |
No | The timeout for a run in minutes. This is the maximum time that a run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). |
additional_run_options |
No | Additional run options you can specify for an evaluation run. |
additional_data_sources |
No | A map of reference strings to additional data sources you can specify for an evaluation run. |
tags |
No | A list of tags applied to the data quality evaluation configuration. |
client_token |
No | A unique, case-sensitive identifier that you provide to ensure the operation completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error. |
Output
CreateDataQualityEvaluationConfigOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
name |
str | None |
Always present | — |
evaluation_run_mode |
DataQualityEvaluationRunModeOutput | None |
Always present | DataQualityEvaluationRunModeOutput |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
CreateDataQualityEvaluationConfigOutput, DataQualityEvaluationConfigAdditionalRunOptions, DataQualityEvaluationConfigDataSource, DataQualityEvaluationConfigLevel, DataQualityEvaluationConfigManagedRuleset, DataQualityEvaluationConfigTrigger, DataSource
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_glue.exceptions:
AccessDeniedError, AlreadyExistsError, EntityNotFoundError, IdempotentParameterMismatchError, InternalServiceError, InvalidInputError, OperationTimeoutError, ResourceNumberLimitExceededError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.