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

Contents

Description

Initiates a stop request for the current test run. AWS Device Farm will immediately stop the run on devices where tests have not started executing, and you will not be billed for these devices. On devices where tests have started executing, Setup Suite and Teardown Suite tests will run to completion before stopping execution on those devices. You will be billed for Setup, Teardown, and any tests that were in progress or already completed.

Synopsis

Creating a Request

stopRun Source #

Arguments

:: Text

srArn

-> StopRun 

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

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

data StopRun Source #

Represents the request to stop a specific run.

See: stopRun smart constructor.

Instances

Eq StopRun Source # 

Methods

(==) :: StopRun -> StopRun -> Bool #

(/=) :: StopRun -> StopRun -> Bool #

Data StopRun Source # 

Methods

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

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

toConstr :: StopRun -> Constr #

dataTypeOf :: StopRun -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopRun Source # 
Show StopRun Source # 
Generic StopRun Source # 

Associated Types

type Rep StopRun :: * -> * #

Methods

from :: StopRun -> Rep StopRun x #

to :: Rep StopRun x -> StopRun #

Hashable StopRun Source # 

Methods

hashWithSalt :: Int -> StopRun -> Int #

hash :: StopRun -> Int #

ToJSON StopRun Source # 
NFData StopRun Source # 

Methods

rnf :: StopRun -> () #

AWSRequest StopRun Source # 

Associated Types

type Rs StopRun :: * #

ToQuery StopRun Source # 
ToPath StopRun Source # 

Methods

toPath :: StopRun -> ByteString #

ToHeaders StopRun Source # 

Methods

toHeaders :: StopRun -> [Header] #

type Rep StopRun Source # 
type Rep StopRun = D1 (MetaData "StopRun" "Network.AWS.DeviceFarm.StopRun" "amazonka-devicefarm-1.4.2-C514uqWNmE7EGbDYyFC0kC" True) (C1 (MetaCons "StopRun'" PrefixI True) (S1 (MetaSel (Just Symbol "_srArn") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs StopRun Source # 

Request Lenses

srArn :: Lens' StopRun Text Source #

Represents the Amazon Resource Name (ARN) of the Device Farm run you wish to stop.

Destructuring the Response

stopRunResponse Source #

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

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

data StopRunResponse Source #

Represents the results of your stop run attempt.

See: stopRunResponse smart constructor.

Instances

Eq StopRunResponse Source # 
Data StopRunResponse Source # 

Methods

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

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

toConstr :: StopRunResponse -> Constr #

dataTypeOf :: StopRunResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopRunResponse Source # 
Show StopRunResponse Source # 
Generic StopRunResponse Source # 
NFData StopRunResponse Source # 

Methods

rnf :: StopRunResponse -> () #

type Rep StopRunResponse Source # 
type Rep StopRunResponse = D1 (MetaData "StopRunResponse" "Network.AWS.DeviceFarm.StopRun" "amazonka-devicefarm-1.4.2-C514uqWNmE7EGbDYyFC0kC" False) (C1 (MetaCons "StopRunResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_srsRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Run))) (S1 (MetaSel (Just Symbol "_srsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

srsRun :: Lens' StopRunResponse (Maybe Run) Source #

Undocumented member.

srsResponseStatus :: Lens' StopRunResponse Int Source #

The response status code.