create_data_quality_ruleset
¶
create_data_quality_ruleset(
name: NameString,
ruleset: DataQualityRulesetString,
*,
config_overrides: Optional[GlueClientConfig] = None,
description: Optional[DescriptionString] = None,
tags: Optional[TagsMap] = None,
target_table: Optional[DataQualityTargetTable] = None,
data_quality_security_configuration: Optional[NameString] = None,
client_token: Optional[HashString] = None,
) -> CreateDataQualityRulesetResponse
Creates a data quality ruleset with DQDL rules applied to a specified Glue table.
You create the ruleset using the Data Quality Definition Language (DQDL). For more information, see the Glue developer guide.
Parameters:
-
name(NameString) –A unique name for the data quality ruleset.
-
description(Optional[DescriptionString], default:None) –A description of the data quality ruleset.
-
ruleset(DataQualityRulesetString) –A Data Quality Definition Language (DQDL) ruleset. For more information, see the Glue developer guide.
-
tags(Optional[TagsMap], default:None) –A list of tags applied to the data quality ruleset.
-
target_table(Optional[DataQualityTargetTable], default:None) –A target table associated with the data quality ruleset.
-
data_quality_security_configuration(Optional[NameString], default:None) –The name of the security configuration created with the data quality encryption option.
-
client_token(Optional[HashString], default:None) –Used for idempotency and is recommended to be set to a random ID (such as a UUID) to avoid creating or starting multiple instances of the same resource.
Raises:
-
AlreadyExistsException–A resource to be created or added already exists.
-
InternalServiceException–An internal service error occurred.
-
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/glue.py
3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 | |