| 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.CancelOrder
Description
Cancels the specified order for an Outpost.
Synopsis
Creating a Request
data CancelOrder Source #
See: newCancelOrder smart constructor.
Constructors
| CancelOrder' | |
Instances
Arguments
| :: Text | |
| -> CancelOrder |
Create a value of CancelOrder 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:
CancelOrder, cancelOrder_orderId - The ID of the order.
Request Lenses
cancelOrder_orderId :: Lens' CancelOrder Text Source #
The ID of the order.
Destructuring the Response
data CancelOrderResponse Source #
See: newCancelOrderResponse smart constructor.
Constructors
| CancelOrderResponse' | |
Fields
| |
Instances
newCancelOrderResponse Source #
Arguments
| :: Int | |
| -> CancelOrderResponse |
Create a value of CancelOrderResponse 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:httpStatus:CancelOrderResponse', cancelOrderResponse_httpStatus - The response's http status code.
Response Lenses
cancelOrderResponse_httpStatus :: Lens' CancelOrderResponse Int Source #
The response's http status code.