@aws-sdk/client-elasticache 3.329.0 → 3.335.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.
Files changed (33) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-cjs/models/models_0.js +7 -2
  3. package/dist-cjs/protocols/Aws_query.js +13 -1
  4. package/dist-es/endpoint/ruleset.js +3 -3
  5. package/dist-es/models/models_0.js +5 -0
  6. package/dist-es/protocols/Aws_query.js +13 -1
  7. package/dist-types/ElastiCacheClient.d.ts +3 -2
  8. package/dist-types/commands/CompleteMigrationCommand.d.ts +2 -0
  9. package/dist-types/commands/CreateReplicationGroupCommand.d.ts +3 -0
  10. package/dist-types/commands/DecreaseReplicaCountCommand.d.ts +2 -0
  11. package/dist-types/commands/DeleteReplicationGroupCommand.d.ts +2 -0
  12. package/dist-types/commands/DescribeReplicationGroupsCommand.d.ts +2 -0
  13. package/dist-types/commands/IncreaseReplicaCountCommand.d.ts +2 -0
  14. package/dist-types/commands/ModifyReplicationGroupCommand.d.ts +3 -0
  15. package/dist-types/commands/ModifyReplicationGroupShardConfigurationCommand.d.ts +2 -0
  16. package/dist-types/commands/StartMigrationCommand.d.ts +2 -0
  17. package/dist-types/commands/TestFailoverCommand.d.ts +2 -0
  18. package/dist-types/endpoint/EndpointParameters.d.ts +3 -2
  19. package/dist-types/models/models_0.d.ts +68 -24
  20. package/dist-types/protocols/Aws_query.d.ts +2 -2
  21. package/dist-types/runtimeConfig.browser.d.ts +12 -12
  22. package/dist-types/runtimeConfig.d.ts +9 -9
  23. package/dist-types/runtimeConfig.native.d.ts +13 -13
  24. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  25. package/dist-types/ts3.4/ElastiCacheClient.d.ts +7 -5
  26. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +2 -3
  27. package/dist-types/ts3.4/models/models_0.d.ts +10 -0
  28. package/dist-types/ts3.4/protocols/Aws_query.d.ts +2 -2
  29. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -15
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -15
  32. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  33. package/package.json +7 -6
