| 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.PrivateNetworks.GetOrder
Description
Gets the specified order.
Synopsis
- data GetOrder = GetOrder' {}
- newGetOrder :: Text -> GetOrder
- getOrder_orderArn :: Lens' GetOrder Text
- data GetOrderResponse = GetOrderResponse' {}
- newGetOrderResponse :: Int -> Order -> GetOrderResponse
- getOrderResponse_tags :: Lens' GetOrderResponse (Maybe (HashMap Text Text))
- getOrderResponse_httpStatus :: Lens' GetOrderResponse Int
- getOrderResponse_order :: Lens' GetOrderResponse Order
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_orderArn - The Amazon Resource Name (ARN) of the order.
Request Lenses
Destructuring the Response
data GetOrderResponse Source #
See: newGetOrderResponse smart constructor.
Constructors
| GetOrderResponse' | |
Instances
Arguments
| :: Int | |
| -> Order | |
| -> 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:
GetOrderResponse, getOrderResponse_tags - The order tags.
$sel:httpStatus:GetOrderResponse', getOrderResponse_httpStatus - The response's http status code.
$sel:order:GetOrderResponse', getOrderResponse_order - Information about the order.
Response Lenses
getOrderResponse_tags :: Lens' GetOrderResponse (Maybe (HashMap Text Text)) Source #
The order tags.
getOrderResponse_httpStatus :: Lens' GetOrderResponse Int Source #
The response's http status code.
getOrderResponse_order :: Lens' GetOrderResponse Order Source #
Information about the order.