import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ElastiCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElastiCacheClient"; import type { DescribeServiceUpdatesMessage, ServiceUpdatesMessage } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeServiceUpdatesCommand}. */ export interface DescribeServiceUpdatesCommandInput extends DescribeServiceUpdatesMessage { } /** * @public * * The output of {@link DescribeServiceUpdatesCommand}. */ export interface DescribeServiceUpdatesCommandOutput extends ServiceUpdatesMessage, __MetadataBearer { } declare const DescribeServiceUpdatesCommand_base: { new (input: DescribeServiceUpdatesCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeServiceUpdatesCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns details of the service updates

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElastiCacheClient, DescribeServiceUpdatesCommand } from "@aws-sdk/client-elasticache"; // ES Modules import * // const { ElastiCacheClient, DescribeServiceUpdatesCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import * // import type { ElastiCacheClientConfig } from "@aws-sdk/client-elasticache"; * const config = {}; // type is ElastiCacheClientConfig * const client = new ElastiCacheClient(config); * const input = { // DescribeServiceUpdatesMessage * ServiceUpdateName: "STRING_VALUE", * ServiceUpdateStatus: [ // ServiceUpdateStatusList * "available" || "cancelled" || "expired", * ], * MaxRecords: Number("int"), * Marker: "STRING_VALUE", * }; * const command = new DescribeServiceUpdatesCommand(input); * const response = await client.send(command); * // { // ServiceUpdatesMessage * // Marker: "STRING_VALUE", * // ServiceUpdates: [ // ServiceUpdateList * // { // ServiceUpdate * // ServiceUpdateName: "STRING_VALUE", * // ServiceUpdateReleaseDate: new Date("TIMESTAMP"), * // ServiceUpdateEndDate: new Date("TIMESTAMP"), * // ServiceUpdateSeverity: "critical" || "important" || "medium" || "low", * // ServiceUpdateRecommendedApplyByDate: new Date("TIMESTAMP"), * // ServiceUpdateStatus: "available" || "cancelled" || "expired", * // ServiceUpdateDescription: "STRING_VALUE", * // ServiceUpdateType: "security-update", * // Engine: "STRING_VALUE", * // EngineVersion: "STRING_VALUE", * // AutoUpdateAfterRecommendedApplyByDate: true || false, * // EstimatedUpdateTime: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param DescribeServiceUpdatesCommandInput - {@link DescribeServiceUpdatesCommandInput} * @returns {@link DescribeServiceUpdatesCommandOutput} * @see {@link DescribeServiceUpdatesCommandInput} for command's `input` shape. * @see {@link DescribeServiceUpdatesCommandOutput} for command's `response` shape. * @see {@link ElastiCacheClientResolvedConfig | config} for ElastiCacheClient'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 ServiceUpdateNotFoundFault} (client fault) *

The service update doesn't exist

* * @throws {@link ElastiCacheServiceException} *

Base exception class for all service exceptions from ElastiCache service.

* * * @public */ export declare class DescribeServiceUpdatesCommand extends DescribeServiceUpdatesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeServiceUpdatesMessage; output: ServiceUpdatesMessage; }; sdk: { input: DescribeServiceUpdatesCommandInput; output: DescribeServiceUpdatesCommandOutput; }; }; }