amazonka-devicefarm-1.4.5: Amazon Device Farm 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.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 #

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 #

Represents a request to the list uploads operation.

See: listUploads smart constructor.

Instances

Eq ListUploads # 
Data ListUploads # 

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 # 
Show ListUploads # 
Generic ListUploads # 

Associated Types

type Rep ListUploads :: * -> * #

Hashable ListUploads # 
ToJSON ListUploads # 
NFData ListUploads # 

Methods

rnf :: ListUploads -> () #

AWSPager ListUploads # 
AWSRequest ListUploads # 
ToQuery ListUploads # 
ToPath ListUploads # 
ToHeaders ListUploads # 

Methods

toHeaders :: ListUploads -> [Header] #

type Rep ListUploads # 
type Rep ListUploads = D1 (MetaData "ListUploads" "Network.AWS.DeviceFarm.ListUploads" "amazonka-devicefarm-1.4.5-Kd08QioxBZU9BqkZYEEvYe" 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 # 

Request Lenses

luNextToken :: Lens' ListUploads (Maybe Text) #

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 #

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

Destructuring the Response

listUploadsResponse #

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 #

Represents the result of a list uploads request.

See: listUploadsResponse smart constructor.

Instances

Eq ListUploadsResponse # 
Data ListUploadsResponse # 

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 # 
Show ListUploadsResponse # 
Generic ListUploadsResponse # 
NFData ListUploadsResponse # 

Methods

rnf :: ListUploadsResponse -> () #

type Rep ListUploadsResponse # 
type Rep ListUploadsResponse = D1 (MetaData "ListUploadsResponse" "Network.AWS.DeviceFarm.ListUploads" "amazonka-devicefarm-1.4.5-Kd08QioxBZU9BqkZYEEvYe" 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 DecidedUnpack) (Rec0 Int)))))

Response Lenses

lursNextToken :: Lens' ListUploadsResponse (Maybe Text) #

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

Information about the uploads.

lursResponseStatus :: Lens' ListUploadsResponse Int #

  • - | The response status code.