Class: Aws::CodeCommit::Types::GetDifferencesInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeCommit::Types::GetDifferencesInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codecommit/types.rb
Overview
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
-
#after_commit_specifier ⇒ String
The branch, tag, HEAD, or other fully qualified reference used to identify a commit.
-
#after_path ⇒ String
The file path in which to check differences.
-
#before_commit_specifier ⇒ String
The branch, tag, HEAD, or other fully qualified reference used to identify a commit.
-
#before_path ⇒ String
The file path in which to check for differences.
-
#max_results ⇒ Integer
A non-negative integer used to limit the number of returned results.
-
#next_token ⇒ String
An enumeration token that when provided in a request, returns the next batch of the results.
-
#repository_name ⇒ String
The name of the repository where you want to get differences.
Instance Attribute Details
#after_commit_specifier ⇒ String
The branch, tag, HEAD, or other fully qualified reference used to identify a commit.
480 481 482 483 484 485 486 487 488 489 |
# File 'lib/aws-sdk-codecommit/types.rb', line 480 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_path ⇒ String
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.
480 481 482 483 484 485 486 487 488 489 |
# File 'lib/aws-sdk-codecommit/types.rb', line 480 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_specifier ⇒ String
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`.
480 481 482 483 484 485 486 487 488 489 |
# File 'lib/aws-sdk-codecommit/types.rb', line 480 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_path ⇒ String
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.
480 481 482 483 484 485 486 487 488 489 |
# File 'lib/aws-sdk-codecommit/types.rb', line 480 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_results ⇒ Integer
A non-negative integer used to limit the number of returned results.
480 481 482 483 484 485 486 487 488 489 |
# File 'lib/aws-sdk-codecommit/types.rb', line 480 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_token ⇒ String
An enumeration token that when provided in a request, returns the next batch of the results.
480 481 482 483 484 485 486 487 488 489 |
# File 'lib/aws-sdk-codecommit/types.rb', line 480 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_name ⇒ String
The name of the repository where you want to get differences.
480 481 482 483 484 485 486 487 488 489 |
# File 'lib/aws-sdk-codecommit/types.rb', line 480 class GetDifferencesInput < Struct.new( :repository_name, :before_commit_specifier, :after_commit_specifier, :before_path, :after_path, :max_results, :next_token) include Aws::Structure end |