amazonka-devicefarm-1.4.5: 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 #

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:

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

data StopRun #

Represents the request to stop a specific run.

See: stopRun smart constructor.

Instances

Eq StopRun # 

Methods

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

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

Data StopRun # 

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 # 
Show StopRun # 
Generic StopRun # 

Associated Types

type Rep StopRun :: * -> * #

Methods

from :: StopRun -> Rep StopRun x #

to :: Rep StopRun x -> StopRun #

Hashable StopRun # 

Methods

hashWithSalt :: Int -> StopRun -> Int #

hash :: StopRun -> Int #

ToJSON StopRun # 
NFData StopRun # 

Methods

rnf :: StopRun -> () #

AWSRequest StopRun # 

Associated Types

type Rs StopRun :: * #

ToQuery StopRun # 
ToPath StopRun # 

Methods

toPath :: StopRun -> ByteString #

ToHeaders StopRun # 

Methods

toHeaders :: StopRun -> [Header] #

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

Request Lenses

srArn :: Lens' StopRun Text #

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

Destructuring the Response

stopRunResponse #

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 #

Represents the results of your stop run attempt.

See: stopRunResponse smart constructor.

Instances

Eq StopRunResponse # 
Data StopRunResponse # 

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 # 
Show StopRunResponse # 
Generic StopRunResponse # 
NFData StopRunResponse # 

Methods

rnf :: StopRunResponse -> () #

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

Response Lenses

srsRun :: Lens' StopRunResponse (Maybe Run) #

Undocumented member.

srsResponseStatus :: Lens' StopRunResponse Int #

  • - | The response status code.