pub struct CreateWorkGroupFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateWorkGroup.
Creates a workgroup with the specified name. A workgroup can be an Apache Spark enabled workgroup or an Athena SQL workgroup.
Implementations§
source§impl CreateWorkGroupFluentBuilder
impl CreateWorkGroupFluentBuilder
sourcepub fn as_input(&self) -> &CreateWorkGroupInputBuilder
pub fn as_input(&self) -> &CreateWorkGroupInputBuilder
Access the CreateWorkGroup as a reference.
sourcepub async fn send(
self
) -> Result<CreateWorkGroupOutput, SdkError<CreateWorkGroupError, HttpResponse>>
pub async fn send( self ) -> Result<CreateWorkGroupOutput, SdkError<CreateWorkGroupError, HttpResponse>>
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 async fn customize(
self
) -> Result<CustomizableOperation<CreateWorkGroupOutput, CreateWorkGroupError>, SdkError<CreateWorkGroupError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateWorkGroupOutput, CreateWorkGroupError>, SdkError<CreateWorkGroupError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn configuration(self, input: WorkGroupConfiguration) -> Self
pub fn configuration(self, input: WorkGroupConfiguration) -> Self
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 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 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 get_configuration(&self) -> &Option<WorkGroupConfiguration>
pub fn get_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, 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.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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.
A list of comma separated tags to add to the workgroup that is created.
Trait Implementations§
source§impl Clone for CreateWorkGroupFluentBuilder
impl Clone for CreateWorkGroupFluentBuilder
source§fn clone(&self) -> CreateWorkGroupFluentBuilder
fn clone(&self) -> CreateWorkGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more