Amazon.CodeCommit.AmazonCodeCommitClient.UpdateRepositoryName C# (CSharp) Method

UpdateRepositoryName() public method

Renames a repository. The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix ".git" is prohibited. For a full description of the limits on repository names, see Limits in the AWS CodeCommit User Guide.
/// At least one specified repository name is not valid. /// /// /// /// This exception only occurs when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// The specified repository does not exist. /// /// The specified repository name already exists. /// /// A repository name is required but was not specified. ///
public UpdateRepositoryName ( UpdateRepositoryNameRequest request ) : UpdateRepositoryNameResponse
request Amazon.CodeCommit.Model.UpdateRepositoryNameRequest Container for the necessary parameters to execute the UpdateRepositoryName service method.
return UpdateRepositoryNameResponse
        public UpdateRepositoryNameResponse UpdateRepositoryName(UpdateRepositoryNameRequest request)
        {
            var marshaller = new UpdateRepositoryNameRequestMarshaller();
            var unmarshaller = UpdateRepositoryNameResponseUnmarshaller.Instance;

            return Invoke<UpdateRepositoryNameRequest,UpdateRepositoryNameResponse>(request, marshaller, unmarshaller);
        }