@aws-sdk/client-elasticache 3.329.0 → 3.332.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/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +7 -2
- package/dist-cjs/protocols/Aws_query.js +12 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_query.js +12 -0
- package/dist-types/commands/CompleteMigrationCommand.d.ts +2 -0
- package/dist-types/commands/CreateReplicationGroupCommand.d.ts +3 -0
- package/dist-types/commands/DecreaseReplicaCountCommand.d.ts +2 -0
- package/dist-types/commands/DeleteReplicationGroupCommand.d.ts +2 -0
- package/dist-types/commands/DescribeReplicationGroupsCommand.d.ts +2 -0
- package/dist-types/commands/IncreaseReplicaCountCommand.d.ts +2 -0
- package/dist-types/commands/ModifyReplicationGroupCommand.d.ts +3 -0
- package/dist-types/commands/ModifyReplicationGroupShardConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/StartMigrationCommand.d.ts +2 -0
- package/dist-types/commands/TestFailoverCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +68 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +10 -0
- package/package.json +5 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const t = "fn", u = "argv", v = "ref";
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://elasticache-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://elasticache.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://elasticache-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://elasticache.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://elasticache.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.TestFailoverNotAvailableFault = exports.NodeGroupNotFoundFault = exports.APICallRateForCustomerExceededFault = exports.ReplicationGroupAlreadyUnderMigrationFault = exports.AuthorizationNotFoundFault = exports.TagNotFoundFault = exports.ReservedCacheNodeQuotaExceededFault = exports.ReservedCacheNodeAlreadyExistsFault = exports.SubnetInUse = exports.AuthTokenUpdateStrategyType = exports.InvalidKMSKeyFault = exports.SlaMet = exports.NodeUpdateStatus = exports.NodeUpdateInitiatedBy = exports.ServiceUpdateType = exports.ServiceUpdateSeverity = exports.ServiceUpdateStatus = exports.ReservedCacheNodesOfferingNotFoundFault = exports.SourceType = exports.ChangeType = exports.InvalidUserStateFault = exports.DefaultUserAssociatedToUserGroupFault = exports.CacheSubnetGroupInUse = exports.NoOperationFault = exports.UserGroupQuotaExceededFault = exports.UserGroupAlreadyExistsFault = exports.DefaultUserRequired = exports.UserQuotaExceededFault = exports.UserAlreadyExistsFault = exports.AuthenticationType = exports.DuplicateUserNameFault = exports.InputAuthenticationType = exports.SnapshotFeatureNotSupportedFault = exports.ReplicationGroupAlreadyExistsFault = exports.NodeGroupsPerReplicationGroupQuotaExceededFault = exports.InvalidUserGroupStateFault = exports.InvalidGlobalReplicationGroupStateFault = exports.InvalidCacheClusterStateFault = exports.GlobalReplicationGroupNotFoundFault = exports.ServiceLinkedRoleNotFoundFault = exports.GlobalReplicationGroupAlreadyExistsFault = exports.SubnetNotAllowedFault = exports.InvalidSubnet = void 0;
|
|
3
|
+
exports.CacheSubnetGroupQuotaExceededFault = exports.CacheSubnetGroupAlreadyExistsFault = exports.CacheSecurityGroupQuotaExceededFault = exports.CacheSecurityGroupAlreadyExistsFault = exports.InvalidCacheParameterGroupStateFault = exports.CacheParameterGroupQuotaExceededFault = exports.CacheParameterGroupAlreadyExistsFault = exports.NodeQuotaForCustomerExceededFault = exports.NodeQuotaForClusterExceededFault = exports.InvalidVPCNetworkStateFault = exports.InsufficientCacheClusterCapacityFault = exports.OutpostMode = exports.AZMode = exports.ClusterQuotaForCustomerExceededFault = exports.CacheClusterAlreadyExistsFault = exports.SnapshotQuotaExceededFault = exports.SnapshotAlreadyExistsFault = exports.InvalidSnapshotStateFault = exports.ReplicationGroupNotUnderMigrationFault = exports.TransitEncryptionMode = exports.PendingAutomaticFailoverStatus = exports.AuthTokenUpdateStatus = exports.NetworkType = exports.MultiAZStatus = exports.LogDeliveryConfigurationStatus = exports.LogType = exports.LogFormat = exports.DestinationType = exports.IpDiscovery = exports.DataTieringStatus = exports.ClusterMode = exports.AutomaticFailoverStatus = exports.UpdateActionStatus = exports.ServiceUpdateNotFoundFault = exports.InvalidParameterValueException = exports.InvalidParameterCombinationException = exports.InvalidCacheSecurityGroupStateFault = exports.AuthorizationAlreadyExistsFault = exports.UserNotFoundFault = exports.UserGroupNotFoundFault = exports.TagQuotaPerResourceExceeded = exports.SnapshotNotFoundFault = exports.ReservedCacheNodeNotFoundFault = exports.ReplicationGroupNotFoundFault = exports.InvalidReplicationGroupStateFault = exports.InvalidARNFault = exports.CacheSubnetGroupNotFoundFault = exports.CacheSecurityGroupNotFoundFault = exports.CacheParameterGroupNotFoundFault = exports.CacheClusterNotFoundFault = void 0;
|
|
4
|
+
exports.TestFailoverNotAvailableFault = exports.NodeGroupNotFoundFault = exports.APICallRateForCustomerExceededFault = exports.ReplicationGroupAlreadyUnderMigrationFault = exports.AuthorizationNotFoundFault = exports.TagNotFoundFault = exports.ReservedCacheNodeQuotaExceededFault = exports.ReservedCacheNodeAlreadyExistsFault = exports.SubnetInUse = exports.AuthTokenUpdateStrategyType = exports.InvalidKMSKeyFault = exports.SlaMet = exports.NodeUpdateStatus = exports.NodeUpdateInitiatedBy = exports.ServiceUpdateType = exports.ServiceUpdateSeverity = exports.ServiceUpdateStatus = exports.ReservedCacheNodesOfferingNotFoundFault = exports.SourceType = exports.ChangeType = exports.InvalidUserStateFault = exports.DefaultUserAssociatedToUserGroupFault = exports.CacheSubnetGroupInUse = exports.NoOperationFault = exports.UserGroupQuotaExceededFault = exports.UserGroupAlreadyExistsFault = exports.DefaultUserRequired = exports.UserQuotaExceededFault = exports.UserAlreadyExistsFault = exports.AuthenticationType = exports.DuplicateUserNameFault = exports.InputAuthenticationType = exports.SnapshotFeatureNotSupportedFault = exports.ReplicationGroupAlreadyExistsFault = exports.NodeGroupsPerReplicationGroupQuotaExceededFault = exports.InvalidUserGroupStateFault = exports.InvalidGlobalReplicationGroupStateFault = exports.InvalidCacheClusterStateFault = exports.GlobalReplicationGroupNotFoundFault = exports.ServiceLinkedRoleNotFoundFault = exports.GlobalReplicationGroupAlreadyExistsFault = exports.SubnetNotAllowedFault = exports.InvalidSubnet = exports.CacheSubnetQuotaExceededFault = void 0;
|
|
5
5
|
const ElastiCacheServiceException_1 = require("./ElastiCacheServiceException");
|
|
6
6
|
class CacheClusterNotFoundFault extends ElastiCacheServiceException_1.ElastiCacheServiceException {
|
|
7
7
|
constructor(opts) {
|
|
@@ -241,6 +241,11 @@ exports.AutomaticFailoverStatus = {
|
|
|
241
241
|
ENABLED: "enabled",
|
|
242
242
|
ENABLING: "enabling",
|
|
243
243
|
};
|
|
244
|
+
exports.ClusterMode = {
|
|
245
|
+
COMPATIBLE: "compatible",
|
|
246
|
+
DISABLED: "disabled",
|
|
247
|
+
ENABLED: "enabled",
|
|
248
|
+
};
|
|
244
249
|
exports.DataTieringStatus = {
|
|
245
250
|
DISABLED: "disabled",
|
|
246
251
|
ENABLED: "enabled",
|
|
@@ -4958,6 +4958,9 @@ const se_CreateReplicationGroupMessage = (input, context) => {
|
|
|
4958
4958
|
if (input.TransitEncryptionMode != null) {
|
|
4959
4959
|
entries["TransitEncryptionMode"] = input.TransitEncryptionMode;
|
|
4960
4960
|
}
|
|
4961
|
+
if (input.ClusterMode != null) {
|
|
4962
|
+
entries["ClusterMode"] = input.ClusterMode;
|
|
4963
|
+
}
|
|
4961
4964
|
return entries;
|
|
4962
4965
|
};
|
|
4963
4966
|
const se_CreateSnapshotMessage = (input, context) => {
|
|
@@ -6102,6 +6105,9 @@ const se_ModifyReplicationGroupMessage = (input, context) => {
|
|
|
6102
6105
|
if (input.TransitEncryptionMode != null) {
|
|
6103
6106
|
entries["TransitEncryptionMode"] = input.TransitEncryptionMode;
|
|
6104
6107
|
}
|
|
6108
|
+
if (input.ClusterMode != null) {
|
|
6109
|
+
entries["ClusterMode"] = input.ClusterMode;
|
|
6110
|
+
}
|
|
6105
6111
|
return entries;
|
|
6106
6112
|
};
|
|
6107
6113
|
const se_ModifyReplicationGroupShardConfigurationMessage = (input, context) => {
|
|
@@ -8539,6 +8545,9 @@ const de_ReplicationGroup = (output, context) => {
|
|
|
8539
8545
|
if (output["TransitEncryptionMode"] !== undefined) {
|
|
8540
8546
|
contents.TransitEncryptionMode = (0, smithy_client_1.expectString)(output["TransitEncryptionMode"]);
|
|
8541
8547
|
}
|
|
8548
|
+
if (output["ClusterMode"] !== undefined) {
|
|
8549
|
+
contents.ClusterMode = (0, smithy_client_1.expectString)(output["ClusterMode"]);
|
|
8550
|
+
}
|
|
8542
8551
|
return contents;
|
|
8543
8552
|
};
|
|
8544
8553
|
const de_ReplicationGroupAlreadyExistsFault = (output, context) => {
|
|
@@ -8627,6 +8636,9 @@ const de_ReplicationGroupPendingModifiedValues = (output, context) => {
|
|
|
8627
8636
|
if (output["TransitEncryptionMode"] !== undefined) {
|
|
8628
8637
|
contents.TransitEncryptionMode = (0, smithy_client_1.expectString)(output["TransitEncryptionMode"]);
|
|
8629
8638
|
}
|
|
8639
|
+
if (output["ClusterMode"] !== undefined) {
|
|
8640
|
+
contents.ClusterMode = (0, smithy_client_1.expectString)(output["ClusterMode"]);
|
|
8641
|
+
}
|
|
8630
8642
|
return contents;
|
|
8631
8643
|
};
|
|
8632
8644
|
const de_ReservedCacheNode = (output, context) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const t = "fn", u = "argv", v = "ref";
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://elasticache-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://elasticache.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://elasticache-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://elasticache.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://elasticache.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -220,6 +220,11 @@ export const AutomaticFailoverStatus = {
|
|
|
220
220
|
ENABLED: "enabled",
|
|
221
221
|
ENABLING: "enabling",
|
|
222
222
|
};
|
|
223
|
+
export const ClusterMode = {
|
|
224
|
+
COMPATIBLE: "compatible",
|
|
225
|
+
DISABLED: "disabled",
|
|
226
|
+
ENABLED: "enabled",
|
|
227
|
+
};
|
|
223
228
|
export const DataTieringStatus = {
|
|
224
229
|
DISABLED: "disabled",
|
|
225
230
|
ENABLED: "enabled",
|
|
@@ -4823,6 +4823,9 @@ const se_CreateReplicationGroupMessage = (input, context) => {
|
|
|
4823
4823
|
if (input.TransitEncryptionMode != null) {
|
|
4824
4824
|
entries["TransitEncryptionMode"] = input.TransitEncryptionMode;
|
|
4825
4825
|
}
|
|
4826
|
+
if (input.ClusterMode != null) {
|
|
4827
|
+
entries["ClusterMode"] = input.ClusterMode;
|
|
4828
|
+
}
|
|
4826
4829
|
return entries;
|
|
4827
4830
|
};
|
|
4828
4831
|
const se_CreateSnapshotMessage = (input, context) => {
|
|
@@ -5967,6 +5970,9 @@ const se_ModifyReplicationGroupMessage = (input, context) => {
|
|
|
5967
5970
|
if (input.TransitEncryptionMode != null) {
|
|
5968
5971
|
entries["TransitEncryptionMode"] = input.TransitEncryptionMode;
|
|
5969
5972
|
}
|
|
5973
|
+
if (input.ClusterMode != null) {
|
|
5974
|
+
entries["ClusterMode"] = input.ClusterMode;
|
|
5975
|
+
}
|
|
5970
5976
|
return entries;
|
|
5971
5977
|
};
|
|
5972
5978
|
const se_ModifyReplicationGroupShardConfigurationMessage = (input, context) => {
|
|
@@ -8404,6 +8410,9 @@ const de_ReplicationGroup = (output, context) => {
|
|
|
8404
8410
|
if (output["TransitEncryptionMode"] !== undefined) {
|
|
8405
8411
|
contents.TransitEncryptionMode = __expectString(output["TransitEncryptionMode"]);
|
|
8406
8412
|
}
|
|
8413
|
+
if (output["ClusterMode"] !== undefined) {
|
|
8414
|
+
contents.ClusterMode = __expectString(output["ClusterMode"]);
|
|
8415
|
+
}
|
|
8407
8416
|
return contents;
|
|
8408
8417
|
};
|
|
8409
8418
|
const de_ReplicationGroupAlreadyExistsFault = (output, context) => {
|
|
@@ -8492,6 +8501,9 @@ const de_ReplicationGroupPendingModifiedValues = (output, context) => {
|
|
|
8492
8501
|
if (output["TransitEncryptionMode"] !== undefined) {
|
|
8493
8502
|
contents.TransitEncryptionMode = __expectString(output["TransitEncryptionMode"]);
|
|
8494
8503
|
}
|
|
8504
|
+
if (output["ClusterMode"] !== undefined) {
|
|
8505
|
+
contents.ClusterMode = __expectString(output["ClusterMode"]);
|
|
8506
|
+
}
|
|
8495
8507
|
return contents;
|
|
8496
8508
|
};
|
|
8497
8509
|
const de_ReservedCacheNode = (output, context) => {
|
|
@@ -75,6 +75,7 @@ export interface CompleteMigrationCommandOutput extends CompleteMigrationRespons
|
|
|
75
75
|
* // ],
|
|
76
76
|
* // TransitEncryptionEnabled: true || false,
|
|
77
77
|
* // TransitEncryptionMode: "preferred" || "required",
|
|
78
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
78
79
|
* // },
|
|
79
80
|
* // MemberClusters: [ // ClusterIdList
|
|
80
81
|
* // "STRING_VALUE",
|
|
@@ -150,6 +151,7 @@ export interface CompleteMigrationCommandOutput extends CompleteMigrationRespons
|
|
|
150
151
|
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
151
152
|
* // IpDiscovery: "ipv4" || "ipv6",
|
|
152
153
|
* // TransitEncryptionMode: "preferred" || "required",
|
|
154
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
153
155
|
* // },
|
|
154
156
|
* // };
|
|
155
157
|
*
|
|
@@ -132,6 +132,7 @@ export interface CreateReplicationGroupCommandOutput extends CreateReplicationGr
|
|
|
132
132
|
* NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
133
133
|
* IpDiscovery: "ipv4" || "ipv6",
|
|
134
134
|
* TransitEncryptionMode: "preferred" || "required",
|
|
135
|
+
* ClusterMode: "enabled" || "disabled" || "compatible",
|
|
135
136
|
* };
|
|
136
137
|
* const command = new CreateReplicationGroupCommand(input);
|
|
137
138
|
* const response = await client.send(command);
|
|
@@ -178,6 +179,7 @@ export interface CreateReplicationGroupCommandOutput extends CreateReplicationGr
|
|
|
178
179
|
* // ],
|
|
179
180
|
* // TransitEncryptionEnabled: true || false,
|
|
180
181
|
* // TransitEncryptionMode: "preferred" || "required",
|
|
182
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
181
183
|
* // },
|
|
182
184
|
* // MemberClusters: [ // ClusterIdList
|
|
183
185
|
* // "STRING_VALUE",
|
|
@@ -253,6 +255,7 @@ export interface CreateReplicationGroupCommandOutput extends CreateReplicationGr
|
|
|
253
255
|
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
254
256
|
* // IpDiscovery: "ipv4" || "ipv6",
|
|
255
257
|
* // TransitEncryptionMode: "preferred" || "required",
|
|
258
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
256
259
|
* // },
|
|
257
260
|
* // };
|
|
258
261
|
*
|
|
@@ -93,6 +93,7 @@ export interface DecreaseReplicaCountCommandOutput extends DecreaseReplicaCountR
|
|
|
93
93
|
* // ],
|
|
94
94
|
* // TransitEncryptionEnabled: true || false,
|
|
95
95
|
* // TransitEncryptionMode: "preferred" || "required",
|
|
96
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
96
97
|
* // },
|
|
97
98
|
* // MemberClusters: [ // ClusterIdList
|
|
98
99
|
* // "STRING_VALUE",
|
|
@@ -168,6 +169,7 @@ export interface DecreaseReplicaCountCommandOutput extends DecreaseReplicaCountR
|
|
|
168
169
|
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
169
170
|
* // IpDiscovery: "ipv4" || "ipv6",
|
|
170
171
|
* // TransitEncryptionMode: "preferred" || "required",
|
|
172
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
171
173
|
* // },
|
|
172
174
|
* // };
|
|
173
175
|
*
|
|
@@ -84,6 +84,7 @@ export interface DeleteReplicationGroupCommandOutput extends DeleteReplicationGr
|
|
|
84
84
|
* // ],
|
|
85
85
|
* // TransitEncryptionEnabled: true || false,
|
|
86
86
|
* // TransitEncryptionMode: "preferred" || "required",
|
|
87
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
87
88
|
* // },
|
|
88
89
|
* // MemberClusters: [ // ClusterIdList
|
|
89
90
|
* // "STRING_VALUE",
|
|
@@ -159,6 +160,7 @@ export interface DeleteReplicationGroupCommandOutput extends DeleteReplicationGr
|
|
|
159
160
|
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
160
161
|
* // IpDiscovery: "ipv4" || "ipv6",
|
|
161
162
|
* // TransitEncryptionMode: "preferred" || "required",
|
|
163
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
162
164
|
* // },
|
|
163
165
|
* // };
|
|
164
166
|
*
|
|
@@ -83,6 +83,7 @@ export interface DescribeReplicationGroupsCommandOutput extends ReplicationGroup
|
|
|
83
83
|
* // ],
|
|
84
84
|
* // TransitEncryptionEnabled: true || false,
|
|
85
85
|
* // TransitEncryptionMode: "preferred" || "required",
|
|
86
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
86
87
|
* // },
|
|
87
88
|
* // MemberClusters: [ // ClusterIdList
|
|
88
89
|
* // "STRING_VALUE",
|
|
@@ -158,6 +159,7 @@ export interface DescribeReplicationGroupsCommandOutput extends ReplicationGroup
|
|
|
158
159
|
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
159
160
|
* // IpDiscovery: "ipv4" || "ipv6",
|
|
160
161
|
* // TransitEncryptionMode: "preferred" || "required",
|
|
162
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
161
163
|
* // },
|
|
162
164
|
* // ],
|
|
163
165
|
* // };
|
|
@@ -90,6 +90,7 @@ export interface IncreaseReplicaCountCommandOutput extends IncreaseReplicaCountR
|
|
|
90
90
|
* // ],
|
|
91
91
|
* // TransitEncryptionEnabled: true || false,
|
|
92
92
|
* // TransitEncryptionMode: "preferred" || "required",
|
|
93
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
93
94
|
* // },
|
|
94
95
|
* // MemberClusters: [ // ClusterIdList
|
|
95
96
|
* // "STRING_VALUE",
|
|
@@ -165,6 +166,7 @@ export interface IncreaseReplicaCountCommandOutput extends IncreaseReplicaCountR
|
|
|
165
166
|
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
166
167
|
* // IpDiscovery: "ipv4" || "ipv6",
|
|
167
168
|
* // TransitEncryptionMode: "preferred" || "required",
|
|
169
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
168
170
|
* // },
|
|
169
171
|
* // };
|
|
170
172
|
*
|
|
@@ -93,6 +93,7 @@ export interface ModifyReplicationGroupCommandOutput extends ModifyReplicationGr
|
|
|
93
93
|
* IpDiscovery: "ipv4" || "ipv6",
|
|
94
94
|
* TransitEncryptionEnabled: true || false,
|
|
95
95
|
* TransitEncryptionMode: "preferred" || "required",
|
|
96
|
+
* ClusterMode: "enabled" || "disabled" || "compatible",
|
|
96
97
|
* };
|
|
97
98
|
* const command = new ModifyReplicationGroupCommand(input);
|
|
98
99
|
* const response = await client.send(command);
|
|
@@ -139,6 +140,7 @@ export interface ModifyReplicationGroupCommandOutput extends ModifyReplicationGr
|
|
|
139
140
|
* // ],
|
|
140
141
|
* // TransitEncryptionEnabled: true || false,
|
|
141
142
|
* // TransitEncryptionMode: "preferred" || "required",
|
|
143
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
142
144
|
* // },
|
|
143
145
|
* // MemberClusters: [ // ClusterIdList
|
|
144
146
|
* // "STRING_VALUE",
|
|
@@ -214,6 +216,7 @@ export interface ModifyReplicationGroupCommandOutput extends ModifyReplicationGr
|
|
|
214
216
|
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
215
217
|
* // IpDiscovery: "ipv4" || "ipv6",
|
|
216
218
|
* // TransitEncryptionMode: "preferred" || "required",
|
|
219
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
217
220
|
* // },
|
|
218
221
|
* // };
|
|
219
222
|
*
|
|
@@ -91,6 +91,7 @@ export interface ModifyReplicationGroupShardConfigurationCommandOutput extends M
|
|
|
91
91
|
* // ],
|
|
92
92
|
* // TransitEncryptionEnabled: true || false,
|
|
93
93
|
* // TransitEncryptionMode: "preferred" || "required",
|
|
94
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
94
95
|
* // },
|
|
95
96
|
* // MemberClusters: [ // ClusterIdList
|
|
96
97
|
* // "STRING_VALUE",
|
|
@@ -166,6 +167,7 @@ export interface ModifyReplicationGroupShardConfigurationCommandOutput extends M
|
|
|
166
167
|
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
167
168
|
* // IpDiscovery: "ipv4" || "ipv6",
|
|
168
169
|
* // TransitEncryptionMode: "preferred" || "required",
|
|
170
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
169
171
|
* // },
|
|
170
172
|
* // };
|
|
171
173
|
*
|
|
@@ -80,6 +80,7 @@ export interface StartMigrationCommandOutput extends StartMigrationResponse, __M
|
|
|
80
80
|
* // ],
|
|
81
81
|
* // TransitEncryptionEnabled: true || false,
|
|
82
82
|
* // TransitEncryptionMode: "preferred" || "required",
|
|
83
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
83
84
|
* // },
|
|
84
85
|
* // MemberClusters: [ // ClusterIdList
|
|
85
86
|
* // "STRING_VALUE",
|
|
@@ -155,6 +156,7 @@ export interface StartMigrationCommandOutput extends StartMigrationResponse, __M
|
|
|
155
156
|
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
156
157
|
* // IpDiscovery: "ipv4" || "ipv6",
|
|
157
158
|
* // TransitEncryptionMode: "preferred" || "required",
|
|
159
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
158
160
|
* // },
|
|
159
161
|
* // };
|
|
160
162
|
*
|
|
@@ -136,6 +136,7 @@ export interface TestFailoverCommandOutput extends TestFailoverResult, __Metadat
|
|
|
136
136
|
* // ],
|
|
137
137
|
* // TransitEncryptionEnabled: true || false,
|
|
138
138
|
* // TransitEncryptionMode: "preferred" || "required",
|
|
139
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
139
140
|
* // },
|
|
140
141
|
* // MemberClusters: [ // ClusterIdList
|
|
141
142
|
* // "STRING_VALUE",
|
|
@@ -211,6 +212,7 @@ export interface TestFailoverCommandOutput extends TestFailoverResult, __Metadat
|
|
|
211
212
|
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
212
213
|
* // IpDiscovery: "ipv4" || "ipv6",
|
|
213
214
|
* // TransitEncryptionMode: "preferred" || "required",
|
|
215
|
+
* // ClusterMode: "enabled" || "disabled" || "compatible",
|
|
214
216
|
* // },
|
|
215
217
|
* // };
|
|
216
218
|
*
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -517,6 +517,19 @@ export declare const AutomaticFailoverStatus: {
|
|
|
517
517
|
* @public
|
|
518
518
|
*/
|
|
519
519
|
export type AutomaticFailoverStatus = (typeof AutomaticFailoverStatus)[keyof typeof AutomaticFailoverStatus];
|
|
520
|
+
/**
|
|
521
|
+
* @public
|
|
522
|
+
* @enum
|
|
523
|
+
*/
|
|
524
|
+
export declare const ClusterMode: {
|
|
525
|
+
readonly COMPATIBLE: "compatible";
|
|
526
|
+
readonly DISABLED: "disabled";
|
|
527
|
+
readonly ENABLED: "enabled";
|
|
528
|
+
};
|
|
529
|
+
/**
|
|
530
|
+
* @public
|
|
531
|
+
*/
|
|
532
|
+
export type ClusterMode = (typeof ClusterMode)[keyof typeof ClusterMode];
|
|
520
533
|
/**
|
|
521
534
|
* @public
|
|
522
535
|
* <p>Represents the information required for client programs to connect to a cache node.</p>
|
|
@@ -909,6 +922,12 @@ export interface ReplicationGroupPendingModifiedValues {
|
|
|
909
922
|
* <p>A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.</p>
|
|
910
923
|
*/
|
|
911
924
|
TransitEncryptionMode?: TransitEncryptionMode | string;
|
|
925
|
+
/**
|
|
926
|
+
* <p>Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible.
|
|
927
|
+
*
|
|
928
|
+
* Compatible mode allows your Redis clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled.</p>
|
|
929
|
+
*/
|
|
930
|
+
ClusterMode?: ClusterMode | string;
|
|
912
931
|
}
|
|
913
932
|
/**
|
|
914
933
|
* @public
|
|
@@ -1065,24 +1084,29 @@ export interface ReplicationGroup {
|
|
|
1065
1084
|
*/
|
|
1066
1085
|
DataTiering?: DataTieringStatus | string;
|
|
1067
1086
|
/**
|
|
1068
|
-
* <p>
|
|
1069
|
-
* </p>
|
|
1087
|
+
* <p>If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next auto minor version upgrade campaign. This parameter is disabled for previous versions. </p>
|
|
1070
1088
|
*/
|
|
1071
1089
|
AutoMinorVersionUpgrade?: boolean;
|
|
1072
1090
|
/**
|
|
1073
1091
|
* <p>Must be either <code>ipv4</code> | <code>ipv6</code> | <code>dual_stack</code>. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
|
|
1074
|
-
* <a href="
|
|
1092
|
+
* <a href="http://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
|
|
1075
1093
|
*/
|
|
1076
1094
|
NetworkType?: NetworkType | string;
|
|
1077
1095
|
/**
|
|
1078
1096
|
* <p>The network type you choose when modifying a cluster, either <code>ipv4</code> | <code>ipv6</code>. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
|
|
1079
|
-
* <a href="
|
|
1097
|
+
* <a href="http://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
|
|
1080
1098
|
*/
|
|
1081
1099
|
IpDiscovery?: IpDiscovery | string;
|
|
1082
1100
|
/**
|
|
1083
1101
|
* <p>A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.</p>
|
|
1084
1102
|
*/
|
|
1085
1103
|
TransitEncryptionMode?: TransitEncryptionMode | string;
|
|
1104
|
+
/**
|
|
1105
|
+
* <p>Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible.
|
|
1106
|
+
*
|
|
1107
|
+
* Compatible mode allows your Redis clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled.</p>
|
|
1108
|
+
*/
|
|
1109
|
+
ClusterMode?: ClusterMode | string;
|
|
1086
1110
|
}
|
|
1087
1111
|
/**
|
|
1088
1112
|
* @public
|
|
@@ -2074,17 +2098,16 @@ export interface CreateCacheClusterMessage {
|
|
|
2074
2098
|
LogDeliveryConfigurations?: LogDeliveryConfigurationRequest[];
|
|
2075
2099
|
/**
|
|
2076
2100
|
* <p>A flag that enables in-transit encryption when set to true.</p>
|
|
2077
|
-
* <p> Only available when creating a cache cluster in an Amazon VPC using Memcached version 1.6.12 or later.</p>
|
|
2078
2101
|
*/
|
|
2079
2102
|
TransitEncryptionEnabled?: boolean;
|
|
2080
2103
|
/**
|
|
2081
2104
|
* <p>Must be either <code>ipv4</code> | <code>ipv6</code> | <code>dual_stack</code>. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
|
|
2082
|
-
* <a href="
|
|
2105
|
+
* <a href="http://aws.amazon.com/ec2/nitro/">Nitro system</a>. </p>
|
|
2083
2106
|
*/
|
|
2084
2107
|
NetworkType?: NetworkType | string;
|
|
2085
2108
|
/**
|
|
2086
2109
|
* <p>The network type you choose when modifying a cluster, either <code>ipv4</code> | <code>ipv6</code>. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
|
|
2087
|
-
* <a href="
|
|
2110
|
+
* <a href="http://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
|
|
2088
2111
|
*/
|
|
2089
2112
|
IpDiscovery?: IpDiscovery | string;
|
|
2090
2113
|
}
|
|
@@ -2797,12 +2820,12 @@ export interface CacheCluster {
|
|
|
2797
2820
|
LogDeliveryConfigurations?: LogDeliveryConfiguration[];
|
|
2798
2821
|
/**
|
|
2799
2822
|
* <p>Must be either <code>ipv4</code> | <code>ipv6</code> | <code>dual_stack</code>. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
|
|
2800
|
-
* <a href="
|
|
2823
|
+
* <a href="http://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
|
|
2801
2824
|
*/
|
|
2802
2825
|
NetworkType?: NetworkType | string;
|
|
2803
2826
|
/**
|
|
2804
2827
|
* <p>The network type associated with the cluster, either <code>ipv4</code> | <code>ipv6</code>. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
|
|
2805
|
-
* <a href="
|
|
2828
|
+
* <a href="http://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
|
|
2806
2829
|
*/
|
|
2807
2830
|
IpDiscovery?: IpDiscovery | string;
|
|
2808
2831
|
/**
|
|
@@ -2912,7 +2935,8 @@ export interface CreateCacheParameterGroupMessage {
|
|
|
2912
2935
|
* <code>redis3.2</code> |
|
|
2913
2936
|
* <code>redis4.0</code> |
|
|
2914
2937
|
* <code>redis5.0</code> |
|
|
2915
|
-
* <code>redis6.x</code>
|
|
2938
|
+
* <code>redis6.x</code> |
|
|
2939
|
+
* <code>redis7</code>
|
|
2916
2940
|
* </p>
|
|
2917
2941
|
*/
|
|
2918
2942
|
CacheParameterGroupFamily: string | undefined;
|
|
@@ -2946,7 +2970,8 @@ export interface CacheParameterGroup {
|
|
|
2946
2970
|
* <code>redis4.0</code> |
|
|
2947
2971
|
* <code>redis5.0</code> |
|
|
2948
2972
|
* <code>redis6.x</code> |
|
|
2949
|
-
*
|
|
2973
|
+
* <code>redis7</code>
|
|
2974
|
+
* </p>
|
|
2950
2975
|
*/
|
|
2951
2976
|
CacheParameterGroupFamily?: string;
|
|
2952
2977
|
/**
|
|
@@ -3155,7 +3180,7 @@ export interface Subnet {
|
|
|
3155
3180
|
SubnetOutpost?: SubnetOutpost;
|
|
3156
3181
|
/**
|
|
3157
3182
|
* <p>Either <code>ipv4</code> | <code>ipv6</code> | <code>dual_stack</code>. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
|
|
3158
|
-
* <a href="
|
|
3183
|
+
* <a href="http://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
|
|
3159
3184
|
*/
|
|
3160
3185
|
SupportedNetworkTypes?: (NetworkType | string)[];
|
|
3161
3186
|
}
|
|
@@ -3198,7 +3223,7 @@ export interface CacheSubnetGroup {
|
|
|
3198
3223
|
ARN?: string;
|
|
3199
3224
|
/**
|
|
3200
3225
|
* <p>Either <code>ipv4</code> | <code>ipv6</code> | <code>dual_stack</code>. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
|
|
3201
|
-
* <a href="
|
|
3226
|
+
* <a href="http://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
|
|
3202
3227
|
*/
|
|
3203
3228
|
SupportedNetworkTypes?: (NetworkType | string)[];
|
|
3204
3229
|
}
|
|
@@ -3930,22 +3955,33 @@ export interface CreateReplicationGroupMessage {
|
|
|
3930
3955
|
DataTieringEnabled?: boolean;
|
|
3931
3956
|
/**
|
|
3932
3957
|
* <p>Must be either <code>ipv4</code> | <code>ipv6</code> | <code>dual_stack</code>. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
|
|
3933
|
-
* <a href="
|
|
3958
|
+
* <a href="http://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
|
|
3934
3959
|
*/
|
|
3935
3960
|
NetworkType?: NetworkType | string;
|
|
3936
3961
|
/**
|
|
3937
3962
|
* <p>The network type you choose when creating a replication group, either <code>ipv4</code> | <code>ipv6</code>. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
|
|
3938
|
-
* <a href="
|
|
3963
|
+
* <a href="http://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
|
|
3939
3964
|
*/
|
|
3940
3965
|
IpDiscovery?: IpDiscovery | string;
|
|
3941
3966
|
/**
|
|
3942
3967
|
* <p>A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.</p>
|
|
3943
|
-
* <p>When setting <code>TransitEncryptionEnabled</code> to <code>true</code>, you can set your
|
|
3944
|
-
*
|
|
3945
|
-
*
|
|
3946
|
-
* </
|
|
3968
|
+
* <p>When setting <code>TransitEncryptionEnabled</code> to <code>true</code>, you can set your
|
|
3969
|
+
* <code>TransitEncryptionMode</code> to <code>preferred</code> in the same request, to allow
|
|
3970
|
+
* both encrypted and unencrypted connections at the same time. Once you migrate all your Redis
|
|
3971
|
+
* clients to use encrypted connections you can modify the value to <code>required</code> to
|
|
3972
|
+
* allow encrypted connections only.</p>
|
|
3973
|
+
* <p>Setting <code>TransitEncryptionMode</code> to <code>required</code> is a two-step
|
|
3974
|
+
* process that requires you to first set the <code>TransitEncryptionMode</code> to <code>preferred</code>,
|
|
3975
|
+
* after that you can set <code>TransitEncryptionMode</code> to <code>required</code>.</p>
|
|
3976
|
+
* <p>This process will not trigger the replacement of the replication group.</p>
|
|
3947
3977
|
*/
|
|
3948
3978
|
TransitEncryptionMode?: TransitEncryptionMode | string;
|
|
3979
|
+
/**
|
|
3980
|
+
* <p>Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible.
|
|
3981
|
+
*
|
|
3982
|
+
* Compatible mode allows your Redis clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled.</p>
|
|
3983
|
+
*/
|
|
3984
|
+
ClusterMode?: ClusterMode | string;
|
|
3949
3985
|
}
|
|
3950
3986
|
/**
|
|
3951
3987
|
* @public
|
|
@@ -4795,7 +4831,8 @@ export interface CacheEngineVersion {
|
|
|
4795
4831
|
* <code>redis3.2</code> |
|
|
4796
4832
|
* <code>redis4.0</code> |
|
|
4797
4833
|
* <code>redis5.0</code> |
|
|
4798
|
-
* <code>redis6.x</code>
|
|
4834
|
+
* <code>redis6.x</code> |
|
|
4835
|
+
* <code>redis7</code>
|
|
4799
4836
|
* </p>
|
|
4800
4837
|
*/
|
|
4801
4838
|
CacheParameterGroupFamily?: string;
|
|
@@ -5229,7 +5266,8 @@ export interface EngineDefaults {
|
|
|
5229
5266
|
* <code>redis4.0</code> |
|
|
5230
5267
|
* <code>redis5.0</code> |
|
|
5231
5268
|
* <code>redis6.0</code> |
|
|
5232
|
-
* <code>redis6.x</code>
|
|
5269
|
+
* <code>redis6.x</code> |
|
|
5270
|
+
* <code>redis7</code>
|
|
5233
5271
|
* </p>
|
|
5234
5272
|
*/
|
|
5235
5273
|
CacheParameterGroupFamily?: string;
|
|
@@ -7515,7 +7553,7 @@ export interface ModifyCacheClusterMessage {
|
|
|
7515
7553
|
LogDeliveryConfigurations?: LogDeliveryConfigurationRequest[];
|
|
7516
7554
|
/**
|
|
7517
7555
|
* <p>The network type you choose when modifying a cluster, either <code>ipv4</code> | <code>ipv6</code>. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
|
|
7518
|
-
* <a href="
|
|
7556
|
+
* <a href="http://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
|
|
7519
7557
|
*/
|
|
7520
7558
|
IpDiscovery?: IpDiscovery | string;
|
|
7521
7559
|
}
|
|
@@ -7902,7 +7940,7 @@ export interface ModifyReplicationGroupMessage {
|
|
|
7902
7940
|
LogDeliveryConfigurations?: LogDeliveryConfigurationRequest[];
|
|
7903
7941
|
/**
|
|
7904
7942
|
* <p>The network type you choose when modifying a cluster, either <code>ipv4</code> | <code>ipv6</code>. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the
|
|
7905
|
-
* <a href="
|
|
7943
|
+
* <a href="http://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
|
|
7906
7944
|
*/
|
|
7907
7945
|
IpDiscovery?: IpDiscovery | string;
|
|
7908
7946
|
/**
|
|
@@ -7913,10 +7951,16 @@ export interface ModifyReplicationGroupMessage {
|
|
|
7913
7951
|
* <p>A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.</p>
|
|
7914
7952
|
* <p>You must set <code>TransitEncryptionEnabled</code> to <code>true</code>, for your existing cluster, and set <code>TransitEncryptionMode</code> to <code>preferred</code> in the same request to allow both encrypted and
|
|
7915
7953
|
* unencrypted connections at the same time. Once you migrate all your Redis clients to use encrypted connections you can set the value to <code>required</code> to allow encrypted connections only.</p>
|
|
7916
|
-
* <p>Setting <code>TransitEncryptionMode</code> to <code>required</code> is a two-step process that requires you to first set the <code>TransitEncryptionMode</code> to <code>preferred</code
|
|
7954
|
+
* <p>Setting <code>TransitEncryptionMode</code> to <code>required</code> is a two-step process that requires you to first set the <code>TransitEncryptionMode</code> to <code>preferred</code>, after that you can set <code>TransitEncryptionMode</code> to <code>required</code>.
|
|
7917
7955
|
* </p>
|
|
7918
7956
|
*/
|
|
7919
7957
|
TransitEncryptionMode?: TransitEncryptionMode | string;
|
|
7958
|
+
/**
|
|
7959
|
+
* <p>Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible.
|
|
7960
|
+
*
|
|
7961
|
+
* Compatible mode allows your Redis clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled.</p>
|
|
7962
|
+
*/
|
|
7963
|
+
ClusterMode?: ClusterMode | string;
|
|
7920
7964
|
}
|
|
7921
7965
|
/**
|
|
7922
7966
|
* @public
|
|
@@ -26,7 +26,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
26
26
|
defaultSigningName: string;
|
|
27
27
|
};
|
|
28
28
|
export interface EndpointParameters extends __EndpointParameters {
|
|
29
|
-
Region
|
|
29
|
+
Region?: string;
|
|
30
30
|
UseDualStack?: boolean;
|
|
31
31
|
UseFIPS?: boolean;
|
|
32
32
|
Endpoint?: string;
|
|
@@ -220,6 +220,12 @@ export declare const AutomaticFailoverStatus: {
|
|
|
220
220
|
};
|
|
221
221
|
export type AutomaticFailoverStatus =
|
|
222
222
|
(typeof AutomaticFailoverStatus)[keyof typeof AutomaticFailoverStatus];
|
|
223
|
+
export declare const ClusterMode: {
|
|
224
|
+
readonly COMPATIBLE: "compatible";
|
|
225
|
+
readonly DISABLED: "disabled";
|
|
226
|
+
readonly ENABLED: "enabled";
|
|
227
|
+
};
|
|
228
|
+
export type ClusterMode = (typeof ClusterMode)[keyof typeof ClusterMode];
|
|
223
229
|
export interface Endpoint {
|
|
224
230
|
Address?: string;
|
|
225
231
|
Port?: number;
|
|
@@ -352,6 +358,7 @@ export interface ReplicationGroupPendingModifiedValues {
|
|
|
352
358
|
LogDeliveryConfigurations?: PendingLogDeliveryConfiguration[];
|
|
353
359
|
TransitEncryptionEnabled?: boolean;
|
|
354
360
|
TransitEncryptionMode?: TransitEncryptionMode | string;
|
|
361
|
+
ClusterMode?: ClusterMode | string;
|
|
355
362
|
}
|
|
356
363
|
export interface ReplicationGroup {
|
|
357
364
|
ReplicationGroupId?: string;
|
|
@@ -384,6 +391,7 @@ export interface ReplicationGroup {
|
|
|
384
391
|
NetworkType?: NetworkType | string;
|
|
385
392
|
IpDiscovery?: IpDiscovery | string;
|
|
386
393
|
TransitEncryptionMode?: TransitEncryptionMode | string;
|
|
394
|
+
ClusterMode?: ClusterMode | string;
|
|
387
395
|
}
|
|
388
396
|
export interface CompleteMigrationResponse {
|
|
389
397
|
ReplicationGroup?: ReplicationGroup;
|
|
@@ -886,6 +894,7 @@ export interface CreateReplicationGroupMessage {
|
|
|
886
894
|
NetworkType?: NetworkType | string;
|
|
887
895
|
IpDiscovery?: IpDiscovery | string;
|
|
888
896
|
TransitEncryptionMode?: TransitEncryptionMode | string;
|
|
897
|
+
ClusterMode?: ClusterMode | string;
|
|
889
898
|
}
|
|
890
899
|
export interface CreateReplicationGroupResult {
|
|
891
900
|
ReplicationGroup?: ReplicationGroup;
|
|
@@ -1714,6 +1723,7 @@ export interface ModifyReplicationGroupMessage {
|
|
|
1714
1723
|
IpDiscovery?: IpDiscovery | string;
|
|
1715
1724
|
TransitEncryptionEnabled?: boolean;
|
|
1716
1725
|
TransitEncryptionMode?: TransitEncryptionMode | string;
|
|
1726
|
+
ClusterMode?: ClusterMode | string;
|
|
1717
1727
|
}
|
|
1718
1728
|
export interface ModifyReplicationGroupResult {
|
|
1719
1729
|
ReplicationGroup?: ReplicationGroup;
|
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.332.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.332.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.329.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.332.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.329.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.329.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.329.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.329.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.329.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.329.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.332.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.329.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.329.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.329.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.329.0",
|
|
50
50
|
"@aws-sdk/util-defaults-mode-node": "3.329.0",
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.332.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.329.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.329.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.329.0",
|