libZSservicesZSamazonka-codecommitZSamazonka-codecommit
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeCommit.Types.CommentsForComparedCommit

Description

 
Synopsis

Documentation

data CommentsForComparedCommit Source #

Returns information about comments on the comparison between two commits.

See: newCommentsForComparedCommit smart constructor.

Constructors

CommentsForComparedCommit' 

Fields

  • beforeBlobId :: Maybe Text

    The full blob ID of the commit used to establish the before of the comparison.

  • location :: Maybe Location

    Location information about the comment on the comparison, including the file name, line number, and whether the version of the file where the comment was made is BEFORE or AFTER.

  • afterCommitId :: Maybe Text

    The full commit ID of the commit used to establish the after of the comparison.

  • afterBlobId :: Maybe Text

    The full blob ID of the commit used to establish the after of the comparison.

  • beforeCommitId :: Maybe Text

    The full commit ID of the commit used to establish the before of the comparison.

  • repositoryName :: Maybe Text

    The name of the repository that contains the compared commits.

  • comments :: Maybe [Comment]

    An array of comment objects. Each comment object contains information about a comment on the comparison between commits.

Instances

Instances details
Eq CommentsForComparedCommit Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.CommentsForComparedCommit

Read CommentsForComparedCommit Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.CommentsForComparedCommit

Show CommentsForComparedCommit Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.CommentsForComparedCommit

Generic CommentsForComparedCommit Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.CommentsForComparedCommit

Associated Types

type Rep CommentsForComparedCommit :: Type -> Type #

NFData CommentsForComparedCommit Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.CommentsForComparedCommit

Hashable CommentsForComparedCommit Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.CommentsForComparedCommit

FromJSON CommentsForComparedCommit Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.CommentsForComparedCommit

type Rep CommentsForComparedCommit Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.CommentsForComparedCommit

type Rep CommentsForComparedCommit = D1 ('MetaData "CommentsForComparedCommit" "Amazonka.CodeCommit.Types.CommentsForComparedCommit" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "CommentsForComparedCommit'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "beforeBlobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Location)) :*: S1 ('MetaSel ('Just "afterCommitId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "afterBlobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "beforeCommitId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "comments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Comment]))))))

newCommentsForComparedCommit :: CommentsForComparedCommit Source #

Create a value of CommentsForComparedCommit with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:beforeBlobId:CommentsForComparedCommit', commentsForComparedCommit_beforeBlobId - The full blob ID of the commit used to establish the before of the comparison.

$sel:location:CommentsForComparedCommit', commentsForComparedCommit_location - Location information about the comment on the comparison, including the file name, line number, and whether the version of the file where the comment was made is BEFORE or AFTER.

$sel:afterCommitId:CommentsForComparedCommit', commentsForComparedCommit_afterCommitId - The full commit ID of the commit used to establish the after of the comparison.

$sel:afterBlobId:CommentsForComparedCommit', commentsForComparedCommit_afterBlobId - The full blob ID of the commit used to establish the after of the comparison.

$sel:beforeCommitId:CommentsForComparedCommit', commentsForComparedCommit_beforeCommitId - The full commit ID of the commit used to establish the before of the comparison.

$sel:repositoryName:CommentsForComparedCommit', commentsForComparedCommit_repositoryName - The name of the repository that contains the compared commits.

$sel:comments:CommentsForComparedCommit', commentsForComparedCommit_comments - An array of comment objects. Each comment object contains information about a comment on the comparison between commits.

commentsForComparedCommit_beforeBlobId :: Lens' CommentsForComparedCommit (Maybe Text) Source #

The full blob ID of the commit used to establish the before of the comparison.

commentsForComparedCommit_location :: Lens' CommentsForComparedCommit (Maybe Location) Source #

Location information about the comment on the comparison, including the file name, line number, and whether the version of the file where the comment was made is BEFORE or AFTER.

commentsForComparedCommit_afterCommitId :: Lens' CommentsForComparedCommit (Maybe Text) Source #

The full commit ID of the commit used to establish the after of the comparison.

commentsForComparedCommit_afterBlobId :: Lens' CommentsForComparedCommit (Maybe Text) Source #

The full blob ID of the commit used to establish the after of the comparison.

commentsForComparedCommit_beforeCommitId :: Lens' CommentsForComparedCommit (Maybe Text) Source #

The full commit ID of the commit used to establish the before of the comparison.

commentsForComparedCommit_repositoryName :: Lens' CommentsForComparedCommit (Maybe Text) Source #

The name of the repository that contains the compared commits.

commentsForComparedCommit_comments :: Lens' CommentsForComparedCommit (Maybe [Comment]) Source #

An array of comment objects. Each comment object contains information about a comment on the comparison between commits.