aws-sdk-resourcegroups 1.57.0

AWS SDK for AWS Resource Groups
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateGroup`](crate::operation::update_group::builders::UpdateGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`group_name(impl Into<String>)`](crate::operation::update_group::builders::UpdateGroupFluentBuilder::group_name) / [`set_group_name(Option<String>)`](crate::operation::update_group::builders::UpdateGroupFluentBuilder::set_group_name):<br>required: **false**<br><p>Don't use this parameter. Use <code>Group</code> instead.</p><br>
    ///   - [`group(impl Into<String>)`](crate::operation::update_group::builders::UpdateGroupFluentBuilder::group) / [`set_group(Option<String>)`](crate::operation::update_group::builders::UpdateGroupFluentBuilder::set_group):<br>required: **false**<br><p>The name or the ARN of the resource group to update.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_group::builders::UpdateGroupFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_group::builders::UpdateGroupFluentBuilder::set_description):<br>required: **false**<br><p>The new description that you want to update the resource group with. Descriptions can contain letters, numbers, hyphens, underscores, periods, and spaces.</p><br>
    ///   - [`criticality(i32)`](crate::operation::update_group::builders::UpdateGroupFluentBuilder::criticality) / [`set_criticality(Option<i32>)`](crate::operation::update_group::builders::UpdateGroupFluentBuilder::set_criticality):<br>required: **false**<br><p>The critical rank of the application group on a scale of 1 to 10, with a rank of 1 being the most critical, and a rank of 10 being least critical.</p><br>
    ///   - [`owner(impl Into<String>)`](crate::operation::update_group::builders::UpdateGroupFluentBuilder::owner) / [`set_owner(Option<String>)`](crate::operation::update_group::builders::UpdateGroupFluentBuilder::set_owner):<br>required: **false**<br><p>A name, email address or other identifier for the person or group who is considered as the owner of this application group within your organization.</p><br>
    ///   - [`display_name(impl Into<String>)`](crate::operation::update_group::builders::UpdateGroupFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::update_group::builders::UpdateGroupFluentBuilder::set_display_name):<br>required: **false**<br><p>The name of the application group, which you can change at any time.</p><br>
    /// - On success, responds with [`UpdateGroupOutput`](crate::operation::update_group::UpdateGroupOutput) with field(s):
    ///   - [`group(Option<Group>)`](crate::operation::update_group::UpdateGroupOutput::group): <p>The update description of the resource group.</p>
    /// - On failure, responds with [`SdkError<UpdateGroupError>`](crate::operation::update_group::UpdateGroupError)
    pub fn update_group(&self) -> crate::operation::update_group::builders::UpdateGroupFluentBuilder {
        crate::operation::update_group::builders::UpdateGroupFluentBuilder::new(self.handle.clone())
    }
}