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.ListArtifacts

Contents

Description

Gets information about artifacts.

This operation returns paginated results.

Synopsis

Creating a Request

listArtifacts #

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 #

Represents a request to the list artifacts operation.

See: listArtifacts smart constructor.

Instances
Eq ListArtifacts # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

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

Defined in Network.AWS.DeviceFarm.ListArtifacts

Show ListArtifacts # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

Generic ListArtifacts # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

Associated Types

type Rep ListArtifacts :: * -> * #

Hashable ListArtifacts # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

ToJSON ListArtifacts # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

AWSPager ListArtifacts # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

AWSRequest ListArtifacts # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

Associated Types

type Rs ListArtifacts :: * #

ToHeaders ListArtifacts # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

ToPath ListArtifacts # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

ToQuery ListArtifacts # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

NFData ListArtifacts # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

Methods

rnf :: ListArtifacts -> () #

type Rep ListArtifacts # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

type Rep ListArtifacts = D1 (MetaData "ListArtifacts" "Network.AWS.DeviceFarm.ListArtifacts" "amazonka-devicefarm-1.6.0-6jgx33LHPEL8JnoULaTRqG" 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 # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

Request Lenses

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

laArn :: Lens' ListArtifacts Text #

The Run, Job, Suite, or Test ARN.

laType :: Lens' ListArtifacts ArtifactCategory #

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 #

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 #

Represents the result of a list artifacts operation.

See: listArtifactsResponse smart constructor.

Instances
Eq ListArtifactsResponse # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

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

Defined in Network.AWS.DeviceFarm.ListArtifacts

Show ListArtifactsResponse # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

Generic ListArtifactsResponse # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

Associated Types

type Rep ListArtifactsResponse :: * -> * #

NFData ListArtifactsResponse # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

Methods

rnf :: ListArtifactsResponse -> () #

type Rep ListArtifactsResponse # 
Instance details

Defined in Network.AWS.DeviceFarm.ListArtifacts

type Rep ListArtifactsResponse = D1 (MetaData "ListArtifactsResponse" "Network.AWS.DeviceFarm.ListArtifacts" "amazonka-devicefarm-1.6.0-6jgx33LHPEL8JnoULaTRqG" 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] #

Information about the artifacts.

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

larsResponseStatus :: Lens' ListArtifactsResponse Int #

  • - | The response status code.