Skip to content

GlueClient.start_data_quality_rule_recommendation_run

rboto-glue==0.4.0 · Service index · Types

Model summary (excerpt): Starts a recommendation run that is used to generate rules when you don't know what rules to write. Glue Data Quality analyzes the data and comes up with recommendations for a potential ruleset. You can then triage the ruleset and modify the generated ruleset to your liking. Recommendation runs are automatically deleted after 90 days.

Install and imports

python -m pip install "rboto[glue]==0.4.0"
from rboto import GlueClient
from rboto_glue.types import (
    DataQualityRuleRecommendationRunAdditionalRunOptions,
    DataSource,
    RecommendationMode,
    StartDataQualityRuleRecommendationRunOutput,
)

Signature

async def start_data_quality_rule_recommendation_run(
    *,
    data_source: DataSource,
    role: str,
    number_of_workers: int | None = None,
    timeout: int | None = None,
    created_ruleset_name: str | None = None,
    data_quality_security_configuration: str | None = None,
    client_token: str | None = None,
    additional_run_options: DataQualityRuleRecommendationRunAdditionalRunOptions | None = None,
    recommendation_mode: RecommendationMode | None = None,
) -> StartDataQualityRuleRecommendationRunOutput: ...

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)
data_source Yes The data source (Glue table) associated with this run.
role Yes The IAM role that Glue assumes to access resources for the run. For more information, see Configure IAM permissions for Glue Data Quality .
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).
created_ruleset_name No A name for the ruleset.
data_quality_security_configuration No The name of the security configuration created with the data quality encryption option.
client_token No 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.
additional_run_options No Additional run options you can specify for a recommendation run.
recommendation_mode No The mode that Glue Data Quality uses to recommend rules. The default is BASIC .

Output

StartDataQualityRuleRecommendationRunOutput.

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
run_id str | None Always present —

| 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.

DataQualityRuleRecommendationRunAdditionalRunOptions, DataSource, RecommendationMode, StartDataQualityRuleRecommendationRunOutput

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:

ConflictError, InternalServiceError, InvalidInputError, OperationTimeoutError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model