list_build_batches
¶
list_build_batches(
*,
config_overrides: Optional[CodeBuildClientConfig] = None,
filter: Optional[BuildBatchFilter] = None,
max_results: Optional[PageSize] = None,
sort_order: Optional[SortOrderType] = None,
next_token: Optional[String] = None,
) -> ListBuildBatchesOutput
Retrieves the identifiers of your build batches in the current region.
Parameters:
-
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 toListBuildBatches. 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.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codebuild/_services/code_build.py
2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 | |