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

Class: Aws::CodeCommit::Types::BranchInfo

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

Overview

Returns information about a branch.

Instance Attribute Summary collapse

Instance Attribute Details

#branch_nameString

The name of the branch.

Returns:

  • (String)


95
96
97
98
99
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 95

class BranchInfo < Struct.new(
  :branch_name,
  :commit_id)
  include Aws::Structure
end

#commit_idString

The ID of the last commit made to the branch.

Returns:

  • (String)


95
96
97
98
99
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 95

class BranchInfo < Struct.new(
  :branch_name,
  :commit_id)
  include Aws::Structure
end