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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#default_branch_nameString

The name of the branch to set as the default.

Returns:

  • (String)

7666
7667
7668
7669
7670
7671
# File 'lib/aws-sdk-codecommit/types.rb', line 7666

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

#repository_nameString

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

Returns:

  • (String)

7666
7667
7668
7669
7670
7671
# File 'lib/aws-sdk-codecommit/types.rb', line 7666

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