@aws-sdk/client-elasticache 3.301.0 → 3.306.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.
@@ -224,84 +224,71 @@ class ServiceUpdateNotFoundFault extends ElastiCacheServiceException_1.ElastiCac
224
224
  }
225
225
  }
226
226
  exports.ServiceUpdateNotFoundFault = ServiceUpdateNotFoundFault;
227
- var UpdateActionStatus;
228
- (function (UpdateActionStatus) {
229
- UpdateActionStatus["COMPLETE"] = "complete";
230
- UpdateActionStatus["IN_PROGRESS"] = "in-progress";
231
- UpdateActionStatus["NOT_APPLICABLE"] = "not-applicable";
232
- UpdateActionStatus["NOT_APPLIED"] = "not-applied";
233
- UpdateActionStatus["SCHEDULED"] = "scheduled";
234
- UpdateActionStatus["SCHEDULING"] = "scheduling";
235
- UpdateActionStatus["STOPPED"] = "stopped";
236
- UpdateActionStatus["STOPPING"] = "stopping";
237
- UpdateActionStatus["WAITING_TO_START"] = "waiting-to-start";
238
- })(UpdateActionStatus = exports.UpdateActionStatus || (exports.UpdateActionStatus = {}));
239
- var AutomaticFailoverStatus;
240
- (function (AutomaticFailoverStatus) {
241
- AutomaticFailoverStatus["DISABLED"] = "disabled";
242
- AutomaticFailoverStatus["DISABLING"] = "disabling";
243
- AutomaticFailoverStatus["ENABLED"] = "enabled";
244
- AutomaticFailoverStatus["ENABLING"] = "enabling";
245
- })(AutomaticFailoverStatus = exports.AutomaticFailoverStatus || (exports.AutomaticFailoverStatus = {}));
246
- var DataTieringStatus;
247
- (function (DataTieringStatus) {
248
- DataTieringStatus["DISABLED"] = "disabled";
249
- DataTieringStatus["ENABLED"] = "enabled";
250
- })(DataTieringStatus = exports.DataTieringStatus || (exports.DataTieringStatus = {}));
251
- var IpDiscovery;
252
- (function (IpDiscovery) {
253
- IpDiscovery["IPV4"] = "ipv4";
254
- IpDiscovery["IPV6"] = "ipv6";
255
- })(IpDiscovery = exports.IpDiscovery || (exports.IpDiscovery = {}));
256
- var DestinationType;
257
- (function (DestinationType) {
258
- DestinationType["CloudWatchLogs"] = "cloudwatch-logs";
259
- DestinationType["KinesisFirehose"] = "kinesis-firehose";
260
- })(DestinationType = exports.DestinationType || (exports.DestinationType = {}));
261
- var LogFormat;
262
- (function (LogFormat) {
263
- LogFormat["JSON"] = "json";
264
- LogFormat["TEXT"] = "text";
265
- })(LogFormat = exports.LogFormat || (exports.LogFormat = {}));
266
- var LogType;
267
- (function (LogType) {
268
- LogType["ENGINE_LOG"] = "engine-log";
269
- LogType["SLOW_LOG"] = "slow-log";
270
- })(LogType = exports.LogType || (exports.LogType = {}));
271
- var LogDeliveryConfigurationStatus;
272
- (function (LogDeliveryConfigurationStatus) {
273
- LogDeliveryConfigurationStatus["ACTIVE"] = "active";
274
- LogDeliveryConfigurationStatus["DISABLING"] = "disabling";
275
- LogDeliveryConfigurationStatus["ENABLING"] = "enabling";
276
- LogDeliveryConfigurationStatus["ERROR"] = "error";
277
- LogDeliveryConfigurationStatus["MODIFYING"] = "modifying";
278
- })(LogDeliveryConfigurationStatus = exports.LogDeliveryConfigurationStatus || (exports.LogDeliveryConfigurationStatus = {}));
279
- var MultiAZStatus;
280
- (function (MultiAZStatus) {
281
- MultiAZStatus["DISABLED"] = "disabled";
282
- MultiAZStatus["ENABLED"] = "enabled";
283
- })(MultiAZStatus = exports.MultiAZStatus || (exports.MultiAZStatus = {}));
284
- var NetworkType;
285
- (function (NetworkType) {
286
- NetworkType["DUAL_STACK"] = "dual_stack";
287
- NetworkType["IPV4"] = "ipv4";
288
- NetworkType["IPV6"] = "ipv6";
289
- })(NetworkType = exports.NetworkType || (exports.NetworkType = {}));
290
- var AuthTokenUpdateStatus;
291
- (function (AuthTokenUpdateStatus) {
292
- AuthTokenUpdateStatus["ROTATING"] = "ROTATING";
293
- AuthTokenUpdateStatus["SETTING"] = "SETTING";
294
- })(AuthTokenUpdateStatus = exports.AuthTokenUpdateStatus || (exports.AuthTokenUpdateStatus = {}));
295
- var PendingAutomaticFailoverStatus;
296
- (function (PendingAutomaticFailoverStatus) {
297
- PendingAutomaticFailoverStatus["DISABLED"] = "disabled";
298
- PendingAutomaticFailoverStatus["ENABLED"] = "enabled";
299
- })(PendingAutomaticFailoverStatus = exports.PendingAutomaticFailoverStatus || (exports.PendingAutomaticFailoverStatus = {}));
300
- var TransitEncryptionMode;
301
- (function (TransitEncryptionMode) {
302
- TransitEncryptionMode["PREFERRED"] = "preferred";
303
- TransitEncryptionMode["REQUIRED"] = "required";
304
- })(TransitEncryptionMode = exports.TransitEncryptionMode || (exports.TransitEncryptionMode = {}));
227
+ exports.UpdateActionStatus = {
228
+ COMPLETE: "complete",
229
+ IN_PROGRESS: "in-progress",
230
+ NOT_APPLICABLE: "not-applicable",
231
+ NOT_APPLIED: "not-applied",
232
+ SCHEDULED: "scheduled",
233
+ SCHEDULING: "scheduling",
234
+ STOPPED: "stopped",
235
+ STOPPING: "stopping",
236
+ WAITING_TO_START: "waiting-to-start",
237
+ };
238
+ exports.AutomaticFailoverStatus = {
239
+ DISABLED: "disabled",
240
+ DISABLING: "disabling",
241
+ ENABLED: "enabled",
242
+ ENABLING: "enabling",
243
+ };
244
+ exports.DataTieringStatus = {
245
+ DISABLED: "disabled",
246
+ ENABLED: "enabled",
247
+ };
248
+ exports.IpDiscovery = {
249
+ IPV4: "ipv4",
250
+ IPV6: "ipv6",
251
+ };
252
+ exports.DestinationType = {
253
+ CloudWatchLogs: "cloudwatch-logs",
254
+ KinesisFirehose: "kinesis-firehose",
255
+ };
256
+ exports.LogFormat = {
257
+ JSON: "json",
258
+ TEXT: "text",
259
+ };
260
+ exports.LogType = {
261
+ ENGINE_LOG: "engine-log",
262
+ SLOW_LOG: "slow-log",
263
+ };
264
+ exports.LogDeliveryConfigurationStatus = {
265
+ ACTIVE: "active",
266
+ DISABLING: "disabling",
267
+ ENABLING: "enabling",
268
+ ERROR: "error",
269
+ MODIFYING: "modifying",
270
+ };
271
+ exports.MultiAZStatus = {
272
+ DISABLED: "disabled",
273
+ ENABLED: "enabled",
274
+ };
275
+ exports.NetworkType = {
276
+ DUAL_STACK: "dual_stack",
277
+ IPV4: "ipv4",
278
+ IPV6: "ipv6",
279
+ };
280
+ exports.AuthTokenUpdateStatus = {
281
+ ROTATING: "ROTATING",
282
+ SETTING: "SETTING",
283
+ };
284
+ exports.PendingAutomaticFailoverStatus = {
285
+ DISABLED: "disabled",
286
+ ENABLED: "enabled",
287
+ };
288
+ exports.TransitEncryptionMode = {
289
+ PREFERRED: "preferred",
290
+ REQUIRED: "required",
291
+ };
305
292
  class ReplicationGroupNotUnderMigrationFault extends ElastiCacheServiceException_1.ElastiCacheServiceException {
306
293
  constructor(opts) {
307
294
  super({
@@ -380,16 +367,14 @@ class ClusterQuotaForCustomerExceededFault extends ElastiCacheServiceException_1
380
367
  }
381
368
  }
382
369
  exports.ClusterQuotaForCustomerExceededFault = ClusterQuotaForCustomerExceededFault;
383
- var AZMode;
384
- (function (AZMode) {
385
- AZMode["CROSS_AZ"] = "cross-az";
386
- AZMode["SINGLE_AZ"] = "single-az";
387
- })(AZMode = exports.AZMode || (exports.AZMode = {}));
388
- var OutpostMode;
389
- (function (OutpostMode) {
390
- OutpostMode["CROSS_OUTPOST"] = "cross-outpost";
391
- OutpostMode["SINGLE_OUTPOST"] = "single-outpost";
392
- })(OutpostMode = exports.OutpostMode || (exports.OutpostMode = {}));
370
+ exports.AZMode = {
371
+ CROSS_AZ: "cross-az",
372
+ SINGLE_AZ: "single-az",
373
+ };
374
+ exports.OutpostMode = {
375
+ CROSS_OUTPOST: "cross-outpost",
376
+ SINGLE_OUTPOST: "single-outpost",
377
+ };
393
378
  class InsufficientCacheClusterCapacityFault extends ElastiCacheServiceException_1.ElastiCacheServiceException {
394
379
  constructor(opts) {
395
380
  super({
@@ -689,12 +674,11 @@ class SnapshotFeatureNotSupportedFault extends ElastiCacheServiceException_1.Ela
689
674
  }
690
675
  }
691
676
  exports.SnapshotFeatureNotSupportedFault = SnapshotFeatureNotSupportedFault;
692
- var InputAuthenticationType;
693
- (function (InputAuthenticationType) {
694
- InputAuthenticationType["IAM"] = "iam";
695
- InputAuthenticationType["NO_PASSWORD"] = "no-password-required";
696
- InputAuthenticationType["PASSWORD"] = "password";
697
- })(InputAuthenticationType = exports.InputAuthenticationType || (exports.InputAuthenticationType = {}));
677
+ exports.InputAuthenticationType = {
678
+ IAM: "iam",
679
+ NO_PASSWORD: "no-password-required",
680
+ PASSWORD: "password",
681
+ };
698
682
  class DuplicateUserNameFault extends ElastiCacheServiceException_1.ElastiCacheServiceException {
699
683
  constructor(opts) {
700
684
  super({
@@ -708,12 +692,11 @@ class DuplicateUserNameFault extends ElastiCacheServiceException_1.ElastiCacheSe
708
692
  }
709
693
  }
710
694
  exports.DuplicateUserNameFault = DuplicateUserNameFault;
711
- var AuthenticationType;
712
- (function (AuthenticationType) {
713
- AuthenticationType["IAM"] = "iam";
714
- AuthenticationType["NO_PASSWORD"] = "no-password";
715
- AuthenticationType["PASSWORD"] = "password";
716
- })(AuthenticationType = exports.AuthenticationType || (exports.AuthenticationType = {}));
695
+ exports.AuthenticationType = {
696
+ IAM: "iam",
697
+ NO_PASSWORD: "no-password",
698
+ PASSWORD: "password",
699
+ };
717
700
  class UserAlreadyExistsFault extends ElastiCacheServiceException_1.ElastiCacheServiceException {
718
701
  constructor(opts) {
719
702
  super({
@@ -831,21 +814,19 @@ class InvalidUserStateFault extends ElastiCacheServiceException_1.ElastiCacheSer
831
814
  }
832
815
  }
833
816
  exports.InvalidUserStateFault = InvalidUserStateFault;
834
- var ChangeType;
835
- (function (ChangeType) {
836
- ChangeType["immediate"] = "immediate";
837
- ChangeType["requires_reboot"] = "requires-reboot";
838
- })(ChangeType = exports.ChangeType || (exports.ChangeType = {}));
839
- var SourceType;
840
- (function (SourceType) {
841
- SourceType["cache_cluster"] = "cache-cluster";
842
- SourceType["cache_parameter_group"] = "cache-parameter-group";
843
- SourceType["cache_security_group"] = "cache-security-group";
844
- SourceType["cache_subnet_group"] = "cache-subnet-group";
845
- SourceType["replication_group"] = "replication-group";
846
- SourceType["user"] = "user";
847
- SourceType["user_group"] = "user-group";
848
- })(SourceType = exports.SourceType || (exports.SourceType = {}));
817
+ exports.ChangeType = {
818
+ immediate: "immediate",
819
+ requires_reboot: "requires-reboot",
820
+ };
821
+ exports.SourceType = {
822
+ cache_cluster: "cache-cluster",
823
+ cache_parameter_group: "cache-parameter-group",
824
+ cache_security_group: "cache-security-group",
825
+ cache_subnet_group: "cache-subnet-group",
826
+ replication_group: "replication-group",
827
+ user: "user",
828
+ user_group: "user-group",
829
+ };
849
830
  class ReservedCacheNodesOfferingNotFoundFault extends ElastiCacheServiceException_1.ElastiCacheServiceException {
850
831
  constructor(opts) {
851
832
  super({
@@ -859,43 +840,37 @@ class ReservedCacheNodesOfferingNotFoundFault extends ElastiCacheServiceExceptio
859
840
  }
860
841
  }
861
842
  exports.ReservedCacheNodesOfferingNotFoundFault = ReservedCacheNodesOfferingNotFoundFault;
862
- var ServiceUpdateStatus;
863
- (function (ServiceUpdateStatus) {
864
- ServiceUpdateStatus["AVAILABLE"] = "available";
865
- ServiceUpdateStatus["CANCELLED"] = "cancelled";
866
- ServiceUpdateStatus["EXPIRED"] = "expired";
867
- })(ServiceUpdateStatus = exports.ServiceUpdateStatus || (exports.ServiceUpdateStatus = {}));
868
- var ServiceUpdateSeverity;
869
- (function (ServiceUpdateSeverity) {
870
- ServiceUpdateSeverity["CRITICAL"] = "critical";
871
- ServiceUpdateSeverity["IMPORTANT"] = "important";
872
- ServiceUpdateSeverity["LOW"] = "low";
873
- ServiceUpdateSeverity["MEDIUM"] = "medium";
874
- })(ServiceUpdateSeverity = exports.ServiceUpdateSeverity || (exports.ServiceUpdateSeverity = {}));
875
- var ServiceUpdateType;
876
- (function (ServiceUpdateType) {
877
- ServiceUpdateType["SECURITY_UPDATE"] = "security-update";
878
- })(ServiceUpdateType = exports.ServiceUpdateType || (exports.ServiceUpdateType = {}));
879
- var NodeUpdateInitiatedBy;
880
- (function (NodeUpdateInitiatedBy) {
881
- NodeUpdateInitiatedBy["CUSTOMER"] = "customer";
882
- NodeUpdateInitiatedBy["SYSTEM"] = "system";
883
- })(NodeUpdateInitiatedBy = exports.NodeUpdateInitiatedBy || (exports.NodeUpdateInitiatedBy = {}));
884
- var NodeUpdateStatus;
885
- (function (NodeUpdateStatus) {
886
- NodeUpdateStatus["COMPLETE"] = "complete";
887
- NodeUpdateStatus["IN_PROGRESS"] = "in-progress";
888
- NodeUpdateStatus["NOT_APPLIED"] = "not-applied";
889
- NodeUpdateStatus["STOPPED"] = "stopped";
890
- NodeUpdateStatus["STOPPING"] = "stopping";
891
- NodeUpdateStatus["WAITING_TO_START"] = "waiting-to-start";
892
- })(NodeUpdateStatus = exports.NodeUpdateStatus || (exports.NodeUpdateStatus = {}));
893
- var SlaMet;
894
- (function (SlaMet) {
895
- SlaMet["NA"] = "n/a";
896
- SlaMet["NO"] = "no";
897
- SlaMet["YES"] = "yes";
898
- })(SlaMet = exports.SlaMet || (exports.SlaMet = {}));
843
+ exports.ServiceUpdateStatus = {
844
+ AVAILABLE: "available",
845
+ CANCELLED: "cancelled",
846
+ EXPIRED: "expired",
847
+ };
848
+ exports.ServiceUpdateSeverity = {
849
+ CRITICAL: "critical",
850
+ IMPORTANT: "important",
851
+ LOW: "low",
852
+ MEDIUM: "medium",
853
+ };
854
+ exports.ServiceUpdateType = {
855
+ SECURITY_UPDATE: "security-update",
856
+ };
857
+ exports.NodeUpdateInitiatedBy = {
858
+ CUSTOMER: "customer",
859
+ SYSTEM: "system",
860
+ };
861
+ exports.NodeUpdateStatus = {
862
+ COMPLETE: "complete",
863
+ IN_PROGRESS: "in-progress",
864
+ NOT_APPLIED: "not-applied",
865
+ STOPPED: "stopped",
866
+ STOPPING: "stopping",
867
+ WAITING_TO_START: "waiting-to-start",
868
+ };
869
+ exports.SlaMet = {
870
+ NA: "n/a",
871
+ NO: "no",
872
+ YES: "yes",
873
+ };
899
874
  class InvalidKMSKeyFault extends ElastiCacheServiceException_1.ElastiCacheServiceException {
900
875
  constructor(opts) {
901
876
  super({
@@ -909,12 +884,11 @@ class InvalidKMSKeyFault extends ElastiCacheServiceException_1.ElastiCacheServic
909
884
  }
910
885
  }
911
886
  exports.InvalidKMSKeyFault = InvalidKMSKeyFault;
912
- var AuthTokenUpdateStrategyType;
913
- (function (AuthTokenUpdateStrategyType) {
914
- AuthTokenUpdateStrategyType["DELETE"] = "DELETE";
915
- AuthTokenUpdateStrategyType["ROTATE"] = "ROTATE";
916
- AuthTokenUpdateStrategyType["SET"] = "SET";
917
- })(AuthTokenUpdateStrategyType = exports.AuthTokenUpdateStrategyType || (exports.AuthTokenUpdateStrategyType = {}));
887
+ exports.AuthTokenUpdateStrategyType = {
888
+ DELETE: "DELETE",
889
+ ROTATE: "ROTATE",
890
+ SET: "SET",
891
+ };
918
892
  class SubnetInUse extends ElastiCacheServiceException_1.ElastiCacheServiceException {
919
893
  constructor(opts) {
920
894
  super({