v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1445247249.8 KB

Gets a list of build project names, with each build project name representing a single build project.

post/#X-Amz-Target=CodeBuild_20161006.ListProjects

Query parameters

nextTokenstring

Pagination token

Headers

X-Amz-Target'CodeBuild_20161006.ListProjects' required

Request body

sortBy'NAME' | 'CREATED_TIME' | 'LAST_MODIFIED_TIME'
<p>The criterion to be used to list build project names. Valid values include:</p> <ul> <li> <p> <code>CREATED_TIME</code>: List based on when each build project was created.</p> </li> <li> <p> <code>LAST_MODIFIED_TIME</code>: List based on when information about each build project was last changed.</p> </li> <li> <p> <code>NAME</code>: List based on each build project's name.</p> </li> </ul> <p>Use <code>sortOrder</code> to specify in what order to list the build project names based on the preceding criteria.</p>
sortOrder'ASCENDING' | 'DESCENDING'
<p>The order in which to list build projects. Valid values include:</p> <ul> <li> <p> <code>ASCENDING</code>: List in ascending order.</p> </li> <li> <p> <code>DESCENDING</code>: List in descending order.</p> </li> </ul> <p>Use <code>sortBy</code> to specify the criterion to be used to list build project names.</p>
nextTokenstring

During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a <i>nextToken</i>. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

Response

Success

nextTokenstring

If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a <i>nextToken</i>. To get the next batch of items in the list, call this operation again, adding the next token to the call.

projectsNonEmptyString[]

The list of build project names, with each build project name representing a single build project.