@@ -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 = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = { "required": true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "booleanEquals", [u]: [true, { [t]: h, [u]: [{ [v]: d }, "supportsFIPS"] }] }, o = { [v]: d }, p = { [t]: "booleanEquals", [u]: [true, { [t]: h, [u]: [o, "supportsDualStack"] }] }, q = { "url": "https://elasticache.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, r = [k], s = [l];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [t]: "aws.partition", [u]: [{ [v]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [t]: "isSet", [u]: [j] }], type: e, rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: j, properties: m, headers: m }, type: g }] }] }, { conditions: [k, l], type: e, rules: [{ conditions: [n, p], type: e, rules: [{ endpoint: { url: "https://elasticache-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: r, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: h, [u]: [o, "name"] }] }], endpoint: q, type: g }, { endpoint: { url: "https://elasticache-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: s, type: e, rules: [{ conditions: [p], type: e, rules: [{ endpoint: { url: "https://elasticache.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: q, type: g }] }] };
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.CacheSubnetQuotaExceededFault = 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.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 = 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",
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.se_ModifyCacheClusterCommand = exports.se_ListTagsForResourceCommand = exports.se_ListAllowedNodeTypeModificationsCommand = exports.se_IncreaseReplicaCountCommand = exports.se_IncreaseNodeGroupsInGlobalReplicationGroupCommand = exports.se_FailoverGlobalReplicationGroupCommand = exports.se_DisassociateGlobalReplicationGroupCommand = exports.se_DescribeUsersCommand = exports.se_DescribeUserGroupsCommand = exports.se_DescribeUpdateActionsCommand = exports.se_DescribeSnapshotsCommand = exports.se_DescribeServiceUpdatesCommand = exports.se_DescribeReservedCacheNodesOfferingsCommand = exports.se_DescribeReservedCacheNodesCommand = exports.se_DescribeReplicationGroupsCommand = exports.se_DescribeGlobalReplicationGroupsCommand = exports.se_DescribeEventsCommand = exports.se_DescribeEngineDefaultParametersCommand = exports.se_DescribeCacheSubnetGroupsCommand = exports.se_DescribeCacheSecurityGroupsCommand = exports.se_DescribeCacheParametersCommand = exports.se_DescribeCacheParameterGroupsCommand = exports.se_DescribeCacheEngineVersionsCommand = exports.se_DescribeCacheClustersCommand = exports.se_DeleteUserGroupCommand = exports.se_DeleteUserCommand = exports.se_DeleteSnapshotCommand = exports.se_DeleteReplicationGroupCommand = exports.se_DeleteGlobalReplicationGroupCommand = exports.se_DeleteCacheSubnetGroupCommand = exports.se_DeleteCacheSecurityGroupCommand = exports.se_DeleteCacheParameterGroupCommand = exports.se_DeleteCacheClusterCommand = exports.se_DecreaseReplicaCountCommand = exports.se_DecreaseNodeGroupsInGlobalReplicationGroupCommand = exports.se_CreateUserGroupCommand = exports.se_CreateUserCommand = exports.se_CreateSnapshotCommand = exports.se_CreateReplicationGroupCommand = exports.se_CreateGlobalReplicationGroupCommand = exports.se_CreateCacheSubnetGroupCommand = exports.se_CreateCacheSecurityGroupCommand = exports.se_CreateCacheParameterGroupCommand = exports.se_CreateCacheClusterCommand = exports.se_CopySnapshotCommand = exports.se_CompleteMigrationCommand = exports.se_BatchStopUpdateActionCommand = exports.se_BatchApplyUpdateActionCommand = exports.se_AuthorizeCacheSecurityGroupIngressCommand = exports.se_AddTagsToResourceCommand = void 0;
4
4
  exports.de_DescribeGlobalReplicationGroupsCommand = exports.de_DescribeEventsCommand = exports.de_DescribeEngineDefaultParametersCommand = exports.de_DescribeCacheSubnetGroupsCommand = exports.de_DescribeCacheSecurityGroupsCommand = exports.de_DescribeCacheParametersCommand = exports.de_DescribeCacheParameterGroupsCommand = exports.de_DescribeCacheEngineVersionsCommand = exports.de_DescribeCacheClustersCommand = exports.de_DeleteUserGroupCommand = exports.de_DeleteUserCommand = exports.de_DeleteSnapshotCommand = exports.de_DeleteReplicationGroupCommand = exports.de_DeleteGlobalReplicationGroupCommand = exports.de_DeleteCacheSubnetGroupCommand = exports.de_DeleteCacheSecurityGroupCommand = exports.de_DeleteCacheParameterGroupCommand = exports.de_DeleteCacheClusterCommand = exports.de_DecreaseReplicaCountCommand = exports.de_DecreaseNodeGroupsInGlobalReplicationGroupCommand = exports.de_CreateUserGroupCommand = exports.de_CreateUserCommand = exports.de_CreateSnapshotCommand = exports.de_CreateReplicationGroupCommand = exports.de_CreateGlobalReplicationGroupCommand = exports.de_CreateCacheSubnetGroupCommand = exports.de_CreateCacheSecurityGroupCommand = exports.de_CreateCacheParameterGroupCommand = exports.de_CreateCacheClusterCommand = exports.de_CopySnapshotCommand = exports.de_CompleteMigrationCommand = exports.de_BatchStopUpdateActionCommand = exports.de_BatchApplyUpdateActionCommand = exports.de_AuthorizeCacheSecurityGroupIngressCommand = exports.de_AddTagsToResourceCommand = exports.se_TestFailoverCommand = exports.se_StartMigrationCommand = exports.se_RevokeCacheSecurityGroupIngressCommand = exports.se_ResetCacheParameterGroupCommand = exports.se_RemoveTagsFromResourceCommand = exports.se_RebootCacheClusterCommand = exports.se_RebalanceSlotsInGlobalReplicationGroupCommand = exports.se_PurchaseReservedCacheNodesOfferingCommand = exports.se_ModifyUserGroupCommand = exports.se_ModifyUserCommand = exports.se_ModifyReplicationGroupShardConfigurationCommand = exports.se_ModifyReplicationGroupCommand = exports.se_ModifyGlobalReplicationGroupCommand = exports.se_ModifyCacheSubnetGroupCommand = exports.se_ModifyCacheParameterGroupCommand = void 0;
5
5
  exports.de_TestFailoverCommand = exports.de_StartMigrationCommand = exports.de_RevokeCacheSecurityGroupIngressCommand = exports.de_ResetCacheParameterGroupCommand = exports.de_RemoveTagsFromResourceCommand = exports.de_RebootCacheClusterCommand = exports.de_RebalanceSlotsInGlobalReplicationGroupCommand = exports.de_PurchaseReservedCacheNodesOfferingCommand = exports.de_ModifyUserGroupCommand = exports.de_ModifyUserCommand = exports.de_ModifyReplicationGroupShardConfigurationCommand = exports.de_ModifyReplicationGroupCommand = exports.de_ModifyGlobalReplicationGroupCommand = exports.de_ModifyCacheSubnetGroupCommand = exports.de_ModifyCacheParameterGroupCommand = exports.de_ModifyCacheClusterCommand = exports.de_ListTagsForResourceCommand = exports.de_ListAllowedNodeTypeModificationsCommand = exports.de_IncreaseReplicaCountCommand = exports.de_IncreaseNodeGroupsInGlobalReplicationGroupCommand = exports.de_FailoverGlobalReplicationGroupCommand = exports.de_DisassociateGlobalReplicationGroupCommand = exports.de_DescribeUsersCommand = exports.de_DescribeUserGroupsCommand = exports.de_DescribeUpdateActionsCommand = exports.de_DescribeSnapshotsCommand = exports.de_DescribeServiceUpdatesCommand = exports.de_DescribeReservedCacheNodesOfferingsCommand = exports.de_DescribeReservedCacheNodesCommand = exports.de_DescribeReplicationGroupsCommand = void 0;
6
- const protocol_http_1 = require("@aws-sdk/protocol-http");
7
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const protocol_http_1 = require("@smithy/protocol-http");
8
8
  const fast_xml_parser_1 = require("fast-xml-parser");
9
9
  const ElastiCacheServiceException_1 = require("../models/ElastiCacheServiceException");
10
10
  const models_0_1 = require("../models/models_0");
@@ -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 = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = { "required": true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "booleanEquals", [u]: [true, { [t]: h, [u]: [{ [v]: d }, "supportsFIPS"] }] }, o = { [v]: d }, p = { [t]: "booleanEquals", [u]: [true, { [t]: h, [u]: [o, "supportsDualStack"] }] }, q = { "url": "https://elasticache.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, r = [k], s = [l];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [t]: "aws.partition", [u]: [{ [v]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [t]: "isSet", [u]: [j] }], type: e, rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: j, properties: m, headers: m }, type: g }] }] }, { conditions: [k, l], type: e, rules: [{ conditions: [n, p], type: e, rules: [{ endpoint: { url: "https://elasticache-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: r, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: h, [u]: [o, "name"] }] }], endpoint: q, type: g }, { endpoint: { url: "https://elasticache-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: s, type: e, rules: [{ conditions: [p], type: e, rules: [{ endpoint: { url: "https://elasticache.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: q, type: g }] }] };
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",
@@ -1,5 +1,5 @@
1
- import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
1
  import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, withBaseException, } from "@aws-sdk/smithy-client";
2
+ import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { XMLParser } from "fast-xml-parser";
4
4
  import { ElastiCacheServiceException as __BaseException } from "../models/ElastiCacheServiceException";
5
5
  import { APICallRateForCustomerExceededFault, AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, CacheClusterAlreadyExistsFault, CacheClusterNotFoundFault, CacheParameterGroupAlreadyExistsFault, CacheParameterGroupNotFoundFault, CacheParameterGroupQuotaExceededFault, CacheSecurityGroupAlreadyExistsFault, CacheSecurityGroupNotFoundFault, CacheSecurityGroupQuotaExceededFault, CacheSubnetGroupAlreadyExistsFault, CacheSubnetGroupInUse, CacheSubnetGroupNotFoundFault, CacheSubnetGroupQuotaExceededFault, CacheSubnetQuotaExceededFault, ClusterQuotaForCustomerExceededFault, DefaultUserAssociatedToUserGroupFault, DefaultUserRequired, DuplicateUserNameFault, GlobalReplicationGroupAlreadyExistsFault, GlobalReplicationGroupNotFoundFault, InsufficientCacheClusterCapacityFault, InvalidARNFault, InvalidCacheClusterStateFault, InvalidCacheParameterGroupStateFault, InvalidCacheSecurityGroupStateFault, InvalidGlobalReplicationGroupStateFault, InvalidKMSKeyFault, InvalidParameterCombinationException, InvalidParameterValueException, InvalidReplicationGroupStateFault, InvalidSnapshotStateFault, InvalidSubnet, InvalidUserGroupStateFault, InvalidUserStateFault, InvalidVPCNetworkStateFault, NodeGroupNotFoundFault, NodeGroupsPerReplicationGroupQuotaExceededFault, NodeQuotaForClusterExceededFault, NodeQuotaForCustomerExceededFault, NoOperationFault, ReplicationGroupAlreadyExistsFault, ReplicationGroupAlreadyUnderMigrationFault, ReplicationGroupNotFoundFault, ReplicationGroupNotUnderMigrationFault, ReservedCacheNodeAlreadyExistsFault, ReservedCacheNodeNotFoundFault, ReservedCacheNodeQuotaExceededFault, ReservedCacheNodesOfferingNotFoundFault, ServiceLinkedRoleNotFoundFault, ServiceUpdateNotFoundFault, SnapshotAlreadyExistsFault, SnapshotFeatureNotSupportedFault, SnapshotNotFoundFault, SnapshotQuotaExceededFault, SubnetInUse, SubnetNotAllowedFault, TagNotFoundFault, TagQuotaPerResourceExceeded, TestFailoverNotAvailableFault, UserAlreadyExistsFault, UserGroupAlreadyExistsFault, UserGroupNotFoundFault, UserGroupQuotaExceededFault, UserNotFoundFault, UserQuotaExceededFault, } from "../models/models_0";
@@ -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) => {
@@ -4,9 +4,10 @@ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middle
4
4
  import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
5
5
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
6
6
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
7
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
8
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
- import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
10
+ import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
10
11
  import { AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput } from "./commands/AddTagsToResourceCommand";
11
12
  import { AuthorizeCacheSecurityGroupIngressCommandInput, AuthorizeCacheSecurityGroupIngressCommandOutput } from "./commands/AuthorizeCacheSecurityGroupIngressCommand";
12
13
  import { BatchApplyUpdateActionCommandInput, BatchApplyUpdateActionCommandOutput } from "./commands/BatchApplyUpdateActionCommand";
@@ -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
  *
@@ -1,4 +1,5 @@
1
- import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@aws-sdk/types";
1
+ import { EndpointParameters as __EndpointParameters, EndpointV2 } from "@aws-sdk/types";
2
+ import { Endpoint, Provider } from "@smithy/types";
2
3
  export interface ClientInputEndpointParameters {
3
4
  region?: string | Provider<string>;
4
5
  useDualstackEndpoint?: boolean | Provider<boolean>;
@@ -12,7 +13,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
13
  defaultSigningName: string;
13
14
  };
14
15
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
16
+ Region?: string;
16
17
  UseDualStack?: boolean;
17
18
  UseFIPS?: boolean;
18
19
  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> 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.
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="https://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
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="https://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
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="https://aws.amazon.com/ec2/nitro/">Nitro system</a>. </p>
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="https://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
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="https://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
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="https://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
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
- * </p>
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="https://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
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="https://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
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="https://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
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="https://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
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 <code>TransitEncryptionMode</code> to <code>preferred</code> in the same request, to allow both encrypted and
3944
- * unencrypted connections at the same time. Once you migrate all your Redis clients to use encrypted connections you can modify the value to <code>required</code> to allow encrypted connections only.</p>
3945
- * <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> first, after that you can set <code>TransitEncryptionMode</code> to <code>required</code>.
3946
- * </p>
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="https://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
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="https://aws.amazon.com/ec2/nitro/">Nitro system</a>.</p>
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> first, after that you can set <code>TransitEncryptionMode</code> to <code>required</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
@@ -1,5 +1,5 @@
1
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput } from "../commands/AddTagsToResourceCommand";
4
4
  import { AuthorizeCacheSecurityGroupIngressCommandInput, AuthorizeCacheSecurityGroupIngressCommandOutput } from "../commands/AuthorizeCacheSecurityGroupIngressCommand";
