Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Shipment' | |
|
Instances
Eq Shipment Source # | |
Read Shipment Source # | |
Show Shipment Source # | |
Generic Shipment Source # | |
NFData Shipment Source # | |
Defined in Amazonka.Snowball.Types.Shipment | |
Hashable Shipment Source # | |
Defined in Amazonka.Snowball.Types.Shipment | |
FromJSON Shipment Source # | |
type Rep Shipment Source # | |
Defined in Amazonka.Snowball.Types.Shipment type Rep Shipment = D1 ('MetaData "Shipment" "Amazonka.Snowball.Types.Shipment" "libZSservicesZSamazonka-snowballZSamazonka-snowball" '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.