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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb

Overview

Note:

When making an API call, you may pass GetDifferencesInput data as a 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)


525
526
527
528
529
530
531
532
533
534
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 525

class GetDifferencesInput < Struct.new(
  :repository_name,
  :before_commit_specifier,
  :after_commit_specifier,
  :before_path,
  :after_path,
  :max_results,
  :next_token)
  include Aws::Structure
end

#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 will be shown for all paths.

Returns:

  • (String)


525
526
527
528
529
530
531
532
533
534
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 525

class GetDifferencesInput < Struct.new(
  :repository_name,
  :before_commit_specifier,
  :after_commit_specifier,
  :before_path,
  :after_path,
  :max_results,
  :next_token)
  include Aws::Structure
end

#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 prior to the afterCommitSpecifier value will be shown. If you do not use beforeCommitSpecifier in your request, consider limiting the results with maxResults.

Returns:

  • (String)


525
526
527
528
529
530
531
532
533
534
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 525

class GetDifferencesInput < Struct.new(
  :repository_name,
  :before_commit_specifier,
  :after_commit_specifier,
  :before_path,
  :after_path,
  :max_results,
  :next_token)
  include Aws::Structure
end

#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 will be shown for all paths.

Returns:

  • (String)


525
526
527
528
529
530
531
532
533
534
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 525

class GetDifferencesInput < Struct.new(
  :repository_name,
  :before_commit_specifier,
  :after_commit_specifier,
  :before_path,
  :after_path,
  :max_results,
  :next_token)
  include Aws::Structure
end

#max_resultsInteger

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

Returns:

  • (Integer)


525
526
527
528
529
530
531
532
533
534
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 525

class GetDifferencesInput < Struct.new(
  :repository_name,
  :before_commit_specifier,
  :after_commit_specifier,
  :before_path,
  :after_path,
  :max_results,
  :next_token)
  include Aws::Structure
end

#next_tokenString

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

Returns:

  • (String)


525
526
527
528
529
530
531
532
533
534
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 525

class GetDifferencesInput < Struct.new(
  :repository_name,
  :before_commit_specifier,
  :after_commit_specifier,
  :before_path,
  :after_path,
  :max_results,
  :next_token)
  include Aws::Structure
end

#repository_nameString

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

Returns:

  • (String)


525
526
527
528
529
530
531
532
533
534
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 525

class GetDifferencesInput < Struct.new(
  :repository_name,
  :before_commit_specifier,
  :after_commit_specifier,
  :before_path,
  :after_path,
  :max_results,
  :next_token)
  include Aws::Structure
end