list_finding_aggregations
¶
list_finding_aggregations(
aggregation_type: AggregationType,
*,
config_overrides: Optional[Inspector2ClientConfig] = 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/inspector2.py
4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 | |