list_build_batches_for_project
async
¶
list_build_batches_for_project(
*,
config_overrides: Optional[AsyncCodeBuildClientConfig] = 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/async_code_build.py
2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 | |