import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetInsightsRequest, GetInsightsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetInsightsCommand}. */ export interface GetInsightsCommandInput extends GetInsightsRequest { } /** * @public * * The output of {@link GetInsightsCommand}. */ export interface GetInsightsCommandOutput extends GetInsightsResponse, __MetadataBearer { } declare const GetInsightsCommand_base: { new (input: GetInsightsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [GetInsightsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets the latest analytics data for all your current active assessments.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AuditManagerClient, GetInsightsCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import * // const { AuditManagerClient, GetInsightsCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import * // import type { AuditManagerClientConfig } from "@aws-sdk/client-auditmanager"; * const config = {}; // type is AuditManagerClientConfig * const client = new AuditManagerClient(config); * const input = {}; * const command = new GetInsightsCommand(input); * const response = await client.send(command); * // { // GetInsightsResponse * // insights: { // Insights * // activeAssessmentsCount: Number("int"), * // noncompliantEvidenceCount: Number("int"), * // compliantEvidenceCount: Number("int"), * // inconclusiveEvidenceCount: Number("int"), * // assessmentControlsCountByNoncompliantEvidence: Number("int"), * // totalAssessmentControlsCount: Number("int"), * // lastUpdated: new Date("TIMESTAMP"), * // }, * // }; * * ``` * * @param GetInsightsCommandInput - {@link GetInsightsCommandInput} * @returns {@link GetInsightsCommandOutput} * @see {@link GetInsightsCommandInput} for command's `input` shape. * @see {@link GetInsightsCommandOutput} for command's `response` shape. * @see {@link AuditManagerClientResolvedConfig | config} for AuditManagerClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Your account isn't registered with Audit Manager. Check the delegated * administrator setup on the Audit Manager settings page, and try again.

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

An internal service error occurred during the processing of your request. Try again * later.

* * @throws {@link AuditManagerServiceException} *

Base exception class for all service exceptions from AuditManager service.

* * * @public */ export declare class GetInsightsCommand extends GetInsightsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: {}; output: GetInsightsResponse; }; sdk: { input: GetInsightsCommandInput; output: GetInsightsCommandOutput; }; }; }