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 { DescribeUpdateActionsMessage, UpdateActionsMessage } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeUpdateActionsCommand}. */ export interface DescribeUpdateActionsCommandInput extends DescribeUpdateActionsMessage { } /** * @public * * The output of {@link DescribeUpdateActionsCommand}. */ export interface DescribeUpdateActionsCommandOutput extends UpdateActionsMessage, __MetadataBearer { } declare const DescribeUpdateActionsCommand_base: { new (input: DescribeUpdateActionsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeUpdateActionsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns details of the update actions

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElastiCacheClient, DescribeUpdateActionsCommand } from "@aws-sdk/client-elasticache"; // ES Modules import * // const { ElastiCacheClient, DescribeUpdateActionsCommand } = 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 = { // DescribeUpdateActionsMessage * ServiceUpdateName: "STRING_VALUE", * ReplicationGroupIds: [ // ReplicationGroupIdList * "STRING_VALUE", * ], * CacheClusterIds: [ // CacheClusterIdList * "STRING_VALUE", * ], * Engine: "STRING_VALUE", * ServiceUpdateStatus: [ // ServiceUpdateStatusList * "available" || "cancelled" || "expired", * ], * ServiceUpdateTimeRange: { // TimeRangeFilter * StartTime: new Date("TIMESTAMP"), * EndTime: new Date("TIMESTAMP"), * }, * UpdateActionStatus: [ // UpdateActionStatusList * "not-applied" || "waiting-to-start" || "in-progress" || "stopping" || "stopped" || "complete" || "scheduling" || "scheduled" || "not-applicable", * ], * ShowNodeLevelUpdateStatus: true || false, * MaxRecords: Number("int"), * Marker: "STRING_VALUE", * }; * const command = new DescribeUpdateActionsCommand(input); * const response = await client.send(command); * // { // UpdateActionsMessage * // Marker: "STRING_VALUE", * // UpdateActions: [ // UpdateActionList * // { // UpdateAction * // ReplicationGroupId: "STRING_VALUE", * // CacheClusterId: "STRING_VALUE", * // ServiceUpdateName: "STRING_VALUE", * // ServiceUpdateReleaseDate: new Date("TIMESTAMP"), * // ServiceUpdateSeverity: "critical" || "important" || "medium" || "low", * // ServiceUpdateStatus: "available" || "cancelled" || "expired", * // ServiceUpdateRecommendedApplyByDate: new Date("TIMESTAMP"), * // ServiceUpdateType: "security-update", * // UpdateActionAvailableDate: new Date("TIMESTAMP"), * // UpdateActionStatus: "not-applied" || "waiting-to-start" || "in-progress" || "stopping" || "stopped" || "complete" || "scheduling" || "scheduled" || "not-applicable", * // NodesUpdated: "STRING_VALUE", * // UpdateActionStatusModifiedDate: new Date("TIMESTAMP"), * // SlaMet: "yes" || "no" || "n/a", * // NodeGroupUpdateStatus: [ // NodeGroupUpdateStatusList * // { // NodeGroupUpdateStatus * // NodeGroupId: "STRING_VALUE", * // NodeGroupMemberUpdateStatus: [ // NodeGroupMemberUpdateStatusList * // { // NodeGroupMemberUpdateStatus * // CacheClusterId: "STRING_VALUE", * // CacheNodeId: "STRING_VALUE", * // NodeUpdateStatus: "not-applied" || "waiting-to-start" || "in-progress" || "stopping" || "stopped" || "complete", * // NodeDeletionDate: new Date("TIMESTAMP"), * // NodeUpdateStartDate: new Date("TIMESTAMP"), * // NodeUpdateEndDate: new Date("TIMESTAMP"), * // NodeUpdateInitiatedBy: "system" || "customer", * // NodeUpdateInitiatedDate: new Date("TIMESTAMP"), * // NodeUpdateStatusModifiedDate: new Date("TIMESTAMP"), * // }, * // ], * // }, * // ], * // CacheNodeUpdateStatus: [ // CacheNodeUpdateStatusList * // { // CacheNodeUpdateStatus * // CacheNodeId: "STRING_VALUE", * // NodeUpdateStatus: "not-applied" || "waiting-to-start" || "in-progress" || "stopping" || "stopped" || "complete", * // NodeDeletionDate: new Date("TIMESTAMP"), * // NodeUpdateStartDate: new Date("TIMESTAMP"), * // NodeUpdateEndDate: new Date("TIMESTAMP"), * // NodeUpdateInitiatedBy: "system" || "customer", * // NodeUpdateInitiatedDate: new Date("TIMESTAMP"), * // NodeUpdateStatusModifiedDate: new Date("TIMESTAMP"), * // }, * // ], * // EstimatedUpdateTime: "STRING_VALUE", * // Engine: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param DescribeUpdateActionsCommandInput - {@link DescribeUpdateActionsCommandInput} * @returns {@link DescribeUpdateActionsCommandOutput} * @see {@link DescribeUpdateActionsCommandInput} for command's `input` shape. * @see {@link DescribeUpdateActionsCommandOutput} 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 ElastiCacheServiceException} *

Base exception class for all service exceptions from ElastiCache service.

* * * @public */ export declare class DescribeUpdateActionsCommand extends DescribeUpdateActionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeUpdateActionsMessage; output: UpdateActionsMessage; }; sdk: { input: DescribeUpdateActionsCommandInput; output: DescribeUpdateActionsCommandOutput; }; }; }