5
5
  import { BatchApplyUpdateActionCommandInput, BatchApplyUpdateActionCommandOutput } from "../commands/BatchApplyUpdateActionCommand";
@@ -7,26 +7,26 @@ export declare const getRuntimeConfig: (config: ElastiCacheClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
+ maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
13
13
  region: string | import("@aws-sdk/types").Provider<any>;
14
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
- retryMode: string | import("@aws-sdk/types").Provider<string>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@aws-sdk/types").HashConstructor;
17
- streamCollector: import("@aws-sdk/types").StreamCollector;
18
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
19
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
20
20
  apiVersion: string;
21
21
  urlParser: import("@aws-sdk/types").UrlParser;
22
- base64Decoder: import("@aws-sdk/types").Decoder;
23
- base64Encoder: import("@aws-sdk/types").Encoder;
24
- utf8Decoder: import("@aws-sdk/types").Decoder;
25
- utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ base64Decoder: import("@smithy/types").Decoder;
23
+ base64Encoder: import("@smithy/types").Encoder;
24
+ utf8Decoder: import("@smithy/types").Decoder;
25
+ utf8Encoder: import("@smithy/types").Encoder;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@aws-sdk/types").Logger;
29
- endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
30
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
31
  logger?: import("@aws-sdk/types").Logger | undefined;
32
32
  }) => import("@aws-sdk/types").EndpointV2;
