Struct aws_sdk_athena::model::WorkGroupConfiguration
source · #[non_exhaustive]pub struct WorkGroupConfiguration { /* private fields */ }
Expand description
The configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup and whether workgroup settings override query settings, and the data usage limits for the amount of data scanned per query or per workgroup. The workgroup settings override is specified in EnforceWorkGroupConfiguration
(true/false) in the WorkGroupConfiguration
. See WorkGroupConfiguration$EnforceWorkGroupConfiguration
.
Implementations§
source§impl WorkGroupConfiguration
impl WorkGroupConfiguration
sourcepub fn result_configuration(&self) -> Option<&ResultConfiguration>
pub fn result_configuration(&self) -> Option<&ResultConfiguration>
The configuration for the workgroup, which includes the location in Amazon S3 where query results are stored and the encryption option, if any, used for query results. To run the query, you must specify the query results location using one of the ways: either in the workgroup using this setting, or for individual queries (client-side), using ResultConfiguration$OutputLocation
. If none of them is set, Athena issues an error that no output location is provided. For more information, see Query Results.
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 publish_cloud_watch_metrics_enabled(&self) -> Option<bool>
pub fn publish_cloud_watch_metrics_enabled(&self) -> Option<bool>
Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
sourcepub fn bytes_scanned_cutoff_per_query(&self) -> Option<i64>
pub fn bytes_scanned_cutoff_per_query(&self) -> Option<i64>
The upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
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 reference 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 that all queries running on the workgroup use. Queries on the AmazonAthenaPreviewFunctionality
workgroup run on the preview engine regardless of this setting.
sourcepub fn additional_configuration(&self) -> Option<&str>
pub fn additional_configuration(&self) -> Option<&str>
Specifies a user defined JSON string that is passed to the notebook engine.
sourcepub fn execution_role(&self) -> Option<&str>
pub fn execution_role(&self) -> Option<&str>
Role used in a notebook session for accessing the user's resources.
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.
source§impl WorkGroupConfiguration
impl WorkGroupConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture WorkGroupConfiguration
.
Trait Implementations§
source§impl Clone for WorkGroupConfiguration
impl Clone for WorkGroupConfiguration
source§fn clone(&self) -> WorkGroupConfiguration
fn clone(&self) -> WorkGroupConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WorkGroupConfiguration
impl Debug for WorkGroupConfiguration
source§impl PartialEq<WorkGroupConfiguration> for WorkGroupConfiguration
impl PartialEq<WorkGroupConfiguration> for WorkGroupConfiguration
source§fn eq(&self, other: &WorkGroupConfiguration) -> bool
fn eq(&self, other: &WorkGroupConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.