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

  • laNextToken - 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 - The Run, Job, Suite, or Test ARN.
  • laType - The artifacts' type. Allowed values include: * FILE: The artifacts are files. * LOG: The artifacts are logs. * SCREENSHOT: The artifacts are screenshots.

data ListArtifacts Source #

Represents a request to the list artifacts operation.

See: listArtifacts smart constructor.

Instances
Eq ListArtifacts Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

Data ListArtifacts Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

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 # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

Show ListArtifacts Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

Generic ListArtifacts Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

Associated Types

type Rep ListArtifacts :: Type -> Type #

Hashable ListArtifacts Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

ToJSON ListArtifacts Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

AWSPager ListArtifacts Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

AWSRequest ListArtifacts Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

Associated Types

type Rs ListArtifacts :: Type #

ToHeaders ListArtifacts Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

ToPath ListArtifacts Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

ToQuery ListArtifacts Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

NFData ListArtifacts Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

Methods

rnf :: ListArtifacts -> () #

type Rep ListArtifacts Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

type Rep ListArtifacts = D1 (MetaData "ListArtifacts" "Network.AWS.DeviceFarm.ListArtifacts" "amazonka-devicefarm-1.6.1-BUBE26oXCvH3OZbJddASoX" False) (C1 (MetaCons "ListArtifacts'" PrefixI True) (S1 (MetaSel (Just "_laNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_laArn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_laType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ArtifactCategory))))
type Rs ListArtifacts Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

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:

  • larsArtifacts - Information about the artifacts.
  • larsNextToken - 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.
  • larsResponseStatus - -- | The response status code.

data ListArtifactsResponse Source #

Represents the result of a list artifacts operation.

See: listArtifactsResponse smart constructor.

Instances
Eq ListArtifactsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

Data ListArtifactsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

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 # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

Show ListArtifactsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

Generic ListArtifactsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

Associated Types

type Rep ListArtifactsResponse :: Type -> Type #

NFData ListArtifactsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

Methods

rnf :: ListArtifactsResponse -> () #

type Rep ListArtifactsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

type Rep ListArtifactsResponse = D1 (MetaData "ListArtifactsResponse" "Network.AWS.DeviceFarm.ListArtifacts" "amazonka-devicefarm-1.6.1-BUBE26oXCvH3OZbJddASoX" False) (C1 (MetaCons "ListArtifactsResponse'" PrefixI True) (S1 (MetaSel (Just "_larsArtifacts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Artifact])) :*: (S1 (MetaSel (Just "_larsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.

larsResponseStatus :: Lens' ListArtifactsResponse Int Source #

  • - | The response status code.