Struct aws_sdk_athena::model::WorkGroupConfiguration
source · [−]#[non_exhaustive]pub struct WorkGroupConfiguration {
pub result_configuration: Option<ResultConfiguration>,
pub enforce_work_group_configuration: Option<bool>,
pub publish_cloud_watch_metrics_enabled: Option<bool>,
pub bytes_scanned_cutoff_per_query: Option<i64>,
pub requester_pays_enabled: Option<bool>,
pub engine_version: Option<EngineVersion>,
}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.
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.result_configuration: 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.
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.
publish_cloud_watch_metrics_enabled: Option<bool>Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
bytes_scanned_cutoff_per_query: Option<i64>The upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
requester_pays_enabled: 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.
engine_version: 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.
Implementations
sourceimpl 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.
sourceimpl WorkGroupConfiguration
impl WorkGroupConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture WorkGroupConfiguration
Trait Implementations
sourceimpl Clone for WorkGroupConfiguration
impl Clone for WorkGroupConfiguration
sourcefn clone(&self) -> WorkGroupConfiguration
fn clone(&self) -> WorkGroupConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for WorkGroupConfiguration
impl Debug for WorkGroupConfiguration
sourceimpl PartialEq<WorkGroupConfiguration> for WorkGroupConfiguration
impl PartialEq<WorkGroupConfiguration> for WorkGroupConfiguration
sourcefn eq(&self, other: &WorkGroupConfiguration) -> bool
fn eq(&self, other: &WorkGroupConfiguration) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &WorkGroupConfiguration) -> bool
fn ne(&self, other: &WorkGroupConfiguration) -> bool
This method tests for !=.
impl StructuralPartialEq for WorkGroupConfiguration
Auto Trait Implementations
impl RefUnwindSafe for WorkGroupConfiguration
impl Send for WorkGroupConfiguration
impl Sync for WorkGroupConfiguration
impl Unpin for WorkGroupConfiguration
impl UnwindSafe for WorkGroupConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more