Skip to content

Update Repository Name

codecommit_update_repository_name R Documentation

Renames a repository

Description

Renames a repository. The repository name must be unique across the calling Amazon Web Services account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix .git is prohibited. For more information about the limits on repository names, see Quotas in the CodeCommit User Guide.

Usage

codecommit_update_repository_name(oldName, newName)

Arguments

oldName

[required] The current name of the repository.

newName

[required] The new name for the repository.

Value

An empty list.

Request syntax

svc$update_repository_name(
  oldName = "string",
  newName = "string"
)