You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeCommit::Types::GetDifferencesInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GetDifferencesInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  repository_name: "RepositoryName", # required
  before_commit_specifier: "CommitName",
  after_commit_specifier: "CommitName", # required
  before_path: "Path",
  after_path: "Path",
  max_results: 1,
  next_token: "NextToken",
}

Instance Attribute Summary collapse

Instance Attribute Details

#after_commit_specifierString

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

Returns:

  • (String)

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

#after_pathString

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.

Returns:

  • (String)

    The file path in which to check differences.

#before_commit_specifierString

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.

Returns:

  • (String)

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

#before_pathString

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.

Returns:

  • (String)

    The file path in which to check for differences.

#max_resultsInteger

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

Returns:

  • (Integer)

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

#next_tokenString

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

Returns:

  • (String)

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

#repository_nameString

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

Returns:

  • (String)

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