amazonka-codecommit-1.6.0: Amazon CodeCommit 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.CodeCommit.DeleteCommentContent

Contents

Description

Deletes the content of a comment made on a change, file, or commit in a repository.

Synopsis

Creating a Request

deleteCommentContent Source #

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

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

  • dccCommentId - The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest .

data DeleteCommentContent Source #

See: deleteCommentContent smart constructor.

Instances

Eq DeleteCommentContent Source # 
Data DeleteCommentContent Source # 

Methods

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

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

toConstr :: DeleteCommentContent -> Constr #

dataTypeOf :: DeleteCommentContent -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DeleteCommentContent -> () #

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

Request Lenses

dccCommentId :: Lens' DeleteCommentContent Text Source #

The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest .

Destructuring the Response

deleteCommentContentResponse Source #

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

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

data DeleteCommentContentResponse Source #

See: deleteCommentContentResponse smart constructor.

Instances

Eq DeleteCommentContentResponse Source # 
Data DeleteCommentContentResponse Source # 

Methods

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

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

toConstr :: DeleteCommentContentResponse -> Constr #

dataTypeOf :: DeleteCommentContentResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteCommentContentResponse Source # 
Show DeleteCommentContentResponse Source # 
Generic DeleteCommentContentResponse Source # 
NFData DeleteCommentContentResponse Source # 
type Rep DeleteCommentContentResponse Source # 
type Rep DeleteCommentContentResponse = D1 * (MetaData "DeleteCommentContentResponse" "Network.AWS.CodeCommit.DeleteCommentContent" "amazonka-codecommit-1.6.0-Ck6cSFWU4LEJwYMtJc4ier" False) (C1 * (MetaCons "DeleteCommentContentResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dccrsComment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Comment))) (S1 * (MetaSel (Just Symbol "_dccrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

dccrsComment :: Lens' DeleteCommentContentResponse (Maybe Comment) Source #

Information about the comment you just deleted.