// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetUsagePlanKey`](crate::operation::get_usage_plan_key::builders::GetUsagePlanKeyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`usage_plan_id(impl Into<String>)`](crate::operation::get_usage_plan_key::builders::GetUsagePlanKeyFluentBuilder::usage_plan_id) / [`set_usage_plan_id(Option<String>)`](crate::operation::get_usage_plan_key::builders::GetUsagePlanKeyFluentBuilder::set_usage_plan_id):<br>required: **true**<br><p>The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.</p><br>
/// - [`key_id(impl Into<String>)`](crate::operation::get_usage_plan_key::builders::GetUsagePlanKeyFluentBuilder::key_id) / [`set_key_id(Option<String>)`](crate::operation::get_usage_plan_key::builders::GetUsagePlanKeyFluentBuilder::set_key_id):<br>required: **true**<br><p>The key Id of the to-be-retrieved UsagePlanKey resource representing a plan customer.</p><br>
/// - On success, responds with [`GetUsagePlanKeyOutput`](crate::operation::get_usage_plan_key::GetUsagePlanKeyOutput) with field(s):
/// - [`id(Option<String>)`](crate::operation::get_usage_plan_key::GetUsagePlanKeyOutput::id): <p>The Id of a usage plan key.</p>
/// - [`r#type(Option<String>)`](crate::operation::get_usage_plan_key::GetUsagePlanKeyOutput::type): <p>The type of a usage plan key. Currently, the valid key type is <code>API_KEY</code>.</p>
/// - [`value(Option<String>)`](crate::operation::get_usage_plan_key::GetUsagePlanKeyOutput::value): <p>The value of a usage plan key.</p>
/// - [`name(Option<String>)`](crate::operation::get_usage_plan_key::GetUsagePlanKeyOutput::name): <p>The name of a usage plan key.</p>
/// - On failure, responds with [`SdkError<GetUsagePlanKeyError>`](crate::operation::get_usage_plan_key::GetUsagePlanKeyError)
pub fn get_usage_plan_key(&self) -> crate::operation::get_usage_plan_key::builders::GetUsagePlanKeyFluentBuilder {
crate::operation::get_usage_plan_key::builders::GetUsagePlanKeyFluentBuilder::new(self.handle.clone())
}
}