libZSservicesZSamazonka-snowballZSamazonka-snowball
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Snowball.Types.Shipment

Description

 
Synopsis

Documentation

data Shipment Source #

The Status and TrackingNumber information for an inbound or outbound shipment.

See: newShipment smart constructor.

Constructors

Shipment' 

Fields

  • status :: Maybe Text

    Status information for a shipment.

  • trackingNumber :: Maybe Text

    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.

Instances

Instances details
Eq Shipment Source # 
Instance details

Defined in Amazonka.Snowball.Types.Shipment

Read Shipment Source # 
Instance details

Defined in Amazonka.Snowball.Types.Shipment

Show Shipment Source # 
Instance details

Defined in Amazonka.Snowball.Types.Shipment

Generic Shipment Source # 
Instance details

Defined in Amazonka.Snowball.Types.Shipment

Associated Types

type Rep Shipment :: Type -> Type #

Methods

from :: Shipment -> Rep Shipment x #

to :: Rep Shipment x -> Shipment #

NFData Shipment Source # 
Instance details

Defined in Amazonka.Snowball.Types.Shipment

Methods

rnf :: Shipment -> () #

Hashable Shipment Source # 
Instance details

Defined in Amazonka.Snowball.Types.Shipment

Methods

hashWithSalt :: Int -> Shipment -> Int #

hash :: Shipment -> Int #

FromJSON Shipment Source # 
Instance details

Defined in Amazonka.Snowball.Types.Shipment

type Rep Shipment Source # 
Instance details

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_status :: Lens' Shipment (Maybe Text) Source #

Status information for a shipment.

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.