@@ -7,26 +7,26 @@ export declare const getRuntimeConfig: (config: ElastiCacheClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
13
  region: string | import("@aws-sdk/types").Provider<string>;
14
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
- retryMode: string | import("@aws-sdk/types").Provider<string>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@aws-sdk/types").HashConstructor;
17
- streamCollector: import("@aws-sdk/types").StreamCollector;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
20
  apiVersion: string;
21
21
  urlParser: import("@aws-sdk/types").UrlParser;
22
- base64Decoder: import("@aws-sdk/types").Decoder;
23
- base64Encoder: import("@aws-sdk/types").Encoder;
24
- utf8Decoder: import("@aws-sdk/types").Decoder;
25
- utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ base64Decoder: import("@smithy/types").Decoder;
23
+ base64Encoder: import("@smithy/types").Encoder;
24
+ utf8Decoder: import("@smithy/types").Decoder;
25
+ utf8Encoder: import("@smithy/types").Encoder;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@aws-sdk/types").Logger;
29
- endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
30
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
31
  logger?: import("@aws-sdk/types").Logger | undefined;
32
32
  }) => import("@aws-sdk/types").EndpointV2;
@@ -5,27 +5,27 @@ import { ElastiCacheClientConfig } from "./ElastiCacheClient";
5
5
  export declare const getRuntimeConfig: (config: ElastiCacheClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@aws-sdk/types").HashConstructor;
8
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
8
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
11
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
- streamCollector: import("@aws-sdk/types").StreamCollector;
13
- base64Decoder: import("@aws-sdk/types").Decoder;
14
- base64Encoder: import("@aws-sdk/types").Encoder;
15
- utf8Decoder: import("@aws-sdk/types").Decoder;
16
- utf8Encoder: import("@aws-sdk/types").Encoder;
12
+ streamCollector: import("@smithy/types").StreamCollector;
13
+ base64Decoder: import("@smithy/types").Decoder;
14
+ base64Encoder: import("@smithy/types").Encoder;
15
+ utf8Decoder: import("@smithy/types").Decoder;
16
+ utf8Encoder: import("@smithy/types").Encoder;
17
17
  disableHostPrefix: boolean;
18
18
  serviceId: string;
19
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
20
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
21
21
  region: string | import("@aws-sdk/types").Provider<any>;
22
- credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
22
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
23
23
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
24
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
25
- retryMode: string | import("@aws-sdk/types").Provider<string>;
24
+ maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
25
+ retryMode: string | import("@smithy/types").Provider<string>;
26
26
  logger: import("@aws-sdk/types").Logger;
27
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
28
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> | undefined;
27
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
28
+ endpoint?: string | import("@aws-sdk/types").EndpointV2 | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@smithy/types").Provider<import("@smithy/types").Endpoint>) | (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>) | undefined;
29
29
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
30
30
  logger?: import("@aws-sdk/types").Logger | undefined;
31
31
  }) => import("@aws-sdk/types").EndpointV2;
