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 GetDifferences operation. Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or other fully qualified reference). Results can be limited to a specified path.

Inheritance Hierarchy

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

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

Syntax

C#
public class GetDifferencesRequest : AmazonCodeCommitRequest
         IAmazonWebServiceRequest

The GetDifferencesRequest type exposes the following members

Constructors

NameDescription
Public Method GetDifferencesRequest()

Properties

NameTypeDescription
Public Property AfterCommitSpecifier System.String

Gets and sets the property AfterCommitSpecifier.

The branch, tag, HEAD, or other fully qualified reference used to identify a commit.

Public Property AfterPath System.String

Gets and sets the property AfterPath.

The file path in which to check differences. Limits the results to this path. Can also be used to specify the changed name of a directory or folder, if it has changed. If not specified, differences are shown for all paths.

Public Property BeforeCommitSpecifier System.String

Gets and sets the property BeforeCommitSpecifier.

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, the full commit ID). Optional. If not specified, all changes before the afterCommitSpecifier value are shown. If you do not use beforeCommitSpecifier in your request, consider limiting the results with maxResults.

Public Property BeforePath System.String

Gets and sets the property BeforePath.

The file path in which to check for differences. Limits the results to this path. Can also be used to specify the previous name of a directory or folder. If beforePath and afterPath are not specified, differences are shown for all paths.

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

A non-zero, non-negative integer used to limit the number of returned results.

Public Property NextToken System.String

Gets and sets the property NextToken.

An enumeration token that, when provided in a request, returns the next batch of the results.

Public Property RepositoryName System.String

Gets and sets the property RepositoryName.

The name of the repository where you want to get differences.

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