:doc:`CodeCommit <../../codecommit>` / Client / update_repository_description

*****************************
update_repository_description
*****************************



.. py:method:: CodeCommit.Client.update_repository_description(**kwargs)

  

  Sets or changes the comment or description for a repository.

   

  .. note::

    

    The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescription>`_  


  **Request Syntax**
  ::

    response = client.update_repository_description(
        repositoryName='string',
        repositoryDescription='string'
    )
    
  :type repositoryName: string
  :param repositoryName: **[REQUIRED]** 

    The name of the repository to set or change the comment or description for.

    

  
  :type repositoryDescription: string
  :param repositoryDescription: 

    The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`CodeCommit.Client.exceptions.RepositoryNameRequiredException`

  
  *   :py:class:`CodeCommit.Client.exceptions.RepositoryDoesNotExistException`

  
  *   :py:class:`CodeCommit.Client.exceptions.InvalidRepositoryNameException`

  
  *   :py:class:`CodeCommit.Client.exceptions.InvalidRepositoryDescriptionException`

  
  *   :py:class:`CodeCommit.Client.exceptions.EncryptionIntegrityChecksFailedException`

  
  *   :py:class:`CodeCommit.Client.exceptions.EncryptionKeyAccessDeniedException`

  
  *   :py:class:`CodeCommit.Client.exceptions.EncryptionKeyDisabledException`

  
  *   :py:class:`CodeCommit.Client.exceptions.EncryptionKeyNotFoundException`

  
  *   :py:class:`CodeCommit.Client.exceptions.EncryptionKeyUnavailableException`

  