Class: Aws::CodeCommit::Types::CreateBranchInput

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

Overview

Represents the input of a create branch operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#branch_nameString

The name of the new branch to create.

Returns:

  • (String)


1396
1397
1398
1399
1400
1401
1402
# File 'lib/aws-sdk-codecommit/types.rb', line 1396

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

#commit_idString

The ID of the commit to point the new branch to.

Returns:

  • (String)


1396
1397
1398
1399
1400
1401
1402
# File 'lib/aws-sdk-codecommit/types.rb', line 1396

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

#repository_nameString

The name of the repository in which you want to create the new branch.

Returns:

  • (String)


1396
1397
1398
1399
1400
1401
1402
# File 'lib/aws-sdk-codecommit/types.rb', line 1396

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