list_finding_aggregations
async
¶
list_finding_aggregations(
aggregation_type: AggregationType,
*,
config_overrides: Optional[AsyncInspector2ClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[ListFindingAggregationsMaxResults] = None,
account_ids: Optional[StringFilterList] = None,
aggregation_request: Optional[AggregationRequest] = None,
) -> ListFindingAggregationsResponse
Lists aggregated finding data for your environment based on specific criteria.
Parameters:
-
aggregation_type(AggregationType) –The type of the aggregation request.
-
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. -
max_results(Optional[ListFindingAggregationsMaxResults], 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. -
account_ids(Optional[StringFilterList], default:None) –The Amazon Web Services account IDs to retrieve finding aggregation data for.
-
aggregation_request(Optional[AggregationRequest], default:None) –Details of the aggregation request that is used to filter your aggregation 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
4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 | |