#[non_exhaustive]pub struct UpdateDataQualityEvaluationConfigInput {Show 14 fields
pub name: Option<String>,
pub data_source: Option<DataQualityEvaluationConfigDataSource>,
pub ruleset_name: Option<String>,
pub managed_ruleset_name: Option<DataQualityEvaluationConfigManagedRuleset>,
pub triggers: Option<Vec<DataQualityEvaluationConfigTrigger>>,
pub schedule_expression: Option<String>,
pub start_at: Option<DateTime>,
pub end_at: Option<DateTime>,
pub pause_runs: Option<bool>,
pub role: Option<String>,
pub number_of_workers: Option<i32>,
pub timeout: Option<i32>,
pub additional_run_options: Option<DataQualityEvaluationConfigAdditionalRunOptions>,
pub additional_data_sources: Option<HashMap<String, DataSource>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>The name of the data quality evaluation configuration to update.
data_source: Option<DataQualityEvaluationConfigDataSource>The database or table that the configuration applies to. Replaces the current data source.
ruleset_name: 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.
managed_ruleset_name: Option<DataQualityEvaluationConfigManagedRuleset>A built-in ruleset, SIMPLE or ADVANCED, that profiles each table.
triggers: 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.
schedule_expression: 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.
start_at: Option<DateTime>The time from which the schedule runs, inclusive.
end_at: Option<DateTime>The time at which the schedule stops running, exclusive.
pause_runs: Option<bool>Specifies whether to pause the configuration. While paused, the configuration evaluates nothing, including tables added to the catalog or database.
role: 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.
number_of_workers: Option<i32>The number of G.1X workers to be used in the run. The default is 5.
timeout: 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).
additional_run_options: Option<DataQualityEvaluationConfigAdditionalRunOptions>Additional run options you can specify for an evaluation run.
additional_data_sources: Option<HashMap<String, DataSource>>A map of reference strings to additional data sources you can specify for an evaluation run.
Implementations§
Source§impl UpdateDataQualityEvaluationConfigInput
impl UpdateDataQualityEvaluationConfigInput
Sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the data quality evaluation configuration to update.
Sourcepub fn data_source(&self) -> Option<&DataQualityEvaluationConfigDataSource>
pub fn data_source(&self) -> Option<&DataQualityEvaluationConfigDataSource>
The database or table that the configuration applies to. Replaces the current data source.
Sourcepub fn ruleset_name(&self) -> Option<&str>
pub fn ruleset_name(&self) -> Option<&str>
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,
) -> Option<&DataQualityEvaluationConfigManagedRuleset>
pub fn managed_ruleset_name( &self, ) -> Option<&DataQualityEvaluationConfigManagedRuleset>
A built-in ruleset, SIMPLE or ADVANCED, that profiles each table.
Sourcepub fn triggers(&self) -> &[DataQualityEvaluationConfigTrigger]
pub fn triggers(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .triggers.is_none().
Sourcepub fn schedule_expression(&self) -> Option<&str>
pub fn schedule_expression(&self) -> Option<&str>
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 end_at(&self) -> Option<&DateTime>
pub fn end_at(&self) -> Option<&DateTime>
The time at which the schedule stops running, exclusive.
Sourcepub fn pause_runs(&self) -> Option<bool>
pub fn 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) -> Option<&str>
pub fn role(&self) -> Option<&str>
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) -> Option<i32>
pub fn 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) -> Option<i32>
pub fn 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,
) -> Option<&DataQualityEvaluationConfigAdditionalRunOptions>
pub fn additional_run_options( &self, ) -> Option<&DataQualityEvaluationConfigAdditionalRunOptions>
Additional run options you can specify for an evaluation run.
Sourcepub fn additional_data_sources(&self) -> Option<&HashMap<String, DataSource>>
pub fn additional_data_sources(&self) -> Option<&HashMap<String, DataSource>>
A map of reference strings to additional data sources you can specify for an evaluation run.
Source§impl UpdateDataQualityEvaluationConfigInput
impl UpdateDataQualityEvaluationConfigInput
Sourcepub fn builder() -> UpdateDataQualityEvaluationConfigInputBuilder
pub fn builder() -> UpdateDataQualityEvaluationConfigInputBuilder
Creates a new builder-style object to manufacture UpdateDataQualityEvaluationConfigInput.
Source§impl UpdateDataQualityEvaluationConfigInput
impl UpdateDataQualityEvaluationConfigInput
Sourcepub fn deserialize(
deserializer: &mut dyn ShapeDeserializer,
) -> Result<Self, SerdeError>
pub fn deserialize( deserializer: &mut dyn ShapeDeserializer, ) -> Result<Self, SerdeError>
Deserializes this structure from a [ShapeDeserializer].
Trait Implementations§
Source§impl Clone for UpdateDataQualityEvaluationConfigInput
impl Clone for UpdateDataQualityEvaluationConfigInput
Source§fn clone(&self) -> UpdateDataQualityEvaluationConfigInput
fn clone(&self) -> UpdateDataQualityEvaluationConfigInput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl SerializableStruct for UpdateDataQualityEvaluationConfigInput
impl SerializableStruct for UpdateDataQualityEvaluationConfigInput
Source§fn schema(&self) -> &Schema<'_>
fn schema(&self) -> &Schema<'_>
Source§fn serialize_members(
&self,
ser: &mut dyn ShapeSerializer,
) -> Result<(), SerdeError>
fn serialize_members( &self, ser: &mut dyn ShapeSerializer, ) -> Result<(), SerdeError>
impl StructuralPartialEq for UpdateDataQualityEvaluationConfigInput
Auto Trait Implementations§
impl Freeze for UpdateDataQualityEvaluationConfigInput
impl RefUnwindSafe for UpdateDataQualityEvaluationConfigInput
impl Send for UpdateDataQualityEvaluationConfigInput
impl Sync for UpdateDataQualityEvaluationConfigInput
impl Unpin for UpdateDataQualityEvaluationConfigInput
impl UnsafeUnpin for UpdateDataQualityEvaluationConfigInput
impl UnwindSafe for UpdateDataQualityEvaluationConfigInput
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