amazonka-codecommit-1.5.0: Amazon CodeCommit 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.CodeCommit.DeleteRepository

Contents

Description

Deletes a repository. If a specified repository was already deleted, a null repository ID will be returned.

Important: Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository will fail.

Synopsis

Creating a Request

deleteRepository Source #

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

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

data DeleteRepository Source #

Represents the input of a delete repository operation.

See: deleteRepository smart constructor.

Instances

Eq DeleteRepository Source # 
Data DeleteRepository Source # 

Methods

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

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

toConstr :: DeleteRepository -> Constr #

dataTypeOf :: DeleteRepository -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteRepository Source # 
Show DeleteRepository Source # 
Generic DeleteRepository Source # 
Hashable DeleteRepository Source # 
ToJSON DeleteRepository Source # 
NFData DeleteRepository Source # 

Methods

rnf :: DeleteRepository -> () #

AWSRequest DeleteRepository Source # 
ToQuery DeleteRepository Source # 
ToPath DeleteRepository Source # 
ToHeaders DeleteRepository Source # 
type Rep DeleteRepository Source # 
type Rep DeleteRepository = D1 (MetaData "DeleteRepository" "Network.AWS.CodeCommit.DeleteRepository" "amazonka-codecommit-1.5.0-KpuBz1wlDu33SLAQFXGcI6" True) (C1 (MetaCons "DeleteRepository'" PrefixI True) (S1 (MetaSel (Just Symbol "_drRepositoryName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteRepository Source # 

Request Lenses

drRepositoryName :: Lens' DeleteRepository Text Source #

The name of the repository to delete.

Destructuring the Response

deleteRepositoryResponse Source #

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

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

data DeleteRepositoryResponse Source #

Represents the output of a delete repository operation.

See: deleteRepositoryResponse smart constructor.

Instances

Eq DeleteRepositoryResponse Source # 
Data DeleteRepositoryResponse Source # 

Methods

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

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

toConstr :: DeleteRepositoryResponse -> Constr #

dataTypeOf :: DeleteRepositoryResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteRepositoryResponse Source # 
Show DeleteRepositoryResponse Source # 
Generic DeleteRepositoryResponse Source # 
NFData DeleteRepositoryResponse Source # 
type Rep DeleteRepositoryResponse Source # 
type Rep DeleteRepositoryResponse = D1 (MetaData "DeleteRepositoryResponse" "Network.AWS.CodeCommit.DeleteRepository" "amazonka-codecommit-1.5.0-KpuBz1wlDu33SLAQFXGcI6" False) (C1 (MetaCons "DeleteRepositoryResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_drrsRepositoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_drrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

drrsRepositoryId :: Lens' DeleteRepositoryResponse (Maybe Text) Source #

The ID of the repository that was deleted.