| 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.Snowball.UpdateJobShipmentState
Description
Updates the state when a shipment state changes to a different state.
Synopsis
- data UpdateJobShipmentState = UpdateJobShipmentState' {}
- newUpdateJobShipmentState :: Text -> ShipmentState -> UpdateJobShipmentState
- updateJobShipmentState_jobId :: Lens' UpdateJobShipmentState Text
- updateJobShipmentState_shipmentState :: Lens' UpdateJobShipmentState ShipmentState
- data UpdateJobShipmentStateResponse = UpdateJobShipmentStateResponse' {
- httpStatus :: Int
- newUpdateJobShipmentStateResponse :: Int -> UpdateJobShipmentStateResponse
- updateJobShipmentStateResponse_httpStatus :: Lens' UpdateJobShipmentStateResponse Int
Creating a Request
data UpdateJobShipmentState Source #
See: newUpdateJobShipmentState smart constructor.
Constructors
| UpdateJobShipmentState' | |
Fields
| |
Instances
newUpdateJobShipmentState Source #
Arguments
| :: Text | |
| -> ShipmentState | |
| -> UpdateJobShipmentState |
Create a value of UpdateJobShipmentState 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:
UpdateJobShipmentState, updateJobShipmentState_jobId - The job ID of the job whose shipment date you want to update, for
example JID123e4567-e89b-12d3-a456-426655440000.
$sel:shipmentState:UpdateJobShipmentState', updateJobShipmentState_shipmentState - The state of a device when it is being shipped.
Set to RECEIVED when the device arrives at your location.
Set to RETURNED when you have returned the device to Amazon Web
Services.
Request Lenses
updateJobShipmentState_jobId :: Lens' UpdateJobShipmentState Text Source #
The job ID of the job whose shipment date you want to update, for
example JID123e4567-e89b-12d3-a456-426655440000.
updateJobShipmentState_shipmentState :: Lens' UpdateJobShipmentState ShipmentState Source #
The state of a device when it is being shipped.
Set to RECEIVED when the device arrives at your location.
Set to RETURNED when you have returned the device to Amazon Web
Services.
Destructuring the Response
data UpdateJobShipmentStateResponse Source #
See: newUpdateJobShipmentStateResponse smart constructor.
Constructors
| UpdateJobShipmentStateResponse' | |
Fields
| |
Instances
newUpdateJobShipmentStateResponse Source #
Create a value of UpdateJobShipmentStateResponse 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:UpdateJobShipmentStateResponse', updateJobShipmentStateResponse_httpStatus - The response's http status code.
Response Lenses
updateJobShipmentStateResponse_httpStatus :: Lens' UpdateJobShipmentStateResponse Int Source #
The response's http status code.