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

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

data StopRun Source #

Represents the request to stop a specific run.

See: stopRun smart constructor.

Instances
Eq StopRun Source # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Methods

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

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

Data StopRun Source # 
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 Source # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Show StopRun Source # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Generic StopRun Source # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Associated Types

type Rep StopRun :: Type -> Type #

Methods

from :: StopRun -> Rep StopRun x #

to :: Rep StopRun x -> StopRun #

Hashable StopRun Source # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Methods

hashWithSalt :: Int -> StopRun -> Int #

hash :: StopRun -> Int #

ToJSON StopRun Source # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

AWSRequest StopRun Source # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Associated Types

type Rs StopRun :: Type #

ToHeaders StopRun Source # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Methods

toHeaders :: StopRun -> [Header] #

ToPath StopRun Source # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Methods

toPath :: StopRun -> ByteString #

ToQuery StopRun Source # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

NFData StopRun Source # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Methods

rnf :: StopRun -> () #

type Rep StopRun Source # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

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

Defined in Network.AWS.DeviceFarm.StopRun

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

Defined in Network.AWS.DeviceFarm.StopRun

Data StopRunResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Show StopRunResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Generic StopRunResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Associated Types

type Rep StopRunResponse :: Type -> Type #

NFData StopRunResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

Methods

rnf :: StopRunResponse -> () #

type Rep StopRunResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.StopRun

type Rep StopRunResponse = D1 (MetaData "StopRunResponse" "Network.AWS.DeviceFarm.StopRun" "amazonka-devicefarm-1.6.1-BUBE26oXCvH3OZbJddASoX" 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) Source #

The run that was stopped.

srsResponseStatus :: Lens' StopRunResponse Int Source #

  • - | The response status code.