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 [`GetInventory`](crate::operation::get_inventory::builders::GetInventoryFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_inventory::builders::GetInventoryFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`filters(InventoryFilter)`](crate::operation::get_inventory::builders::GetInventoryFluentBuilder::filters) / [`set_filters(Option<Vec::<InventoryFilter>>)`](crate::operation::get_inventory::builders::GetInventoryFluentBuilder::set_filters):<br>required: **false**<br><p>One or more filters. Use a filter to return a more specific list of results.</p><br>
    ///   - [`aggregators(InventoryAggregator)`](crate::operation::get_inventory::builders::GetInventoryFluentBuilder::aggregators) / [`set_aggregators(Option<Vec::<InventoryAggregator>>)`](crate::operation::get_inventory::builders::GetInventoryFluentBuilder::set_aggregators):<br>required: **false**<br><p>Returns counts of inventory types based on one or more expressions. For example, if you aggregate by using an expression that uses the <code>AWS:InstanceInformation.PlatformType</code> type, you can see a count of how many Windows and Linux managed nodes exist in your inventoried fleet.</p><br>
    ///   - [`result_attributes(ResultAttribute)`](crate::operation::get_inventory::builders::GetInventoryFluentBuilder::result_attributes) / [`set_result_attributes(Option<Vec::<ResultAttribute>>)`](crate::operation::get_inventory::builders::GetInventoryFluentBuilder::set_result_attributes):<br>required: **false**<br><p>The list of inventory item types to return.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::get_inventory::builders::GetInventoryFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_inventory::builders::GetInventoryFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of items to return. (You received this token from a previous call.)</p><br>
    ///   - [`max_results(i32)`](crate::operation::get_inventory::builders::GetInventoryFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_inventory::builders::GetInventoryFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.</p><br>
    /// - On success, responds with [`GetInventoryOutput`](crate::operation::get_inventory::GetInventoryOutput) with field(s):
    ///   - [`entities(Option<Vec::<InventoryResultEntity>>)`](crate::operation::get_inventory::GetInventoryOutput::entities): <p>Collection of inventory entities such as a collection of managed node inventory.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::get_inventory::GetInventoryOutput::next_token): <p>The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.</p>
    /// - On failure, responds with [`SdkError<GetInventoryError>`](crate::operation::get_inventory::GetInventoryError)
    pub fn get_inventory(&self) -> crate::operation::get_inventory::builders::GetInventoryFluentBuilder {
        crate::operation::get_inventory::builders::GetInventoryFluentBuilder::new(self.handle.clone())
    }
}