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::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.

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 'gems/aws-sdk-codecommit/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 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 7666

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