import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient"; import type { DescribeEventsMessage, DescribeEventsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeEventsCommand}. */ export interface DescribeEventsCommandInput extends DescribeEventsMessage { } /** * @public * * The output of {@link DescribeEventsCommand}. */ export interface DescribeEventsCommandOutput extends DescribeEventsResponse, __MetadataBearer { } declare const DescribeEventsCommand_base: { new (input: DescribeEventsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeEventsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Lists events for a given source identifier and source type. You can also specify a * start and end time. For more information on DMS events, see Working with Events and * Notifications in the Database Migration Service User Guide. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DatabaseMigrationServiceClient, DescribeEventsCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import * // const { DatabaseMigrationServiceClient, DescribeEventsCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import * // import type { DatabaseMigrationServiceClientConfig } from "@aws-sdk/client-database-migration-service"; * const config = {}; // type is DatabaseMigrationServiceClientConfig * const client = new DatabaseMigrationServiceClient(config); * const input = { // DescribeEventsMessage * SourceIdentifier: "STRING_VALUE", * SourceType: "replication-instance", * StartTime: new Date("TIMESTAMP"), * EndTime: new Date("TIMESTAMP"), * Duration: Number("int"), * EventCategories: [ // EventCategoriesList * "STRING_VALUE", * ], * Filters: [ // FilterList * { // Filter * Name: "STRING_VALUE", // required * Values: [ // FilterValueList // required * "STRING_VALUE", * ], * }, * ], * MaxRecords: Number("int"), * Marker: "STRING_VALUE", * }; * const command = new DescribeEventsCommand(input); * const response = await client.send(command); * // { // DescribeEventsResponse * // Marker: "STRING_VALUE", * // Events: [ // EventList * // { // Event * // SourceIdentifier: "STRING_VALUE", * // SourceType: "replication-instance", * // Message: "STRING_VALUE", * // EventCategories: [ // EventCategoriesList * // "STRING_VALUE", * // ], * // Date: new Date("TIMESTAMP"), * // }, * // ], * // }; * * ``` * * @param DescribeEventsCommandInput - {@link DescribeEventsCommandInput} * @returns {@link DescribeEventsCommandOutput} * @see {@link DescribeEventsCommandInput} for command's `input` shape. * @see {@link DescribeEventsCommandOutput} for command's `response` shape. * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape. * * @throws {@link DatabaseMigrationServiceServiceException} *

Base exception class for all service exceptions from DatabaseMigrationService service.

* * * @public */ export declare class DescribeEventsCommand extends DescribeEventsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeEventsMessage; output: DescribeEventsResponse; }; sdk: { input: DescribeEventsCommandInput; output: DescribeEventsCommandOutput; }; }; }