1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetKey`](crate::operation::get_key::builders::GetKeyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`kvs_arn(impl Into<String>)`](crate::operation::get_key::builders::GetKeyFluentBuilder::kvs_arn) / [`set_kvs_arn(Option<String>)`](crate::operation::get_key::builders::GetKeyFluentBuilder::set_kvs_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the Key Value Store.</p><br>
    ///   - [`key(impl Into<String>)`](crate::operation::get_key::builders::GetKeyFluentBuilder::key) / [`set_key(Option<String>)`](crate::operation::get_key::builders::GetKeyFluentBuilder::set_key):<br>required: **true**<br><p>The key to get.</p><br>
    /// - On success, responds with [`GetKeyOutput`](crate::operation::get_key::GetKeyOutput) with field(s):
    ///   - [`key(String)`](crate::operation::get_key::GetKeyOutput::key): <p>The key of the key value pair.</p>
    ///   - [`value(String)`](crate::operation::get_key::GetKeyOutput::value): <p>The value of the key value pair.</p>
    ///   - [`item_count(i32)`](crate::operation::get_key::GetKeyOutput::item_count): <p>Number of key value pairs in the Key Value Store.</p>
    ///   - [`total_size_in_bytes(i64)`](crate::operation::get_key::GetKeyOutput::total_size_in_bytes): <p>Total size of the Key Value Store in bytes.</p>
    /// - On failure, responds with [`SdkError<GetKeyError>`](crate::operation::get_key::GetKeyError)
    pub fn get_key(&self) -> crate::operation::get_key::builders::GetKeyFluentBuilder {
        crate::operation::get_key::builders::GetKeyFluentBuilder::new(self.handle.clone())
    }
}