create_data_quality_ruleset
async
¶
create_data_quality_ruleset(
name: NameString,
ruleset: DataQualityRulesetString,
*,
config_overrides: Optional[AsyncGlueClientConfig] = 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/async_glue.py
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 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 | |