amazonka-devicefarm-1.6.0: Amazon Device Farm 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.DeviceFarm.ListUploads

Contents

Description

Gets information about uploads, given an AWS Device Farm project ARN.

This operation returns paginated results.

Synopsis

Creating a Request

listUploads Source #

Arguments

:: Text

luArn

-> ListUploads 

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

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

  • luNextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
  • luArn - The Amazon Resource Name (ARN) of the project for which you want to list uploads.

data ListUploads Source #

Represents a request to the list uploads operation.

See: listUploads smart constructor.

Instances

Eq ListUploads Source # 
Data ListUploads Source # 

Methods

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

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

toConstr :: ListUploads -> Constr #

dataTypeOf :: ListUploads -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListUploads Source # 
Show ListUploads Source # 
Generic ListUploads Source # 

Associated Types

type Rep ListUploads :: * -> * #

Hashable ListUploads Source # 
ToJSON ListUploads Source # 
NFData ListUploads Source # 

Methods

rnf :: ListUploads -> () #

AWSPager ListUploads Source # 
AWSRequest ListUploads Source # 
ToHeaders ListUploads Source # 

Methods

toHeaders :: ListUploads -> [Header] #

ToPath ListUploads Source # 
ToQuery ListUploads Source # 
type Rep ListUploads Source # 
type Rep ListUploads = D1 * (MetaData "ListUploads" "Network.AWS.DeviceFarm.ListUploads" "amazonka-devicefarm-1.6.0-LqJtWXKo19D7xA5rnFdJ7y" False) (C1 * (MetaCons "ListUploads'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_luNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_luArn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs ListUploads Source # 

Request Lenses

luNextToken :: Lens' ListUploads (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

luArn :: Lens' ListUploads Text Source #

The Amazon Resource Name (ARN) of the project for which you want to list uploads.

Destructuring the Response

listUploadsResponse Source #

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

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

  • lursNextToken - If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
  • lursUploads - Information about the uploads.
  • lursResponseStatus - -- | The response status code.

data ListUploadsResponse Source #

Represents the result of a list uploads request.

See: listUploadsResponse smart constructor.

Instances

Eq ListUploadsResponse Source # 
Data ListUploadsResponse Source # 

Methods

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

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

toConstr :: ListUploadsResponse -> Constr #

dataTypeOf :: ListUploadsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListUploadsResponse Source # 
Show ListUploadsResponse Source # 
Generic ListUploadsResponse Source # 
NFData ListUploadsResponse Source # 

Methods

rnf :: ListUploadsResponse -> () #

type Rep ListUploadsResponse Source # 
type Rep ListUploadsResponse = D1 * (MetaData "ListUploadsResponse" "Network.AWS.DeviceFarm.ListUploads" "amazonka-devicefarm-1.6.0-LqJtWXKo19D7xA5rnFdJ7y" False) (C1 * (MetaCons "ListUploadsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lursNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lursUploads") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Upload]))) (S1 * (MetaSel (Just Symbol "_lursResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lursNextToken :: Lens' ListUploadsResponse (Maybe Text) Source #

If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.

lursUploads :: Lens' ListUploadsResponse [Upload] Source #

Information about the uploads.

lursResponseStatus :: Lens' ListUploadsResponse Int Source #

  • - | The response status code.