@aws-sdk/client-elasticache 3.301.0 → 3.303.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.
@@ -203,84 +203,71 @@ export class ServiceUpdateNotFoundFault extends __BaseException {
203
203
  Object.setPrototypeOf(this, ServiceUpdateNotFoundFault.prototype);
204
204
  }
205
205
  }
206
- export var UpdateActionStatus;
207
- (function (UpdateActionStatus) {
208
- UpdateActionStatus["COMPLETE"] = "complete";
209
- UpdateActionStatus["IN_PROGRESS"] = "in-progress";
210
- UpdateActionStatus["NOT_APPLICABLE"] = "not-applicable";
211
- UpdateActionStatus["NOT_APPLIED"] = "not-applied";
212
- UpdateActionStatus["SCHEDULED"] = "scheduled";
213
- UpdateActionStatus["SCHEDULING"] = "scheduling";
214
- UpdateActionStatus["STOPPED"] = "stopped";
215
- UpdateActionStatus["STOPPING"] = "stopping";
216
- UpdateActionStatus["WAITING_TO_START"] = "waiting-to-start";
217
- })(UpdateActionStatus || (UpdateActionStatus = {}));
218
- export var AutomaticFailoverStatus;
219
- (function (AutomaticFailoverStatus) {
220
- AutomaticFailoverStatus["DISABLED"] = "disabled";
221
- AutomaticFailoverStatus["DISABLING"] = "disabling";
222
- AutomaticFailoverStatus["ENABLED"] = "enabled";
223
- AutomaticFailoverStatus["ENABLING"] = "enabling";
224
- })(AutomaticFailoverStatus || (AutomaticFailoverStatus = {}));
225
- export var DataTieringStatus;
226
- (function (DataTieringStatus) {
227
- DataTieringStatus["DISABLED"] = "disabled";
228
- DataTieringStatus["ENABLED"] = "enabled";
229
- })(DataTieringStatus || (DataTieringStatus = {}));
230
- export var IpDiscovery;
231
- (function (IpDiscovery) {
232
- IpDiscovery["IPV4"] = "ipv4";
233
- IpDiscovery["IPV6"] = "ipv6";
234
- })(IpDiscovery || (IpDiscovery = {}));
235
- export var DestinationType;
236
- (function (DestinationType) {
237
- DestinationType["CloudWatchLogs"] = "cloudwatch-logs";
238
- DestinationType["KinesisFirehose"] = "kinesis-firehose";
239
- })(DestinationType || (DestinationType = {}));
240
- export var LogFormat;
241
- (function (LogFormat) {
242
- LogFormat["JSON"] = "json";
243
- LogFormat["TEXT"] = "text";
244
- })(LogFormat || (LogFormat = {}));
245
- export var LogType;
246
- (function (LogType) {
247
- LogType["ENGINE_LOG"] = "engine-log";
248
- LogType["SLOW_LOG"] = "slow-log";
249
- })(LogType || (LogType = {}));
250
- export var LogDeliveryConfigurationStatus;
251
- (function (LogDeliveryConfigurationStatus) {
252
- LogDeliveryConfigurationStatus["ACTIVE"] = "active";
253
- LogDeliveryConfigurationStatus["DISABLING"] = "disabling";
254
- LogDeliveryConfigurationStatus["ENABLING"] = "enabling";
255
- LogDeliveryConfigurationStatus["ERROR"] = "error";
256
- LogDeliveryConfigurationStatus["MODIFYING"] = "modifying";
257
- })(LogDeliveryConfigurationStatus || (LogDeliveryConfigurationStatus = {}));
258
- export var MultiAZStatus;
259
- (function (MultiAZStatus) {
260
- MultiAZStatus["DISABLED"] = "disabled";
261
- MultiAZStatus["ENABLED"] = "enabled";
262
- })(MultiAZStatus || (MultiAZStatus = {}));
263
- export var NetworkType;
264
- (function (NetworkType) {
265
- NetworkType["DUAL_STACK"] = "dual_stack";
266
- NetworkType["IPV4"] = "ipv4";
267
- NetworkType["IPV6"] = "ipv6";
268
- })(NetworkType || (NetworkType = {}));
269
- export var AuthTokenUpdateStatus;
270
- (function (AuthTokenUpdateStatus) {
271
- AuthTokenUpdateStatus["ROTATING"] = "ROTATING";
272
- AuthTokenUpdateStatus["SETTING"] = "SETTING";
273
- })(AuthTokenUpdateStatus || (AuthTokenUpdateStatus = {}));
274
- export var PendingAutomaticFailoverStatus;
275
- (function (PendingAutomaticFailoverStatus) {
276
- PendingAutomaticFailoverStatus["DISABLED"] = "disabled";
277
- PendingAutomaticFailoverStatus["ENABLED"] = "enabled";
278
- })(PendingAutomaticFailoverStatus || (PendingAutomaticFailoverStatus = {}));
279
- export var TransitEncryptionMode;
280
- (function (TransitEncryptionMode) {
281
- TransitEncryptionMode["PREFERRED"] = "preferred";
282
- TransitEncryptionMode["REQUIRED"] = "required";
283
- })(TransitEncryptionMode || (TransitEncryptionMode = {}));
206
+ export const UpdateActionStatus = {
207
+ COMPLETE: "complete",
208
+ IN_PROGRESS: "in-progress",
209
+ NOT_APPLICABLE: "not-applicable",
210
+ NOT_APPLIED: "not-applied",
211
+ SCHEDULED: "scheduled",
212
+ SCHEDULING: "scheduling",
213
+ STOPPED: "stopped",
214
+ STOPPING: "stopping",
215
+ WAITING_TO_START: "waiting-to-start",
216
+ };
217
+ export const AutomaticFailoverStatus = {
218
+ DISABLED: "disabled",
219
+ DISABLING: "disabling",
220
+ ENABLED: "enabled",
221
+ ENABLING: "enabling",
222
+ };
223
+ export const DataTieringStatus = {
224
+ DISABLED: "disabled",
225
+ ENABLED: "enabled",
226
+ };
227
+ export const IpDiscovery = {
228
+ IPV4: "ipv4",
229
+ IPV6: "ipv6",
230
+ };
231
+ export const DestinationType = {
232
+ CloudWatchLogs: "cloudwatch-logs",
233
+ KinesisFirehose: "kinesis-firehose",
234
+ };
235
+ export const LogFormat = {
236
+ JSON: "json",
237
+ TEXT: "text",
238
+ };
239
+ export const LogType = {
240
+ ENGINE_LOG: "engine-log",
241
+ SLOW_LOG: "slow-log",
242
+ };
243
+ export const LogDeliveryConfigurationStatus = {
244
+ ACTIVE: "active",
245
+ DISABLING: "disabling",
246
+ ENABLING: "enabling",
247
+ ERROR: "error",
248
+ MODIFYING: "modifying",
249
+ };
250
+ export const MultiAZStatus = {
251
+ DISABLED: "disabled",
252
+ ENABLED: "enabled",
253
+ };
254
+ export const NetworkType = {
255
+ DUAL_STACK: "dual_stack",
256
+ IPV4: "ipv4",
257
+ IPV6: "ipv6",
258
+ };
259
+ export const AuthTokenUpdateStatus = {
260
+ ROTATING: "ROTATING",
261
+ SETTING: "SETTING",
262
+ };
263
+ export const PendingAutomaticFailoverStatus = {
264
+ DISABLED: "disabled",
265
+ ENABLED: "enabled",
266
+ };
267
+ export const TransitEncryptionMode = {
268
+ PREFERRED: "preferred",
269
+ REQUIRED: "required",
270
+ };
284
271
  export class ReplicationGroupNotUnderMigrationFault extends __BaseException {
285
272
  constructor(opts) {
286
273
  super({
@@ -353,16 +340,14 @@ export class ClusterQuotaForCustomerExceededFault extends __BaseException {
353
340
  Object.setPrototypeOf(this, ClusterQuotaForCustomerExceededFault.prototype);
354
341
  }
355
342
  }
356
- export var AZMode;
357
- (function (AZMode) {
358
- AZMode["CROSS_AZ"] = "cross-az";
359
- AZMode["SINGLE_AZ"] = "single-az";
360
- })(AZMode || (AZMode = {}));
361
- export var OutpostMode;
362
- (function (OutpostMode) {
363
- OutpostMode["CROSS_OUTPOST"] = "cross-outpost";
364
- OutpostMode["SINGLE_OUTPOST"] = "single-outpost";
365
- })(OutpostMode || (OutpostMode = {}));
343
+ export const AZMode = {
344
+ CROSS_AZ: "cross-az",
345
+ SINGLE_AZ: "single-az",
346
+ };
347
+ export const OutpostMode = {
348
+ CROSS_OUTPOST: "cross-outpost",
349
+ SINGLE_OUTPOST: "single-outpost",
350
+ };
366
351
  export class InsufficientCacheClusterCapacityFault extends __BaseException {
367
352
  constructor(opts) {
368
353
  super({
@@ -639,12 +624,11 @@ export class SnapshotFeatureNotSupportedFault extends __BaseException {
639
624
  Object.setPrototypeOf(this, SnapshotFeatureNotSupportedFault.prototype);
640
625
  }
641
626
  }
642
- export var InputAuthenticationType;
643
- (function (InputAuthenticationType) {
644
- InputAuthenticationType["IAM"] = "iam";
645
- InputAuthenticationType["NO_PASSWORD"] = "no-password-required";
646
- InputAuthenticationType["PASSWORD"] = "password";
647
- })(InputAuthenticationType || (InputAuthenticationType = {}));
627
+ export const InputAuthenticationType = {
628
+ IAM: "iam",
629
+ NO_PASSWORD: "no-password-required",
630
+ PASSWORD: "password",
631
+ };
648
632
  export class DuplicateUserNameFault extends __BaseException {
649
633
  constructor(opts) {
650
634
  super({
@@ -657,12 +641,11 @@ export class DuplicateUserNameFault extends __BaseException {
657
641
  Object.setPrototypeOf(this, DuplicateUserNameFault.prototype);
658
642
  }
659
643
  }
660
- export var AuthenticationType;
661
- (function (AuthenticationType) {
662
- AuthenticationType["IAM"] = "iam";
663
- AuthenticationType["NO_PASSWORD"] = "no-password";
664
- AuthenticationType["PASSWORD"] = "password";
665
- })(AuthenticationType || (AuthenticationType = {}));
644
+ export const AuthenticationType = {
645
+ IAM: "iam",
646
+ NO_PASSWORD: "no-password",
647
+ PASSWORD: "password",
648
+ };
666
649
  export class UserAlreadyExistsFault extends __BaseException {
667
650
  constructor(opts) {
668
651
  super({
@@ -771,21 +754,19 @@ export class InvalidUserStateFault extends __BaseException {
771
754
  Object.setPrototypeOf(this, InvalidUserStateFault.prototype);
772
755
  }
773
756
  }
774
- export var ChangeType;
775
- (function (ChangeType) {
776
- ChangeType["immediate"] = "immediate";
777
- ChangeType["requires_reboot"] = "requires-reboot";
778
- })(ChangeType || (ChangeType = {}));
779
- export var SourceType;
780
- (function (SourceType) {
781
- SourceType["cache_cluster"] = "cache-cluster";
782
- SourceType["cache_parameter_group"] = "cache-parameter-group";
783
- SourceType["cache_security_group"] = "cache-security-group";
784
- SourceType["cache_subnet_group"] = "cache-subnet-group";
785
- SourceType["replication_group"] = "replication-group";
786
- SourceType["user"] = "user";
787
- SourceType["user_group"] = "user-group";
788
- })(SourceType || (SourceType = {}));
757
+ export const ChangeType = {
758
+ immediate: "immediate",
759
+ requires_reboot: "requires-reboot",
760
+ };
761
+ export const SourceType = {
762
+ cache_cluster: "cache-cluster",
763
+ cache_parameter_group: "cache-parameter-group",
764
+ cache_security_group: "cache-security-group",
765
+ cache_subnet_group: "cache-subnet-group",
766
+ replication_group: "replication-group",
767
+ user: "user",
768
+ user_group: "user-group",
769
+ };
789
770
  export class ReservedCacheNodesOfferingNotFoundFault extends __BaseException {
790
771
  constructor(opts) {
791
772
  super({
@@ -798,43 +779,37 @@ export class ReservedCacheNodesOfferingNotFoundFault extends __BaseException {
798
779
  Object.setPrototypeOf(this, ReservedCacheNodesOfferingNotFoundFault.prototype);
799
780
  }
800
781
  }
801
- export var ServiceUpdateStatus;
802
- (function (ServiceUpdateStatus) {
803
- ServiceUpdateStatus["AVAILABLE"] = "available";
804
- ServiceUpdateStatus["CANCELLED"] = "cancelled";
805
- ServiceUpdateStatus["EXPIRED"] = "expired";
806
- })(ServiceUpdateStatus || (ServiceUpdateStatus = {}));
807
- export var ServiceUpdateSeverity;
808
- (function (ServiceUpdateSeverity) {
809
- ServiceUpdateSeverity["CRITICAL"] = "critical";
810
- ServiceUpdateSeverity["IMPORTANT"] = "important";
811
- ServiceUpdateSeverity["LOW"] = "low";
812
- ServiceUpdateSeverity["MEDIUM"] = "medium";
813
- })(ServiceUpdateSeverity || (ServiceUpdateSeverity = {}));
814
- export var ServiceUpdateType;
815
- (function (ServiceUpdateType) {
816
- ServiceUpdateType["SECURITY_UPDATE"] = "security-update";
817
- })(ServiceUpdateType || (ServiceUpdateType = {}));
818
- export var NodeUpdateInitiatedBy;
819
- (function (NodeUpdateInitiatedBy) {
820
- NodeUpdateInitiatedBy["CUSTOMER"] = "customer";
821
- NodeUpdateInitiatedBy["SYSTEM"] = "system";
822
- })(NodeUpdateInitiatedBy || (NodeUpdateInitiatedBy = {}));
823
- export var NodeUpdateStatus;
824
- (function (NodeUpdateStatus) {
825
- NodeUpdateStatus["COMPLETE"] = "complete";
826
- NodeUpdateStatus["IN_PROGRESS"] = "in-progress";
827
- NodeUpdateStatus["NOT_APPLIED"] = "not-applied";
828
- NodeUpdateStatus["STOPPED"] = "stopped";
829
- NodeUpdateStatus["STOPPING"] = "stopping";
830
- NodeUpdateStatus["WAITING_TO_START"] = "waiting-to-start";
831
- })(NodeUpdateStatus || (NodeUpdateStatus = {}));
832
- export var SlaMet;
833
- (function (SlaMet) {
834
- SlaMet["NA"] = "n/a";
835
- SlaMet["NO"] = "no";
836
- SlaMet["YES"] = "yes";
837
- })(SlaMet || (SlaMet = {}));
782
+ export const ServiceUpdateStatus = {
783
+ AVAILABLE: "available",
784
+ CANCELLED: "cancelled",
785
+ EXPIRED: "expired",
786
+ };
787
+ export const ServiceUpdateSeverity = {
788
+ CRITICAL: "critical",
789
+ IMPORTANT: "important",
790
+ LOW: "low",
791
+ MEDIUM: "medium",
792
+ };
793
+ export const ServiceUpdateType = {
794
+ SECURITY_UPDATE: "security-update",
795
+ };
796
+ export const NodeUpdateInitiatedBy = {
797
+ CUSTOMER: "customer",
798
+ SYSTEM: "system",
799
+ };
800
+ export const NodeUpdateStatus = {
801
+ COMPLETE: "complete",
802
+ IN_PROGRESS: "in-progress",
803
+ NOT_APPLIED: "not-applied",
804
+ STOPPED: "stopped",
805
+ STOPPING: "stopping",
806
+ WAITING_TO_START: "waiting-to-start",
807
+ };
808
+ export const SlaMet = {
809
+ NA: "n/a",
810
+ NO: "no",
811
+ YES: "yes",
812
+ };
838
813
  export class InvalidKMSKeyFault extends __BaseException {
839
814
  constructor(opts) {
840
815
  super({
@@ -847,12 +822,11 @@ export class InvalidKMSKeyFault extends __BaseException {
847
822
  Object.setPrototypeOf(this, InvalidKMSKeyFault.prototype);
848
823
  }
849
824
  }
850
- export var AuthTokenUpdateStrategyType;
851
- (function (AuthTokenUpdateStrategyType) {
852
- AuthTokenUpdateStrategyType["DELETE"] = "DELETE";
853
- AuthTokenUpdateStrategyType["ROTATE"] = "ROTATE";
854
- AuthTokenUpdateStrategyType["SET"] = "SET";
855
- })(AuthTokenUpdateStrategyType || (AuthTokenUpdateStrategyType = {}));
825
+ export const AuthTokenUpdateStrategyType = {
826
+ DELETE: "DELETE",
827
+ ROTATE: "ROTATE",
828
+ SET: "SET",
829
+ };
856
830
  export class SubnetInUse extends __BaseException {
857
831
  constructor(opts) {
858
832
  super({