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

Contents

Description

Schedules a run.

Synopsis

Creating a Request

scheduleRun Source #

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

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

  • srExecutionConfiguration - Specifies configuration information about a test run, such as the execution timeout (in minutes).
  • srAppARN - The ARN of the app to schedule a run.
  • srName - The name for the run to be scheduled.
  • srConfiguration - Information about the settings for the run to be scheduled.
  • srProjectARN - The ARN of the project for the run to be scheduled.
  • srDevicePoolARN - The ARN of the device pool for the run to be scheduled.
  • srTest - Information about the test for the run to be scheduled.

data ScheduleRun Source #

Represents a request to the schedule run operation.

See: scheduleRun smart constructor.

Instances

Eq ScheduleRun Source # 
Data ScheduleRun Source # 

Methods

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

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

toConstr :: ScheduleRun -> Constr #

dataTypeOf :: ScheduleRun -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ScheduleRun Source # 
Show ScheduleRun Source # 
Generic ScheduleRun Source # 

Associated Types

type Rep ScheduleRun :: * -> * #

Hashable ScheduleRun Source # 
ToJSON ScheduleRun Source # 
NFData ScheduleRun Source # 

Methods

rnf :: ScheduleRun -> () #

AWSRequest ScheduleRun Source # 
ToHeaders ScheduleRun Source # 

Methods

toHeaders :: ScheduleRun -> [Header] #

ToPath ScheduleRun Source # 
ToQuery ScheduleRun Source # 
type Rep ScheduleRun Source # 
type Rs ScheduleRun Source # 

Request Lenses

srExecutionConfiguration :: Lens' ScheduleRun (Maybe ExecutionConfiguration) Source #

Specifies configuration information about a test run, such as the execution timeout (in minutes).

srAppARN :: Lens' ScheduleRun (Maybe Text) Source #

The ARN of the app to schedule a run.

srName :: Lens' ScheduleRun (Maybe Text) Source #

The name for the run to be scheduled.

srConfiguration :: Lens' ScheduleRun (Maybe ScheduleRunConfiguration) Source #

Information about the settings for the run to be scheduled.

srProjectARN :: Lens' ScheduleRun Text Source #

The ARN of the project for the run to be scheduled.

srDevicePoolARN :: Lens' ScheduleRun Text Source #

The ARN of the device pool for the run to be scheduled.

srTest :: Lens' ScheduleRun ScheduleRunTest Source #

Information about the test for the run to be scheduled.

Destructuring the Response

scheduleRunResponse Source #

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

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

data ScheduleRunResponse Source #

Represents the result of a schedule run request.

See: scheduleRunResponse smart constructor.

Instances

Eq ScheduleRunResponse Source # 
Data ScheduleRunResponse Source # 

Methods

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

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

toConstr :: ScheduleRunResponse -> Constr #

dataTypeOf :: ScheduleRunResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ScheduleRunResponse Source # 
Show ScheduleRunResponse Source # 
Generic ScheduleRunResponse Source # 
NFData ScheduleRunResponse Source # 

Methods

rnf :: ScheduleRunResponse -> () #

type Rep ScheduleRunResponse Source # 
type Rep ScheduleRunResponse = D1 * (MetaData "ScheduleRunResponse" "Network.AWS.DeviceFarm.ScheduleRun" "amazonka-devicefarm-1.6.0-LqJtWXKo19D7xA5rnFdJ7y" False) (C1 * (MetaCons "ScheduleRunResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_srrsRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Run))) (S1 * (MetaSel (Just Symbol "_srrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

srrsRun :: Lens' ScheduleRunResponse (Maybe Run) Source #

Information about the scheduled run.

srrsResponseStatus :: Lens' ScheduleRunResponse Int Source #

  • - | The response status code.