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 [`GetPublicKey`](crate::operation::get_public_key::builders::GetPublicKeyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::get_public_key::builders::GetPublicKeyFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_public_key::builders::GetPublicKeyFluentBuilder::set_id): <p>The identifier of the public key you are getting.</p>
    /// - On success, responds with [`GetPublicKeyOutput`](crate::operation::get_public_key::GetPublicKeyOutput) with field(s):
    ///   - [`public_key(Option<PublicKey>)`](crate::operation::get_public_key::GetPublicKeyOutput::public_key): <p>The public key.</p>
    ///   - [`e_tag(Option<String>)`](crate::operation::get_public_key::GetPublicKeyOutput::e_tag): <p>The identifier for this version of the public key.</p>
    /// - On failure, responds with [`SdkError<GetPublicKeyError>`](crate::operation::get_public_key::GetPublicKeyError)
    pub fn get_public_key(
        &self,
    ) -> crate::operation::get_public_key::builders::GetPublicKeyFluentBuilder {
        crate::operation::get_public_key::builders::GetPublicKeyFluentBuilder::new(
            self.handle.clone(),
        )
    }
}