amazonka-importexport-1.6.1: Amazon Import/Export SDK.

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

Network.AWS.ImportExport.GetShippingLabel

Contents

Description

This operation generates a pre-paid UPS shipping label that you will use to ship your device to AWS for processing.

Synopsis

Creating a Request

getShippingLabel :: GetShippingLabel Source #

Creates a value of GetShippingLabel with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetShippingLabel Source #

See: getShippingLabel smart constructor.

Instances
Eq GetShippingLabel Source # 
Instance details

Defined in Network.AWS.ImportExport.GetShippingLabel

Data GetShippingLabel Source # 
Instance details

Defined in Network.AWS.ImportExport.GetShippingLabel

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetShippingLabel -> c GetShippingLabel #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetShippingLabel #

toConstr :: GetShippingLabel -> Constr #

dataTypeOf :: GetShippingLabel -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetShippingLabel) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetShippingLabel) #

gmapT :: (forall b. Data b => b -> b) -> GetShippingLabel -> GetShippingLabel #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetShippingLabel -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetShippingLabel -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetShippingLabel -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetShippingLabel -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetShippingLabel -> m GetShippingLabel #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetShippingLabel -> m GetShippingLabel #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetShippingLabel -> m GetShippingLabel #

Read GetShippingLabel Source # 
Instance details

Defined in Network.AWS.ImportExport.GetShippingLabel

Show GetShippingLabel Source # 
Instance details

Defined in Network.AWS.ImportExport.GetShippingLabel

Generic GetShippingLabel Source # 
Instance details

Defined in Network.AWS.ImportExport.GetShippingLabel

Associated Types

type Rep GetShippingLabel :: Type -> Type #

Hashable GetShippingLabel Source # 
Instance details

Defined in Network.AWS.ImportExport.GetShippingLabel

AWSRequest GetShippingLabel Source # 
Instance details

Defined in Network.AWS.ImportExport.GetShippingLabel

Associated Types

type Rs GetShippingLabel :: Type #

ToHeaders GetShippingLabel Source # 
Instance details

Defined in Network.AWS.ImportExport.GetShippingLabel

ToPath GetShippingLabel Source # 
Instance details

Defined in Network.AWS.ImportExport.GetShippingLabel

ToQuery GetShippingLabel Source # 
Instance details

Defined in Network.AWS.ImportExport.GetShippingLabel

NFData GetShippingLabel Source # 
Instance details

Defined in Network.AWS.ImportExport.GetShippingLabel

Methods

rnf :: GetShippingLabel -> () #

type Rep GetShippingLabel Source # 
Instance details

Defined in Network.AWS.ImportExport.GetShippingLabel

type Rep GetShippingLabel = D1 (MetaData "GetShippingLabel" "Network.AWS.ImportExport.GetShippingLabel" "amazonka-importexport-1.6.1-BNyewVUjzzKBrFluASAkTc" False) (C1 (MetaCons "GetShippingLabel'" PrefixI True) (((S1 (MetaSel (Just "_gslStreet3") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gslAPIVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gslCountry") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_gslStateOrProvince") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gslPostalCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gslStreet2") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_gslName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gslCompany") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gslPhoneNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_gslCity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gslStreet1") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gslJobIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))))
type Rs GetShippingLabel Source # 
Instance details

Defined in Network.AWS.ImportExport.GetShippingLabel

Request Lenses

gslName :: Lens' GetShippingLabel (Maybe Text) Source #

Undocumented member.

gslCity :: Lens' GetShippingLabel (Maybe Text) Source #

Undocumented member.

gslJobIds :: Lens' GetShippingLabel [Text] Source #

Undocumented member.

Destructuring the Response

getShippingLabelResponse Source #

Creates a value of GetShippingLabelResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetShippingLabelResponse Source #

See: getShippingLabelResponse smart constructor.

Instances
Eq GetShippingLabelResponse Source # 
Instance details

Defined in Network.AWS.ImportExport.GetShippingLabel

Data GetShippingLabelResponse Source # 
Instance details

Defined in Network.AWS.ImportExport.GetShippingLabel

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetShippingLabelResponse -> c GetShippingLabelResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetShippingLabelResponse #

toConstr :: GetShippingLabelResponse -> Constr #

dataTypeOf :: GetShippingLabelResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetShippingLabelResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetShippingLabelResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetShippingLabelResponse -> GetShippingLabelResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetShippingLabelResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetShippingLabelResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetShippingLabelResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetShippingLabelResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetShippingLabelResponse -> m GetShippingLabelResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetShippingLabelResponse -> m GetShippingLabelResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetShippingLabelResponse -> m GetShippingLabelResponse #

Read GetShippingLabelResponse Source # 
Instance details

Defined in Network.AWS.ImportExport.GetShippingLabel

Show GetShippingLabelResponse Source # 
Instance details

Defined in Network.AWS.ImportExport.GetShippingLabel

Generic GetShippingLabelResponse Source # 
Instance details

Defined in Network.AWS.ImportExport.GetShippingLabel

Associated Types

type Rep GetShippingLabelResponse :: Type -> Type #

NFData GetShippingLabelResponse Source # 
Instance details

Defined in Network.AWS.ImportExport.GetShippingLabel

type Rep GetShippingLabelResponse Source # 
Instance details

Defined in Network.AWS.ImportExport.GetShippingLabel

type Rep GetShippingLabelResponse = D1 (MetaData "GetShippingLabelResponse" "Network.AWS.ImportExport.GetShippingLabel" "amazonka-importexport-1.6.1-BNyewVUjzzKBrFluASAkTc" False) (C1 (MetaCons "GetShippingLabelResponse'" PrefixI True) (S1 (MetaSel (Just "_gslrsShippingLabelURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gslrsWarning") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gslrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses