#[non_exhaustive]pub struct CreateWorkGroupInput {
pub name: Option<String>,
pub configuration: Option<WorkGroupConfiguration>,
pub description: Option<String>,
pub tags: Option<Vec<Tag>>,
}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: Option<String>The workgroup name.
configuration: Option<WorkGroupConfiguration>Contains configuration information for creating an Athena SQL workgroup or Spark enabled Athena workgroup. Athena SQL workgroup configuration includes the location in Amazon S3 where query and calculation results are stored, the encryption configuration, if any, used for encrypting query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, the limit for the amount of bytes scanned (cutoff) per query, if it is specified, and whether workgroup's settings (specified with EnforceWorkGroupConfiguration) in the WorkGroupConfiguration override client-side settings. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
description: Option<String>The workgroup description.
A list of comma separated tags to add to the workgroup that is created.
Implementations§
source§impl CreateWorkGroupInput
impl CreateWorkGroupInput
sourcepub fn configuration(&self) -> Option<&WorkGroupConfiguration>
pub fn configuration(&self) -> Option<&WorkGroupConfiguration>
Contains configuration information for creating an Athena SQL workgroup or Spark enabled Athena workgroup. Athena SQL workgroup configuration includes the location in Amazon S3 where query and calculation results are stored, the encryption configuration, if any, used for encrypting query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, the limit for the amount of bytes scanned (cutoff) per query, if it is specified, and whether workgroup's settings (specified with EnforceWorkGroupConfiguration) in the WorkGroupConfiguration override client-side settings. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The workgroup description.
A list of comma separated tags to add to the workgroup that is created.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl CreateWorkGroupInput
impl CreateWorkGroupInput
sourcepub fn builder() -> CreateWorkGroupInputBuilder
pub fn builder() -> CreateWorkGroupInputBuilder
Creates a new builder-style object to manufacture CreateWorkGroupInput.
Trait Implementations§
source§impl Clone for CreateWorkGroupInput
impl Clone for CreateWorkGroupInput
source§fn clone(&self) -> CreateWorkGroupInput
fn clone(&self) -> CreateWorkGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateWorkGroupInput
impl Debug for CreateWorkGroupInput
source§impl PartialEq for CreateWorkGroupInput
impl PartialEq for CreateWorkGroupInput
source§fn eq(&self, other: &CreateWorkGroupInput) -> bool
fn eq(&self, other: &CreateWorkGroupInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateWorkGroupInput
Auto Trait Implementations§
impl Freeze for CreateWorkGroupInput
impl RefUnwindSafe for CreateWorkGroupInput
impl Send for CreateWorkGroupInput
impl Sync for CreateWorkGroupInput
impl Unpin for CreateWorkGroupInput
impl UnwindSafe for CreateWorkGroupInput
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