@aws-sdk/client-elasticache 3.782.0 → 3.796.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -6383,6 +6383,13 @@ var se_ModifyCacheClusterMessage = /* @__PURE__ */ __name((input, context) => {
6383
6383
  if (input[_ID] != null) {
6384
6384
  entries[_ID] = input[_ID];
6385
6385
  }
6386
+ if (input[_SC] != null) {
6387
+ const memberEntries = se_ScaleConfig(input[_SC], context);
6388
+ Object.entries(memberEntries).forEach(([key, value]) => {
6389
+ const loc = `ScaleConfig.${key}`;
6390
+ entries[loc] = value;
6391
+ });
6392
+ }
6386
6393
  return entries;
6387
6394
  }, "se_ModifyCacheClusterMessage");
6388
6395
  var se_ModifyCacheParameterGroupMessage = /* @__PURE__ */ __name((input, context) => {
@@ -7090,6 +7097,16 @@ var se_RevokeCacheSecurityGroupIngressMessage = /* @__PURE__ */ __name((input, c
7090
7097
  }
7091
7098
  return entries;
7092
7099
  }, "se_RevokeCacheSecurityGroupIngressMessage");
7100
+ var se_ScaleConfig = /* @__PURE__ */ __name((input, context) => {
7101
+ const entries = {};
7102
+ if (input[_SP] != null) {
7103
+ entries[_SP] = input[_SP];
7104
+ }
7105
+ if (input[_SIM] != null) {
7106
+ entries[_SIM] = input[_SIM];
7107
+ }
7108
+ return entries;
7109
+ }, "se_ScaleConfig");
7093
7110
  var se_SecurityGroupIdsList = /* @__PURE__ */ __name((input, context) => {
7094
7111
  const entries = {};
7095
7112
  let counter = 1;
@@ -7985,8 +8002,8 @@ var de_CreateReplicationGroupResult = /* @__PURE__ */ __name((output, context) =
7985
8002
  }, "de_CreateReplicationGroupResult");
7986
8003
  var de_CreateServerlessCacheResponse = /* @__PURE__ */ __name((output, context) => {
7987
8004
  const contents = {};
7988
- if (output[_SC] != null) {
7989
- contents[_SC] = de_ServerlessCache(output[_SC], context);
8005
+ if (output[_SCe] != null) {
8006
+ contents[_SCe] = de_ServerlessCache(output[_SCe], context);
7990
8007
  }
7991
8008
  return contents;
7992
8009
  }, "de_CreateServerlessCacheResponse");
@@ -8068,8 +8085,8 @@ var de_DeleteReplicationGroupResult = /* @__PURE__ */ __name((output, context) =
8068
8085
  }, "de_DeleteReplicationGroupResult");
8069
8086
  var de_DeleteServerlessCacheResponse = /* @__PURE__ */ __name((output, context) => {
8070
8087
  const contents = {};
8071
- if (output[_SC] != null) {
8072
- contents[_SC] = de_ServerlessCache(output[_SC], context);
8088
+ if (output[_SCe] != null) {
8089
+ contents[_SCe] = de_ServerlessCache(output[_SCe], context);
8073
8090
  }
8074
8091
  return contents;
8075
8092
  }, "de_DeleteServerlessCacheResponse");
@@ -8124,9 +8141,9 @@ var de_DescribeServerlessCachesResponse = /* @__PURE__ */ __name((output, contex
8124
8141
  contents[_NTe] = (0, import_smithy_client.expectString)(output[_NTe]);
8125
8142
  }
8126
8143
  if (output.ServerlessCaches === "") {
8127
- contents[_SCe] = [];
8128
- } else if (output[_SCe] != null && output[_SCe][_m] != null) {
8129
- contents[_SCe] = de_ServerlessCacheList((0, import_smithy_client.getArrayIfSingleItem)(output[_SCe][_m]), context);
8144
+ contents[_SCer] = [];
8145
+ } else if (output[_SCer] != null && output[_SCer][_m] != null) {
8146
+ contents[_SCer] = de_ServerlessCacheList((0, import_smithy_client.getArrayIfSingleItem)(output[_SCer][_m]), context);
8130
8147
  }
8131
8148
  return contents;
8132
8149
  }, "de_DescribeServerlessCachesResponse");
@@ -8621,8 +8638,8 @@ var de_ModifyReplicationGroupShardConfigurationResult = /* @__PURE__ */ __name((
8621
8638
  }, "de_ModifyReplicationGroupShardConfigurationResult");
8622
8639
  var de_ModifyServerlessCacheResponse = /* @__PURE__ */ __name((output, context) => {
8623
8640
  const contents = {};
8624
- if (output[_SC] != null) {
8625
- contents[_SC] = de_ServerlessCache(output[_SC], context);
8641
+ if (output[_SCe] != null) {
8642
+ contents[_SCe] = de_ServerlessCache(output[_SCe], context);
8626
8643
  }
8627
8644
  return contents;
8628
8645
  }, "de_ModifyServerlessCacheResponse");
@@ -8941,6 +8958,9 @@ var de_PendingModifiedValues = /* @__PURE__ */ __name((output, context) => {
8941
8958
  if (output[_TEM] != null) {
8942
8959
  contents[_TEM] = (0, import_smithy_client.expectString)(output[_TEM]);
8943
8960
  }
8961
+ if (output[_SC] != null) {
8962
+ contents[_SC] = de_ScaleConfig(output[_SC], context);
8963
+ }
8944
8964
  return contents;
8945
8965
  }, "de_PendingModifiedValues");
8946
8966
  var de_ProcessedUpdateAction = /* @__PURE__ */ __name((output, context) => {
@@ -9344,6 +9364,16 @@ var de_RevokeCacheSecurityGroupIngressResult = /* @__PURE__ */ __name((output, c
9344
9364
  }
9345
9365
  return contents;
9346
9366
  }, "de_RevokeCacheSecurityGroupIngressResult");
9367
+ var de_ScaleConfig = /* @__PURE__ */ __name((output, context) => {
9368
+ const contents = {};
9369
+ if (output[_SP] != null) {
9370
+ contents[_SP] = (0, import_smithy_client.strictParseInt32)(output[_SP]);
9371
+ }
9372
+ if (output[_SIM] != null) {
9373
+ contents[_SIM] = (0, import_smithy_client.strictParseInt32)(output[_SIM]);
9374
+ }
9375
+ return contents;
9376
+ }, "de_ScaleConfig");
9347
9377
  var de_SecurityGroupIdsList = /* @__PURE__ */ __name((output, context) => {
9348
9378
  return (output || []).filter((e) => e != null).map((entry) => {
9349
9379
  return (0, import_smithy_client.expectString)(entry);
@@ -10027,9 +10057,9 @@ var de_UserGroup = /* @__PURE__ */ __name((output, context) => {
10027
10057
  contents[_RGe] = de_UGReplicationGroupIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_RGe][_m]), context);
10028
10058
  }
10029
10059
  if (output.ServerlessCaches === "") {
10030
- contents[_SCe] = [];
10031
- } else if (output[_SCe] != null && output[_SCe][_m] != null) {
10032
- contents[_SCe] = de_UGServerlessCacheIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_SCe][_m]), context);
10060
+ contents[_SCer] = [];
10061
+ } else if (output[_SCer] != null && output[_SCer][_m] != null) {
10062
+ contents[_SCer] = de_UGServerlessCacheIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_SCer][_m]), context);
10033
10063
  }
