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

Class: Aws::CodeCommit::Types::UpdateDefaultBranchInput

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

Overview

Note:

When making an API call, you may pass UpdateDefaultBranchInput data as a hash:

{
  repository_name: "RepositoryName", # required
  default_branch_name: "BranchName", # required
}

Represents the input of an update default branch operation.

Instance Attribute Summary collapse

Instance Attribute Details

#default_branch_nameString

The name of the branch to set as the default.

Returns:

  • (String)


1006
1007
1008
1009
1010
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1006

class UpdateDefaultBranchInput < Struct.new(
  :repository_name,
  :default_branch_name)
  include Aws::Structure
end

#repository_nameString

The name of the repository to set or change the default branch for.

Returns:

  • (String)


1006
1007
1008
1009
1010
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1006

class UpdateDefaultBranchInput < Struct.new(
  :repository_name,
  :default_branch_name)
  include Aws::Structure
end