Struct aws_sdk_athena::types::WorkGroup
source · #[non_exhaustive]pub struct WorkGroup {
pub name: String,
pub state: Option<WorkGroupState>,
pub configuration: Option<WorkGroupConfiguration>,
pub description: Option<String>,
pub creation_time: Option<DateTime>,
pub identity_center_application_arn: Option<String>,
}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.
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: StringThe workgroup name.
state: Option<WorkGroupState>The state of the workgroup: ENABLED or DISABLED.
configuration: Option<WorkGroupConfiguration>The configuration of the workgroup, which includes the location in Amazon S3 where query and calculation results are stored, the encryption configuration, if any, used for query and calculation 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.
description: Option<String>The workgroup description.
creation_time: Option<DateTime>The date and time the workgroup was created.
identity_center_application_arn: Option<String>The ARN of the IAM Identity Center enabled application associated with the workgroup.
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 and calculation results are stored, the encryption configuration, if any, used for query and calculation 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.
sourcepub fn identity_center_application_arn(&self) -> Option<&str>
pub fn identity_center_application_arn(&self) -> Option<&str>
The ARN of the IAM Identity Center enabled application associated with the workgroup.