list_report_groups
async
¶
list_report_groups(
*,
config_overrides: Optional[AsyncCodeBuildClientConfig] = None,
sort_order: Optional[SortOrderType] = None,
sort_by: Optional[ReportGroupSortByType] = None,
next_token: Optional[String] = None,
max_results: Optional[PageSize] = None,
) -> ListReportGroupsOutput
Gets a list ARNs for the report groups in the current Amazon Web Services account.
Parameters:
-
sort_order(Optional[SortOrderType], default:None) –Used to specify the order to sort the list of returned report groups. Valid values are
ASCENDINGandDESCENDING. -
sort_by(Optional[ReportGroupSortByType], default:None) –The criterion to be used to list build report groups. Valid values include:
-
CREATED_TIME: List based on when each report group was created. -
LAST_MODIFIED_TIME: List based on when each report group was last changed. -
NAME: List based on each report group's name.
-
-
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 report groups returned per response. Use
nextTokento iterate pages in the list of returnedReportGroupobjects. The default value is 100.
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
2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 | |