1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeFleetLocationCapacity`](crate::operation::describe_fleet_location_capacity::builders::DescribeFleetLocationCapacityFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`fleet_id(impl Into<String>)`](crate::operation::describe_fleet_location_capacity::builders::DescribeFleetLocationCapacityFluentBuilder::fleet_id) / [`set_fleet_id(Option<String>)`](crate::operation::describe_fleet_location_capacity::builders::DescribeFleetLocationCapacityFluentBuilder::set_fleet_id):<br>required: **true**<br><p>A unique identifier for the fleet to request location capacity for. You can use either the fleet ID or ARN value.</p><br>
    ///   - [`location(impl Into<String>)`](crate::operation::describe_fleet_location_capacity::builders::DescribeFleetLocationCapacityFluentBuilder::location) / [`set_location(Option<String>)`](crate::operation::describe_fleet_location_capacity::builders::DescribeFleetLocationCapacityFluentBuilder::set_location):<br>required: **true**<br><p>The fleet location to retrieve capacity information for. Specify a location in the form of an Amazon Web Services Region code, such as <code>us-west-2</code>.</p><br>
    /// - On success, responds with [`DescribeFleetLocationCapacityOutput`](crate::operation::describe_fleet_location_capacity::DescribeFleetLocationCapacityOutput) with field(s):
    ///   - [`fleet_capacity(Option<FleetCapacity>)`](crate::operation::describe_fleet_location_capacity::DescribeFleetLocationCapacityOutput::fleet_capacity): <p>Resource capacity information for the requested fleet location. Capacity objects are returned only for fleets and locations that currently exist. Changes in desired instance value can take up to 1 minute to be reflected.</p>
    /// - On failure, responds with [`SdkError<DescribeFleetLocationCapacityError>`](crate::operation::describe_fleet_location_capacity::DescribeFleetLocationCapacityError)
    pub fn describe_fleet_location_capacity(
        &self,
    ) -> crate::operation::describe_fleet_location_capacity::builders::DescribeFleetLocationCapacityFluentBuilder {
        crate::operation::describe_fleet_location_capacity::builders::DescribeFleetLocationCapacityFluentBuilder::new(self.handle.clone())
    }
}