@@ -4,8 +4,8 @@ import { ElastiCacheClientConfig } from "./ElastiCacheClient";
4
4
  */
5
5
  export declare const getRuntimeConfig: (config: ElastiCacheClientConfig) => {
6
6
  apiVersion: string;
7
- base64Decoder: import("@aws-sdk/types").Decoder;
8
- base64Encoder: import("@aws-sdk/types").Encoder;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: import("@smithy/types").Encoder;
9
9
  disableHostPrefix: boolean;
10
10
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
11
  logger?: import("@aws-sdk/types").Logger | undefined;
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: ElastiCacheClientConfig) => {
13
13
  logger: import("@aws-sdk/types").Logger;
14
14
  serviceId: string;
15
15
  urlParser: import("@aws-sdk/types").UrlParser;
16
- utf8Decoder: import("@aws-sdk/types").Decoder;
17
- utf8Encoder: import("@aws-sdk/types").Encoder;
16
+ utf8Decoder: import("@smithy/types").Decoder;
17
+ utf8Encoder: import("@smithy/types").Encoder;
18
18
  };
@@ -22,7 +22,6 @@ import {
22
22
  UserAgentInputConfig,
23
23
  UserAgentResolvedConfig,
24
24
  } from "@aws-sdk/middleware-user-agent";
