amazonka-snowball-2.0: Amazon Import/Export Snowball SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON 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 #

Read Shipment Source # 
Instance details

Defined in Amazonka.Snowball.Types.Shipment

Show Shipment Source # 
Instance details

Defined in Amazonka.Snowball.Types.Shipment

NFData Shipment Source # 
Instance details

Defined in Amazonka.Snowball.Types.Shipment

Methods

rnf :: Shipment -> () #

Eq Shipment Source # 
Instance details

Defined in Amazonka.Snowball.Types.Shipment

Hashable Shipment Source # 
Instance details

Defined in Amazonka.Snowball.Types.Shipment

Methods

hashWithSalt :: Int -> Shipment -> Int #

hash :: Shipment -> Int #

type Rep Shipment Source # 
Instance details

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_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.