list_source_repositories
(**kwargs)¶Retrieves a list of source repositories in a project.
See also: AWS API Documentation
Request Syntax
response = client.list_source_repositories(
spaceName='string',
projectName='string',
nextToken='string',
maxResults=123
)
[REQUIRED]
The name of the space.
[REQUIRED]
The name of the project in the space.
NextToken
element, which you can use to obtain additional results.dict
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.
createdTime (datetime) --
The time the source repository was created, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
nextToken (string) --
A token returned from a call to this API to indicate the next batch of results to return, if any.
Exceptions
CodeCatalyst.Client.exceptions.ThrottlingException
CodeCatalyst.Client.exceptions.ConflictException
CodeCatalyst.Client.exceptions.ValidationException
CodeCatalyst.Client.exceptions.ServiceQuotaExceededException
CodeCatalyst.Client.exceptions.ResourceNotFoundException
CodeCatalyst.Client.exceptions.AccessDeniedException