list_projects
(**kwargs)¶Gets a list of build project names, with each build project name representing a single build project.
See also: AWS API Documentation
Request Syntax
response = client.list_projects(
sortBy='NAME'|'CREATED_TIME'|'LAST_MODIFIED_TIME',
sortOrder='ASCENDING'|'DESCENDING',
nextToken='string'
)
The criterion to be used to list build project names. Valid values include:
CREATED_TIME
: List based on when each build project was created.LAST_MODIFIED_TIME
: List based on when information about each build project was last changed.NAME
: List based on each build project's name.Use sortOrder
to specify in what order to list the build project names based on the preceding criteria.
The order in which to list build projects. Valid values include:
ASCENDING
: List in ascending order.DESCENDING
: List in descending order.Use sortBy
to specify the criterion to be used to list build project names.
dict
Response Syntax
{
'nextToken': 'string',
'projects': [
'string',
]
}
Response Structure
(dict) --
nextToken (string) --
If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken . To get the next batch of items in the list, call this operation again, adding the next token to the call.
projects (list) --
The list of build project names, with each build project name representing a single build project.
Exceptions
CodeBuild.Client.exceptions.InvalidInputException