Struct aws_sdk_athena::model::WorkGroup
source · #[non_exhaustive]pub struct WorkGroup { /* private fields */ }
Expand description
A workgroup, which contains a name, description, creation time, state, and other configuration, listed under WorkGroup$Configuration
. Each workgroup enables you to isolate queries for you or your group of users from other queries in the same account, to configure the query results location and the encryption configuration (known as workgroup settings), to enable sending query metrics to Amazon CloudWatch, and to establish per-query data usage control limits for all queries in a workgroup. The workgroup settings override is specified in EnforceWorkGroupConfiguration
(true/false) in the WorkGroupConfiguration
. See WorkGroupConfiguration$EnforceWorkGroupConfiguration
.
Implementations§
source§impl WorkGroup
impl WorkGroup
sourcepub fn state(&self) -> Option<&WorkGroupState>
pub fn state(&self) -> Option<&WorkGroupState>
The state of the workgroup: ENABLED or DISABLED.
sourcepub fn configuration(&self) -> Option<&WorkGroupConfiguration>
pub fn configuration(&self) -> Option<&WorkGroupConfiguration>
The configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption configuration, if any, used for query results; whether the Amazon CloudWatch Metrics are enabled for the workgroup; whether workgroup settings override client-side 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
.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The workgroup description.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The date and time the workgroup was created.