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

Class: Aws::CodeCommit::Types::CreateBranchInput

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

Overview

Note:

When passing CreateBranchInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  repository_name: "RepositoryName", # required
  branch_name: "BranchName", # required
  commit_id: "CommitId", # required
}

Represents the input of a create branch operation.

Instance Attribute Summary collapse

Instance Attribute Details

#branch_nameString

The name of the new branch to create.

Returns:

  • (String)

    The name of the new branch to create.

#commit_idString

The ID of the commit to point the new branch to.

Returns:

  • (String)

    The ID of the commit to point the new branch to.

#repository_nameString

The name of the repository in which you want to create the new branch.

Returns:

  • (String)

    The name of the repository in which you want to create the new branch.