amazonka-devicefarm-1.5.0: Amazon Device Farm SDK.

Copyright(c) 2013-2017 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.DeleteProject

Contents

Description

Deletes an AWS Device Farm project, given the project ARN.

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

Synopsis

Creating a Request

deleteProject Source #

Arguments

:: Text

dpArn

-> DeleteProject 

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

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

  • dpArn - Represents the Amazon Resource Name (ARN) of the Device Farm project you wish to delete.

data DeleteProject Source #

Represents a request to the delete project operation.

See: deleteProject smart constructor.

Instances

Eq DeleteProject Source # 
Data DeleteProject Source # 

Methods

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

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

toConstr :: DeleteProject -> Constr #

dataTypeOf :: DeleteProject -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteProject Source # 
Show DeleteProject Source # 
Generic DeleteProject Source # 

Associated Types

type Rep DeleteProject :: * -> * #

Hashable DeleteProject Source # 
ToJSON DeleteProject Source # 
NFData DeleteProject Source # 

Methods

rnf :: DeleteProject -> () #

AWSRequest DeleteProject Source # 
ToQuery DeleteProject Source # 
ToPath DeleteProject Source # 
ToHeaders DeleteProject Source # 
type Rep DeleteProject Source # 
type Rep DeleteProject = D1 (MetaData "DeleteProject" "Network.AWS.DeviceFarm.DeleteProject" "amazonka-devicefarm-1.5.0-XwN0sn2YagFwkQSin1mYz" True) (C1 (MetaCons "DeleteProject'" PrefixI True) (S1 (MetaSel (Just Symbol "_dpArn") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteProject Source # 

Request Lenses

dpArn :: Lens' DeleteProject Text Source #

Represents the Amazon Resource Name (ARN) of the Device Farm project you wish to delete.

Destructuring the Response

deleteProjectResponse Source #

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

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

data DeleteProjectResponse Source #

Represents the result of a delete project request.

See: deleteProjectResponse smart constructor.

Instances

Eq DeleteProjectResponse Source # 
Data DeleteProjectResponse Source # 

Methods

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

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

toConstr :: DeleteProjectResponse -> Constr #

dataTypeOf :: DeleteProjectResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteProjectResponse Source # 
Show DeleteProjectResponse Source # 
Generic DeleteProjectResponse Source # 
NFData DeleteProjectResponse Source # 

Methods

rnf :: DeleteProjectResponse -> () #

type Rep DeleteProjectResponse Source # 
type Rep DeleteProjectResponse = D1 (MetaData "DeleteProjectResponse" "Network.AWS.DeviceFarm.DeleteProject" "amazonka-devicefarm-1.5.0-XwN0sn2YagFwkQSin1mYz" True) (C1 (MetaCons "DeleteProjectResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_dprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

dprsResponseStatus :: Lens' DeleteProjectResponse Int Source #

  • - | The response status code.