// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetKeyPair`](crate::operation::get_key_pair::builders::GetKeyPairFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`key_pair_name(impl Into<String>)`](crate::operation::get_key_pair::builders::GetKeyPairFluentBuilder::key_pair_name) / [`set_key_pair_name(Option<String>)`](crate::operation::get_key_pair::builders::GetKeyPairFluentBuilder::set_key_pair_name):<br>required: **true**<br><p>The name of the key pair for which you are requesting information.</p><br>
/// - On success, responds with [`GetKeyPairOutput`](crate::operation::get_key_pair::GetKeyPairOutput) with field(s):
/// - [`key_pair(Option<KeyPair>)`](crate::operation::get_key_pair::GetKeyPairOutput::key_pair): <p>An array of key-value pairs containing information about the key pair.</p>
/// - On failure, responds with [`SdkError<GetKeyPairError>`](crate::operation::get_key_pair::GetKeyPairError)
pub fn get_key_pair(&self) -> crate::operation::get_key_pair::builders::GetKeyPairFluentBuilder {
crate::operation::get_key_pair::builders::GetKeyPairFluentBuilder::new(self.handle.clone())
}
}