Class: Aws::CodeCommit::Types::UpdateDefaultBranchInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeCommit::Types::UpdateDefaultBranchInput
- 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.
Instance Attribute Summary collapse
-
#default_branch_name ⇒ String
The name of the branch to set as the default.
-
#repository_name ⇒ String
The name of the repository to set or change the default branch for.
Instance Attribute Details
#default_branch_name ⇒ String
The name of the branch to set as the default.
956 957 958 959 960 |
# File 'lib/aws-sdk-codecommit/types.rb', line 956 class UpdateDefaultBranchInput < Struct.new( :repository_name, :default_branch_name) include Aws::Structure end |
#repository_name ⇒ String
The name of the repository to set or change the default branch for.
956 957 958 959 960 |
# File 'lib/aws-sdk-codecommit/types.rb', line 956 class UpdateDefaultBranchInput < Struct.new( :repository_name, :default_branch_name) include Aws::Structure end |