Struct aws_sdk_athena::client::fluent_builders::CreateWorkGroup
source · pub struct CreateWorkGroup { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateWorkGroup
.
Creates a workgroup with the specified name. Only one of Configurations
or Configuration
can be specified; Configurations
for a workgroup with multi engine support (for example, an Apache Spark enabled workgroup) or Configuration
for an Athena SQL workgroup.
Implementations§
source§impl CreateWorkGroup
impl CreateWorkGroup
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateWorkGroup, AwsResponseRetryClassifier>, SdkError<CreateWorkGroupError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateWorkGroup, AwsResponseRetryClassifier>, SdkError<CreateWorkGroupError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateWorkGroupOutput, SdkError<CreateWorkGroupError>>
pub async fn send( self ) -> Result<CreateWorkGroupOutput, SdkError<CreateWorkGroupError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn configuration(self, input: WorkGroupConfiguration) -> Self
pub fn configuration(self, input: WorkGroupConfiguration) -> Self
Contains configuration information for creating an Athena SQL workgroup, which includes the location in Amazon S3 where query 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 set_configuration(self, input: Option<WorkGroupConfiguration>) -> Self
pub fn set_configuration(self, input: Option<WorkGroupConfiguration>) -> Self
Contains configuration information for creating an Athena SQL workgroup, which includes the location in Amazon S3 where query 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, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The workgroup description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The workgroup description.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
A list of comma separated tags to add to the workgroup that is created.
A list of comma separated tags to add to the workgroup that is created.
Trait Implementations§
source§impl Clone for CreateWorkGroup
impl Clone for CreateWorkGroup
source§fn clone(&self) -> CreateWorkGroup
fn clone(&self) -> CreateWorkGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more