amazonka-devicefarm-1.5.0: Amazon Device Farm SDK.

Copyright(c) 2013-2017 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.DeviceFarm.GetUpload

Contents

Description

Gets information about an upload.

Synopsis

Creating a Request

getUpload Source #

Arguments

:: Text

guArn

-> GetUpload 

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

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

  • guArn - The upload's ARN.

data GetUpload Source #

Represents a request to the get upload operation.

See: getUpload smart constructor.

Instances

Eq GetUpload Source # 
Data GetUpload Source # 

Methods

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

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

toConstr :: GetUpload -> Constr #

dataTypeOf :: GetUpload -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetUpload Source # 
Show GetUpload Source # 
Generic GetUpload Source # 

Associated Types

type Rep GetUpload :: * -> * #

Hashable GetUpload Source # 
ToJSON GetUpload Source # 
NFData GetUpload Source # 

Methods

rnf :: GetUpload -> () #

AWSRequest GetUpload Source # 
ToQuery GetUpload Source # 
ToPath GetUpload Source # 
ToHeaders GetUpload Source # 

Methods

toHeaders :: GetUpload -> [Header] #

type Rep GetUpload Source # 
type Rep GetUpload = D1 (MetaData "GetUpload" "Network.AWS.DeviceFarm.GetUpload" "amazonka-devicefarm-1.5.0-XwN0sn2YagFwkQSin1mYz" True) (C1 (MetaCons "GetUpload'" PrefixI True) (S1 (MetaSel (Just Symbol "_guArn") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetUpload Source # 

Request Lenses

guArn :: Lens' GetUpload Text Source #

The upload's ARN.

Destructuring the Response

getUploadResponse Source #

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

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

data GetUploadResponse Source #

Represents the result of a get upload request.

See: getUploadResponse smart constructor.

Instances

Eq GetUploadResponse Source # 
Data GetUploadResponse Source # 

Methods

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

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

toConstr :: GetUploadResponse -> Constr #

dataTypeOf :: GetUploadResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetUploadResponse Source # 
Show GetUploadResponse Source # 
Generic GetUploadResponse Source # 
NFData GetUploadResponse Source # 

Methods

rnf :: GetUploadResponse -> () #

type Rep GetUploadResponse Source # 
type Rep GetUploadResponse = D1 (MetaData "GetUploadResponse" "Network.AWS.DeviceFarm.GetUpload" "amazonka-devicefarm-1.5.0-XwN0sn2YagFwkQSin1mYz" False) (C1 (MetaCons "GetUploadResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gursUpload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Upload))) (S1 (MetaSel (Just Symbol "_gursResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gursUpload :: Lens' GetUploadResponse (Maybe Upload) Source #

An app or a set of one or more tests to upload or that have been uploaded.

gursResponseStatus :: Lens' GetUploadResponse Int Source #

  • - | The response status code.