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

Contents

Description

Deletes the run, given the run ARN.

Note Deleting this resource does not stop an in-progress run.

Synopsis

Creating a Request

deleteRun Source #

Arguments

:: Text

drArn

-> DeleteRun 

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

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

  • drArn - The Amazon Resource Name (ARN) for the run you wish to delete.

data DeleteRun Source #

Represents a request to the delete run operation.

See: deleteRun smart constructor.

Instances

Eq DeleteRun Source # 
Data DeleteRun Source # 

Methods

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

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

toConstr :: DeleteRun -> Constr #

dataTypeOf :: DeleteRun -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteRun Source # 
Show DeleteRun Source # 
Generic DeleteRun Source # 

Associated Types

type Rep DeleteRun :: * -> * #

Hashable DeleteRun Source # 
ToJSON DeleteRun Source # 
NFData DeleteRun Source # 

Methods

rnf :: DeleteRun -> () #

AWSRequest DeleteRun Source # 
ToHeaders DeleteRun Source # 

Methods

toHeaders :: DeleteRun -> [Header] #

ToPath DeleteRun Source # 
ToQuery DeleteRun Source # 
type Rep DeleteRun Source # 
type Rep DeleteRun = D1 * (MetaData "DeleteRun" "Network.AWS.DeviceFarm.DeleteRun" "amazonka-devicefarm-1.6.0-LqJtWXKo19D7xA5rnFdJ7y" True) (C1 * (MetaCons "DeleteRun'" PrefixI True) (S1 * (MetaSel (Just Symbol "_drArn") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DeleteRun Source # 

Request Lenses

drArn :: Lens' DeleteRun Text Source #

The Amazon Resource Name (ARN) for the run you wish to delete.

Destructuring the Response

deleteRunResponse Source #

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

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

data DeleteRunResponse Source #

Represents the result of a delete run request.

See: deleteRunResponse smart constructor.

Instances

Eq DeleteRunResponse Source # 
Data DeleteRunResponse Source # 

Methods

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

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

toConstr :: DeleteRunResponse -> Constr #

dataTypeOf :: DeleteRunResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteRunResponse Source # 
Show DeleteRunResponse Source # 
Generic DeleteRunResponse Source # 
NFData DeleteRunResponse Source # 

Methods

rnf :: DeleteRunResponse -> () #

type Rep DeleteRunResponse Source # 
type Rep DeleteRunResponse = D1 * (MetaData "DeleteRunResponse" "Network.AWS.DeviceFarm.DeleteRun" "amazonka-devicefarm-1.6.0-LqJtWXKo19D7xA5rnFdJ7y" True) (C1 * (MetaCons "DeleteRunResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_drrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses

drrsResponseStatus :: Lens' DeleteRunResponse Int Source #

  • - | The response status code.