1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdatePublicKey`](crate::operation::update_public_key::builders::UpdatePublicKeyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`public_key_config(PublicKeyConfig)`](crate::operation::update_public_key::builders::UpdatePublicKeyFluentBuilder::public_key_config) / [`set_public_key_config(Option<PublicKeyConfig>)`](crate::operation::update_public_key::builders::UpdatePublicKeyFluentBuilder::set_public_key_config): <p>A public key configuration.</p>
    ///   - [`id(impl Into<String>)`](crate::operation::update_public_key::builders::UpdatePublicKeyFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_public_key::builders::UpdatePublicKeyFluentBuilder::set_id): <p>The identifier of the public key that you are updating.</p>
    ///   - [`if_match(impl Into<String>)`](crate::operation::update_public_key::builders::UpdatePublicKeyFluentBuilder::if_match) / [`set_if_match(Option<String>)`](crate::operation::update_public_key::builders::UpdatePublicKeyFluentBuilder::set_if_match): <p>The value of the <code>ETag</code> header that you received when retrieving the public key to update. For example: <code>E2QWRUHAPOMQZL</code>.</p>
    /// - On success, responds with [`UpdatePublicKeyOutput`](crate::operation::update_public_key::UpdatePublicKeyOutput) with field(s):
    ///   - [`public_key(Option<PublicKey>)`](crate::operation::update_public_key::UpdatePublicKeyOutput::public_key): <p>The public key.</p>
    ///   - [`e_tag(Option<String>)`](crate::operation::update_public_key::UpdatePublicKeyOutput::e_tag): <p>The identifier of the current version of the public key.</p>
    /// - On failure, responds with [`SdkError<UpdatePublicKeyError>`](crate::operation::update_public_key::UpdatePublicKeyError)
    pub fn update_public_key(
        &self,
    ) -> crate::operation::update_public_key::builders::UpdatePublicKeyFluentBuilder {
        crate::operation::update_public_key::builders::UpdatePublicKeyFluentBuilder::new(
            self.handle.clone(),
        )
    }
}