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

Stop the service update. For more information on service updates and stopping them, * see Stopping * Service Updates.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElastiCacheClient, BatchStopUpdateActionCommand } from "@aws-sdk/client-elasticache"; // ES Modules import * // const { ElastiCacheClient, BatchStopUpdateActionCommand } = 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 = { // BatchStopUpdateActionMessage * ReplicationGroupIds: [ // ReplicationGroupIdList * "STRING_VALUE", * ], * CacheClusterIds: [ // CacheClusterIdList * "STRING_VALUE", * ], * ServiceUpdateName: "STRING_VALUE", // required * }; * const command = new BatchStopUpdateActionCommand(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 BatchStopUpdateActionCommandInput - {@link BatchStopUpdateActionCommandInput} * @returns {@link BatchStopUpdateActionCommandOutput} * @see {@link BatchStopUpdateActionCommandInput} for command's `input` shape. * @see {@link BatchStopUpdateActionCommandOutput} 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 BatchStopUpdateActionCommand extends BatchStopUpdateActionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchStopUpdateActionMessage; output: UpdateActionResultsMessage; }; sdk: { input: BatchStopUpdateActionCommandInput; output: BatchStopUpdateActionCommandOutput; }; }; }