list_build_batches_for_project
¶
list_build_batches_for_project(
*,
config_overrides: Optional[CodeBuildClientConfig] = None,
project_name: Optional[NonEmptyString] = None,
filter: Optional[BuildBatchFilter] = None,
max_results: Optional[PageSize] = None,
sort_order: Optional[SortOrderType] = None,
next_token: Optional[String] = None,
) -> ListBuildBatchesForProjectOutput
Retrieves the identifiers of the build batches for a specific project.
Parameters:
-
project_name(Optional[NonEmptyString], default:None) –The name of the project.
-
filter(Optional[BuildBatchFilter], default:None) –A
BuildBatchFilterobject that specifies the filters for the search. -
max_results(Optional[PageSize], default:None) –The maximum number of results to return.
-
sort_order(Optional[SortOrderType], default:None) –Specifies the sort order of the returned items. Valid values include:
-
ASCENDING: List the batch build identifiers in ascending order by identifier. -
DESCENDING: List the batch build identifiers in descending order by identifier.
-
-
next_token(Optional[String], default:None) –The
nextTokenvalue returned from a previous call toListBuildBatchesForProject. This specifies the next item to return. To return the beginning of the list, exclude this parameter.
Raises:
-
InvalidInputException–The input value that was provided is not valid.
-
ResourceNotFoundException–The specified Amazon Web Services resource cannot be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codebuild/_services/code_build.py
2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 | |