import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetPoliciesStatsRequest, GetPoliciesStatsResponse } from "../models/models_0"; import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetPoliciesStatsCommand}. */ export interface GetPoliciesStatsCommandInput extends GetPoliciesStatsRequest { } /** * @public * * The output of {@link GetPoliciesStatsCommand}. */ export interface GetPoliciesStatsCommandOutput extends GetPoliciesStatsResponse, __MetadataBearer { } declare const GetPoliciesStatsCommand_base: { new (input: GetPoliciesStatsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [GetPoliciesStatsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns statistical information about your OpenSearch Serverless access policies, security configurations, and security policies.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OpenSearchServerlessClient, GetPoliciesStatsCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import * // const { OpenSearchServerlessClient, GetPoliciesStatsCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import * // import type { OpenSearchServerlessClientConfig } from "@aws-sdk/client-opensearchserverless"; * const config = {}; // type is OpenSearchServerlessClientConfig * const client = new OpenSearchServerlessClient(config); * const input = {}; * const command = new GetPoliciesStatsCommand(input); * const response = await client.send(command); * // { // GetPoliciesStatsResponse * // AccessPolicyStats: { // AccessPolicyStats * // DataPolicyCount: Number("long"), * // }, * // SecurityPolicyStats: { // SecurityPolicyStats * // EncryptionPolicyCount: Number("long"), * // NetworkPolicyCount: Number("long"), * // }, * // SecurityConfigStats: { // SecurityConfigStats * // SamlConfigCount: Number("long"), * // }, * // LifecyclePolicyStats: { // LifecyclePolicyStats * // RetentionPolicyCount: Number("long"), * // }, * // TotalPolicyCount: Number("long"), * // }; * * ``` * * @param GetPoliciesStatsCommandInput - {@link GetPoliciesStatsCommandInput} * @returns {@link GetPoliciesStatsCommandOutput} * @see {@link GetPoliciesStatsCommandInput} for command's `input` shape. * @see {@link GetPoliciesStatsCommandOutput} for command's `response` shape. * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

Thrown when an error internal to the service occurs while processing a request.

* * @throws {@link OpenSearchServerlessServiceException} *

Base exception class for all service exceptions from OpenSearchServerless service.

* * * @public */ export declare class GetPoliciesStatsCommand extends GetPoliciesStatsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: {}; output: GetPoliciesStatsResponse; }; sdk: { input: GetPoliciesStatsCommandInput; output: GetPoliciesStatsCommandOutput; }; }; }