pub struct UpdateDataQualityEvaluationConfigFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateDataQualityEvaluationConfig.
Updates a data quality evaluation configuration. Fields that you don't specify keep their current values.
Implementations§
Source§impl UpdateDataQualityEvaluationConfigFluentBuilder
impl UpdateDataQualityEvaluationConfigFluentBuilder
Sourcepub fn as_input(&self) -> &UpdateDataQualityEvaluationConfigInputBuilder
pub fn as_input(&self) -> &UpdateDataQualityEvaluationConfigInputBuilder
Access the UpdateDataQualityEvaluationConfig as a reference.
Sourcepub async fn send(
self,
) -> Result<UpdateDataQualityEvaluationConfigOutput, SdkError<UpdateDataQualityEvaluationConfigError, HttpResponse>>
pub async fn send( self, ) -> Result<UpdateDataQualityEvaluationConfigOutput, SdkError<UpdateDataQualityEvaluationConfigError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Sourcepub fn customize(
self,
) -> CustomizableOperation<UpdateDataQualityEvaluationConfigOutput, UpdateDataQualityEvaluationConfigError, Self>
pub fn customize( self, ) -> CustomizableOperation<UpdateDataQualityEvaluationConfigOutput, UpdateDataQualityEvaluationConfigError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
Sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the data quality evaluation configuration to update.
Sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the data quality evaluation configuration to update.
Sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the data quality evaluation configuration to update.
Sourcepub fn data_source(self, input: DataQualityEvaluationConfigDataSource) -> Self
pub fn data_source(self, input: DataQualityEvaluationConfigDataSource) -> Self
The database or table that the configuration applies to. Replaces the current data source.
Sourcepub fn set_data_source(
self,
input: Option<DataQualityEvaluationConfigDataSource>,
) -> Self
pub fn set_data_source( self, input: Option<DataQualityEvaluationConfigDataSource>, ) -> Self
The database or table that the configuration applies to. Replaces the current data source.
Sourcepub fn get_data_source(&self) -> &Option<DataQualityEvaluationConfigDataSource>
pub fn get_data_source(&self) -> &Option<DataQualityEvaluationConfigDataSource>
The database or table that the configuration applies to. Replaces the current data source.
Sourcepub fn ruleset_name(self, input: impl Into<String>) -> Self
pub fn ruleset_name(self, input: impl Into<String>) -> Self
The name of a Data Quality Definition Language (DQDL) ruleset, containing analyzers, rules, or both, to evaluate tables with. You create the ruleset using the CreateDataQualityRuleset API. Specify either RulesetName or ManagedRulesetName, not both.
Sourcepub fn set_ruleset_name(self, input: Option<String>) -> Self
pub fn set_ruleset_name(self, input: Option<String>) -> Self
The name of a Data Quality Definition Language (DQDL) ruleset, containing analyzers, rules, or both, to evaluate tables with. You create the ruleset using the CreateDataQualityRuleset API. Specify either RulesetName or ManagedRulesetName, not both.
Sourcepub fn get_ruleset_name(&self) -> &Option<String>
pub fn get_ruleset_name(&self) -> &Option<String>
The name of a Data Quality Definition Language (DQDL) ruleset, containing analyzers, rules, or both, to evaluate tables with. You create the ruleset using the CreateDataQualityRuleset API. Specify either RulesetName or ManagedRulesetName, not both.
Sourcepub fn managed_ruleset_name(
self,
input: DataQualityEvaluationConfigManagedRuleset,
) -> Self
pub fn managed_ruleset_name( self, input: DataQualityEvaluationConfigManagedRuleset, ) -> Self
A built-in ruleset, SIMPLE or ADVANCED, that profiles each table.
Sourcepub fn set_managed_ruleset_name(
self,
input: Option<DataQualityEvaluationConfigManagedRuleset>,
) -> Self
pub fn set_managed_ruleset_name( self, input: Option<DataQualityEvaluationConfigManagedRuleset>, ) -> Self
A built-in ruleset, SIMPLE or ADVANCED, that profiles each table.
Sourcepub fn get_managed_ruleset_name(
&self,
) -> &Option<DataQualityEvaluationConfigManagedRuleset>
pub fn get_managed_ruleset_name( &self, ) -> &Option<DataQualityEvaluationConfigManagedRuleset>
A built-in ruleset, SIMPLE or ADVANCED, that profiles each table.
Sourcepub fn triggers(self, input: DataQualityEvaluationConfigTrigger) -> Self
pub fn triggers(self, input: DataQualityEvaluationConfigTrigger) -> Self
Appends an item to Triggers.
To override the contents of this collection use set_triggers.
When the configuration evaluates tables. Replaces the current triggers. Choose from the following triggers:
- ONCE
-
Evaluates each table one time, including when tables are added to a database or catalog.
- SCHEDULE
-
Evaluates each table on the cron or rate expression in
ScheduleExpression, between the optionalStartAtandEndAttimes. - METADATA_CHANGE
-
Evaluates a table whenever its Glue Data Catalog metadata changes, such as a schema change or an Apache Iceberg commit.
Sourcepub fn set_triggers(
self,
input: Option<Vec<DataQualityEvaluationConfigTrigger>>,
) -> Self
pub fn set_triggers( self, input: Option<Vec<DataQualityEvaluationConfigTrigger>>, ) -> Self
When the configuration evaluates tables. Replaces the current triggers. Choose from the following triggers:
- ONCE
-
Evaluates each table one time, including when tables are added to a database or catalog.
- SCHEDULE
-
Evaluates each table on the cron or rate expression in
ScheduleExpression, between the optionalStartAtandEndAttimes. - METADATA_CHANGE
-
Evaluates a table whenever its Glue Data Catalog metadata changes, such as a schema change or an Apache Iceberg commit.
Sourcepub fn get_triggers(&self) -> &Option<Vec<DataQualityEvaluationConfigTrigger>>
pub fn get_triggers(&self) -> &Option<Vec<DataQualityEvaluationConfigTrigger>>
When the configuration evaluates tables. Replaces the current triggers. Choose from the following triggers:
- ONCE
-
Evaluates each table one time, including when tables are added to a database or catalog.
- SCHEDULE
-
Evaluates each table on the cron or rate expression in
ScheduleExpression, between the optionalStartAtandEndAttimes. - METADATA_CHANGE
-
Evaluates a table whenever its Glue Data Catalog metadata changes, such as a schema change or an Apache Iceberg commit.
Sourcepub fn schedule_expression(self, input: impl Into<String>) -> Self
pub fn schedule_expression(self, input: impl Into<String>) -> Self
A cron or rate expression, in UTC, for the SCHEDULE trigger, for example cron(0 6 * * ? *). The schedule can run at most once an hour.
Sourcepub fn set_schedule_expression(self, input: Option<String>) -> Self
pub fn set_schedule_expression(self, input: Option<String>) -> Self
A cron or rate expression, in UTC, for the SCHEDULE trigger, for example cron(0 6 * * ? *). The schedule can run at most once an hour.
Sourcepub fn get_schedule_expression(&self) -> &Option<String>
pub fn get_schedule_expression(&self) -> &Option<String>
A cron or rate expression, in UTC, for the SCHEDULE trigger, for example cron(0 6 * * ? *). The schedule can run at most once an hour.
Sourcepub fn start_at(self, input: DateTime) -> Self
pub fn start_at(self, input: DateTime) -> Self
The time from which the schedule runs, inclusive.
Sourcepub fn set_start_at(self, input: Option<DateTime>) -> Self
pub fn set_start_at(self, input: Option<DateTime>) -> Self
The time from which the schedule runs, inclusive.
Sourcepub fn get_start_at(&self) -> &Option<DateTime>
pub fn get_start_at(&self) -> &Option<DateTime>
The time from which the schedule runs, inclusive.
Sourcepub fn end_at(self, input: DateTime) -> Self
pub fn end_at(self, input: DateTime) -> Self
The time at which the schedule stops running, exclusive.
Sourcepub fn set_end_at(self, input: Option<DateTime>) -> Self
pub fn set_end_at(self, input: Option<DateTime>) -> Self
The time at which the schedule stops running, exclusive.
Sourcepub fn get_end_at(&self) -> &Option<DateTime>
pub fn get_end_at(&self) -> &Option<DateTime>
The time at which the schedule stops running, exclusive.
Sourcepub fn pause_runs(self, input: bool) -> Self
pub fn pause_runs(self, input: bool) -> Self
Specifies whether to pause the configuration. While paused, the configuration evaluates nothing, including tables added to the catalog or database.
Sourcepub fn set_pause_runs(self, input: Option<bool>) -> Self
pub fn set_pause_runs(self, input: Option<bool>) -> Self
Specifies whether to pause the configuration. While paused, the configuration evaluates nothing, including tables added to the catalog or database.
Sourcepub fn get_pause_runs(&self) -> &Option<bool>
pub fn get_pause_runs(&self) -> &Option<bool>
Specifies whether to pause the configuration. While paused, the configuration evaluates nothing, including tables added to the catalog or database.
Sourcepub fn role(self, input: impl Into<String>) -> Self
pub fn role(self, input: impl Into<String>) -> Self
The IAM role that evaluations assume. You can specify the role name or the role Amazon Resource Name (ARN). The role needs the trust policy and permissions described for CreateDataQualityEvaluationConfig.
Sourcepub fn set_role(self, input: Option<String>) -> Self
pub fn set_role(self, input: Option<String>) -> Self
The IAM role that evaluations assume. You can specify the role name or the role Amazon Resource Name (ARN). The role needs the trust policy and permissions described for CreateDataQualityEvaluationConfig.
Sourcepub fn get_role(&self) -> &Option<String>
pub fn get_role(&self) -> &Option<String>
The IAM role that evaluations assume. You can specify the role name or the role Amazon Resource Name (ARN). The role needs the trust policy and permissions described for CreateDataQualityEvaluationConfig.
Sourcepub fn number_of_workers(self, input: i32) -> Self
pub fn number_of_workers(self, input: i32) -> Self
The number of G.1X workers to be used in the run. The default is 5.
Sourcepub fn set_number_of_workers(self, input: Option<i32>) -> Self
pub fn set_number_of_workers(self, input: Option<i32>) -> Self
The number of G.1X workers to be used in the run. The default is 5.
Sourcepub fn get_number_of_workers(&self) -> &Option<i32>
pub fn get_number_of_workers(&self) -> &Option<i32>
The number of G.1X workers to be used in the run. The default is 5.
Sourcepub fn timeout(self, input: i32) -> Self
pub fn timeout(self, input: i32) -> Self
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).
Sourcepub fn set_timeout(self, input: Option<i32>) -> Self
pub fn set_timeout(self, input: Option<i32>) -> Self
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).
Sourcepub fn get_timeout(&self) -> &Option<i32>
pub fn get_timeout(&self) -> &Option<i32>
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).
Sourcepub fn additional_run_options(
self,
input: DataQualityEvaluationConfigAdditionalRunOptions,
) -> Self
pub fn additional_run_options( self, input: DataQualityEvaluationConfigAdditionalRunOptions, ) -> Self
Additional run options you can specify for an evaluation run.
Sourcepub fn set_additional_run_options(
self,
input: Option<DataQualityEvaluationConfigAdditionalRunOptions>,
) -> Self
pub fn set_additional_run_options( self, input: Option<DataQualityEvaluationConfigAdditionalRunOptions>, ) -> Self
Additional run options you can specify for an evaluation run.
Sourcepub fn get_additional_run_options(
&self,
) -> &Option<DataQualityEvaluationConfigAdditionalRunOptions>
pub fn get_additional_run_options( &self, ) -> &Option<DataQualityEvaluationConfigAdditionalRunOptions>
Additional run options you can specify for an evaluation run.
Sourcepub fn additional_data_sources(
self,
k: impl Into<String>,
v: DataSource,
) -> Self
pub fn additional_data_sources( self, k: impl Into<String>, v: DataSource, ) -> Self
Adds a key-value pair to AdditionalDataSources.
To override the contents of this collection use set_additional_data_sources.
A map of reference strings to additional data sources you can specify for an evaluation run.
Sourcepub fn set_additional_data_sources(
self,
input: Option<HashMap<String, DataSource>>,
) -> Self
pub fn set_additional_data_sources( self, input: Option<HashMap<String, DataSource>>, ) -> Self
A map of reference strings to additional data sources you can specify for an evaluation run.
Sourcepub fn get_additional_data_sources(
&self,
) -> &Option<HashMap<String, DataSource>>
pub fn get_additional_data_sources( &self, ) -> &Option<HashMap<String, DataSource>>
A map of reference strings to additional data sources you can specify for an evaluation run.
Trait Implementations§
Source§impl Clone for UpdateDataQualityEvaluationConfigFluentBuilder
impl Clone for UpdateDataQualityEvaluationConfigFluentBuilder
Source§fn clone(&self) -> UpdateDataQualityEvaluationConfigFluentBuilder
fn clone(&self) -> UpdateDataQualityEvaluationConfigFluentBuilder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for UpdateDataQualityEvaluationConfigFluentBuilder
impl !UnwindSafe for UpdateDataQualityEvaluationConfigFluentBuilder
impl Freeze for UpdateDataQualityEvaluationConfigFluentBuilder
impl Send for UpdateDataQualityEvaluationConfigFluentBuilder
impl Sync for UpdateDataQualityEvaluationConfigFluentBuilder
impl Unpin for UpdateDataQualityEvaluationConfigFluentBuilder
impl UnsafeUnpin for UpdateDataQualityEvaluationConfigFluentBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more