10034
10064
  if (output[_ARN] != null) {
10035
10065
  contents[_ARN] = (0, import_smithy_client.expectString)(output[_ARN]);
@@ -10473,7 +10503,7 @@ var _SA = "SnapshotArns";
10473
10503
  var _SATR = "SnapshotArnsToRestore";
10474
10504
  var _SAZ = "SubnetAvailabilityZone";
10475
10505
  var _SBN = "S3BucketName";
10476
- var _SC = "ServerlessCache";
10506
+ var _SC = "ScaleConfig";
10477
10507
  var _SCC = "ServerlessCacheConfiguration";
10478
10508
  var _SCCNIRG = "ShowCacheClustersNotInReplicationGroups";
10479
10509
  var _SCI = "SnapshottingClusterId";
@@ -10484,12 +10514,14 @@ var _SCS = "ServerlessCacheSnapshot";
10484
10514
  var _SCSN = "ServerlessCacheSnapshotName";
10485
10515
  var _SCSe = "ServerlessCacheSnapshots";
10486
10516
  var _SCT = "SnapshotCreateTime";
10487
- var _SCe = "ServerlessCaches";
10517
+ var _SCe = "ServerlessCache";
10518
+ var _SCer = "ServerlessCaches";
10488
10519
  var _SDM = "ScaleDownModifications";
10489
10520
  var _SG = "SecurityGroups";
10490
10521
  var _SGI = "SecurityGroupIds";
10491
10522
  var _SGIe = "SecurityGroupId";
10492
10523
  var _SI = "SubnetIds";
10524
+ var _SIM = "ScaleIntervalMinutes";
10493
10525
  var _SIo = "SourceIdentifier";
10494
10526
  var _SIu = "SubnetId";
10495
10527
  var _SIub = "SubnetIdentifier";
@@ -10503,6 +10535,7 @@ var _SNLUS = "ShowNodeLevelUpdateStatus";
10503
10535
  var _SNT = "SupportedNetworkTypes";
10504
10536
  var _SO = "SubnetOutpost";
10505
10537
  var _SOA = "SubnetOutpostArn";
10538
+ var _SP = "ScalePercentage";
10506
10539
  var _SRL = "SnapshotRetentionLimit";
10507
10540
  var _SS = "SnapshotSource";
10508
10541
  var _SSCSN = "SourceServerlessCacheSnapshotName";
@@ -4457,6 +4457,13 @@ const se_ModifyCacheClusterMessage = (input, context) => {
4457
4457
  if (input[_ID] != null) {
4458
4458
  entries[_ID] = input[_ID];
4459
4459
  }
4460
+ if (input[_SC] != null) {
4461
+ const memberEntries = se_ScaleConfig(input[_SC], context);
4462
+ Object.entries(memberEntries).forEach(([key, value]) => {
4463
+ const loc = `ScaleConfig.${key}`;
4464
+ entries[loc] = value;
4465
+ });
4466
+ }
4460
4467
  return entries;
4461
4468
  };
4462
4469
  const se_ModifyCacheParameterGroupMessage = (input, context) => {
@@ -5164,6 +5171,16 @@ const se_RevokeCacheSecurityGroupIngressMessage = (input, context) => {
5164
5171
  }
5165
5172
  return entries;
5166
5173
  };
5174
+ const se_ScaleConfig = (input, context) => {
5175
+ const entries = {};
5176
+ if (input[_SP] != null) {
5177
+ entries[_SP] = input[_SP];
5178
+ }
5179
+ if (input[_SIM] != null) {
5180
+ entries[_SIM] = input[_SIM];
5181
+ }
5182
+ return entries;
5183
+ };
5167
5184
  const se_SecurityGroupIdsList = (input, context) => {
5168
5185
  const entries = {};
5169
5186
  let counter = 1;
@@ -6103,8 +6120,8 @@ const de_CreateReplicationGroupResult = (output, context) => {
6103
6120
  };
6104
6121
  const de_CreateServerlessCacheResponse = (output, context) => {
6105
6122
  const contents = {};
6106
- if (output[_SC] != null) {
6107
- contents[_SC] = de_ServerlessCache(output[_SC], context);
6123
+ if (output[_SCe] != null) {
6124
+ contents[_SCe] = de_ServerlessCache(output[_SCe], context);
6108
6125
  }
6109
6126
  return contents;
6110
6127
  };
@@ -6186,8 +6203,8 @@ const de_DeleteReplicationGroupResult = (output, context) => {
6186
6203
  };
6187
6204
  const de_DeleteServerlessCacheResponse = (output, context) => {
6188
6205
  const contents = {};
6189
- if (output[_SC] != null) {
6190
- contents[_SC] = de_ServerlessCache(output[_SC], context);
6206
+ if (output[_SCe] != null) {
6207
+ contents[_SCe] = de_ServerlessCache(output[_SCe], context);
6191
6208
  }
6192
6209
  return contents;
6193
6210
  };
@@ -6244,10 +6261,10 @@ const de_DescribeServerlessCachesResponse = (output, context) => {
6244
6261
  contents[_NTe] = __expectString(output[_NTe]);
6245
6262
  }
6246
6263
  if (output.ServerlessCaches === "") {
6247
- contents[_SCe] = [];
6264
+ contents[_SCer] = [];
6248
6265
  }
6249
- else if (output[_SCe] != null && output[_SCe][_m] != null) {
6250
- contents[_SCe] = de_ServerlessCacheList(__getArrayIfSingleItem(output[_SCe][_m]), context);
6266
+ else if (output[_SCer] != null && output[_SCer][_m] != null) {
6267
+ contents[_SCer] = de_ServerlessCacheList(__getArrayIfSingleItem(output[_SCer][_m]), context);
6251
6268
  }
6252
6269
  return contents;
6253
6270
  };
@@ -6762,8 +6779,8 @@ const de_ModifyReplicationGroupShardConfigurationResult = (output, context) => {
6762
6779
  };
6763
6780
  const de_ModifyServerlessCacheResponse = (output, context) => {
6764
6781
  const contents = {};
6765
- if (output[_SC] != null) {
6766
- contents[_SC] = de_ServerlessCache(output[_SC], context);
6782
+ if (output[_SCe] != null) {
6783
+ contents[_SCe] = de_ServerlessCache(output[_SCe], context);
6767
6784
  }
6768
6785
  return contents;
6769
6786
  };
@@ -7108,6 +7125,9 @@ const de_PendingModifiedValues = (output, context) => {
7108
7125
  if (output[_TEM] != null) {
7109
7126
  contents[_TEM] = __expectString(output[_TEM]);
7110
7127
  }
7128
+ if (output[_SC] != null) {
7129
+ contents[_SC] = de_ScaleConfig(output[_SC], context);
7130
+ }
7111
7131
  return contents;
7112
7132
  };
7113
7133
  const de_ProcessedUpdateAction = (output, context) => {
@@ -7534,6 +7554,16 @@ const de_RevokeCacheSecurityGroupIngressResult = (output, context) => {
7534
7554
  }
7535
7555
  return contents;
7536
7556
  };
7557
+ const de_ScaleConfig = (output, context) => {
7558
+ const contents = {};
7559
+ if (output[_SP] != null) {
7560
+ contents[_SP] = __strictParseInt32(output[_SP]);
7561
+ }
7562
+ if (output[_SIM] != null) {
7563
+ contents[_SIM] = __strictParseInt32(output[_SIM]);
7564
+ }
7565
+ return contents;
7566
+ };
7537
7567
  const de_SecurityGroupIdsList = (output, context) => {
7538
7568
  return (output || [])
7539
7569
  .filter((e) => e != null)
@@ -8257,10 +8287,10 @@ const de_UserGroup = (output, context) => {
8257
8287
  contents[_RGe] = de_UGReplicationGroupIdList(__getArrayIfSingleItem(output[_RGe][_m]), context);
8258
8288
  }
8259
8289
  if (output.ServerlessCaches === "") {
8260
- contents[_SCe] = [];
8290
+ contents[_SCer] = [];
8261
8291
  }
8262
- else if (output[_SCe] != null && output[_SCe][_m] != null) {
8263
- contents[_SCe] = de_UGServerlessCacheIdList(__getArrayIfSingleItem(output[_SCe][_m]), context);
8292
+ else if (output[_SCer] != null && output[_SCer][_m] != null) {
8293
+ contents[_SCer] = de_UGServerlessCacheIdList(__getArrayIfSingleItem(output[_SCer][_m]), context);
8264
8294
  }
8265
8295
  if (output[_ARN] != null) {
8266
8296
  contents[_ARN] = __expectString(output[_ARN]);
@@ -8717,7 +8747,7 @@ const _SA = "SnapshotArns";
8717
8747
  const _SATR = "SnapshotArnsToRestore";
8718
8748
  const _SAZ = "SubnetAvailabilityZone";
8719
8749
  const _SBN = "S3BucketName";
8720
- const _SC = "ServerlessCache";
8750
+ const _SC = "ScaleConfig";
8721
8751
  const _SCC = "ServerlessCacheConfiguration";
8722
8752
  const _SCCNIRG = "ShowCacheClustersNotInReplicationGroups";
8723
8753
  const _SCI = "SnapshottingClusterId";
@@ -8728,12 +8758,14 @@ const _SCS = "ServerlessCacheSnapshot";
8728
8758
  const _SCSN = "ServerlessCacheSnapshotName";
8729
8759
  const _SCSe = "ServerlessCacheSnapshots";
8730
8760
  const _SCT = "SnapshotCreateTime";
8731
- const _SCe = "ServerlessCaches";
8761
+ const _SCe = "ServerlessCache";
8762
+ const _SCer = "ServerlessCaches";
8732
8763
  const _SDM = "ScaleDownModifications";
8733
8764
  const _SG = "SecurityGroups";
8734
8765
  const _SGI = "SecurityGroupIds";
8735
8766
  const _SGIe = "SecurityGroupId";
8736
8767
  const _SI = "SubnetIds";
8768
+ const _SIM = "ScaleIntervalMinutes";
8737
8769
  const _SIo = "SourceIdentifier";
8738
8770
  const _SIu = "SubnetId";
8739
8771
  const _SIub = "SubnetIdentifier";
@@ -8747,6 +8779,7 @@ const _SNLUS = "ShowNodeLevelUpdateStatus";
8747
8779
  const _SNT = "SupportedNetworkTypes";
8748
8780
  const _SO = "SubnetOutpost";
8749
8781
  const _SOA = "SubnetOutpostArn";
8782
+ const _SP = "ScalePercentage";
8750
8783
  const _SRL = "SnapshotRetentionLimit";
8751
8784
  const _SS = "SnapshotSource";
8752
8785
  const _SSCSN = "SourceServerlessCacheSnapshotName";
@@ -142,6 +142,10 @@ declare const CreateCacheClusterCommand_base: {
142
142
  * // ],
143
143
  * // TransitEncryptionEnabled: true || false,
144
144
  * // TransitEncryptionMode: "preferred" || "required",
145
+ * // ScaleConfig: { // ScaleConfig
146
+ * // ScalePercentage: Number("int"),
147
+ * // ScaleIntervalMinutes: Number("int"),
148
+ * // },
145
149
  * // },
146
150
  * // NotificationConfiguration: { // NotificationConfiguration
147
151
  * // TopicArn: "STRING_VALUE",
@@ -109,6 +109,10 @@ declare const DeleteCacheClusterCommand_base: {
109
109
  * // ],
110
110
  * // TransitEncryptionEnabled: true || false,
111
111
  * // TransitEncryptionMode: "preferred" || "required",
112
+ * // ScaleConfig: { // ScaleConfig
113
+ * // ScalePercentage: Number("int"),
114
+ * // ScaleIntervalMinutes: Number("int"),
115
+ * // },
112
116
  * // },
113
117
  * // NotificationConfiguration: { // NotificationConfiguration
114
118
  * // TopicArn: "STRING_VALUE",
@@ -102,6 +102,10 @@ declare const DescribeCacheClustersCommand_base: {
102
102
  * // ],
103
103
  * // TransitEncryptionEnabled: true || false,
104
104
  * // TransitEncryptionMode: "preferred" || "required",
105
+ * // ScaleConfig: { // ScaleConfig
106
+ * // ScalePercentage: Number("int"),
107
+ * // ScaleIntervalMinutes: Number("int"),
108
+ * // },
105
109
  * // },
106
110
  * // NotificationConfiguration: { // NotificationConfiguration
107
111
  * // TopicArn: "STRING_VALUE",
@@ -81,6 +81,10 @@ declare const ModifyCacheClusterCommand_base: {
81
81
  * },
82
82
  * ],
83
83
  * IpDiscovery: "ipv4" || "ipv6",
84
+ * ScaleConfig: { // ScaleConfig
85
+ * ScalePercentage: Number("int"),
86
+ * ScaleIntervalMinutes: Number("int"),
87
+ * },
84
88
  * };
85
89
  * const command = new ModifyCacheClusterCommand(input);
86
90
  * const response = await client.send(command);
@@ -126,6 +130,10 @@ declare const ModifyCacheClusterCommand_base: {
126
130
  * // ],
127
131
  * // TransitEncryptionEnabled: true || false,
128
132
  * // TransitEncryptionMode: "preferred" || "required",
133
+ * // ScaleConfig: { // ScaleConfig
134
+ * // ScalePercentage: Number("int"),
135
+ * // ScaleIntervalMinutes: Number("int"),
136
+ * // },
129
137
  * // },
130
138
  * // NotificationConfiguration: { // NotificationConfiguration
131
139
  * // TopicArn: "STRING_VALUE",
@@ -95,6 +95,10 @@ declare const RebootCacheClusterCommand_base: {
95
95
  * // ],
96
96
  * // TransitEncryptionEnabled: true || false,
97
97
  * // TransitEncryptionMode: "preferred" || "required",
98
+ * // ScaleConfig: { // ScaleConfig
99
+ * // ScalePercentage: Number("int"),
100
+ * // ScaleIntervalMinutes: Number("int"),
101
+ * // },
98
102
  * // },
99
103
  * // NotificationConfiguration: { // NotificationConfiguration
100
104
  * // TopicArn: "STRING_VALUE",
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ElastiCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElastiCacheClient";
4
- import { RevokeCacheSecurityGroupIngressMessage, RevokeCacheSecurityGroupIngressResult } from "../models/models_0";
4
+ import { RevokeCacheSecurityGroupIngressMessage } from "../models/models_0";
5
+ import { RevokeCacheSecurityGroupIngressResult } from "../models/models_1";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -2952,6 +2952,22 @@ export interface NotificationConfiguration {
2952
2952
  */
2953
2953
  TopicStatus?: string | undefined;
2954
2954
  }
2955
+ /**
2956
+ * <p>Configuration settings for horizontal or vertical scaling operations on Memcached clusters.</p>
2957
+ * @public
2958
+ */
2959
+ export interface ScaleConfig {
2960
+ /**
2961
+ * <p>The percentage by which to scale the Memcached cluster, either horizontally by adding nodes or vertically by increasing resources.</p>
2962
+ * @public
2963
+ */
2964
+ ScalePercentage?: number | undefined;
2965
+ /**
2966
+ * <p>The time interval in seconds between scaling operations when performing gradual scaling for a Memcached cluster.</p>
2967
+ * @public
2968
+ */
2969
+ ScaleIntervalMinutes?: number | undefined;
2970
+ }
2955
2971
  /**
2956
2972
  * <p>A group of settings that are applied to the cluster in the future, or that are
2957
2973
  * currently being applied.</p>
@@ -3002,6 +3018,11 @@ export interface PendingModifiedValues {
3002
3018
  * @public
3003
3019
  */
3004
3020
  TransitEncryptionMode?: TransitEncryptionMode | undefined;
3021
+ /**
3022
+ * <p>The scaling configuration changes that are pending for the Memcached cluster.</p>
3023
+ * @public
3024
+ */
3025
+ ScaleConfig?: ScaleConfig | undefined;
3005
3026
  }
3006
3027
  /**
3007
3028
  * <p>Represents a single cache security group and its status.</p>
@@ -9284,7 +9305,7 @@ export interface ModifyCacheClusterMessage {
9284
9305
  */
9285
9306
  ApplyImmediately?: boolean | undefined;
9286
9307
  /**
9287
- * <p>Modifies the engine listed in a cluster message. The options are redis, memcached or valkey.</p>
9308
+ * <p>The engine type used by the cache cluster. The options are valkey, memcached or redis.</p>
9288
9309
  * @public
9289
9310
  */
9290
9311
  Engine?: string | undefined;
@@ -9379,6 +9400,11 @@ export interface ModifyCacheClusterMessage {
9379
9400
  * @public
9380
9401
  */
9381
9402
  IpDiscovery?: IpDiscovery | undefined;
9403
+ /**
9404
+ * <p>Configures horizontal or vertical scaling for Memcached clusters, specifying the scaling percentage and interval.</p>
9405
+ * @public
9406
+ */
9407
+ ScaleConfig?: ScaleConfig | undefined;
9382
9408
  }
9383
9409
  /**
9384
9410
  * @public
@@ -10328,30 +10354,3 @@ export interface RevokeCacheSecurityGroupIngressMessage {
10328
10354
  */
10329
10355
  EC2SecurityGroupOwnerId: string | undefined;
10330
10356
  }
10331
- /**
10332
- * @public
10333
- */
10334
- export interface RevokeCacheSecurityGroupIngressResult {
10335
- /**
10336
- * <p>Represents the output of one of the following operations:</p>
10337
- * <ul>
10338
- * <li>
10339
- * <p>
10340
- * <code>AuthorizeCacheSecurityGroupIngress</code>
10341
- * </p>
10342
- * </li>
10343
- * <li>
10344
- * <p>
10345
- * <code>CreateCacheSecurityGroup</code>
10346
- * </p>
10347
- * </li>
10348
- * <li>
10349
- * <p>
10350
- * <code>RevokeCacheSecurityGroupIngress</code>
10351
- * </p>
10352
- * </li>
10353
- * </ul>
10354
- * @public
10355
- */
10356
- CacheSecurityGroup?: CacheSecurityGroup | undefined;
10357
- }
@@ -1,6 +1,33 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ElastiCacheServiceException as __BaseException } from "./ElastiCacheServiceException";
3
- import { ReplicationGroup } from "./models_0";
3
+ import { CacheSecurityGroup, ReplicationGroup } from "./models_0";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface RevokeCacheSecurityGroupIngressResult {
8
+ /**
9
+ * <p>Represents the output of one of the following operations:</p>
10
+ * <ul>
11
+ * <li>
12
+ * <p>
13
+ * <code>AuthorizeCacheSecurityGroupIngress</code>
14
+ * </p>
15
+ * </li>
16
+ * <li>
17
+ * <p>
18
+ * <code>CreateCacheSecurityGroup</code>
19
+ * </p>
20
+ * </li>
21
+ * <li>
22
+ * <p>
23
+ * <code>RevokeCacheSecurityGroupIngress</code>
24
+ * </p>
25
+ * </li>
26
+ * </ul>
27
+ * @public
28
+ */
29
+ CacheSecurityGroup?: CacheSecurityGroup | undefined;
30
+ }
4
31
  /**
5
32
  * <p>The targeted replication group is not available. </p>
6
33
  * @public
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ElastiCacheClient";
8
- import {
9
- RevokeCacheSecurityGroupIngressMessage,
10
- RevokeCacheSecurityGroupIngressResult,
11
- } from "../models/models_0";
8
+ import { RevokeCacheSecurityGroupIngressMessage } from "../models/models_0";
9
+ import { RevokeCacheSecurityGroupIngressResult } from "../models/models_1";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface RevokeCacheSecurityGroupIngressCommandInput
@@ -664,6 +664,10 @@ export interface NotificationConfiguration {
664
664
  TopicArn?: string | undefined;
665
665
  TopicStatus?: string | undefined;
666
666
  }
667
+ export interface ScaleConfig {
668
+ ScalePercentage?: number | undefined;
669
+ ScaleIntervalMinutes?: number | undefined;
670
+ }
667
671
  export interface PendingModifiedValues {
668
672
  NumCacheNodes?: number | undefined;
669
673
  CacheNodeIdsToRemove?: string[] | undefined;
@@ -673,6 +677,7 @@ export interface PendingModifiedValues {
673
677
  LogDeliveryConfigurations?: PendingLogDeliveryConfiguration[] | undefined;
674
678
  TransitEncryptionEnabled?: boolean | undefined;
675
679
  TransitEncryptionMode?: TransitEncryptionMode | undefined;
680
+ ScaleConfig?: ScaleConfig | undefined;
676
681
  }
677
682
  export interface SecurityGroupMembership {
678
683
  SecurityGroupId?: string | undefined;
@@ -1877,6 +1882,7 @@ export interface ModifyCacheClusterMessage {
1877
1882
  AuthTokenUpdateStrategy?: AuthTokenUpdateStrategyType | undefined;
1878
1883
  LogDeliveryConfigurations?: LogDeliveryConfigurationRequest[] | undefined;
1879
1884
  IpDiscovery?: IpDiscovery | undefined;
1885
+ ScaleConfig?: ScaleConfig | undefined;
1880
1886
  }
1881
1887
  export interface ModifyCacheClusterResult {
1882
1888
  CacheCluster?: CacheCluster | undefined;
@@ -2063,6 +2069,3 @@ export interface RevokeCacheSecurityGroupIngressMessage {
2063
2069
  EC2SecurityGroupName: string | undefined;
2064
2070
  EC2SecurityGroupOwnerId: string | undefined;
2065
2071
  }
2066
- export interface RevokeCacheSecurityGroupIngressResult {
2067
- CacheSecurityGroup?: CacheSecurityGroup | undefined;
2068
- }
@@ -1,6 +1,9 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ElastiCacheServiceException as __BaseException } from "./ElastiCacheServiceException";
3
- import { ReplicationGroup } from "./models_0";
3
+ import { CacheSecurityGroup, ReplicationGroup } from "./models_0";
4
+ export interface RevokeCacheSecurityGroupIngressResult {
5
+ CacheSecurityGroup?: CacheSecurityGroup | undefined;
6
+ }
4
7
  export declare class ReplicationGroupAlreadyUnderMigrationFault extends __BaseException {
5
8
  readonly name: "ReplicationGroupAlreadyUnderMigrationFault";
6
9
  readonly $fault: "client";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-elasticache",
3
3
  "description": "AWS SDK for JavaScript Elasticache Client for Node.js, Browser and React Native",
4
- "version": "3.782.0",
4
+ "version": "3.796.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-elasticache",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.775.0",
24
- "@aws-sdk/credential-provider-node": "3.782.0",
23
+ "@aws-sdk/core": "3.796.0",
24
+ "@aws-sdk/credential-provider-node": "3.796.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.782.0",
28
+ "@aws-sdk/middleware-user-agent": "3.796.0",
29
29
  "@aws-sdk/region-config-resolver": "3.775.0",
30
30
  "@aws-sdk/types": "3.775.0",
31
- "@aws-sdk/util-endpoints": "3.782.0",
31
+ "@aws-sdk/util-endpoints": "3.787.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.782.0",
33
+ "@aws-sdk/util-user-agent-node": "3.796.0",
34
34
  "@smithy/config-resolver": "^4.1.0",
35
35
  "@smithy/core": "^3.2.0",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",