import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient"; import type { ListImageScanFindingAggregationsRequest, ListImageScanFindingAggregationsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListImageScanFindingAggregationsCommand}. */ export interface ListImageScanFindingAggregationsCommandInput extends ListImageScanFindingAggregationsRequest { } /** * @public * * The output of {@link ListImageScanFindingAggregationsCommand}. */ export interface ListImageScanFindingAggregationsCommandOutput extends ListImageScanFindingAggregationsResponse, __MetadataBearer { } declare const ListImageScanFindingAggregationsCommand_base: { new (input: ListImageScanFindingAggregationsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListImageScanFindingAggregationsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Returns a list of image scan aggregations for your account. You can filter by the type * of key that Image Builder uses to group results. For example, if you want to get a list of * findings by severity level for one of your pipelines, you might specify your pipeline * with the imagePipelineArn filter. If you don't specify a filter, Image Builder * returns an aggregation for your account.

*

To streamline results, you can use the following filters in your request:

* * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ImagebuilderClient, ListImageScanFindingAggregationsCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import * // const { ImagebuilderClient, ListImageScanFindingAggregationsCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import * // import type { ImagebuilderClientConfig } from "@aws-sdk/client-imagebuilder"; * const config = {}; // type is ImagebuilderClientConfig * const client = new ImagebuilderClient(config); * const input = { // ListImageScanFindingAggregationsRequest * filter: { // Filter * name: "STRING_VALUE", * values: [ // FilterValues * "STRING_VALUE", * ], * }, * nextToken: "STRING_VALUE", * }; * const command = new ListImageScanFindingAggregationsCommand(input); * const response = await client.send(command); * // { // ListImageScanFindingAggregationsResponse * // requestId: "STRING_VALUE", * // aggregationType: "STRING_VALUE", * // responses: [ // ImageScanFindingAggregationsList * // { // ImageScanFindingAggregation * // accountAggregation: { // AccountAggregation * // accountId: "STRING_VALUE", * // severityCounts: { // SeverityCounts * // all: Number("long"), * // critical: Number("long"), * // high: Number("long"), * // medium: Number("long"), * // }, * // }, * // imageAggregation: { // ImageAggregation * // imageBuildVersionArn: "STRING_VALUE", * // severityCounts: { * // all: Number("long"), * // critical: Number("long"), * // high: Number("long"), * // medium: Number("long"), * // }, * // }, * // imagePipelineAggregation: { // ImagePipelineAggregation * // imagePipelineArn: "STRING_VALUE", * // severityCounts: { * // all: Number("long"), * // critical: Number("long"), * // high: Number("long"), * // medium: Number("long"), * // }, * // }, * // vulnerabilityIdAggregation: { // VulnerabilityIdAggregation * // vulnerabilityId: "STRING_VALUE", * // severityCounts: { * // all: Number("long"), * // critical: Number("long"), * // high: Number("long"), * // medium: Number("long"), * // }, * // }, * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListImageScanFindingAggregationsCommandInput - {@link ListImageScanFindingAggregationsCommandInput} * @returns {@link ListImageScanFindingAggregationsCommandOutput} * @see {@link ListImageScanFindingAggregationsCommandInput} for command's `input` shape. * @see {@link ListImageScanFindingAggregationsCommandOutput} for command's `response` shape. * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape. * * @throws {@link CallRateLimitExceededException} (client fault) *

You have exceeded the permitted request rate for the specific operation.

* * @throws {@link ClientException} (client fault) *

These errors are usually caused by a client action, such as using an action or * resource on behalf of a user that doesn't have permissions to use the action or * resource, or specifying an invalid resource identifier.

* * @throws {@link ForbiddenException} (client fault) *

You are not authorized to perform the requested operation.

* * @throws {@link InvalidPaginationTokenException} (client fault) *

You have provided an invalid pagination token in your request.

* * @throws {@link InvalidRequestException} (client fault) *

You have requested an action that that the service doesn't support.

* * @throws {@link ServiceException} (server fault) *

This exception is thrown when the service encounters an unrecoverable * exception.

* * @throws {@link ServiceUnavailableException} (server fault) *

The service is unable to process your request at this time.

* * @throws {@link ImagebuilderServiceException} *

Base exception class for all service exceptions from Imagebuilder service.

* * * @public */ export declare class ListImageScanFindingAggregationsCommand extends ListImageScanFindingAggregationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListImageScanFindingAggregationsRequest; output: ListImageScanFindingAggregationsResponse; }; sdk: { input: ListImageScanFindingAggregationsCommandInput; output: ListImageScanFindingAggregationsCommandOutput; }; }; }