amazonka-mobile-1.5.0: Amazon Mobile 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.Mobile.DeleteProject

Contents

Description

Delets a project in AWS Mobile Hub.

Synopsis

Creating a Request

deleteProject Source #

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:

data DeleteProject Source #

Request structure used to request a project be deleted.

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 # 
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.Mobile.DeleteProject" "amazonka-mobile-1.5.0-7pdfDsS3Pa88IEj9Qidb1o" True) (C1 (MetaCons "DeleteProject'" PrefixI True) (S1 (MetaSel (Just Symbol "_dpProjectId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteProject Source # 

Request Lenses

dpProjectId :: Lens' DeleteProject Text Source #

Unique project identifier.

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 #

Result structure used in response to request to delete a project.

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.Mobile.DeleteProject" "amazonka-mobile-1.5.0-7pdfDsS3Pa88IEj9Qidb1o" False) (C1 (MetaCons "DeleteProjectResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dprsDeletedResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Resource]))) ((:*:) (S1 (MetaSel (Just Symbol "_dprsOrphanedResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Resource]))) (S1 (MetaSel (Just Symbol "_dprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

dprsOrphanedResources :: Lens' DeleteProjectResponse [Resource] Source #

Resources which were not deleted, due to a risk of losing potentially important data or files.

dprsResponseStatus :: Lens' DeleteProjectResponse Int Source #

  • - | The response status code.