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

Contents

Description

Gets information about jobs for a given test run.

This operation returns paginated results.

Synopsis

Creating a Request

listJobs Source #

Arguments

:: Text

ljArn

-> ListJobs 

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

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

  • ljNextToken - 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.
  • ljArn - The run's Amazon Resource Name (ARN).

data ListJobs Source #

Represents a request to the list jobs operation.

See: listJobs smart constructor.

Instances
Eq ListJobs Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListJobs

Data ListJobs Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListJobs

Methods

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

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

toConstr :: ListJobs -> Constr #

dataTypeOf :: ListJobs -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListJobs Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListJobs

Show ListJobs Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListJobs

Generic ListJobs Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListJobs

Associated Types

type Rep ListJobs :: Type -> Type #

Methods

from :: ListJobs -> Rep ListJobs x #

to :: Rep ListJobs x -> ListJobs #

Hashable ListJobs Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListJobs

Methods

hashWithSalt :: Int -> ListJobs -> Int #

hash :: ListJobs -> Int #

ToJSON ListJobs Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListJobs

AWSPager ListJobs Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListJobs

AWSRequest ListJobs Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListJobs

Associated Types

type Rs ListJobs :: Type #

ToHeaders ListJobs Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListJobs

Methods

toHeaders :: ListJobs -> [Header] #

ToPath ListJobs Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListJobs

ToQuery ListJobs Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListJobs

NFData ListJobs Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListJobs

Methods

rnf :: ListJobs -> () #

type Rep ListJobs Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListJobs

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

Defined in Network.AWS.DeviceFarm.ListJobs

Request Lenses

ljNextToken :: Lens' ListJobs (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.

ljArn :: Lens' ListJobs Text Source #

The run's Amazon Resource Name (ARN).

Destructuring the Response

listJobsResponse Source #

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

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

  • ljrsJobs - Information about the jobs.
  • ljrsNextToken - 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.
  • ljrsResponseStatus - -- | The response status code.

data ListJobsResponse Source #

Represents the result of a list jobs request.

See: listJobsResponse smart constructor.

Instances
Eq ListJobsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListJobs

Data ListJobsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListJobs

Methods

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

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

toConstr :: ListJobsResponse -> Constr #

dataTypeOf :: ListJobsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListJobsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListJobs

Show ListJobsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListJobs

Generic ListJobsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListJobs

Associated Types

type Rep ListJobsResponse :: Type -> Type #

NFData ListJobsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListJobs

Methods

rnf :: ListJobsResponse -> () #

type Rep ListJobsResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.ListJobs

type Rep ListJobsResponse = D1 (MetaData "ListJobsResponse" "Network.AWS.DeviceFarm.ListJobs" "amazonka-devicefarm-1.6.1-BUBE26oXCvH3OZbJddASoX" False) (C1 (MetaCons "ListJobsResponse'" PrefixI True) (S1 (MetaSel (Just "_ljrsJobs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Job])) :*: (S1 (MetaSel (Just "_ljrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ljrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

ljrsJobs :: Lens' ListJobsResponse [Job] Source #

Information about the jobs.

ljrsNextToken :: Lens' ListJobsResponse (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.

ljrsResponseStatus :: Lens' ListJobsResponse Int Source #

  • - | The response status code.