list_reports
¶
list_reports(
*,
config_overrides: Optional[CodeBuildClientConfig] = 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/code_build.py
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 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 | |