Struct aws_sdk_resourcegroups::client::fluent_builders::GroupResources [−][src]
pub struct GroupResources<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to GroupResources
.
Adds the specified resources to the specified group.
Minimum permissions
To run this command, you must have the following permissions:
-
resource-groups:GroupResources
Implementations
impl<C, M, R> GroupResources<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GroupResources<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GroupResourcesOutput, SdkError<GroupResourcesError>> where
R::Policy: SmithyRetryPolicy<GroupResourcesInputOperationOutputAlias, GroupResourcesOutput, GroupResourcesError, GroupResourcesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GroupResourcesOutput, SdkError<GroupResourcesError>> where
R::Policy: SmithyRetryPolicy<GroupResourcesInputOperationOutputAlias, GroupResourcesOutput, GroupResourcesError, GroupResourcesInputOperationRetryAlias>,
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 name or the ARN of the resource group to add resources to.
The name or the ARN of the resource group to add resources to.
Appends an item to ResourceArns
.
To override the contents of this collection use set_resource_arns
.
The list of ARNs for resources to be added to the group.
The list of ARNs for resources to be added to the group.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for GroupResources<C, M, R>
impl<C, M, R> Send for GroupResources<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for GroupResources<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for GroupResources<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for GroupResources<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