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

Class: Aws::CodeCommit::Types::BatchGetCommitsOutput

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#commitsArray<Types::Commit>

An array of commit data type objects, each of which contains information about a specified commit.

Returns:



228
229
230
231
232
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 228

class BatchGetCommitsOutput < Struct.new(
  :commits,
  :errors)
  include Aws::Structure
end

#errorsArray<Types::BatchGetCommitsError>

Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA or that commit was not found in the specified repository, the ID will return an error object with additional information.

Returns:



228
229
230
231
232
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 228

class BatchGetCommitsOutput < Struct.new(
  :commits,
  :errors)
  include Aws::Structure
end