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
3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 | |