AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#branch_nameString

The name of the branch.

Returns:

  • (String)


817
818
819
820
821
822
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 817

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

#commit_idString

The ID of the last commit made to the branch.

Returns:

  • (String)


817
818
819
820
821
822
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 817

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