| 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.Types.Shipment
Description
Synopsis
- data Shipment = Shipment' {}
- newShipment :: Shipment
- shipment_status :: Lens' Shipment (Maybe Text)
- shipment_trackingNumber :: Lens' Shipment (Maybe Text)
Documentation
The Status and TrackingNumber information for an inbound or outbound
shipment.
See: newShipment smart constructor.
Constructors
| Shipment' | |
Fields
| |
Instances
| FromJSON Shipment Source # | |
| Generic Shipment Source # | |
| Read Shipment Source # | |
| Show Shipment Source # | |
| NFData Shipment Source # | |
Defined in Amazonka.Snowball.Types.Shipment | |
| Eq Shipment Source # | |
| Hashable Shipment Source # | |
Defined in Amazonka.Snowball.Types.Shipment | |
| type Rep Shipment Source # | |
Defined in Amazonka.Snowball.Types.Shipment type Rep Shipment = D1 ('MetaData "Shipment" "Amazonka.Snowball.Types.Shipment" "amazonka-snowball-2.0-6vnXQdr1CFv4zLyXDWX7zH" 'False) (C1 ('MetaCons "Shipment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "trackingNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |
newShipment :: Shipment Source #
Create a value of Shipment 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:status:Shipment', shipment_status - Status information for a shipment.
$sel:trackingNumber:Shipment', shipment_trackingNumber - The tracking number for this job. Using this tracking number with your
region's carrier's website, you can track a Snow device as the carrier
transports it.
For India, the carrier is Amazon Logistics. For all other regions, UPS is the carrier.
shipment_trackingNumber :: Lens' Shipment (Maybe Text) Source #
The tracking number for this job. Using this tracking number with your region's carrier's website, you can track a Snow device as the carrier transports it.
For India, the carrier is Amazon Logistics. For all other regions, UPS is the carrier.