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.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 # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Methods

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

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

Data StopRun # 
Instance details

Defined in Network.AWS.DeviceFarm.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 # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Show StopRun # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Generic StopRun # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Associated Types

type Rep StopRun :: * -> * #

Methods

from :: StopRun -> Rep StopRun x #

to :: Rep StopRun x -> StopRun #

Hashable StopRun # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Methods

hashWithSalt :: Int -> StopRun -> Int #

hash :: StopRun -> Int #

ToJSON StopRun # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

AWSRequest StopRun # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Associated Types

type Rs StopRun :: * #

ToHeaders StopRun # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Methods

toHeaders :: StopRun -> [Header] #

ToPath StopRun # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Methods

toPath :: StopRun -> ByteString #

ToQuery StopRun # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

NFData StopRun # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Methods

rnf :: StopRun -> () #

type Rep StopRun # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

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

Defined in Network.AWS.DeviceFarm.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 # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Data StopRunResponse # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

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

Defined in Network.AWS.DeviceFarm.StopRun

Show StopRunResponse # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Generic StopRunResponse # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Associated Types

type Rep StopRunResponse :: * -> * #

NFData StopRunResponse # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Methods

rnf :: StopRunResponse -> () #

type Rep StopRunResponse # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

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

Response Lenses

srsRun :: Lens' StopRunResponse (Maybe Run) #

The run that was stopped.

srsResponseStatus :: Lens' StopRunResponse Int #

  • - | The response status code.