aws_sdk_cloudhsm/client/create_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 [`CreateHapg`](crate::operation::create_hapg::builders::CreateHapgFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`label(impl Into<String>)`](crate::operation::create_hapg::builders::CreateHapgFluentBuilder::label) / [`set_label(Option<String>)`](crate::operation::create_hapg::builders::CreateHapgFluentBuilder::set_label):<br>required: **true**<br><p>The label of the new high-availability partition group.</p><br>
7 /// - On success, responds with [`CreateHapgOutput`](crate::operation::create_hapg::CreateHapgOutput) with field(s):
8 /// - [`hapg_arn(Option<String>)`](crate::operation::create_hapg::CreateHapgOutput::hapg_arn): <p>The ARN of the high-availability partition group.</p>
9 /// - On failure, responds with [`SdkError<CreateHapgError>`](crate::operation::create_hapg::CreateHapgError)
10 #[deprecated(note = "This API is deprecated.")]
11 pub fn create_hapg(&self) -> crate::operation::create_hapg::builders::CreateHapgFluentBuilder {
12 crate::operation::create_hapg::builders::CreateHapgFluentBuilder::new(self.handle.clone())
13 }
14}