aws-sdk-cloudhsm 0.25.1

AWS SDK for Amazon CloudHSM
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 [`CreateLunaClient`](crate::operation::create_luna_client::builders::CreateLunaClientFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`label(impl Into<String>)`](crate::operation::create_luna_client::builders::CreateLunaClientFluentBuilder::label) / [`set_label(Option<String>)`](crate::operation::create_luna_client::builders::CreateLunaClientFluentBuilder::set_label): <p>The label for the client.</p>
    ///   - [`certificate(impl Into<String>)`](crate::operation::create_luna_client::builders::CreateLunaClientFluentBuilder::certificate) / [`set_certificate(Option<String>)`](crate::operation::create_luna_client::builders::CreateLunaClientFluentBuilder::set_certificate): <p>The contents of a Base64-Encoded X.509 v3 certificate to be installed on the HSMs used by this client.</p>
    /// - On success, responds with [`CreateLunaClientOutput`](crate::operation::create_luna_client::CreateLunaClientOutput) with field(s):
    ///   - [`client_arn(Option<String>)`](crate::operation::create_luna_client::CreateLunaClientOutput::client_arn): <p>The ARN of the client.</p>
    /// - On failure, responds with [`SdkError<CreateLunaClientError>`](crate::operation::create_luna_client::CreateLunaClientError)
    pub fn create_luna_client(
        &self,
    ) -> crate::operation::create_luna_client::builders::CreateLunaClientFluentBuilder {
        crate::operation::create_luna_client::builders::CreateLunaClientFluentBuilder::new(
            self.handle.clone(),
        )
    }
}