@aws-sdk/client-elasticache 3.540.0 → 3.549.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 +13 -0
- package/dist-es/protocols/Aws_query.js +13 -0
- package/dist-types/commands/CreateServerlessCacheCommand.d.ts +8 -4
- package/dist-types/commands/DeleteServerlessCacheCommand.d.ts +4 -2
- package/dist-types/commands/DescribeServerlessCachesCommand.d.ts +4 -2
- package/dist-types/commands/ModifyServerlessCacheCommand.d.ts +8 -4
- package/dist-types/models/models_0.d.ts +12 -2
- package/dist-types/ts3.4/models/models_0.d.ts +4 -2
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -5416,6 +5416,9 @@ var se_DataStorage = /* @__PURE__ */ __name((input, context) => {
|
|
|
5416
5416
|
if (input[_M] != null) {
|
|
5417
5417
|
entries[_M] = input[_M];
|
|
5418
5418
|
}
|
|
5419
|
+
if (input[_Mi] != null) {
|
|
5420
|
+
entries[_Mi] = input[_Mi];
|
|
5421
|
+
}
|
|
5419
5422
|
if (input[_U] != null) {
|
|
5420
5423
|
entries[_U] = input[_U];
|
|
5421
5424
|
}
|
|
@@ -6021,6 +6024,9 @@ var se_ECPUPerSecond = /* @__PURE__ */ __name((input, context) => {
|
|
|
6021
6024
|
if (input[_M] != null) {
|
|
6022
6025
|
entries[_M] = input[_M];
|
|
6023
6026
|
}
|
|
6027
|
+
if (input[_Mi] != null) {
|
|
6028
|
+
entries[_Mi] = input[_Mi];
|
|
6029
|
+
}
|
|
6024
6030
|
return entries;
|
|
6025
6031
|
}, "se_ECPUPerSecond");
|
|
6026
6032
|
var se_ExportServerlessCacheSnapshotRequest = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -7950,6 +7956,9 @@ var de_DataStorage = /* @__PURE__ */ __name((output, context) => {
|
|
|
7950
7956
|
if (output[_M] != null) {
|
|
7951
7957
|
contents[_M] = (0, import_smithy_client.strictParseInt32)(output[_M]);
|
|
7952
7958
|
}
|
|
7959
|
+
if (output[_Mi] != null) {
|
|
7960
|
+
contents[_Mi] = (0, import_smithy_client.strictParseInt32)(output[_Mi]);
|
|
7961
|
+
}
|
|
7953
7962
|
if (output[_U] != null) {
|
|
7954
7963
|
contents[_U] = (0, import_smithy_client.expectString)(output[_U]);
|
|
7955
7964
|
}
|
|
@@ -8151,6 +8160,9 @@ var de_ECPUPerSecond = /* @__PURE__ */ __name((output, context) => {
|
|
|
8151
8160
|
if (output[_M] != null) {
|
|
8152
8161
|
contents[_M] = (0, import_smithy_client.strictParseInt32)(output[_M]);
|
|
8153
8162
|
}
|
|
8163
|
+
if (output[_Mi] != null) {
|
|
8164
|
+
contents[_Mi] = (0, import_smithy_client.strictParseInt32)(output[_Mi]);
|
|
8165
|
+
}
|
|
8154
8166
|
return contents;
|
|
8155
8167
|
}, "de_ECPUPerSecond");
|
|
8156
8168
|
var de_Endpoint = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -10290,6 +10302,7 @@ var _MUG = "ModifyUserGroup";
|
|
|
10290
10302
|
var _Ma = "Marker";
|
|
10291
10303
|
var _Me = "Message";
|
|
10292
10304
|
var _Mem = "Members";
|
|
10305
|
+
var _Mi = "Minimum";
|
|
10293
10306
|
var _N = "Name";
|
|
10294
10307
|
var _NAZ = "NewAvailabilityZones";
|
|
10295
10308
|
var _NC = "NotificationConfiguration";
|
|
@@ -3547,6 +3547,9 @@ const se_DataStorage = (input, context) => {
|
|
|
3547
3547
|
if (input[_M] != null) {
|
|
3548
3548
|
entries[_M] = input[_M];
|
|
3549
3549
|
}
|
|
3550
|
+
if (input[_Mi] != null) {
|
|
3551
|
+
entries[_Mi] = input[_Mi];
|
|
3552
|
+
}
|
|
3550
3553
|
if (input[_U] != null) {
|
|
3551
3554
|
entries[_U] = input[_U];
|
|
3552
3555
|
}
|
|
@@ -4147,6 +4150,9 @@ const se_ECPUPerSecond = (input, context) => {
|
|
|
4147
4150
|
if (input[_M] != null) {
|
|
4148
4151
|
entries[_M] = input[_M];
|
|
4149
4152
|
}
|
|
4153
|
+
if (input[_Mi] != null) {
|
|
4154
|
+
entries[_Mi] = input[_Mi];
|
|
4155
|
+
}
|
|
4150
4156
|
return entries;
|
|
4151
4157
|
};
|
|
4152
4158
|
const se_ExportServerlessCacheSnapshotRequest = (input, context) => {
|
|
@@ -6100,6 +6106,9 @@ const de_DataStorage = (output, context) => {
|
|
|
6100
6106
|
if (output[_M] != null) {
|
|
6101
6107
|
contents[_M] = __strictParseInt32(output[_M]);
|
|
6102
6108
|
}
|
|
6109
|
+
if (output[_Mi] != null) {
|
|
6110
|
+
contents[_Mi] = __strictParseInt32(output[_Mi]);
|
|
6111
|
+
}
|
|
6103
6112
|
if (output[_U] != null) {
|
|
6104
6113
|
contents[_U] = __expectString(output[_U]);
|
|
6105
6114
|
}
|
|
@@ -6309,6 +6318,9 @@ const de_ECPUPerSecond = (output, context) => {
|
|
|
6309
6318
|
if (output[_M] != null) {
|
|
6310
6319
|
contents[_M] = __strictParseInt32(output[_M]);
|
|
6311
6320
|
}
|
|
6321
|
+
if (output[_Mi] != null) {
|
|
6322
|
+
contents[_Mi] = __strictParseInt32(output[_Mi]);
|
|
6323
|
+
}
|
|
6312
6324
|
return contents;
|
|
6313
6325
|
};
|
|
6314
6326
|
const de_Endpoint = (output, context) => {
|
|
@@ -8566,6 +8578,7 @@ const _MUG = "ModifyUserGroup";
|
|
|
8566
8578
|
const _Ma = "Marker";
|
|
8567
8579
|
const _Me = "Message";
|
|
8568
8580
|
const _Mem = "Members";
|
|
8581
|
+
const _Mi = "Minimum";
|
|
8569
8582
|
const _N = "Name";
|
|
8570
8583
|
const _NAZ = "NewAvailabilityZones";
|
|
8571
8584
|
const _NC = "NotificationConfiguration";
|
|
@@ -40,11 +40,13 @@ declare const CreateServerlessCacheCommand_base: {
|
|
|
40
40
|
* MajorEngineVersion: "STRING_VALUE",
|
|
41
41
|
* CacheUsageLimits: { // CacheUsageLimits
|
|
42
42
|
* DataStorage: { // DataStorage
|
|
43
|
-
* Maximum: Number("int"),
|
|
43
|
+
* Maximum: Number("int"),
|
|
44
|
+
* Minimum: Number("int"),
|
|
44
45
|
* Unit: "GB", // required
|
|
45
46
|
* },
|
|
46
47
|
* ECPUPerSecond: { // ECPUPerSecond
|
|
47
|
-
* Maximum: Number("int"),
|
|
48
|
+
* Maximum: Number("int"),
|
|
49
|
+
* Minimum: Number("int"),
|
|
48
50
|
* },
|
|
49
51
|
* },
|
|
50
52
|
* KmsKeyId: "STRING_VALUE",
|
|
@@ -80,11 +82,13 @@ declare const CreateServerlessCacheCommand_base: {
|
|
|
80
82
|
* // FullEngineVersion: "STRING_VALUE",
|
|
81
83
|
* // CacheUsageLimits: { // CacheUsageLimits
|
|
82
84
|
* // DataStorage: { // DataStorage
|
|
83
|
-
* // Maximum: Number("int"),
|
|
85
|
+
* // Maximum: Number("int"),
|
|
86
|
+
* // Minimum: Number("int"),
|
|
84
87
|
* // Unit: "GB", // required
|
|
85
88
|
* // },
|
|
86
89
|
* // ECPUPerSecond: { // ECPUPerSecond
|
|
87
|
-
* // Maximum: Number("int"),
|
|
90
|
+
* // Maximum: Number("int"),
|
|
91
|
+
* // Minimum: Number("int"),
|
|
88
92
|
* // },
|
|
89
93
|
* // },
|
|
90
94
|
* // KmsKeyId: "STRING_VALUE",
|
|
@@ -50,11 +50,13 @@ declare const DeleteServerlessCacheCommand_base: {
|
|
|
50
50
|
* // FullEngineVersion: "STRING_VALUE",
|
|
51
51
|
* // CacheUsageLimits: { // CacheUsageLimits
|
|
52
52
|
* // DataStorage: { // DataStorage
|
|
53
|
-
* // Maximum: Number("int"),
|
|
53
|
+
* // Maximum: Number("int"),
|
|
54
|
+
* // Minimum: Number("int"),
|
|
54
55
|
* // Unit: "GB", // required
|
|
55
56
|
* // },
|
|
56
57
|
* // ECPUPerSecond: { // ECPUPerSecond
|
|
57
|
-
* // Maximum: Number("int"),
|
|
58
|
+
* // Maximum: Number("int"),
|
|
59
|
+
* // Minimum: Number("int"),
|
|
58
60
|
* // },
|
|
59
61
|
* // },
|
|
60
62
|
* // KmsKeyId: "STRING_VALUE",
|
|
@@ -55,11 +55,13 @@ declare const DescribeServerlessCachesCommand_base: {
|
|
|
55
55
|
* // FullEngineVersion: "STRING_VALUE",
|
|
56
56
|
* // CacheUsageLimits: { // CacheUsageLimits
|
|
57
57
|
* // DataStorage: { // DataStorage
|
|
58
|
-
* // Maximum: Number("int"),
|
|
58
|
+
* // Maximum: Number("int"),
|
|
59
|
+
* // Minimum: Number("int"),
|
|
59
60
|
* // Unit: "GB", // required
|
|
60
61
|
* // },
|
|
61
62
|
* // ECPUPerSecond: { // ECPUPerSecond
|
|
62
|
-
* // Maximum: Number("int"),
|
|
63
|
+
* // Maximum: Number("int"),
|
|
64
|
+
* // Minimum: Number("int"),
|
|
63
65
|
* // },
|
|
64
66
|
* // },
|
|
65
67
|
* // KmsKeyId: "STRING_VALUE",
|
|
@@ -38,11 +38,13 @@ declare const ModifyServerlessCacheCommand_base: {
|
|
|
38
38
|
* Description: "STRING_VALUE",
|
|
39
39
|
* CacheUsageLimits: { // CacheUsageLimits
|
|
40
40
|
* DataStorage: { // DataStorage
|
|
41
|
-
* Maximum: Number("int"),
|
|
41
|
+
* Maximum: Number("int"),
|
|
42
|
+
* Minimum: Number("int"),
|
|
42
43
|
* Unit: "GB", // required
|
|
43
44
|
* },
|
|
44
45
|
* ECPUPerSecond: { // ECPUPerSecond
|
|
45
|
-
* Maximum: Number("int"),
|
|
46
|
+
* Maximum: Number("int"),
|
|
47
|
+
* Minimum: Number("int"),
|
|
46
48
|
* },
|
|
47
49
|
* },
|
|
48
50
|
* RemoveUserGroup: true || false,
|
|
@@ -66,11 +68,13 @@ declare const ModifyServerlessCacheCommand_base: {
|
|
|
66
68
|
* // FullEngineVersion: "STRING_VALUE",
|
|
67
69
|
* // CacheUsageLimits: { // CacheUsageLimits
|
|
68
70
|
* // DataStorage: { // DataStorage
|
|
69
|
-
* // Maximum: Number("int"),
|
|
71
|
+
* // Maximum: Number("int"),
|
|
72
|
+
* // Minimum: Number("int"),
|
|
70
73
|
* // Unit: "GB", // required
|
|
71
74
|
* // },
|
|
72
75
|
* // ECPUPerSecond: { // ECPUPerSecond
|
|
73
|
-
* // Maximum: Number("int"),
|
|
76
|
+
* // Maximum: Number("int"),
|
|
77
|
+
* // Minimum: Number("int"),
|
|
74
78
|
* // },
|
|
75
79
|
* // },
|
|
76
80
|
* // KmsKeyId: "STRING_VALUE",
|
|
@@ -4890,7 +4890,12 @@ export interface DataStorage {
|
|
|
4890
4890
|
* <p>The upper limit for data storage the cache is set to use.</p>
|
|
4891
4891
|
* @public
|
|
4892
4892
|
*/
|
|
4893
|
-
Maximum
|
|
4893
|
+
Maximum?: number;
|
|
4894
|
+
/**
|
|
4895
|
+
* <p>The lower limit for data storage the cache is set to use.</p>
|
|
4896
|
+
* @public
|
|
4897
|
+
*/
|
|
4898
|
+
Minimum?: number;
|
|
4894
4899
|
/**
|
|
4895
4900
|
* <p>The unit that the storage is measured in, in GB.</p>
|
|
4896
4901
|
* @public
|
|
@@ -4906,7 +4911,12 @@ export interface ECPUPerSecond {
|
|
|
4906
4911
|
* <p>The configuration for the maximum number of ECPUs the cache can consume per second.</p>
|
|
4907
4912
|
* @public
|
|
4908
4913
|
*/
|
|
4909
|
-
Maximum
|
|
4914
|
+
Maximum?: number;
|
|
4915
|
+
/**
|
|
4916
|
+
* <p>The configuration for the minimum number of ECPUs the cache should be able consume per second.</p>
|
|
4917
|
+
* @public
|
|
4918
|
+
*/
|
|
4919
|
+
Minimum?: number;
|
|
4910
4920
|
}
|
|
4911
4921
|
/**
|
|
4912
4922
|
* <p>The usage limits for storage and ElastiCache Processing Units for the cache.</p>
|
|
@@ -1042,11 +1042,13 @@ export declare const DataStorageUnit: {
|
|
|
1042
1042
|
export type DataStorageUnit =
|
|
1043
1043
|
(typeof DataStorageUnit)[keyof typeof DataStorageUnit];
|
|
1044
1044
|
export interface DataStorage {
|
|
1045
|
-
Maximum
|
|
1045
|
+
Maximum?: number;
|
|
1046
|
+
Minimum?: number;
|
|
1046
1047
|
Unit: DataStorageUnit | undefined;
|
|
1047
1048
|
}
|
|
1048
1049
|
export interface ECPUPerSecond {
|
|
1049
|
-
Maximum
|
|
1050
|
+
Maximum?: number;
|
|
1051
|
+
Minimum?: number;
|
|
1050
1052
|
}
|
|
1051
1053
|
export interface CacheUsageLimits {
|
|
1052
1054
|
DataStorage?: DataStorage;
|
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.
|
|
4
|
+
"version": "3.549.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,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.549.0",
|
|
24
|
+
"@aws-sdk/core": "3.549.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.549.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.2.0",
|
|
36
|
-
"@smithy/core": "^1.4.
|
|
36
|
+
"@smithy/core": "^1.4.1",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.5.0",
|
|
38
38
|
"@smithy/hash-node": "^2.2.0",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.2.0",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.2.0",
|
|
41
41
|
"@smithy/middleware-endpoint": "^2.5.0",
|
|
42
|
-
"@smithy/middleware-retry": "^2.
|
|
42
|
+
"@smithy/middleware-retry": "^2.3.0",
|
|
43
43
|
"@smithy/middleware-serde": "^2.3.0",
|
|
44
44
|
"@smithy/middleware-stack": "^2.2.0",
|
|
45
45
|
"@smithy/node-config-provider": "^2.3.0",
|