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

Modifies the parameters of a cache parameter group. You can modify up to 20 parameters * in a single request by submitting a list parameter name and value pairs.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElastiCacheClient, ModifyCacheParameterGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import * // const { ElastiCacheClient, ModifyCacheParameterGroupCommand } = 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 = { // ModifyCacheParameterGroupMessage * CacheParameterGroupName: "STRING_VALUE", // required * ParameterNameValues: [ // ParameterNameValueList // required * { // ParameterNameValue * ParameterName: "STRING_VALUE", * ParameterValue: "STRING_VALUE", * }, * ], * }; * const command = new ModifyCacheParameterGroupCommand(input); * const response = await client.send(command); * // { // CacheParameterGroupNameMessage * // CacheParameterGroupName: "STRING_VALUE", * // }; * * ``` * * @param ModifyCacheParameterGroupCommandInput - {@link ModifyCacheParameterGroupCommandInput} * @returns {@link ModifyCacheParameterGroupCommandOutput} * @see {@link ModifyCacheParameterGroupCommandInput} for command's `input` shape. * @see {@link ModifyCacheParameterGroupCommandOutput} for command's `response` shape. * @see {@link ElastiCacheClientResolvedConfig | config} for ElastiCacheClient's `config` shape. * * @throws {@link CacheParameterGroupNotFoundFault} (client fault) *

The requested cache parameter group name does not refer to an existing cache parameter * group.

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

The current state of the cache parameter group does not allow the requested operation * to occur.

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

The Global datastore is not available or in primary-only state.

* * @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.

* * * @example ModifyCacheParameterGroup * ```javascript * // Modifies one or more parameter values in the specified parameter group. You cannot modify any default parameter group. * const input = { * CacheParameterGroupName: "custom-mem1-4", * ParameterNameValues: [ * { * ParameterName: "binding_protocol", * ParameterValue: "ascii" * }, * { * ParameterName: "chunk_size", * ParameterValue: "96" * } * ] * }; * const command = new ModifyCacheParameterGroupCommand(input); * const response = await client.send(command); * /* response is * { * CacheParameterGroupName: "custom-mem1-4" * } * *\/ * ``` * * @public */ export declare class ModifyCacheParameterGroupCommand extends ModifyCacheParameterGroupCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ModifyCacheParameterGroupMessage; output: CacheParameterGroupNameMessage; }; sdk: { input: ModifyCacheParameterGroupCommandInput; output: ModifyCacheParameterGroupCommandOutput; }; }; }