CodeCommit.Client.
update_repository_name
(**kwargs)¶Renames a repository. The repository name must be unique across the calling AWS 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 Limits in the AWS CodeCommit User Guide.
See also: AWS API Documentation
Request Syntax
response = client.update_repository_name(
oldName='string',
newName='string'
)
[REQUIRED]
The current name of the repository.
[REQUIRED]
The new name for the repository.
None
Exceptions
CodeCommit.Client.exceptions.RepositoryDoesNotExistException
CodeCommit.Client.exceptions.RepositoryNameExistsException
CodeCommit.Client.exceptions.RepositoryNameRequiredException
CodeCommit.Client.exceptions.InvalidRepositoryNameException