@aws-sdk/client-elasticache 3.933.0 → 3.935.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -370,76 +370,6 @@ let ServiceUpdateNotFoundFault$1 = class ServiceUpdateNotFoundFault extends Elas
370
370
  Object.setPrototypeOf(this, ServiceUpdateNotFoundFault.prototype);
371
371
  }
372
372
  };
373
- const UpdateActionStatus = {
374
- COMPLETE: "complete",
375
- IN_PROGRESS: "in-progress",
376
- NOT_APPLICABLE: "not-applicable",
377
- NOT_APPLIED: "not-applied",
378
- SCHEDULED: "scheduled",
379
- SCHEDULING: "scheduling",
380
- STOPPED: "stopped",
381
- STOPPING: "stopping",
382
- WAITING_TO_START: "waiting-to-start",
383
- };
384
- const AutomaticFailoverStatus = {
385
- DISABLED: "disabled",
386
- DISABLING: "disabling",
387
- ENABLED: "enabled",
388
- ENABLING: "enabling",
389
- };
390
- const ClusterMode = {
391
- COMPATIBLE: "compatible",
392
- DISABLED: "disabled",
393
- ENABLED: "enabled",
394
- };
395
- const DataTieringStatus = {
396
- DISABLED: "disabled",
397
- ENABLED: "enabled",
398
- };
399
- const IpDiscovery = {
400
- IPV4: "ipv4",
401
- IPV6: "ipv6",
402
- };
403
- const DestinationType = {
404
- CloudWatchLogs: "cloudwatch-logs",
405
- KinesisFirehose: "kinesis-firehose",
406
- };
407
- const LogFormat = {
408
- JSON: "json",
409
- TEXT: "text",
410
- };
411
- const LogType = {
412
- ENGINE_LOG: "engine-log",
413
- SLOW_LOG: "slow-log",
414
- };
415
- const LogDeliveryConfigurationStatus = {
416
- ACTIVE: "active",
417
- DISABLING: "disabling",
418
- ENABLING: "enabling",
419
- ERROR: "error",
420
- MODIFYING: "modifying",
421
- };
422
- const MultiAZStatus = {
423
- DISABLED: "disabled",
424
- ENABLED: "enabled",
425
- };
426
- const NetworkType = {
427
- DUAL_STACK: "dual_stack",
428
- IPV4: "ipv4",
429
- IPV6: "ipv6",
430
- };
431
- const AuthTokenUpdateStatus = {
432
- ROTATING: "ROTATING",
433
- SETTING: "SETTING",
434
- };
435
- const PendingAutomaticFailoverStatus = {
436
- DISABLED: "disabled",
437
- ENABLED: "enabled",
438
- };
439
- const TransitEncryptionMode = {
440
- PREFERRED: "preferred",
441
- REQUIRED: "required",
442
- };
443
373
  let ReplicationGroupNotUnderMigrationFault$1 = class ReplicationGroupNotUnderMigrationFault extends ElastiCacheServiceException$1 {
444
374
  name = "ReplicationGroupNotUnderMigrationFault";
445
375
  $fault = "client";
@@ -548,14 +478,6 @@ let ClusterQuotaForCustomerExceededFault$1 = class ClusterQuotaForCustomerExceed
548
478
  Object.setPrototypeOf(this, ClusterQuotaForCustomerExceededFault.prototype);
549
479
  }
550
480
  };
551
- const AZMode = {
552
- CROSS_AZ: "cross-az",
553
- SINGLE_AZ: "single-az",
554
- };
555
- const OutpostMode = {
556
- CROSS_OUTPOST: "cross-outpost",
557
- SINGLE_OUTPOST: "single-outpost",
558
- };
559
481
  let InsufficientCacheClusterCapacityFault$1 = class InsufficientCacheClusterCapacityFault extends ElastiCacheServiceException$1 {
560
482
  name = "InsufficientCacheClusterCapacityFault";
561
483
  $fault = "client";
@@ -808,9 +730,6 @@ let ReplicationGroupAlreadyExistsFault$1 = class ReplicationGroupAlreadyExistsFa
808
730
  Object.setPrototypeOf(this, ReplicationGroupAlreadyExistsFault.prototype);
809
731
  }
810
732
  };
