aws_sdk_resourcegroups/client/ungroup_resources.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UngroupResources`](crate::operation::ungroup_resources::builders::UngroupResourcesFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`group(impl Into<String>)`](crate::operation::ungroup_resources::builders::UngroupResourcesFluentBuilder::group) / [`set_group(Option<String>)`](crate::operation::ungroup_resources::builders::UngroupResourcesFluentBuilder::set_group):<br>required: **true**<br><p>The name or the Amazon resource name (ARN) of the resource group from which to remove the resources.</p><br>
7 /// - [`resource_arns(impl Into<String>)`](crate::operation::ungroup_resources::builders::UngroupResourcesFluentBuilder::resource_arns) / [`set_resource_arns(Option<Vec::<String>>)`](crate::operation::ungroup_resources::builders::UngroupResourcesFluentBuilder::set_resource_arns):<br>required: **true**<br><p>The Amazon resource names (ARNs) of the resources to be removed from the group.</p><br>
8 /// - On success, responds with [`UngroupResourcesOutput`](crate::operation::ungroup_resources::UngroupResourcesOutput) with field(s):
9 /// - [`succeeded(Option<Vec::<String>>)`](crate::operation::ungroup_resources::UngroupResourcesOutput::succeeded): <p>A list of resources that were successfully removed from the group by this operation.</p>
10 /// - [`failed(Option<Vec::<FailedResource>>)`](crate::operation::ungroup_resources::UngroupResourcesOutput::failed): <p>A list of any resources that failed to be removed from the group by this operation.</p>
11 /// - [`pending(Option<Vec::<PendingResource>>)`](crate::operation::ungroup_resources::UngroupResourcesOutput::pending): <p>A list of any resources that are still in the process of being removed from the group by this operation. These pending removals continue asynchronously. You can check the status of pending removals by using the <code> <code>ListGroupResources</code> </code> operation. After the resource is successfully removed, it no longer appears in the response.</p>
12 /// - On failure, responds with [`SdkError<UngroupResourcesError>`](crate::operation::ungroup_resources::UngroupResourcesError)
13 pub fn ungroup_resources(&self) -> crate::operation::ungroup_resources::builders::UngroupResourcesFluentBuilder {
14 crate::operation::ungroup_resources::builders::UngroupResourcesFluentBuilder::new(self.handle.clone())
15 }
16}