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 { BatchApplyUpdateActionMessage, UpdateActionResultsMessage } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link BatchApplyUpdateActionCommand}. */ export interface BatchApplyUpdateActionCommandInput extends BatchApplyUpdateActionMessage { } /** * @public * * The output of {@link BatchApplyUpdateActionCommand}. */ export interface BatchApplyUpdateActionCommandOutput extends UpdateActionResultsMessage, __MetadataBearer { } declare const BatchApplyUpdateActionCommand_base: { new (input: BatchApplyUpdateActionCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: BatchApplyUpdateActionCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Apply the service update. For more information on service updates and applying them, * see Applying Service * Updates.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElastiCacheClient, BatchApplyUpdateActionCommand } from "@aws-sdk/client-elasticache"; // ES Modules import * // const { ElastiCacheClient, BatchApplyUpdateActionCommand } = 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 = { // BatchApplyUpdateActionMessage * ReplicationGroupIds: [ // ReplicationGroupIdList * "STRING_VALUE", * ], * CacheClusterIds: [ // CacheClusterIdList * "STRING_VALUE", * ], * ServiceUpdateName: "STRING_VALUE", // required * }; * const command = new BatchApplyUpdateActionCommand(input); * const response = await client.send(command); * // { // UpdateActionResultsMessage * // ProcessedUpdateActions: [ // ProcessedUpdateActionList * // { // ProcessedUpdateAction * // ReplicationGroupId: "STRING_VALUE", * // CacheClusterId: "STRING_VALUE", * // ServiceUpdateName: "STRING_VALUE", * // UpdateActionStatus: "not-applied" || "waiting-to-start" || "in-progress" || "stopping" || "stopped" || "complete" || "scheduling" || "scheduled" || "not-applicable", * // }, * // ], * // UnprocessedUpdateActions: [ // UnprocessedUpdateActionList * // { // UnprocessedUpdateAction * // ReplicationGroupId: "STRING_VALUE", * // CacheClusterId: "STRING_VALUE", * // ServiceUpdateName: "STRING_VALUE", * // ErrorType: "STRING_VALUE", * // ErrorMessage: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param BatchApplyUpdateActionCommandInput - {@link BatchApplyUpdateActionCommandInput} * @returns {@link BatchApplyUpdateActionCommandOutput} * @see {@link BatchApplyUpdateActionCommandInput} for command's `input` shape. * @see {@link BatchApplyUpdateActionCommandOutput} for command's `response` shape. * @see {@link ElastiCacheClientResolvedConfig | config} for ElastiCacheClient's `config` shape. * * @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 BatchApplyUpdateActionCommand extends BatchApplyUpdateActionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchApplyUpdateActionMessage; output: UpdateActionResultsMessage; }; sdk: { input: BatchApplyUpdateActionCommandInput; output: BatchApplyUpdateActionCommandOutput; }; }; }