Struct aws_sdk_resourcegroups::client::fluent_builders::DeleteGroup [−][src]
pub struct DeleteGroup<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DeleteGroup
.
Deletes the specified resource group. Deleting a resource group does not delete any resources that are members of the group; it only deletes the group structure.
Minimum permissions
To run this command, you must have the following permissions:
-
resource-groups:DeleteGroup
Implementations
impl<C, M, R> DeleteGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<DeleteGroupOutput, SdkError<DeleteGroupError>> where
R::Policy: SmithyRetryPolicy<DeleteGroupInputOperationOutputAlias, DeleteGroupOutput, DeleteGroupError, DeleteGroupInputOperationRetryAlias>,
pub async fn send(self) -> Result<DeleteGroupOutput, SdkError<DeleteGroupError>> where
R::Policy: SmithyRetryPolicy<DeleteGroupInputOperationOutputAlias, DeleteGroupOutput, DeleteGroupError, DeleteGroupInputOperationRetryAlias>,
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.
Deprecated - don't use this parameter. Use Group
instead.
Deprecated - don't use this parameter. Use Group
instead.
The name or the ARN of the resource group to delete.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DeleteGroup<C, M, R>
impl<C, M, R> Unpin for DeleteGroup<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DeleteGroup<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