1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListOrders`](crate::operation::list_orders::builders::ListOrdersFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_orders::builders::ListOrdersFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`outpost_identifier_filter(impl Into<String>)`](crate::operation::list_orders::builders::ListOrdersFluentBuilder::outpost_identifier_filter) / [`set_outpost_identifier_filter(Option<String>)`](crate::operation::list_orders::builders::ListOrdersFluentBuilder::set_outpost_identifier_filter):<br>required: **false**<br><p>The ID or the Amazon Resource Name (ARN) of the Outpost.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_orders::builders::ListOrdersFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_orders::builders::ListOrdersFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_orders::builders::ListOrdersFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_orders::builders::ListOrdersFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum page size.</p><br>
    /// - On success, responds with [`ListOrdersOutput`](crate::operation::list_orders::ListOrdersOutput) with field(s):
    ///   - [`orders(Option<Vec::<OrderSummary>>)`](crate::operation::list_orders::ListOrdersOutput::orders): <p>Information about the orders.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_orders::ListOrdersOutput::next_token): <p>The pagination token.</p>
    /// - On failure, responds with [`SdkError<ListOrdersError>`](crate::operation::list_orders::ListOrdersError)
    pub fn list_orders(&self) -> crate::operation::list_orders::builders::ListOrdersFluentBuilder {
        crate::operation::list_orders::builders::ListOrdersFluentBuilder::new(self.handle.clone())
    }
}