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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdateDefaultBranchInput as input to an Aws::Client method, you can use a vanilla 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)

    The name of the branch to set as the default.

#repository_nameString

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

Returns:

  • (String)

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