Skip to content

List Repositories

codecommit_list_repositories R Documentation

Gets information about one or more repositories

Description

Gets information about one or more repositories.

Usage

codecommit_list_repositories(nextToken, sortBy, order)

Arguments

nextToken

An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to CodeCommit, another page of 1,000 records is retrieved.

sortBy

The criteria used to sort the results of a list repositories operation.

order

The order in which to sort the results of a list repositories operation.

Value

A list with the following syntax:

list(
  repositories = list(
    list(
      repositoryName = "string",
      repositoryId = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_repositories(
  nextToken = "string",
  sortBy = "repositoryName"|"lastModifiedDate",
  order = "ascending"|"descending"
)