1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetKeyGroup`](crate::operation::get_key_group::builders::GetKeyGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::get_key_group::builders::GetKeyGroupFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_key_group::builders::GetKeyGroupFluentBuilder::set_id):<br>required: **true**<br><p>The identifier of the key group that you are getting. To get the identifier, use <code>ListKeyGroups</code>.</p><br>
    /// - On success, responds with [`GetKeyGroupOutput`](crate::operation::get_key_group::GetKeyGroupOutput) with field(s):
    ///   - [`key_group(Option<KeyGroup>)`](crate::operation::get_key_group::GetKeyGroupOutput::key_group): <p>The key group.</p>
    ///   - [`e_tag(Option<String>)`](crate::operation::get_key_group::GetKeyGroupOutput::e_tag): <p>The identifier for this version of the key group.</p>
    /// - On failure, responds with [`SdkError<GetKeyGroupError>`](crate::operation::get_key_group::GetKeyGroupError)
    pub fn get_key_group(&self) -> crate::operation::get_key_group::builders::GetKeyGroupFluentBuilder {
        crate::operation::get_key_group::builders::GetKeyGroupFluentBuilder::new(self.handle.clone())
    }
}