Skip to content

List Branches

codecommit_list_branches R Documentation

Gets information about one or more branches in a repository

Description

Gets information about one or more branches in a repository.

Usage

codecommit_list_branches(repositoryName, nextToken)

Arguments

repositoryName

[required] The name of the repository that contains the branches.

nextToken

An enumeration token that allows the operation to batch the results.

Value

A list with the following syntax:

list(
  branches = list(
    "string"
  ),
  nextToken = "string"
)

Request syntax

svc$list_branches(
  repositoryName = "string",
  nextToken = "string"
)