811
- const DataStorageUnit = {
812
- GB: "GB",
813
- };
814
733
  let InvalidCredentialsException$1 = class InvalidCredentialsException extends ElastiCacheServiceException$1 {
815
734
  name = "InvalidCredentialsException";
816
735
  $fault = "client";
@@ -859,11 +778,6 @@ let SnapshotFeatureNotSupportedFault$1 = class SnapshotFeatureNotSupportedFault
859
778
  Object.setPrototypeOf(this, SnapshotFeatureNotSupportedFault.prototype);
860
779
  }
861
780
  };
862
- const InputAuthenticationType = {
863
- IAM: "iam",
864
- NO_PASSWORD: "no-password-required",
865
- PASSWORD: "password",
866
- };
867
781
  let DuplicateUserNameFault$1 = class DuplicateUserNameFault extends ElastiCacheServiceException$1 {
868
782
  name = "DuplicateUserNameFault";
869
783
  $fault = "client";
@@ -876,11 +790,6 @@ let DuplicateUserNameFault$1 = class DuplicateUserNameFault extends ElastiCacheS
876
790
  Object.setPrototypeOf(this, DuplicateUserNameFault.prototype);
877
791
  }
878
792
  };
879
- const AuthenticationType = {
880
- IAM: "iam",
881
- NO_PASSWORD: "no-password",
882
- PASSWORD: "password",
883
- };
884
793
  let UserAlreadyExistsFault$1 = class UserAlreadyExistsFault extends ElastiCacheServiceException$1 {
885
794
  name = "UserAlreadyExistsFault";
886
795
  $fault = "client";
@@ -989,21 +898,6 @@ let InvalidUserStateFault$1 = class InvalidUserStateFault extends ElastiCacheSer
989
898
  Object.setPrototypeOf(this, InvalidUserStateFault.prototype);
990
899
  }
991
900
  };
992
- const ChangeType = {
993
- immediate: "immediate",
994
- requires_reboot: "requires-reboot",
995
- };
996
- const SourceType = {
997
- cache_cluster: "cache-cluster",
998
- cache_parameter_group: "cache-parameter-group",
999
- cache_security_group: "cache-security-group",
1000
- cache_subnet_group: "cache-subnet-group",
1001
- replication_group: "replication-group",
1002
- serverless_cache: "serverless-cache",
1003
- serverless_cache_snapshot: "serverless-cache-snapshot",
1004
- user: "user",
1005
- user_group: "user-group",
1006
- };
1007
901
  let ReservedCacheNodesOfferingNotFoundFault$1 = class ReservedCacheNodesOfferingNotFoundFault extends ElastiCacheServiceException$1 {
1008
902
  name = "ReservedCacheNodesOfferingNotFoundFault";
1009
903
  $fault = "client";
@@ -1016,37 +910,6 @@ let ReservedCacheNodesOfferingNotFoundFault$1 = class ReservedCacheNodesOffering
1016
910
  Object.setPrototypeOf(this, ReservedCacheNodesOfferingNotFoundFault.prototype);
1017
911
  }
1018
912
  };
1019
- const ServiceUpdateStatus = {
1020
- AVAILABLE: "available",
1021
- CANCELLED: "cancelled",
1022
- EXPIRED: "expired",
1023
- };
1024
- const ServiceUpdateSeverity = {
1025
- CRITICAL: "critical",
1026
- IMPORTANT: "important",
1027
- LOW: "low",
1028
- MEDIUM: "medium",
1029
- };
1030
- const ServiceUpdateType = {
1031
- SECURITY_UPDATE: "security-update",
1032
- };
1033
- const NodeUpdateInitiatedBy = {
1034
- CUSTOMER: "customer",
1035
- SYSTEM: "system",
1036
- };
1037
- const NodeUpdateStatus = {
1038
- COMPLETE: "complete",
1039
- IN_PROGRESS: "in-progress",
1040
- NOT_APPLIED: "not-applied",
1041
- STOPPED: "stopped",
1042
- STOPPING: "stopping",
1043
- WAITING_TO_START: "waiting-to-start",
1044
- };
1045
- const SlaMet = {
1046
- NA: "n/a",
1047
- NO: "no",
1048
- YES: "yes",
1049
- };
1050
913
  let InvalidKMSKeyFault$1 = class InvalidKMSKeyFault extends ElastiCacheServiceException$1 {
1051
914
  name = "InvalidKMSKeyFault";
1052
915
  $fault = "client";
@@ -1059,11 +922,6 @@ let InvalidKMSKeyFault$1 = class InvalidKMSKeyFault extends ElastiCacheServiceEx
1059
922
  Object.setPrototypeOf(this, InvalidKMSKeyFault.prototype);
1060
923
  }
