import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListOperationEventsInput, ListOperationEventsOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListOperationEventsCommand}. */ export interface ListOperationEventsCommandInput extends ListOperationEventsInput { } /** * @public * * The output of {@link ListOperationEventsCommand}. */ export interface ListOperationEventsCommandOutput extends ListOperationEventsOutput, __MetadataBearer { } declare const ListOperationEventsCommand_base: { new (input: ListOperationEventsCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListOperationEventsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns a list of operations events.

Available parameters include OperationID, as well as optional parameters MaxResults, NextToken, and Filters.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SsmSapClient, ListOperationEventsCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import * // const { SsmSapClient, ListOperationEventsCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import * // import type { SsmSapClientConfig } from "@aws-sdk/client-ssm-sap"; * const config = {}; // type is SsmSapClientConfig * const client = new SsmSapClient(config); * const input = { // ListOperationEventsInput * OperationId: "STRING_VALUE", // required * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * Filters: [ // FilterList * { // Filter * Name: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * Operator: "Equals" || "GreaterThanOrEquals" || "LessThanOrEquals", // required * }, * ], * }; * const command = new ListOperationEventsCommand(input); * const response = await client.send(command); * // { // ListOperationEventsOutput * // OperationEvents: [ // OperationEventList * // { // OperationEvent * // Description: "STRING_VALUE", * // Resource: { // Resource * // ResourceArn: "STRING_VALUE", * // ResourceType: "STRING_VALUE", * // }, * // Status: "IN_PROGRESS" || "COMPLETED" || "FAILED", * // StatusMessage: "STRING_VALUE", * // Timestamp: new Date("TIMESTAMP"), * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListOperationEventsCommandInput - {@link ListOperationEventsCommandInput} * @returns {@link ListOperationEventsCommandOutput} * @see {@link ListOperationEventsCommandInput} for command's `input` shape. * @see {@link ListOperationEventsCommandOutput} for command's `response` shape. * @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

An internal error has occurred.

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

The input fails to satisfy the constraints specified by an AWS service.

* * @throws {@link SsmSapServiceException} *

Base exception class for all service exceptions from SsmSap service.

* * * @public */ export declare class ListOperationEventsCommand extends ListOperationEventsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListOperationEventsInput; output: ListOperationEventsOutput; }; sdk: { input: ListOperationEventsCommandInput; output: ListOperationEventsCommandOutput; }; }; }