Struct aws_sdk_athena::client::fluent_builders::CreateWorkGroup [−][src]
pub struct CreateWorkGroup<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to CreateWorkGroup.
Creates a workgroup with the specified name.
Implementations
impl<C, M, R> CreateWorkGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateWorkGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateWorkGroupOutput, SdkError<CreateWorkGroupError>> where
R::Policy: SmithyRetryPolicy<CreateWorkGroupInputOperationOutputAlias, CreateWorkGroupOutput, CreateWorkGroupError, CreateWorkGroupInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateWorkGroupOutput, SdkError<CreateWorkGroupError>> where
R::Policy: SmithyRetryPolicy<CreateWorkGroupInputOperationOutputAlias, CreateWorkGroupOutput, CreateWorkGroupError, CreateWorkGroupInputOperationRetryAlias>,
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.
The configuration for the 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.
The configuration for the 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.
The workgroup description.
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
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateWorkGroup<C, M, R>
impl<C, M, R> Send for CreateWorkGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateWorkGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateWorkGroup<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateWorkGroup<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
