// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetCapacityProvider`](crate::operation::get_capacity_provider::builders::GetCapacityProviderFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`capacity_provider_name(impl Into<String>)`](crate::operation::get_capacity_provider::builders::GetCapacityProviderFluentBuilder::capacity_provider_name) / [`set_capacity_provider_name(Option<String>)`](crate::operation::get_capacity_provider::builders::GetCapacityProviderFluentBuilder::set_capacity_provider_name):<br>required: **true**<br><p>The name of the capacity provider to retrieve.</p><br>
/// - On success, responds with [`GetCapacityProviderOutput`](crate::operation::get_capacity_provider::GetCapacityProviderOutput) with field(s):
/// - [`capacity_provider(Option<CapacityProvider>)`](crate::operation::get_capacity_provider::GetCapacityProviderOutput::capacity_provider): <p>Information about the capacity provider, including its configuration and current state.</p>
/// - On failure, responds with [`SdkError<GetCapacityProviderError>`](crate::operation::get_capacity_provider::GetCapacityProviderError)
pub fn get_capacity_provider(&self) -> crate::operation::get_capacity_provider::builders::GetCapacityProviderFluentBuilder {
crate::operation::get_capacity_provider::builders::GetCapacityProviderFluentBuilder::new(self.handle.clone())
}
}