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
3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 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 | |