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 [`ModifyHapg`](crate::operation::modify_hapg::builders::ModifyHapgFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`hapg_arn(impl Into<String>)`](crate::operation::modify_hapg::builders::ModifyHapgFluentBuilder::hapg_arn) / [`set_hapg_arn(Option<String>)`](crate::operation::modify_hapg::builders::ModifyHapgFluentBuilder::set_hapg_arn):<br>required: **true**<br><p>The ARN of the high-availability partition group to modify.</p><br>
    ///   - [`label(impl Into<String>)`](crate::operation::modify_hapg::builders::ModifyHapgFluentBuilder::label) / [`set_label(Option<String>)`](crate::operation::modify_hapg::builders::ModifyHapgFluentBuilder::set_label):<br>required: **false**<br><p>The new label for the high-availability partition group.</p><br>
    ///   - [`partition_serial_list(impl Into<String>)`](crate::operation::modify_hapg::builders::ModifyHapgFluentBuilder::partition_serial_list) / [`set_partition_serial_list(Option<Vec::<String>>)`](crate::operation::modify_hapg::builders::ModifyHapgFluentBuilder::set_partition_serial_list):<br>required: **false**<br><p>The list of partition serial numbers to make members of the high-availability partition group.</p><br>
    /// - On success, responds with [`ModifyHapgOutput`](crate::operation::modify_hapg::ModifyHapgOutput) with field(s):
    ///   - [`hapg_arn(Option<String>)`](crate::operation::modify_hapg::ModifyHapgOutput::hapg_arn): <p>The ARN of the high-availability partition group.</p>
    /// - On failure, responds with [`SdkError<ModifyHapgError>`](crate::operation::modify_hapg::ModifyHapgError)
    #[deprecated(note = "This API is deprecated.")]
    pub fn modify_hapg(&self) -> crate::operation::modify_hapg::builders::ModifyHapgFluentBuilder {
        crate::operation::modify_hapg::builders::ModifyHapgFluentBuilder::new(self.handle.clone())
    }
}