import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DAXClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DAXClient"; import type { DescribeEventsRequest, DescribeEventsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeEventsCommand}. */ export interface DescribeEventsCommandInput extends DescribeEventsRequest { } /** * @public * * The output of {@link DescribeEventsCommand}. */ export interface DescribeEventsCommandOutput extends DescribeEventsResponse, __MetadataBearer { } declare const DescribeEventsCommand_base: { new (input: DescribeEventsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [DescribeEventsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Returns events related to DAX clusters and parameter groups. You can * obtain events specific to a particular DAX cluster or parameter group by * providing the name as a parameter.

*

By default, only the events occurring within the last 24 hours are returned; * however, you can retrieve up to 14 days' worth of events if necessary.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DAXClient, DescribeEventsCommand } from "@aws-sdk/client-dax"; // ES Modules import * // const { DAXClient, DescribeEventsCommand } = require("@aws-sdk/client-dax"); // CommonJS import * // import type { DAXClientConfig } from "@aws-sdk/client-dax"; * const config = {}; // type is DAXClientConfig * const client = new DAXClient(config); * const input = { // DescribeEventsRequest * SourceName: "STRING_VALUE", * SourceType: "CLUSTER" || "PARAMETER_GROUP" || "SUBNET_GROUP", * StartTime: new Date("TIMESTAMP"), * EndTime: new Date("TIMESTAMP"), * Duration: Number("int"), * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new DescribeEventsCommand(input); * const response = await client.send(command); * // { // DescribeEventsResponse * // NextToken: "STRING_VALUE", * // Events: [ // EventList * // { // Event * // SourceName: "STRING_VALUE", * // SourceType: "CLUSTER" || "PARAMETER_GROUP" || "SUBNET_GROUP", * // Message: "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 DAXClientResolvedConfig | config} for DAXClient's `config` shape. * * @throws {@link InvalidParameterCombinationException} (client fault) *

Two or more incompatible parameters were specified.

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

The value for a parameter is invalid.

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

The specified service linked role (SLR) was not found.

* * @throws {@link DAXServiceException} *

Base exception class for all service exceptions from DAX service.

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