amazonka-codecommit-1.6.1: 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 # 
Instance details

Defined in Network.AWS.CodeCommit.DeleteCommentContent

Data DeleteCommentContent Source # 
Instance details

Defined in Network.AWS.CodeCommit.DeleteCommentContent

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 # 
Instance details

Defined in Network.AWS.CodeCommit.DeleteCommentContent

Show DeleteCommentContent Source # 
Instance details

Defined in Network.AWS.CodeCommit.DeleteCommentContent

Generic DeleteCommentContent Source # 
Instance details

Defined in Network.AWS.CodeCommit.DeleteCommentContent

Associated Types

type Rep DeleteCommentContent :: Type -> Type #

Hashable DeleteCommentContent Source # 
Instance details

Defined in Network.AWS.CodeCommit.DeleteCommentContent

ToJSON DeleteCommentContent Source # 
Instance details

Defined in Network.AWS.CodeCommit.DeleteCommentContent

AWSRequest DeleteCommentContent Source # 
Instance details

Defined in Network.AWS.CodeCommit.DeleteCommentContent

Associated Types

type Rs DeleteCommentContent :: Type #

ToHeaders DeleteCommentContent Source # 
Instance details

Defined in Network.AWS.CodeCommit.DeleteCommentContent

ToPath DeleteCommentContent Source # 
Instance details

Defined in Network.AWS.CodeCommit.DeleteCommentContent

ToQuery DeleteCommentContent Source # 
Instance details

Defined in Network.AWS.CodeCommit.DeleteCommentContent

NFData DeleteCommentContent Source # 
Instance details

Defined in Network.AWS.CodeCommit.DeleteCommentContent

Methods

rnf :: DeleteCommentContent -> () #

type Rep DeleteCommentContent Source # 
Instance details

Defined in Network.AWS.CodeCommit.DeleteCommentContent

type Rep DeleteCommentContent = D1 (MetaData "DeleteCommentContent" "Network.AWS.CodeCommit.DeleteCommentContent" "amazonka-codecommit-1.6.1-5oFbBVW9gHvCvarYcjcXps" True) (C1 (MetaCons "DeleteCommentContent'" PrefixI True) (S1 (MetaSel (Just "_dccCommentId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteCommentContent Source # 
Instance details

Defined in Network.AWS.CodeCommit.DeleteCommentContent

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 # 
Instance details

Defined in Network.AWS.CodeCommit.DeleteCommentContent

Data DeleteCommentContentResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.DeleteCommentContent

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 # 
Instance details

Defined in Network.AWS.CodeCommit.DeleteCommentContent

Show DeleteCommentContentResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.DeleteCommentContent

Generic DeleteCommentContentResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.DeleteCommentContent

Associated Types

type Rep DeleteCommentContentResponse :: Type -> Type #

NFData DeleteCommentContentResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.DeleteCommentContent

type Rep DeleteCommentContentResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.DeleteCommentContent

type Rep DeleteCommentContentResponse = D1 (MetaData "DeleteCommentContentResponse" "Network.AWS.CodeCommit.DeleteCommentContent" "amazonka-codecommit-1.6.1-5oFbBVW9gHvCvarYcjcXps" False) (C1 (MetaCons "DeleteCommentContentResponse'" PrefixI True) (S1 (MetaSel (Just "_dccrsComment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Comment)) :*: S1 (MetaSel (Just "_dccrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

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

Information about the comment you just deleted.