:doc:`CodeCatalyst <../../codecatalyst>` / Client / list_source_repositories

************************
list_source_repositories
************************



.. py:method:: CodeCatalyst.Client.list_source_repositories(**kwargs)

  

  Retrieves a list of source repositories in a project.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/ListSourceRepositories>`_  


  **Request Syntax**
  ::

    response = client.list_source_repositories(
        spaceName='string',
        projectName='string',
        nextToken='string',
        maxResults=123
    )
    
  :type spaceName: string
  :param spaceName: **[REQUIRED]** 

    The name of the space.

    

  
  :type projectName: string
  :param projectName: **[REQUIRED]** 

    The name of the project in the space.

    

  
  :type nextToken: string
  :param nextToken: 

    A token returned from a call to this API to indicate the next batch of results to return, if any.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a ``NextToken`` element, which you can use to obtain additional results.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'items': [
              {
                  'id': 'string',
                  'name': 'string',
                  'description': 'string',
                  'lastUpdatedTime': datetime(2015, 1, 1),
                  'createdTime': datetime(2015, 1, 1)
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **items** *(list) --* 

        Information about the source repositories.

        
        

        - *(dict) --* 

          Information about a source repository returned in a list of source repositories.

          
          

          - **id** *(string) --* 

            The system-generated unique ID of the source repository.

            
          

          - **name** *(string) --* 

            The name of the source repository.

            
          

          - **description** *(string) --* 

            The description of the repository, if any.

            
          

          - **lastUpdatedTime** *(datetime) --* 

            The time the source repository was last updated, in coordinated universal time (UTC) timestamp format as specified in `RFC 3339 <https://www.rfc-editor.org/rfc/rfc3339#section-5.6>`__.

            
          

          - **createdTime** *(datetime) --* 

            The time the source repository was created, in coordinated universal time (UTC) timestamp format as specified in `RFC 3339 <https://www.rfc-editor.org/rfc/rfc3339#section-5.6>`__.

            
      
    
      

      - **nextToken** *(string) --* 

        A token returned from a call to this API to indicate the next batch of results to return, if any.

        
  
  **Exceptions**
  
  *   :py:class:`CodeCatalyst.Client.exceptions.ThrottlingException`

  
  *   :py:class:`CodeCatalyst.Client.exceptions.ConflictException`

  
  *   :py:class:`CodeCatalyst.Client.exceptions.ValidationException`

  
  *   :py:class:`CodeCatalyst.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`CodeCatalyst.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`CodeCatalyst.Client.exceptions.AccessDeniedException`

  