aws_sdk_outposts/client/
get_order.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 [`GetOrder`](crate::operation::get_order::builders::GetOrderFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`order_id(impl Into<String>)`](crate::operation::get_order::builders::GetOrderFluentBuilder::order_id) / [`set_order_id(Option<String>)`](crate::operation::get_order::builders::GetOrderFluentBuilder::set_order_id):<br>required: **true**<br><p>The ID of the order.</p><br>
7    /// - On success, responds with [`GetOrderOutput`](crate::operation::get_order::GetOrderOutput) with field(s):
8    ///   - [`order(Option<Order>)`](crate::operation::get_order::GetOrderOutput::order): <p>Information about an order.</p>
9    /// - On failure, responds with [`SdkError<GetOrderError>`](crate::operation::get_order::GetOrderError)
10    pub fn get_order(&self) -> crate::operation::get_order::builders::GetOrderFluentBuilder {
11        crate::operation::get_order::builders::GetOrderFluentBuilder::new(self.handle.clone())
12    }
13}