// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeReservedCapacity`](crate::operation::describe_reserved_capacity::builders::DescribeReservedCapacityFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`reserved_capacity_arn(impl Into<String>)`](crate::operation::describe_reserved_capacity::builders::DescribeReservedCapacityFluentBuilder::reserved_capacity_arn) / [`set_reserved_capacity_arn(Option<String>)`](crate::operation::describe_reserved_capacity::builders::DescribeReservedCapacityFluentBuilder::set_reserved_capacity_arn):<br>required: **true**<br><p>ARN of the reserved capacity to describe.</p><br>
/// - On success, responds with [`DescribeReservedCapacityOutput`](crate::operation::describe_reserved_capacity::DescribeReservedCapacityOutput) with field(s):
/// - [`reserved_capacity_arn(Option<String>)`](crate::operation::describe_reserved_capacity::DescribeReservedCapacityOutput::reserved_capacity_arn): <p>ARN of the reserved capacity.</p>
/// - [`reserved_capacity_type(Option<ReservedCapacityType>)`](crate::operation::describe_reserved_capacity::DescribeReservedCapacityOutput::reserved_capacity_type): <p>The type of reserved capacity.</p>
/// - [`status(Option<ReservedCapacityStatus>)`](crate::operation::describe_reserved_capacity::DescribeReservedCapacityOutput::status): <p>The current status of the reserved capacity.</p>
/// - [`availability_zone(Option<String>)`](crate::operation::describe_reserved_capacity::DescribeReservedCapacityOutput::availability_zone): <p>The Availability Zone where the reserved capacity is provisioned.</p>
/// - [`duration_hours(Option<i64>)`](crate::operation::describe_reserved_capacity::DescribeReservedCapacityOutput::duration_hours): <p>The total duration of the reserved capacity in hours.</p>
/// - [`duration_minutes(Option<i64>)`](crate::operation::describe_reserved_capacity::DescribeReservedCapacityOutput::duration_minutes): <p>The number of minutes for the duration of the reserved capacity. For example, if a reserved capacity starts at 08:55 and ends at 11:30, the minutes field would be 35.</p>
/// - [`start_time(Option<DateTime>)`](crate::operation::describe_reserved_capacity::DescribeReservedCapacityOutput::start_time): <p>The timestamp when the reserved capacity becomes active.</p>
/// - [`end_time(Option<DateTime>)`](crate::operation::describe_reserved_capacity::DescribeReservedCapacityOutput::end_time): <p>The timestamp when the reserved capacity expires.</p>
/// - [`instance_type(Option<ReservedCapacityInstanceType>)`](crate::operation::describe_reserved_capacity::DescribeReservedCapacityOutput::instance_type): <p>The Amazon EC2 instance type used in the reserved capacity.</p>
/// - [`total_instance_count(Option<i32>)`](crate::operation::describe_reserved_capacity::DescribeReservedCapacityOutput::total_instance_count): <p>The total number of instances allocated to this reserved capacity.</p>
/// - [`available_instance_count(Option<i32>)`](crate::operation::describe_reserved_capacity::DescribeReservedCapacityOutput::available_instance_count): <p>The number of instances currently available for use in this reserved capacity.</p>
/// - [`in_use_instance_count(Option<i32>)`](crate::operation::describe_reserved_capacity::DescribeReservedCapacityOutput::in_use_instance_count): <p>The number of instances currently in use from this reserved capacity.</p>
/// - [`ultra_server_summary(Option<UltraServerSummary>)`](crate::operation::describe_reserved_capacity::DescribeReservedCapacityOutput::ultra_server_summary): <p>A summary of the UltraServer associated with this reserved capacity.</p>
/// - On failure, responds with [`SdkError<DescribeReservedCapacityError>`](crate::operation::describe_reserved_capacity::DescribeReservedCapacityError)
pub fn describe_reserved_capacity(&self) -> crate::operation::describe_reserved_capacity::builders::DescribeReservedCapacityFluentBuilder {
crate::operation::describe_reserved_capacity::builders::DescribeReservedCapacityFluentBuilder::new(self.handle.clone())
}
}