1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateBillingGroup`](crate::operation::update_billing_group::builders::UpdateBillingGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`billing_group_name(impl Into<String>)`](crate::operation::update_billing_group::builders::UpdateBillingGroupFluentBuilder::billing_group_name) / [`set_billing_group_name(Option<String>)`](crate::operation::update_billing_group::builders::UpdateBillingGroupFluentBuilder::set_billing_group_name):<br>required: **true**<br><p>The name of the billing group.</p><br>
    ///   - [`billing_group_properties(BillingGroupProperties)`](crate::operation::update_billing_group::builders::UpdateBillingGroupFluentBuilder::billing_group_properties) / [`set_billing_group_properties(Option<BillingGroupProperties>)`](crate::operation::update_billing_group::builders::UpdateBillingGroupFluentBuilder::set_billing_group_properties):<br>required: **true**<br><p>The properties of the billing group.</p><br>
    ///   - [`expected_version(i64)`](crate::operation::update_billing_group::builders::UpdateBillingGroupFluentBuilder::expected_version) / [`set_expected_version(Option<i64>)`](crate::operation::update_billing_group::builders::UpdateBillingGroupFluentBuilder::set_expected_version):<br>required: **false**<br><p>The expected version of the billing group. If the version of the billing group does not match the expected version specified in the request, the <code>UpdateBillingGroup</code> request is rejected with a <code>VersionConflictException</code>.</p><br>
    /// - On success, responds with [`UpdateBillingGroupOutput`](crate::operation::update_billing_group::UpdateBillingGroupOutput) with field(s):
    ///   - [`version(i64)`](crate::operation::update_billing_group::UpdateBillingGroupOutput::version): <p>The latest version of the billing group.</p>
    /// - On failure, responds with [`SdkError<UpdateBillingGroupError>`](crate::operation::update_billing_group::UpdateBillingGroupError)
    pub fn update_billing_group(&self) -> crate::operation::update_billing_group::builders::UpdateBillingGroupFluentBuilder {
        crate::operation::update_billing_group::builders::UpdateBillingGroupFluentBuilder::new(self.handle.clone())
    }
}