| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Outposts.GetOrder
Description
Gets information about the specified order.
Synopsis
- data GetOrder = GetOrder' {}
- newGetOrder :: Text -> GetOrder
- getOrder_orderId :: Lens' GetOrder Text
- data GetOrderResponse = GetOrderResponse' {
- order :: Maybe Order
- httpStatus :: Int
- newGetOrderResponse :: Int -> GetOrderResponse
- getOrderResponse_order :: Lens' GetOrderResponse (Maybe Order)
- getOrderResponse_httpStatus :: Lens' GetOrderResponse Int
Creating a Request
See: newGetOrder smart constructor.
Instances
Create a value of GetOrder with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetOrder, getOrder_orderId - The ID of the order.
Request Lenses
Destructuring the Response
data GetOrderResponse Source #
See: newGetOrderResponse smart constructor.
Constructors
| GetOrderResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> GetOrderResponse |
Create a value of GetOrderResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:order:GetOrderResponse', getOrderResponse_order - Undocumented member.
$sel:httpStatus:GetOrderResponse', getOrderResponse_httpStatus - The response's http status code.
Response Lenses
getOrderResponse_order :: Lens' GetOrderResponse (Maybe Order) Source #
Undocumented member.
getOrderResponse_httpStatus :: Lens' GetOrderResponse Int Source #
The response's http status code.