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

Increase the number of node groups in the Global datastore

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElastiCacheClient, IncreaseNodeGroupsInGlobalReplicationGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import * // const { ElastiCacheClient, IncreaseNodeGroupsInGlobalReplicationGroupCommand } = 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 = { // IncreaseNodeGroupsInGlobalReplicationGroupMessage * GlobalReplicationGroupId: "STRING_VALUE", // required * NodeGroupCount: Number("int"), // required * RegionalConfigurations: [ // RegionalConfigurationList * { // RegionalConfiguration * ReplicationGroupId: "STRING_VALUE", // required * ReplicationGroupRegion: "STRING_VALUE", // required * ReshardingConfiguration: [ // ReshardingConfigurationList // required * { // ReshardingConfiguration * NodeGroupId: "STRING_VALUE", * PreferredAvailabilityZones: [ // AvailabilityZonesList * "STRING_VALUE", * ], * }, * ], * }, * ], * ApplyImmediately: true || false, // required * }; * const command = new IncreaseNodeGroupsInGlobalReplicationGroupCommand(input); * const response = await client.send(command); * // { // IncreaseNodeGroupsInGlobalReplicationGroupResult * // GlobalReplicationGroup: { // GlobalReplicationGroup * // GlobalReplicationGroupId: "STRING_VALUE", * // GlobalReplicationGroupDescription: "STRING_VALUE", * // Status: "STRING_VALUE", * // CacheNodeType: "STRING_VALUE", * // Engine: "STRING_VALUE", * // EngineVersion: "STRING_VALUE", * // Members: [ // GlobalReplicationGroupMemberList * // { // GlobalReplicationGroupMember * // ReplicationGroupId: "STRING_VALUE", * // ReplicationGroupRegion: "STRING_VALUE", * // Role: "STRING_VALUE", * // AutomaticFailover: "enabled" || "disabled" || "enabling" || "disabling", * // Status: "STRING_VALUE", * // }, * // ], * // ClusterEnabled: true || false, * // GlobalNodeGroups: [ // GlobalNodeGroupList * // { // GlobalNodeGroup * // GlobalNodeGroupId: "STRING_VALUE", * // Slots: "STRING_VALUE", * // }, * // ], * // AuthTokenEnabled: true || false, * // TransitEncryptionEnabled: true || false, * // AtRestEncryptionEnabled: true || false, * // ARN: "STRING_VALUE", * // }, * // }; * * ``` * * @param IncreaseNodeGroupsInGlobalReplicationGroupCommandInput - {@link IncreaseNodeGroupsInGlobalReplicationGroupCommandInput} * @returns {@link IncreaseNodeGroupsInGlobalReplicationGroupCommandOutput} * @see {@link IncreaseNodeGroupsInGlobalReplicationGroupCommandInput} for command's `input` shape. * @see {@link IncreaseNodeGroupsInGlobalReplicationGroupCommandOutput} for command's `response` shape. * @see {@link ElastiCacheClientResolvedConfig | config} for ElastiCacheClient's `config` shape. * * @throws {@link GlobalReplicationGroupNotFoundFault} (client fault) *

The Global datastore does not exist

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

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

* * @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 IncreaseNodeGroupsInGlobalReplicationGroupCommand extends IncreaseNodeGroupsInGlobalReplicationGroupCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: IncreaseNodeGroupsInGlobalReplicationGroupMessage; output: IncreaseNodeGroupsInGlobalReplicationGroupResult; }; sdk: { input: IncreaseNodeGroupsInGlobalReplicationGroupCommandInput; output: IncreaseNodeGroupsInGlobalReplicationGroupCommandOutput; }; }; }