#[non_exhaustive]pub struct WorkGroupConfigurationUpdates {
pub enforce_work_group_configuration: Option<bool>,
pub result_configuration_updates: Option<ResultConfigurationUpdates>,
pub publish_cloud_watch_metrics_enabled: Option<bool>,
pub bytes_scanned_cutoff_per_query: Option<i64>,
pub remove_bytes_scanned_cutoff_per_query: Option<bool>,
pub requester_pays_enabled: Option<bool>,
pub engine_version: Option<EngineVersion>,
pub remove_customer_content_encryption_configuration: Option<bool>,
pub additional_configuration: Option<String>,
pub execution_role: Option<String>,
pub customer_content_encryption_configuration: Option<CustomerContentEncryptionConfiguration>,
pub enable_minimum_encryption_configuration: Option<bool>,
}Expand description
The configuration information that will be updated for this workgroup, which includes the location in Amazon S3 where query and calculation results are stored, the encryption option, if any, used for query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, whether the workgroup settings override the client-side settings, and the data usage limit for the amount of bytes scanned per query, if it is specified.
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.enforce_work_group_configuration: Option<bool>If set to "true", the settings for the workgroup override client-side settings. If set to "false" client-side settings are used. For more information, see Workgroup Settings Override Client-Side Settings.
result_configuration_updates: Option<ResultConfigurationUpdates>The result configuration information about the queries in this workgroup that will be updated. Includes the updated results location and an updated option for encrypting query results.
publish_cloud_watch_metrics_enabled: Option<bool>Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.
bytes_scanned_cutoff_per_query: Option<i64>The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
remove_bytes_scanned_cutoff_per_query: Option<bool>Indicates that the data usage control limit per query is removed. WorkGroupConfiguration$BytesScannedCutoffPerQuery
requester_pays_enabled: Option<bool>If set to true, allows members assigned to a workgroup to specify Amazon S3 Requester Pays buckets in queries. If set to false, workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is false. For more information about Requester Pays buckets, see Requester Pays Buckets in the Amazon Simple Storage Service Developer Guide.
engine_version: Option<EngineVersion>The engine version requested when a workgroup is updated. After the update, all queries on the workgroup run on the requested engine version. If no value was previously set, the default is Auto. Queries on the AmazonAthenaPreviewFunctionality workgroup run on the preview engine regardless of this setting.
remove_customer_content_encryption_configuration: Option<bool>Removes content encryption configuration from an Apache Spark-enabled Athena workgroup.
additional_configuration: Option<String>Contains a user defined string in JSON format for a Spark-enabled workgroup.
execution_role: Option<String>Contains the ARN of the execution role for the workgroup
customer_content_encryption_configuration: Option<CustomerContentEncryptionConfiguration>Specifies the KMS key that is used to encrypt the user's data stores in Athena. This setting does not apply to Athena SQL workgroups.
enable_minimum_encryption_configuration: Option<bool>Enforces a minimal level of encryption for the workgroup for query and calculation results that are written to Amazon S3. When enabled, workgroup users can set encryption only to the minimum level set by the administrator or higher when they submit queries. This setting does not apply to Spark-enabled workgroups.
The EnforceWorkGroupConfiguration setting takes precedence over the EnableMinimumEncryptionConfiguration flag. This means that if EnforceWorkGroupConfiguration is true, the EnableMinimumEncryptionConfiguration flag is ignored, and the workgroup configuration for encryption is used.
Implementations§
source§impl WorkGroupConfigurationUpdates
impl WorkGroupConfigurationUpdates
sourcepub fn enforce_work_group_configuration(&self) -> Option<bool>
pub fn enforce_work_group_configuration(&self) -> Option<bool>
If set to "true", the settings for the workgroup override client-side settings. If set to "false" client-side settings are used. For more information, see Workgroup Settings Override Client-Side Settings.
sourcepub fn result_configuration_updates(
&self
) -> Option<&ResultConfigurationUpdates>
pub fn result_configuration_updates( &self ) -> Option<&ResultConfigurationUpdates>
The result configuration information about the queries in this workgroup that will be updated. Includes the updated results location and an updated option for encrypting query results.
sourcepub fn publish_cloud_watch_metrics_enabled(&self) -> Option<bool>
pub fn publish_cloud_watch_metrics_enabled(&self) -> Option<bool>
Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.
sourcepub fn bytes_scanned_cutoff_per_query(&self) -> Option<i64>
pub fn bytes_scanned_cutoff_per_query(&self) -> Option<i64>
The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
sourcepub fn remove_bytes_scanned_cutoff_per_query(&self) -> Option<bool>
pub fn remove_bytes_scanned_cutoff_per_query(&self) -> Option<bool>
Indicates that the data usage control limit per query is removed. WorkGroupConfiguration$BytesScannedCutoffPerQuery
sourcepub fn requester_pays_enabled(&self) -> Option<bool>
pub fn requester_pays_enabled(&self) -> Option<bool>
If set to true, allows members assigned to a workgroup to specify Amazon S3 Requester Pays buckets in queries. If set to false, workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is false. For more information about Requester Pays buckets, see Requester Pays Buckets in the Amazon Simple Storage Service Developer Guide.
sourcepub fn engine_version(&self) -> Option<&EngineVersion>
pub fn engine_version(&self) -> Option<&EngineVersion>
The engine version requested when a workgroup is updated. After the update, all queries on the workgroup run on the requested engine version. If no value was previously set, the default is Auto. Queries on the AmazonAthenaPreviewFunctionality workgroup run on the preview engine regardless of this setting.
sourcepub fn remove_customer_content_encryption_configuration(&self) -> Option<bool>
pub fn remove_customer_content_encryption_configuration(&self) -> Option<bool>
Removes content encryption configuration from an Apache Spark-enabled Athena workgroup.
sourcepub fn additional_configuration(&self) -> Option<&str>
pub fn additional_configuration(&self) -> Option<&str>
Contains a user defined string in JSON format for a Spark-enabled workgroup.
sourcepub fn execution_role(&self) -> Option<&str>
pub fn execution_role(&self) -> Option<&str>
Contains the ARN of the execution role for the workgroup
sourcepub fn customer_content_encryption_configuration(
&self
) -> Option<&CustomerContentEncryptionConfiguration>
pub fn customer_content_encryption_configuration( &self ) -> Option<&CustomerContentEncryptionConfiguration>
Specifies the KMS key that is used to encrypt the user's data stores in Athena. This setting does not apply to Athena SQL workgroups.
sourcepub fn enable_minimum_encryption_configuration(&self) -> Option<bool>
pub fn enable_minimum_encryption_configuration(&self) -> Option<bool>
Enforces a minimal level of encryption for the workgroup for query and calculation results that are written to Amazon S3. When enabled, workgroup users can set encryption only to the minimum level set by the administrator or higher when they submit queries. This setting does not apply to Spark-enabled workgroups.
The EnforceWorkGroupConfiguration setting takes precedence over the EnableMinimumEncryptionConfiguration flag. This means that if EnforceWorkGroupConfiguration is true, the EnableMinimumEncryptionConfiguration flag is ignored, and the workgroup configuration for encryption is used.
source§impl WorkGroupConfigurationUpdates
impl WorkGroupConfigurationUpdates
sourcepub fn builder() -> WorkGroupConfigurationUpdatesBuilder
pub fn builder() -> WorkGroupConfigurationUpdatesBuilder
Creates a new builder-style object to manufacture WorkGroupConfigurationUpdates.
Trait Implementations§
source§impl Clone for WorkGroupConfigurationUpdates
impl Clone for WorkGroupConfigurationUpdates
source§fn clone(&self) -> WorkGroupConfigurationUpdates
fn clone(&self) -> WorkGroupConfigurationUpdates
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq<WorkGroupConfigurationUpdates> for WorkGroupConfigurationUpdates
impl PartialEq<WorkGroupConfigurationUpdates> for WorkGroupConfigurationUpdates
source§fn eq(&self, other: &WorkGroupConfigurationUpdates) -> bool
fn eq(&self, other: &WorkGroupConfigurationUpdates) -> bool
self and other values to be equal, and is used
by ==.