import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { GetOpsSummaryResult } from "../models/models_1"; import { GetOpsSummaryRequest } from "../models/models_2"; import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetOpsSummaryCommand}. */ export interface GetOpsSummaryCommandInput extends GetOpsSummaryRequest { } /** * @public * * The output of {@link GetOpsSummaryCommand}. */ export interface GetOpsSummaryCommandOutput extends GetOpsSummaryResult, __MetadataBearer { } declare const GetOpsSummaryCommand_base: { new (input: GetOpsSummaryCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [GetOpsSummaryCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

View a summary of operations metadata (OpsData) based on specified filters and aggregators. * OpsData can include information about Amazon Web Services Systems Manager OpsCenter operational workitems (OpsItems) as * well as information about any Amazon Web Services resource or service configured to report OpsData to Amazon Web Services Systems Manager * Explorer.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, GetOpsSummaryCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, GetOpsSummaryCommand } = require("@aws-sdk/client-ssm"); // CommonJS import * const client = new SSMClient(config); * const input = { // GetOpsSummaryRequest * SyncName: "STRING_VALUE", * Filters: [ // OpsFilterList * { // OpsFilter * Key: "STRING_VALUE", // required * Values: [ // OpsFilterValueList // required * "STRING_VALUE", * ], * Type: "Equal" || "NotEqual" || "BeginWith" || "LessThan" || "GreaterThan" || "Exists", * }, * ], * Aggregators: [ // OpsAggregatorList * { // OpsAggregator * AggregatorType: "STRING_VALUE", * TypeName: "STRING_VALUE", * AttributeName: "STRING_VALUE", * Values: { // OpsAggregatorValueMap * "": "STRING_VALUE", * }, * Filters: [ * { * Key: "STRING_VALUE", // required * Values: [ // required * "STRING_VALUE", * ], * Type: "Equal" || "NotEqual" || "BeginWith" || "LessThan" || "GreaterThan" || "Exists", * }, * ], * Aggregators: [ * { * AggregatorType: "STRING_VALUE", * TypeName: "STRING_VALUE", * AttributeName: "STRING_VALUE", * Values: { * "": "STRING_VALUE", * }, * Filters: "", * Aggregators: "", * }, * ], * }, * ], * ResultAttributes: [ // OpsResultAttributeList * { // OpsResultAttribute * TypeName: "STRING_VALUE", // required * }, * ], * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new GetOpsSummaryCommand(input); * const response = await client.send(command); * // { // GetOpsSummaryResult * // Entities: [ // OpsEntityList * // { // OpsEntity * // Id: "STRING_VALUE", * // Data: { // OpsEntityItemMap * // "": { // OpsEntityItem * // CaptureTime: "STRING_VALUE", * // Content: [ // OpsEntityItemEntryList * // { // OpsEntityItemEntry * // "": "STRING_VALUE", * // }, * // ], * // }, * // }, * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param GetOpsSummaryCommandInput - {@link GetOpsSummaryCommandInput} * @returns {@link GetOpsSummaryCommandOutput} * @see {@link GetOpsSummaryCommandInput} for command's `input` shape. * @see {@link GetOpsSummaryCommandOutput} for command's `response` shape. * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. * * @throws {@link InternalServerError} (server fault) *

An error occurred on the server side.

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

The specified aggregator isn't valid for the group type. Verify that the aggregator you * provided is supported.

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

The filter name isn't valid. Verify that you entered the correct name and try again.

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

The specified token isn't valid.

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

The parameter type name isn't valid.

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

The specified sync name wasn't found.

* * @throws {@link SSMServiceException} *

Base exception class for all service exceptions from SSM service.

* * * @public */ export declare class GetOpsSummaryCommand extends GetOpsSummaryCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetOpsSummaryRequest; output: GetOpsSummaryResult; }; sdk: { input: GetOpsSummaryCommandInput; output: GetOpsSummaryCommandOutput; }; }; }