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.
Trait Implementations§
source§impl PartialEq for WorkGroup
impl PartialEq for WorkGroup
impl StructuralPartialEq for WorkGroup
Auto Trait Implementations§
impl Freeze for WorkGroup
impl RefUnwindSafe for WorkGroup
impl Send for WorkGroup
impl Sync for WorkGroup
impl Unpin for WorkGroup
impl UnwindSafe for WorkGroup
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more