Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::CodeCatalyst::Types::ListSourceRepositoryBranchesItem

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

Overview

Information about a branch of a source repository returned in a list of branches.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#head_commit_idString

The commit ID of the tip of the branch at the time of the request, also known as the head commit.

Returns:

  • (String)

1989
1990
1991
1992
1993
1994
1995
1996
# File 'gems/aws-sdk-codecatalyst/lib/aws-sdk-codecatalyst/types.rb', line 1989

class ListSourceRepositoryBranchesItem < Struct.new(
  :ref,
  :name,
  :last_updated_time,
  :head_commit_id)
  SENSITIVE = []
  include Aws::Structure
end

#last_updated_timeTime

The time the branch was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.

Returns:

  • (Time)

1989
1990
1991
1992
1993
1994
1995
1996
# File 'gems/aws-sdk-codecatalyst/lib/aws-sdk-codecatalyst/types.rb', line 1989

class ListSourceRepositoryBranchesItem < Struct.new(
  :ref,
  :name,
  :last_updated_time,
  :head_commit_id)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the branch.

Returns:

  • (String)

1989
1990
1991
1992
1993
1994
1995
1996
# File 'gems/aws-sdk-codecatalyst/lib/aws-sdk-codecatalyst/types.rb', line 1989

class ListSourceRepositoryBranchesItem < Struct.new(
  :ref,
  :name,
  :last_updated_time,
  :head_commit_id)
  SENSITIVE = []
  include Aws::Structure
end

#refString

The Git reference name of the branch.

Returns:

  • (String)

1989
1990
1991
1992
1993
1994
1995
1996
# File 'gems/aws-sdk-codecatalyst/lib/aws-sdk-codecatalyst/types.rb', line 1989

class ListSourceRepositoryBranchesItem < Struct.new(
  :ref,
  :name,
  :last_updated_time,
  :head_commit_id)
  SENSITIVE = []
  include Aws::Structure
end