aws_sdk_outposts/client/list_orders.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`ListOrders`](crate::operation::list_orders::builders::ListOrdersFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_orders::builders::ListOrdersFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`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>
8 /// - [`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>
9 /// - [`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>
10 /// - On success, responds with [`ListOrdersOutput`](crate::operation::list_orders::ListOrdersOutput) with field(s):
11 /// - [`orders(Option<Vec::<OrderSummary>>)`](crate::operation::list_orders::ListOrdersOutput::orders): <p>Information about the orders.</p>
12 /// - [`next_token(Option<String>)`](crate::operation::list_orders::ListOrdersOutput::next_token): <p>The pagination token.</p>
13 /// - On failure, responds with [`SdkError<ListOrdersError>`](crate::operation::list_orders::ListOrdersError)
14 pub fn list_orders(&self) -> crate::operation::list_orders::builders::ListOrdersFluentBuilder {
15 crate::operation::list_orders::builders::ListOrdersFluentBuilder::new(self.handle.clone())
16 }
17}