AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the GetMergeCommit operation. Returns information about a specified merge commit.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CodeCommit.AmazonCodeCommitRequest
      Amazon.CodeCommit.Model.GetMergeCommitRequest

Namespace: Amazon.CodeCommit.Model
Assembly: AWSSDK.CodeCommit.dll
Version: 3.x.y.z

Syntax

C#
public class GetMergeCommitRequest : AmazonCodeCommitRequest
         IAmazonWebServiceRequest

The GetMergeCommitRequest type exposes the following members

Constructors

NameDescription
Public Method GetMergeCommitRequest()

Properties

NameTypeDescription
Public Property ConflictDetailLevel Amazon.CodeCommit.ConflictDetailLevelTypeEnum

Gets and sets the property ConflictDetailLevel.

The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.

Public Property ConflictResolutionStrategy Amazon.CodeCommit.ConflictResolutionStrategyTypeEnum

Gets and sets the property ConflictResolutionStrategy.

Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.

Public Property DestinationCommitSpecifier System.String

Gets and sets the property DestinationCommitSpecifier.

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

Public Property RepositoryName System.String

Gets and sets the property RepositoryName.

The name of the repository that contains the merge commit about which you want to get information.

Public Property SourceCommitSpecifier System.String

Gets and sets the property SourceCommitSpecifier.

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5