import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConfigServiceClient"; import type { DescribeAggregateComplianceByConformancePacksRequest, DescribeAggregateComplianceByConformancePacksResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeAggregateComplianceByConformancePacksCommand}. */ export interface DescribeAggregateComplianceByConformancePacksCommandInput extends DescribeAggregateComplianceByConformancePacksRequest { } /** * @public * * The output of {@link DescribeAggregateComplianceByConformancePacksCommand}. */ export interface DescribeAggregateComplianceByConformancePacksCommandOutput extends DescribeAggregateComplianceByConformancePacksResponse, __MetadataBearer { } declare const DescribeAggregateComplianceByConformancePacksCommand_base: { new (input: DescribeAggregateComplianceByConformancePacksCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DescribeAggregateComplianceByConformancePacksCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns a list of the existing and deleted conformance packs and their associated compliance status with the count of compliant and noncompliant Config rules within each * conformance pack. Also returns the total rule count which includes compliant rules, noncompliant rules, and rules that cannot be evaluated due to insufficient data.

* *

The results can return an empty result page, but if you have a nextToken, the results are displayed on the next page.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConfigServiceClient, DescribeAggregateComplianceByConformancePacksCommand } from "@aws-sdk/client-config-service"; // ES Modules import * // const { ConfigServiceClient, DescribeAggregateComplianceByConformancePacksCommand } = require("@aws-sdk/client-config-service"); // CommonJS import * // import type { ConfigServiceClientConfig } from "@aws-sdk/client-config-service"; * const config = {}; // type is ConfigServiceClientConfig * const client = new ConfigServiceClient(config); * const input = { // DescribeAggregateComplianceByConformancePacksRequest * ConfigurationAggregatorName: "STRING_VALUE", // required * Filters: { // AggregateConformancePackComplianceFilters * ConformancePackName: "STRING_VALUE", * ComplianceType: "COMPLIANT" || "NON_COMPLIANT" || "INSUFFICIENT_DATA", * AccountId: "STRING_VALUE", * AwsRegion: "STRING_VALUE", * }, * Limit: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new DescribeAggregateComplianceByConformancePacksCommand(input); * const response = await client.send(command); * // { // DescribeAggregateComplianceByConformancePacksResponse * // AggregateComplianceByConformancePacks: [ // AggregateComplianceByConformancePackList * // { // AggregateComplianceByConformancePack * // ConformancePackName: "STRING_VALUE", * // Compliance: { // AggregateConformancePackCompliance * // ComplianceType: "COMPLIANT" || "NON_COMPLIANT" || "INSUFFICIENT_DATA", * // CompliantRuleCount: Number("int"), * // NonCompliantRuleCount: Number("int"), * // TotalRuleCount: Number("int"), * // }, * // AccountId: "STRING_VALUE", * // AwsRegion: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeAggregateComplianceByConformancePacksCommandInput - {@link DescribeAggregateComplianceByConformancePacksCommandInput} * @returns {@link DescribeAggregateComplianceByConformancePacksCommandOutput} * @see {@link DescribeAggregateComplianceByConformancePacksCommandInput} for command's `input` shape. * @see {@link DescribeAggregateComplianceByConformancePacksCommandOutput} for command's `response` shape. * @see {@link ConfigServiceClientResolvedConfig | config} for ConfigServiceClient's `config` shape. * * @throws {@link InvalidLimitException} (client fault) *

The specified limit is outside the allowable range.

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

The specified next token is not valid. Specify the * nextToken string that was returned in the previous * response to get the next page of results.

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

You have specified a configuration aggregator that does not exist.

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

The requested operation is not valid. You will see this exception if there are missing required fields or if the input value fails the validation.

*

For PutStoredQuery, one of the following errors:

* *

For DescribeConfigurationRecorders and DescribeConfigurationRecorderStatus, one of the following errors:

* *

For AssociateResourceTypes and DisassociateResourceTypes, one of the following errors:

* * * @throws {@link ConfigServiceServiceException} *

Base exception class for all service exceptions from ConfigService service.

* * * @public */ export declare class DescribeAggregateComplianceByConformancePacksCommand extends DescribeAggregateComplianceByConformancePacksCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeAggregateComplianceByConformancePacksRequest; output: DescribeAggregateComplianceByConformancePacksResponse; }; sdk: { input: DescribeAggregateComplianceByConformancePacksCommandInput; output: DescribeAggregateComplianceByConformancePacksCommandOutput; }; }; }