1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GroupResources`](crate::operation::group_resources::builders::GroupResourcesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`group(impl Into<String>)`](crate::operation::group_resources::builders::GroupResourcesFluentBuilder::group) / [`set_group(Option<String>)`](crate::operation::group_resources::builders::GroupResourcesFluentBuilder::set_group):<br>required: **true**<br><p>The name or the ARN of the resource group to add resources to.</p><br>
    ///   - [`resource_arns(impl Into<String>)`](crate::operation::group_resources::builders::GroupResourcesFluentBuilder::resource_arns) / [`set_resource_arns(Option<Vec::<String>>)`](crate::operation::group_resources::builders::GroupResourcesFluentBuilder::set_resource_arns):<br>required: **true**<br><p>The list of ARNs of the resources to be added to the group. </p><br>
    /// - On success, responds with [`GroupResourcesOutput`](crate::operation::group_resources::GroupResourcesOutput) with field(s):
    ///   - [`succeeded(Option<Vec::<String>>)`](crate::operation::group_resources::GroupResourcesOutput::succeeded): <p>A list of ARNs of the resources that this operation successfully added to the group.</p>
    ///   - [`failed(Option<Vec::<FailedResource>>)`](crate::operation::group_resources::GroupResourcesOutput::failed): <p>A list of ARNs of any resources that this operation failed to add to the group.</p>
    ///   - [`pending(Option<Vec::<PendingResource>>)`](crate::operation::group_resources::GroupResourcesOutput::pending): <p>A list of ARNs of any resources that this operation is still in the process adding to the group. These pending additions continue asynchronously. You can check the status of pending additions by using the <code> <code>ListGroupResources</code> </code> operation, and checking the <code>Resources</code> array in the response and the <code>Status</code> field of each object in that array. </p>
    /// - On failure, responds with [`SdkError<GroupResourcesError>`](crate::operation::group_resources::GroupResourcesError)
    pub fn group_resources(&self) -> crate::operation::group_resources::builders::GroupResourcesFluentBuilder {
        crate::operation::group_resources::builders::GroupResourcesFluentBuilder::new(self.handle.clone())
    }
}