list_reports
async
¶
list_reports(
*,
config_overrides: Optional[AsyncCodeBuildClientConfig] = None,
sort_order: Optional[SortOrderType] = None,
next_token: Optional[String] = None,
max_results: Optional[PageSize] = None,
filter: Optional[ReportFilter] = None,
) -> ListReportsOutput
Returns a list of ARNs for the reports in the current Amazon Web Services account.
Parameters:
-
sort_order(Optional[SortOrderType], default:None) –Specifies the sort order for the list of returned reports. Valid values are:
-
ASCENDING: return reports in chronological order based on their creation date. -
DESCENDING: return reports in the reverse chronological order based on their creation date.
-
-
next_token(Optional[String], default:None) –During a previous call, the maximum number of items that can be returned is the value specified in
maxResults. If there more items in the list, then a unique string called a nextToken is returned. 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. -
max_results(Optional[PageSize], default:None) –The maximum number of paginated reports returned per response. Use
nextTokento iterate pages in the list of returnedReportobjects. The default value is 100. -
filter(Optional[ReportFilter], default:None) –A
ReportFilterobject used to filter the returned reports.
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
3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 | |