1061
924
  };
1062
- const AuthTokenUpdateStrategyType = {
1063
- DELETE: "DELETE",
1064
- ROTATE: "ROTATE",
1065
- SET: "SET",
1066
- };
1067
925
  let SubnetInUse$1 = class SubnetInUse extends ElastiCacheServiceException$1 {
1068
926
  name = "SubnetInUse";
1069
927
  $fault = "client";
@@ -1124,7 +982,6 @@ let AuthorizationNotFoundFault$1 = class AuthorizationNotFoundFault extends Elas
1124
982
  Object.setPrototypeOf(this, AuthorizationNotFoundFault.prototype);
1125
983
  }
1126
984
  };
1127
-
1128
985
  let ReplicationGroupAlreadyUnderMigrationFault$1 = class ReplicationGroupAlreadyUnderMigrationFault extends ElastiCacheServiceException$1 {
1129
986
  name = "ReplicationGroupAlreadyUnderMigrationFault";
1130
987
  $fault = "client";
@@ -7091,6 +6948,149 @@ const waitUntilReplicationGroupDeleted = async (params, input) => {
7091
6948
  return utilWaiter.checkExceptions(result);
7092
6949
  };
7093
6950
 
6951
+ const UpdateActionStatus = {
6952
+ COMPLETE: "complete",
6953
+ IN_PROGRESS: "in-progress",
6954
+ NOT_APPLICABLE: "not-applicable",
6955
+ NOT_APPLIED: "not-applied",
6956
+ SCHEDULED: "scheduled",
6957
+ SCHEDULING: "scheduling",
6958
+ STOPPED: "stopped",
6959
+ STOPPING: "stopping",
6960
+ WAITING_TO_START: "waiting-to-start",
6961
+ };
6962
+ const AutomaticFailoverStatus = {
6963
+ DISABLED: "disabled",
6964
+ DISABLING: "disabling",
6965
+ ENABLED: "enabled",
6966
+ ENABLING: "enabling",
6967
+ };
6968
+ const ClusterMode = {
6969
+ COMPATIBLE: "compatible",
6970
+ DISABLED: "disabled",
6971
+ ENABLED: "enabled",
6972
+ };
6973
+ const DataTieringStatus = {
6974
+ DISABLED: "disabled",
6975
+ ENABLED: "enabled",
6976
+ };
6977
+ const IpDiscovery = {
6978
+ IPV4: "ipv4",
6979
+ IPV6: "ipv6",
6980
+ };
6981
+ const DestinationType = {
6982
+ CloudWatchLogs: "cloudwatch-logs",
6983
+ KinesisFirehose: "kinesis-firehose",
6984
+ };
6985
+ const LogFormat = {
6986
+ JSON: "json",
6987
+ TEXT: "text",
6988
+ };
6989
+ const LogType = {
6990
+ ENGINE_LOG: "engine-log",
6991
+ SLOW_LOG: "slow-log",
6992
+ };
6993
+ const LogDeliveryConfigurationStatus = {
6994
+ ACTIVE: "active",
6995
+ DISABLING: "disabling",
6996
+ ENABLING: "enabling",
6997
+ ERROR: "error",
6998
+ MODIFYING: "modifying",
6999
+ };
7000
+ const MultiAZStatus = {
7001
+ DISABLED: "disabled",
7002
+ ENABLED: "enabled",
7003
+ };
7004
+ const NetworkType = {
7005
+ DUAL_STACK: "dual_stack",
7006
+ IPV4: "ipv4",
7007
+ IPV6: "ipv6",
7008
+ };
7009
+ const AuthTokenUpdateStatus = {
7010
+ ROTATING: "ROTATING",
7011
+ SETTING: "SETTING",
7012
+ };
7013
+ const PendingAutomaticFailoverStatus = {
7014
+ DISABLED: "disabled",
7015
+ ENABLED: "enabled",
7016
+ };
7017
+ const TransitEncryptionMode = {
7018
+ PREFERRED: "preferred",
7019
+ REQUIRED: "required",
7020
+ };
7021
+ const AZMode = {
7022
+ CROSS_AZ: "cross-az",
7023
+ SINGLE_AZ: "single-az",
7024
+ };
7025
+ const OutpostMode = {
7026
+ CROSS_OUTPOST: "cross-outpost",
7027
+ SINGLE_OUTPOST: "single-outpost",
7028
+ };
7029
+ const DataStorageUnit = {
7030
+ GB: "GB",
7031
+ };
7032
+ const InputAuthenticationType = {
7033
+ IAM: "iam",
7034
+ NO_PASSWORD: "no-password-required",
7035
+ PASSWORD: "password",
7036
+ };
7037
+ const AuthenticationType = {
7038
+ IAM: "iam",
7039
+ NO_PASSWORD: "no-password",
7040
+ PASSWORD: "password",
7041
+ };
7042
+ const ChangeType = {
7043
+ immediate: "immediate",
7044
+ requires_reboot: "requires-reboot",
7045
+ };
7046
+ const SourceType = {
7047
+ cache_cluster: "cache-cluster",
7048
+ cache_parameter_group: "cache-parameter-group",
7049
+ cache_security_group: "cache-security-group",
7050
+ cache_subnet_group: "cache-subnet-group",
7051
+ replication_group: "replication-group",
7052
+ serverless_cache: "serverless-cache",
7053
+ serverless_cache_snapshot: "serverless-cache-snapshot",
7054
+ user: "user",
7055
+ user_group: "user-group",
7056
+ };
7057
+ const ServiceUpdateStatus = {
7058
+ AVAILABLE: "available",
7059
+ CANCELLED: "cancelled",
7060
+ EXPIRED: "expired",
7061
+ };
7062
+ const ServiceUpdateSeverity = {
7063
+ CRITICAL: "critical",
7064
+ IMPORTANT: "important",
7065
+ LOW: "low",
7066
+ MEDIUM: "medium",
7067
+ };
7068
+ const ServiceUpdateType = {
7069
+ SECURITY_UPDATE: "security-update",
7070
+ };
7071
+ const NodeUpdateInitiatedBy = {
7072
+ CUSTOMER: "customer",
7073
+ SYSTEM: "system",
7074
+ };
7075
+ const NodeUpdateStatus = {
7076
+ COMPLETE: "complete",
7077
+ IN_PROGRESS: "in-progress",
7078
+ NOT_APPLIED: "not-applied",
7079
+ STOPPED: "stopped",
7080
+ STOPPING: "stopping",
7081
+ WAITING_TO_START: "waiting-to-start",
7082
+ };
7083
+ const SlaMet = {
7084
+ NA: "n/a",
7085
+ NO: "no",
7086
+ YES: "yes",
7087
+ };
7088
+ const AuthTokenUpdateStrategyType = {
7089
+ DELETE: "DELETE",
7090
+ ROTATE: "ROTATE",
7091
+ SET: "SET",
7092
+ };
7093
+
7094
7094
  Object.defineProperty(exports, "$Command", {
7095
7095
  enumerable: true,
7096
7096
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -3,5 +3,6 @@ export * from "./ElastiCache";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./waiters";
6
- export * from "./models";
6
+ export * from "./models/enums";
7
+ export * from "./models/errors";
7
8
  export { ElastiCacheServiceException } from "./models/ElastiCacheServiceException";
@@ -0,0 +1,142 @@
1
+ export const UpdateActionStatus = {
2
+ COMPLETE: "complete",
3
+ IN_PROGRESS: "in-progress",
4
+ NOT_APPLICABLE: "not-applicable",
5
+ NOT_APPLIED: "not-applied",
6
+ SCHEDULED: "scheduled",
7
+ SCHEDULING: "scheduling",
8
+ STOPPED: "stopped",
9
+ STOPPING: "stopping",
10
+ WAITING_TO_START: "waiting-to-start",
11
+ };
12
+ export const AutomaticFailoverStatus = {
13
+ DISABLED: "disabled",
14
+ DISABLING: "disabling",
15
+ ENABLED: "enabled",
16
+ ENABLING: "enabling",
17
+ };
18
+ export const ClusterMode = {
19
+ COMPATIBLE: "compatible",
20
+ DISABLED: "disabled",
21
+ ENABLED: "enabled",
22
+ };
23
+ export const DataTieringStatus = {
24
+ DISABLED: "disabled",
25
+ ENABLED: "enabled",
26
+ };
27
+ export const IpDiscovery = {
28
+ IPV4: "ipv4",
29
+ IPV6: "ipv6",
30
+ };
31
+ export const DestinationType = {
32
+ CloudWatchLogs: "cloudwatch-logs",
33
+ KinesisFirehose: "kinesis-firehose",
34
+ };
35
+ export const LogFormat = {
36
+ JSON: "json",
37
+ TEXT: "text",
38
+ };
39
+ export const LogType = {
40
+ ENGINE_LOG: "engine-log",
41
+ SLOW_LOG: "slow-log",
42
+ };
43
+ export const LogDeliveryConfigurationStatus = {
44
+ ACTIVE: "active",
45
+ DISABLING: "disabling",
46
+ ENABLING: "enabling",
47
+ ERROR: "error",
48
+ MODIFYING: "modifying",
49
+ };
50
+ export const MultiAZStatus = {
51
+ DISABLED: "disabled",
52
+ ENABLED: "enabled",
53
+ };
54
+ export const NetworkType = {
55
+ DUAL_STACK: "dual_stack",
56
+ IPV4: "ipv4",
57
+ IPV6: "ipv6",
58
+ };
59
+ export const AuthTokenUpdateStatus = {
60
+ ROTATING: "ROTATING",
61
+ SETTING: "SETTING",
62
+ };
63
+ export const PendingAutomaticFailoverStatus = {
64
+ DISABLED: "disabled",
65
+ ENABLED: "enabled",
66
+ };
67
+ export const TransitEncryptionMode = {
68
+ PREFERRED: "preferred",
69
+ REQUIRED: "required",
70
+ };
71
+ export const AZMode = {
72
+ CROSS_AZ: "cross-az",
73
+ SINGLE_AZ: "single-az",
74
+ };
75
+ export const OutpostMode = {
76
+ CROSS_OUTPOST: "cross-outpost",
77
+ SINGLE_OUTPOST: "single-outpost",
78
+ };
79
+ export const DataStorageUnit = {
80
+ GB: "GB",
81
+ };
82
+ export const InputAuthenticationType = {
83
+ IAM: "iam",
84
+ NO_PASSWORD: "no-password-required",
85
+ PASSWORD: "password",
86
+ };
87
+ export const AuthenticationType = {
88
+ IAM: "iam",
89
+ NO_PASSWORD: "no-password",
90
+ PASSWORD: "password",
91
+ };
92
+ export const ChangeType = {
93
+ immediate: "immediate",
94
+ requires_reboot: "requires-reboot",
95
+ };
96
+ export const SourceType = {
97
+ cache_cluster: "cache-cluster",
98
+ cache_parameter_group: "cache-parameter-group",
99
+ cache_security_group: "cache-security-group",
100
+ cache_subnet_group: "cache-subnet-group",
101
+ replication_group: "replication-group",
102
+ serverless_cache: "serverless-cache",
103
+ serverless_cache_snapshot: "serverless-cache-snapshot",
104
+ user: "user",
105
+ user_group: "user-group",
106
+ };
107
+ export const ServiceUpdateStatus = {
108
+ AVAILABLE: "available",
109
+ CANCELLED: "cancelled",
110
+ EXPIRED: "expired",
111
+ };
112
+ export const ServiceUpdateSeverity = {
113
+ CRITICAL: "critical",
114
+ IMPORTANT: "important",
115
+ LOW: "low",
116
+ MEDIUM: "medium",
117
+ };
118
+ export const ServiceUpdateType = {
119
+ SECURITY_UPDATE: "security-update",
120
+ };
121
+ export const NodeUpdateInitiatedBy = {
122
+ CUSTOMER: "customer",
123
+ SYSTEM: "system",
124
+ };
125
+ export const NodeUpdateStatus = {
126
+ COMPLETE: "complete",
127
+ IN_PROGRESS: "in-progress",
128
+ NOT_APPLIED: "not-applied",
129
+ STOPPED: "stopped",
130
+ STOPPING: "stopping",
131
+ WAITING_TO_START: "waiting-to-start",
132
+ };
133
+ export const SlaMet = {
134
+ NA: "n/a",
135
+ NO: "no",
136
+ YES: "yes",
137
+ };
138
+ export const AuthTokenUpdateStrategyType = {
139
+ DELETE: "DELETE",
140
+ ROTATE: "ROTATE",
141
+ SET: "SET",
142
+ };