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

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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 # 
Data GetShippingLabel Source # 

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 # 
Show GetShippingLabel Source # 
Generic GetShippingLabel Source # 
Hashable GetShippingLabel Source # 
NFData GetShippingLabel Source # 

Methods

rnf :: GetShippingLabel -> () #

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

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 # 
Data GetShippingLabelResponse Source # 

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 # 
Show GetShippingLabelResponse Source # 
Generic GetShippingLabelResponse Source # 
NFData GetShippingLabelResponse Source # 
type Rep GetShippingLabelResponse Source # 
type Rep GetShippingLabelResponse = D1 (MetaData "GetShippingLabelResponse" "Network.AWS.ImportExport.GetShippingLabel" "amazonka-importexport-1.4.5-6XMllyr8wZY29uSoIktZIo" False) (C1 (MetaCons "GetShippingLabelResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gslrsShippingLabelURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gslrsWarning") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gslrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses