amazonka-devicefarm-1.4.2: 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.ListArtifacts

Contents

Description

Gets information about artifacts.

This operation returns paginated results.

Synopsis

Creating a Request

listArtifacts Source #

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

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

data ListArtifacts Source #

Represents a request to the list artifacts operation.

See: listArtifacts smart constructor.

Instances

Eq ListArtifacts Source # 
Data ListArtifacts Source # 

Methods

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

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

toConstr :: ListArtifacts -> Constr #

dataTypeOf :: ListArtifacts -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListArtifacts Source # 
Show ListArtifacts Source # 
Generic ListArtifacts Source # 

Associated Types

type Rep ListArtifacts :: * -> * #

Hashable ListArtifacts Source # 
ToJSON ListArtifacts Source # 
NFData ListArtifacts Source # 

Methods

rnf :: ListArtifacts -> () #

AWSPager ListArtifacts Source # 
AWSRequest ListArtifacts Source # 
ToQuery ListArtifacts Source # 
ToPath ListArtifacts Source # 
ToHeaders ListArtifacts Source # 
type Rep ListArtifacts Source # 
type Rep ListArtifacts = D1 (MetaData "ListArtifacts" "Network.AWS.DeviceFarm.ListArtifacts" "amazonka-devicefarm-1.4.2-C514uqWNmE7EGbDYyFC0kC" False) (C1 (MetaCons "ListArtifacts'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_laNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_laArn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_laType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ArtifactCategory)))))
type Rs ListArtifacts Source # 

Request Lenses

laNextToken :: Lens' ListArtifacts (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.

laArn :: Lens' ListArtifacts Text Source #

The Run, Job, Suite, or Test ARN.

laType :: Lens' ListArtifacts ArtifactCategory Source #

The artifacts' type.

Allowed values include:

  • FILE: The artifacts are files.
  • LOG: The artifacts are logs.
  • SCREENSHOT: The artifacts are screenshots.

Destructuring the Response

listArtifactsResponse Source #

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

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

data ListArtifactsResponse Source #

Represents the result of a list artifacts operation.

See: listArtifactsResponse smart constructor.

Instances

Eq ListArtifactsResponse Source # 
Data ListArtifactsResponse Source # 

Methods

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

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

toConstr :: ListArtifactsResponse -> Constr #

dataTypeOf :: ListArtifactsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListArtifactsResponse Source # 
Show ListArtifactsResponse Source # 
Generic ListArtifactsResponse Source # 
NFData ListArtifactsResponse Source # 

Methods

rnf :: ListArtifactsResponse -> () #

type Rep ListArtifactsResponse Source # 
type Rep ListArtifactsResponse = D1 (MetaData "ListArtifactsResponse" "Network.AWS.DeviceFarm.ListArtifacts" "amazonka-devicefarm-1.4.2-C514uqWNmE7EGbDYyFC0kC" False) (C1 (MetaCons "ListArtifactsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_larsArtifacts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Artifact]))) ((:*:) (S1 (MetaSel (Just Symbol "_larsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_larsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

larsArtifacts :: Lens' ListArtifactsResponse [Artifact] Source #

Information about the artifacts.

larsNextToken :: Lens' ListArtifactsResponse (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.