list_builds
async
¶
list_builds(
*,
config_overrides: Optional[AsyncCodeBuildClientConfig] = None,
sort_order: Optional[SortOrderType] = None,
next_token: Optional[String] = None,
) -> ListBuildsOutput
Gets a list of build IDs, with each build ID representing a single build.
Parameters:
-
sort_order(Optional[SortOrderType], default:None) –The order to list build IDs. Valid values include:
-
ASCENDING: List the build IDs in ascending order by build ID. -
DESCENDING: List the build IDs in descending order by build ID.
-
-
next_token(Optional[String], default:None) –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 nextToken. 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.
Raises:
-
InvalidInputException–The input value that was provided is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codebuild/_services/async_code_build.py
2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 | |