1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeFleetInstances`](crate::operation::describe_fleet_instances::builders::DescribeFleetInstancesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`dry_run(bool)`](crate::operation::describe_fleet_instances::builders::DescribeFleetInstancesFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::describe_fleet_instances::builders::DescribeFleetInstancesFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
    ///   - [`max_results(i32)`](crate::operation::describe_fleet_instances::builders::DescribeFleetInstancesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_fleet_instances::builders::DescribeFleetInstancesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_fleet_instances::builders::DescribeFleetInstancesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_fleet_instances::builders::DescribeFleetInstancesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p><br>
    ///   - [`fleet_id(impl Into<String>)`](crate::operation::describe_fleet_instances::builders::DescribeFleetInstancesFluentBuilder::fleet_id) / [`set_fleet_id(Option<String>)`](crate::operation::describe_fleet_instances::builders::DescribeFleetInstancesFluentBuilder::set_fleet_id):<br>required: **true**<br><p>The ID of the EC2 Fleet.</p><br>
    ///   - [`filters(Filter)`](crate::operation::describe_fleet_instances::builders::DescribeFleetInstancesFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::describe_fleet_instances::builders::DescribeFleetInstancesFluentBuilder::set_filters):<br>required: **false**<br><p>The filters.</p> <ul>  <li>   <p><code>instance-type</code> - The instance type.</p></li> </ul><br>
    /// - On success, responds with [`DescribeFleetInstancesOutput`](crate::operation::describe_fleet_instances::DescribeFleetInstancesOutput) with field(s):
    ///   - [`active_instances(Option<Vec::<ActiveInstance>>)`](crate::operation::describe_fleet_instances::DescribeFleetInstancesOutput::active_instances): <p>The running instances. This list is refreshed periodically and might be out of date.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::describe_fleet_instances::DescribeFleetInstancesOutput::next_token): <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
    ///   - [`fleet_id(Option<String>)`](crate::operation::describe_fleet_instances::DescribeFleetInstancesOutput::fleet_id): <p>The ID of the EC2 Fleet.</p>
    /// - On failure, responds with [`SdkError<DescribeFleetInstancesError>`](crate::operation::describe_fleet_instances::DescribeFleetInstancesError)
    pub fn describe_fleet_instances(&self) -> crate::operation::describe_fleet_instances::builders::DescribeFleetInstancesFluentBuilder {
        crate::operation::describe_fleet_instances::builders::DescribeFleetInstancesFluentBuilder::new(self.handle.clone())
    }
}