aws_sdk_cloudhsm/client/modify_hapg.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 [`ModifyHapg`](crate::operation::modify_hapg::builders::ModifyHapgFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - On success, responds with [`ModifyHapgOutput`](crate::operation::modify_hapg::ModifyHapgOutput) with field(s):
10 /// - [`hapg_arn(Option<String>)`](crate::operation::modify_hapg::ModifyHapgOutput::hapg_arn): <p>The ARN of the high-availability partition group.</p>
11 /// - On failure, responds with [`SdkError<ModifyHapgError>`](crate::operation::modify_hapg::ModifyHapgError)
12 #[deprecated(note = "This API is deprecated.")]
13 pub fn modify_hapg(&self) -> crate::operation::modify_hapg::builders::ModifyHapgFluentBuilder {
14 crate::operation::modify_hapg::builders::ModifyHapgFluentBuilder::new(self.handle.clone())
15 }
16}