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
3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 | |