list_findings
async
¶
list_findings(
*,
config_overrides: Optional[AsyncInspector2ClientConfig] = None,
max_results: Optional[ListFindingsMaxResults] = None,
next_token: Optional[NextToken] = None,
filter_criteria: Optional[FilterCriteria] = None,
sort_criteria: Optional[SortCriteria] = None,
) -> ListFindingsResponse
Lists findings for your environment.
Parameters:
-
max_results(Optional[ListFindingsMaxResults], default:None) –The maximum number of results the response can return. If your request would return more than the maximum the response will return a
nextTokenvalue, use this value when you call the action again to get the remaining results. -
next_token(Optional[NextToken], default:None) –A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the
maxResultsmaximum value it will also return anextTokenvalue. For subsequent calls, use thenextTokenvalue returned from the previous request to continue listing results after the first page. -
filter_criteria(Optional[FilterCriteria], default:None) –Details on the filters to apply to your finding results.
-
sort_criteria(Optional[SortCriteria], default:None) –Details on the sort criteria to apply to your finding results.
Raises:
-
InternalServerException–The request has failed due to an internal failure of the Amazon Inspector service.
-
ThrottlingException–The limit on the number of requests per second was exceeded.
-
ValidationException–The request has failed validation due to missing required fields or having invalid inputs.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_inspector2/_services/async_inspector2.py
4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 | |