list_report_groups
¶
list_report_groups(
*,
config_overrides: Optional[CodeBuildClientConfig] = 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/code_build.py
3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 | |