CodeCommit / Client / update_repository_name
update_repository_name#
- CodeCommit.Client.update_repository_name(**kwargs)#
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.
See also: AWS API Documentation
Request Syntax
response = client.update_repository_name( oldName='string', newName='string' )
- Parameters:
oldName (string) –
[REQUIRED]
The current name of the repository.
newName (string) –
[REQUIRED]
The new name for the repository.
- Returns:
None
Exceptions
CodeCommit.Client.exceptions.RepositoryDoesNotExistException
CodeCommit.Client.exceptions.RepositoryNameExistsException
CodeCommit.Client.exceptions.RepositoryNameRequiredException
CodeCommit.Client.exceptions.InvalidRepositoryNameException