25
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
26
25
  import {
27
26
  Client as __Client,
28
27
  DefaultsMode as __DefaultsMode,
@@ -33,17 +32,20 @@ import {
33
32
  BodyLengthCalculator as __BodyLengthCalculator,
34
33
  ChecksumConstructor as __ChecksumConstructor,
35
34
  Credentials as __Credentials,
36
- Decoder as __Decoder,
37
- Encoder as __Encoder,
38
35
  HashConstructor as __HashConstructor,
39
36
  HttpHandlerOptions as __HttpHandlerOptions,
40
37
  Logger as __Logger,
41
- Provider as __Provider,
42
38
  Provider,
43
- StreamCollector as __StreamCollector,
44
39
  UrlParser as __UrlParser,
45
40
  UserAgent as __UserAgent,
46
41
  } from "@aws-sdk/types";
42
+ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
43
+ import {
44
+ Decoder as __Decoder,
45
+ Encoder as __Encoder,
46
+ Provider as __Provider,
47
+ StreamCollector as __StreamCollector,
48
+ } from "@smithy/types";
47
49
  import {
48
50
  AddTagsToResourceCommandInput,
49
51
  AddTagsToResourceCommandOutput,
@@ -1,9 +1,8 @@
1
1
  import {
2
- Endpoint,
3
2
  EndpointParameters as __EndpointParameters,
4
3
  EndpointV2,
5
- Provider,
6
4
  } from "@aws-sdk/types";
5
+ import { Endpoint, Provider } from "@smithy/types";
7
6
  export interface ClientInputEndpointParameters {
8
7
  region?: string | Provider<string>;
9
8
  useDualstackEndpoint?: boolean | Provider<boolean>;
@@ -26,7 +25,7 @@ export declare const resolveClientEndpointParameters: <T>(
26
25
  defaultSigningName: string;
27
26
  };
28
27
  export interface EndpointParameters extends __EndpointParameters {
29
- Region: string;
28
+ Region?: string;
30
29
  UseDualStack?: boolean;
31
30
  UseFIPS?: boolean;
32
31
  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;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  HttpRequest as __HttpRequest,
3
3
  HttpResponse as __HttpResponse,
4
- } from "@aws-sdk/protocol-http";
5
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
4
+ } from "@smithy/protocol-http";
5
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
6
6
  import {
7
7
  AddTagsToResourceCommandInput,
8
8
  AddTagsToResourceCommandOutput,
@@ -8,11 +8,12 @@ export declare const getRuntimeConfig: (config: ElastiCacheClientConfig) => {
8
8
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider: (
10
10
  input: any
11
- ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
12
12
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<
13
13
  import("@aws-sdk/types").UserAgent
14
14
  >;
15
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
15
+ maxAttempts: (number | import("@smithy/types").Provider<number>) &
16
+ (number | import("@aws-sdk/types").Provider<number>);
16
17
  region: string | import("@aws-sdk/types").Provider<any>;
17
18
  requestHandler:
18
19
  | (import("@aws-sdk/types").RequestHandler<
@@ -20,19 +21,21 @@ export declare const getRuntimeConfig: (config: ElastiCacheClientConfig) => {
20
21
  any,
21
22
  import("@aws-sdk/types").HttpHandlerOptions
22
23
  > &
23
- import("@aws-sdk/protocol-http").HttpHandler)
24
+ import("@smithy/protocol-http").HttpHandler)
24
25
  | RequestHandler;
25
- retryMode: string | import("@aws-sdk/types").Provider<string>;
26
+ retryMode: string | import("@smithy/types").Provider<string>;
26
27
  sha256: import("@aws-sdk/types").HashConstructor;
27
- streamCollector: import("@aws-sdk/types").StreamCollector;
28
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
29
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
28
+ streamCollector: import("@smithy/types").StreamCollector;
29
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
30
+ (boolean | import("@aws-sdk/types").Provider<boolean>);
31
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
32
+ (boolean | import("@aws-sdk/types").Provider<boolean>);
30
33
  apiVersion: string;
31
34
  urlParser: import("@aws-sdk/types").UrlParser;
32
- base64Decoder: import("@aws-sdk/types").Decoder;
33
- base64Encoder: import("@aws-sdk/types").Encoder;
34
- utf8Decoder: import("@aws-sdk/types").Decoder;
35
- utf8Encoder: import("@aws-sdk/types").Encoder;
35
+ base64Decoder: import("@smithy/types").Decoder;
36
+ base64Encoder: import("@smithy/types").Encoder;
37
+ utf8Decoder: import("@smithy/types").Decoder;
38
+ utf8Encoder: import("@smithy/types").Encoder;
36
39
  disableHostPrefix: boolean;
37
40
  serviceId: string;
38
41
  logger: import("@aws-sdk/types").Logger;
@@ -46,11 +49,11 @@ export declare const getRuntimeConfig: (config: ElastiCacheClientConfig) => {
46
49
  ) &
47
50
  (
48
51
  | string
49
- | import("@aws-sdk/types").Provider<string>
50
- | import("@aws-sdk/types").Endpoint
51
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
52
+ | import("@smithy/types").Provider<string>
53
+ | import("@smithy/types").Endpoint
54
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
52
55
  | import("@aws-sdk/types").EndpointV2
53
- | import("@aws-sdk/types").Provider<
56
+ | import("@smithy/types").Provider<
54
57
  import("@aws-sdk/types").EndpointV2
55
58
  >
56
59
  ))
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ElastiCacheClientConfig) => {
8
8
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider: (
10
10
  input: any
11
- ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
12
12
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<
13
13
  import("@aws-sdk/types").UserAgent
14
14
  >;
@@ -20,19 +20,19 @@ export declare const getRuntimeConfig: (config: ElastiCacheClientConfig) => {
20
20
  any,
21
21
  import("@aws-sdk/types").HttpHandlerOptions
22
22
  > &
23
- import("@aws-sdk/protocol-http").HttpHandler)
23
+ import("@smithy/protocol-http").HttpHandler)
24
24
  | RequestHandler;
25
- retryMode: string | import("@aws-sdk/types").Provider<string>;
25
+ retryMode: string | import("@smithy/types").Provider<string>;
26
26
  sha256: import("@aws-sdk/types").HashConstructor;
27
- streamCollector: import("@aws-sdk/types").StreamCollector;
27
+ streamCollector: import("@smithy/types").StreamCollector;
28
28
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
29
29
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
30
30
  apiVersion: string;
31
31
  urlParser: import("@aws-sdk/types").UrlParser;
32
- base64Decoder: import("@aws-sdk/types").Decoder;
33
- base64Encoder: import("@aws-sdk/types").Encoder;
34
- utf8Decoder: import("@aws-sdk/types").Decoder;
35
- utf8Encoder: import("@aws-sdk/types").Encoder;
32
+ base64Decoder: import("@smithy/types").Decoder;
33
+ base64Encoder: import("@smithy/types").Encoder;
34
+ utf8Decoder: import("@smithy/types").Decoder;
35
+ utf8Encoder: import("@smithy/types").Encoder;
36
36
  disableHostPrefix: boolean;
37
37
  serviceId: string;
38
38
  logger: import("@aws-sdk/types").Logger;
@@ -46,11 +46,11 @@ export declare const getRuntimeConfig: (config: ElastiCacheClientConfig) => {
46
46
  ) &
47
47
  (
48
48
  | string
49
- | import("@aws-sdk/types").Provider<string>
50
- | import("@aws-sdk/types").Endpoint
51
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
49
+ | import("@smithy/types").Provider<string>
50
+ | import("@smithy/types").Endpoint
51
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
52
52
  | import("@aws-sdk/types").EndpointV2
53
- | import("@aws-sdk/types").Provider<
53
+ | import("@smithy/types").Provider<
54
54
  import("@aws-sdk/types").EndpointV2
55
55
  >
56
56
  ))
@@ -8,41 +8,46 @@ export declare const getRuntimeConfig: (config: ElastiCacheClientConfig) => {
8
8
  any,
9
9
  import("@aws-sdk/types").HttpHandlerOptions
10
10
  > &
11
- import("@aws-sdk/protocol-http").HttpHandler)
11
+ import("@smithy/protocol-http").HttpHandler)
12
12
  | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
13
13
  apiVersion: string;
14
14
  urlParser: import("@aws-sdk/types").UrlParser;
15
15
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
16
- streamCollector: import("@aws-sdk/types").StreamCollector;
17
- base64Decoder: import("@aws-sdk/types").Decoder;
18
- base64Encoder: import("@aws-sdk/types").Encoder;
19
- utf8Decoder: import("@aws-sdk/types").Decoder;
20
- utf8Encoder: import("@aws-sdk/types").Encoder;
16
+ streamCollector: import("@smithy/types").StreamCollector;
17
+ base64Decoder: import("@smithy/types").Decoder;
18
+ base64Encoder: import("@smithy/types").Encoder;
19
+ utf8Decoder: import("@smithy/types").Decoder;
20
+ utf8Encoder: import("@smithy/types").Encoder;
21
21
  disableHostPrefix: boolean;
22
22
  serviceId: string;
23
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
24
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
24
+ (boolean | import("@aws-sdk/types").Provider<boolean>);
25
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
+ (boolean | import("@aws-sdk/types").Provider<boolean>);
25
27
  region: string | import("@aws-sdk/types").Provider<any>;
26
28
  credentialDefaultProvider: (
27
29
  input: any
28
- ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
30
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
29
31
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<
30
32
  import("@aws-sdk/types").UserAgent
31
33
  >;
32
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
33
- retryMode: string | import("@aws-sdk/types").Provider<string>;
34
+ maxAttempts: (number | import("@smithy/types").Provider<number>) &
35
+ (number | import("@aws-sdk/types").Provider<number>);
36
+ retryMode: string | import("@smithy/types").Provider<string>;
34
37
  logger: import("@aws-sdk/types").Logger;
35
38
  defaultsMode:
36
39
  | import("@aws-sdk/smithy-client").DefaultsMode
37
- | import("@aws-sdk/types").Provider<
40
+ | import("@smithy/types").Provider<
38
41
  import("@aws-sdk/smithy-client").DefaultsMode
39
42
  >;
40
43
  endpoint?:
41
44
  | string
42
- | import("@aws-sdk/types").Endpoint
43
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
45
  | import("@aws-sdk/types").EndpointV2
45
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
47
+ import("@smithy/types").Provider<import("@smithy/types").Endpoint>)
48
+ | (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint)
49
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
50
+ import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)
46
51
  | undefined;
47
52
  endpointProvider: (
48
53
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
@@ -1,8 +1,8 @@
1
1
  import { ElastiCacheClientConfig } from "./ElastiCacheClient";
2
2
  export declare const getRuntimeConfig: (config: ElastiCacheClientConfig) => {
3
3
  apiVersion: string;
4
- base64Decoder: import("@aws-sdk/types").Decoder;
5
- base64Encoder: import("@aws-sdk/types").Encoder;
4
+ base64Decoder: import("@smithy/types").Decoder;
5
+ base64Encoder: import("@smithy/types").Encoder;
6
6
  disableHostPrefix: boolean;
7
7
  endpointProvider: (
8
8
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: ElastiCacheClientConfig) => {
13
13
  logger: import("@aws-sdk/types").Logger;
14
14
  serviceId: string;
15
15
  urlParser: import("@aws-sdk/types").UrlParser;
16
- utf8Decoder: import("@aws-sdk/types").Decoder;
17
- utf8Encoder: import("@aws-sdk/types").Encoder;
16
+ utf8Decoder: import("@smithy/types").Decoder;
17
+ utf8Encoder: import("@smithy/types").Encoder;
18
18
  };
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.329.0",
4
+ "version": "3.335.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.329.0",
24
+ "@aws-sdk/client-sts": "3.335.0",
25
25
  "@aws-sdk/config-resolver": "3.329.0",
26
- "@aws-sdk/credential-provider-node": "3.329.0",
26
+ "@aws-sdk/credential-provider-node": "3.335.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,10 +36,9 @@
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.329.0",
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
- "@aws-sdk/protocol-http": "3.329.0",
43
42
  "@aws-sdk/smithy-client": "3.329.0",
44
43
  "@aws-sdk/types": "3.329.0",
45
44
  "@aws-sdk/url-parser": "3.329.0",
@@ -48,12 +47,14 @@
48
47
  "@aws-sdk/util-body-length-node": "3.310.0",
49
48
  "@aws-sdk/util-defaults-mode-browser": "3.329.0",
50
49
  "@aws-sdk/util-defaults-mode-node": "3.329.0",
51
- "@aws-sdk/util-endpoints": "3.329.0",
50
+ "@aws-sdk/util-endpoints": "3.332.0",
52
51
  "@aws-sdk/util-retry": "3.329.0",
53
52
  "@aws-sdk/util-user-agent-browser": "3.329.0",
54
53
  "@aws-sdk/util-user-agent-node": "3.329.0",
55
54
  "@aws-sdk/util-utf8": "3.310.0",
56
55
  "@aws-sdk/util-waiter": "3.329.0",
56
+ "@smithy/protocol-http": "^1.0.1",
57
+ "@smithy/types": "^1.0.0",
57
58
  "fast-xml-parser": "4.1.2",
58
59
  "tslib": "^2.5.0"
59
60
  },