list_projects
(**kwargs)¶Retrieves a list of projects.
See also: AWS API Documentation
Request Syntax
response = client.list_projects(
spaceName='string',
nextToken='string',
maxResults=123,
filters=[
{
'key': 'hasAccessTo',
'values': [
'string',
],
'comparisonOperator': 'EQ'|'GT'|'GE'|'LT'|'LE'
},
]
)
[REQUIRED]
The name of the space.
NextToken
element, which you can use to obtain additional results.Information about filters to apply to narrow the results returned in the list.
nformation about the filter used to narrow the results returned in a list of projects.
A key that can be used to sort results.
The value of the key.
The operator used to compare the fields.
dict
Response Syntax
{
'nextToken': 'string',
'items': [
{
'name': 'string',
'displayName': 'string',
'description': 'string'
},
]
}
Response Structure
(dict) --
nextToken (string) --
A token returned from a call to this API to indicate the next batch of results to return, if any.
items (list) --
Information about the projects.
(dict) --
Information about a project.
name (string) --
The name of the project in the space.
displayName (string) --
The friendly name displayed to users of the project in Amazon CodeCatalyst.
description (string) --
The description of the project.
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