@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.
@@ -395,18 +395,23 @@ export declare class ServiceUpdateNotFoundFault extends __BaseException {
395
395
  }
396
396
  /**
397
397
  * @public
398
+ * @enum
398
399
  */
399
- export declare enum UpdateActionStatus {
400
- COMPLETE = "complete",
401
- IN_PROGRESS = "in-progress",
402
- NOT_APPLICABLE = "not-applicable",
403
- NOT_APPLIED = "not-applied",
404
- SCHEDULED = "scheduled",
405
- SCHEDULING = "scheduling",
406
- STOPPED = "stopped",
407
- STOPPING = "stopping",
408
- WAITING_TO_START = "waiting-to-start"
409
- }
400
+ export declare const UpdateActionStatus: {
401
+ readonly COMPLETE: "complete";
402
+ readonly IN_PROGRESS: "in-progress";
403
+ readonly NOT_APPLICABLE: "not-applicable";
404
+ readonly NOT_APPLIED: "not-applied";
405
+ readonly SCHEDULED: "scheduled";
406
+ readonly SCHEDULING: "scheduling";
407
+ readonly STOPPED: "stopped";
408
+ readonly STOPPING: "stopping";
409
+ readonly WAITING_TO_START: "waiting-to-start";
410
+ };
411
+ /**
412
+ * @public
413
+ */
414
+ export type UpdateActionStatus = (typeof UpdateActionStatus)[keyof typeof UpdateActionStatus];
410
415
  /**
411
416
  * @public
412
417
  * <p>Update action that has been processed for the corresponding apply/stop request</p>
@@ -500,13 +505,18 @@ export interface CompleteMigrationMessage {
500
505
  }
501
506
  /**
502
507
  * @public
508
+ * @enum
503
509
  */
504
- export declare enum AutomaticFailoverStatus {
505
- DISABLED = "disabled",
506
- DISABLING = "disabling",
507
- ENABLED = "enabled",
508
- ENABLING = "enabling"
509
- }
510
+ export declare const AutomaticFailoverStatus: {
511
+ readonly DISABLED: "disabled";
512
+ readonly DISABLING: "disabling";
513
+ readonly ENABLED: "enabled";
514
+ readonly ENABLING: "enabling";
515
+ };
516
+ /**
517
+ * @public
518
+ */
519
+ export type AutomaticFailoverStatus = (typeof AutomaticFailoverStatus)[keyof typeof AutomaticFailoverStatus];
510
520
  /**
511
521
  * @public
512
522
  * <p>Represents the information required for client programs to connect to a cache node.</p>
@@ -523,11 +533,16 @@ export interface Endpoint {
523
533
  }
524
534
  /**
525
535
  * @public
536
+ * @enum
526
537
  */
527
- export declare enum DataTieringStatus {
528
- DISABLED = "disabled",
529
- ENABLED = "enabled"
530
- }
538
+ export declare const DataTieringStatus: {
539
+ readonly DISABLED: "disabled";
540
+ readonly ENABLED: "enabled";
541
+ };
542
+ /**
543
+ * @public
544
+ */
545
+ export type DataTieringStatus = (typeof DataTieringStatus)[keyof typeof DataTieringStatus];
531
546
  /**
532
547
  * @public
533
548
  * <p>The name of the Global datastore and role of this replication group in the Global datastore.</p>
@@ -544,11 +559,16 @@ export interface GlobalReplicationGroupInfo {
544
559
  }
545
560
  /**
546
561
  * @public
562
+ * @enum
547
563
  */
548
- export declare enum IpDiscovery {
549
- IPV4 = "ipv4",
550
- IPV6 = "ipv6"
551
- }
564
+ export declare const IpDiscovery: {
565
+ readonly IPV4: "ipv4";
566
+ readonly IPV6: "ipv6";
567
+ };
568
+ /**
569
+ * @public
570
+ */
571
+ export type IpDiscovery = (typeof IpDiscovery)[keyof typeof IpDiscovery];
552
572
  /**
553
573
  * @public
554
574
  * <p>The configuration details of the CloudWatch Logs destination.</p>
@@ -585,35 +605,55 @@ export interface DestinationDetails {
585
605
  }
586
606
  /**
587
607
  * @public
608
+ * @enum
588
609
  */
589
- export declare enum DestinationType {
590
- CloudWatchLogs = "cloudwatch-logs",
591
- KinesisFirehose = "kinesis-firehose"
592
- }
610
+ export declare const DestinationType: {
611
+ readonly CloudWatchLogs: "cloudwatch-logs";
612
+ readonly KinesisFirehose: "kinesis-firehose";
613
+ };
593
614
  /**
594
615
  * @public
595
616
  */
596
- export declare enum LogFormat {
597
- JSON = "json",
598
- TEXT = "text"
599
- }
617
+ export type DestinationType = (typeof DestinationType)[keyof typeof DestinationType];
600
618
  /**
601
619
  * @public
620
+ * @enum
602
621
  */
603
- export declare enum LogType {
604
- ENGINE_LOG = "engine-log",
605
- SLOW_LOG = "slow-log"
606
- }
622
+ export declare const LogFormat: {
623
+ readonly JSON: "json";
624
+ readonly TEXT: "text";
625
+ };
607
626
  /**
608
627
  * @public
609
628
  */
610
- export declare enum LogDeliveryConfigurationStatus {
611
- ACTIVE = "active",
612
- DISABLING = "disabling",
613
- ENABLING = "enabling",
614
- ERROR = "error",
615
- MODIFYING = "modifying"
616
- }
629
+ export type LogFormat = (typeof LogFormat)[keyof typeof LogFormat];
630
+ /**
631
+ * @public
632
+ * @enum
633
+ */
634
+ export declare const LogType: {
635
+ readonly ENGINE_LOG: "engine-log";
636
+ readonly SLOW_LOG: "slow-log";
637
+ };
638
+ /**
639
+ * @public
640
+ */
641
+ export type LogType = (typeof LogType)[keyof typeof LogType];
642
+ /**
643
+ * @public
644
+ * @enum
645
+ */
646
+ export declare const LogDeliveryConfigurationStatus: {
647
+ readonly ACTIVE: "active";
648
+ readonly DISABLING: "disabling";
649
+ readonly ENABLING: "enabling";
650
+ readonly ERROR: "error";
651
+ readonly MODIFYING: "modifying";
652
+ };
653
+ /**
654
+ * @public
655
+ */
656
+ export type LogDeliveryConfigurationStatus = (typeof LogDeliveryConfigurationStatus)[keyof typeof LogDeliveryConfigurationStatus];
617
657
  /**
618
658
  * @public
619
659
  * <p>Returns the destination, format and type of the logs. </p>
@@ -647,19 +687,29 @@ export interface LogDeliveryConfiguration {
647
687
  }
648
688
  /**
649
689
  * @public
690
+ * @enum
650
691
  */
651
- export declare enum MultiAZStatus {
652
- DISABLED = "disabled",
653
- ENABLED = "enabled"
654
- }
692
+ export declare const MultiAZStatus: {
693
+ readonly DISABLED: "disabled";
694
+ readonly ENABLED: "enabled";
695
+ };
655
696
  /**
656
697
  * @public
657
698
  */
658
- export declare enum NetworkType {
659
- DUAL_STACK = "dual_stack",
660
- IPV4 = "ipv4",
661
- IPV6 = "ipv6"
662
- }
699
+ export type MultiAZStatus = (typeof MultiAZStatus)[keyof typeof MultiAZStatus];
700
+ /**
701
+ * @public
702
+ * @enum
703
+ */
704
+ export declare const NetworkType: {
705
+ readonly DUAL_STACK: "dual_stack";
706
+ readonly IPV4: "ipv4";
707
+ readonly IPV6: "ipv6";
708
+ };
709
+ /**
710
+ * @public
711
+ */
712
+ export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
663
713
  /**
664
714
  * @public
665
715
  * <p>Represents a single node within a node group (shard).</p>
@@ -730,18 +780,28 @@ export interface NodeGroup {
730
780
  }
731
781
  /**
732
782
  * @public
783
+ * @enum
733
784
  */
734
- export declare enum AuthTokenUpdateStatus {
735
- ROTATING = "ROTATING",
736
- SETTING = "SETTING"
737
- }
785
+ export declare const AuthTokenUpdateStatus: {
786
+ readonly ROTATING: "ROTATING";
787
+ readonly SETTING: "SETTING";
788
+ };
738
789
  /**
739
790
  * @public
740
791
  */
741
- export declare enum PendingAutomaticFailoverStatus {
742
- DISABLED = "disabled",
743
- ENABLED = "enabled"
744
- }
792
+ export type AuthTokenUpdateStatus = (typeof AuthTokenUpdateStatus)[keyof typeof AuthTokenUpdateStatus];
793
+ /**
794
+ * @public
795
+ * @enum
796
+ */
797
+ export declare const PendingAutomaticFailoverStatus: {
798
+ readonly DISABLED: "disabled";
799
+ readonly ENABLED: "enabled";
800
+ };
801
+ /**
802
+ * @public
803
+ */
804
+ export type PendingAutomaticFailoverStatus = (typeof PendingAutomaticFailoverStatus)[keyof typeof PendingAutomaticFailoverStatus];
745
805
  /**
746
806
  * @public
747
807
  * <p>The log delivery configurations being modified </p>
@@ -786,11 +846,16 @@ export interface ReshardingStatus {
786
846
  }
787
847
  /**
788
848
  * @public
849
+ * @enum
789
850
  */
790
- export declare enum TransitEncryptionMode {
791
- PREFERRED = "preferred",
792
- REQUIRED = "required"
793
- }
851
+ export declare const TransitEncryptionMode: {
852
+ readonly PREFERRED: "preferred";
853
+ readonly REQUIRED: "required";
854
+ };
855
+ /**
856
+ * @public
857
+ */
858
+ export type TransitEncryptionMode = (typeof TransitEncryptionMode)[keyof typeof TransitEncryptionMode];
794
859
  /**
795
860
  * @public
796
861
  * <p>The status of the user group update.</p>
@@ -1571,11 +1636,16 @@ export declare class ClusterQuotaForCustomerExceededFault extends __BaseExceptio
1571
1636
  }
1572
1637
  /**
1573
1638
  * @public
1639
+ * @enum
1574
1640
  */
1575
- export declare enum AZMode {
1576
- CROSS_AZ = "cross-az",
1577
- SINGLE_AZ = "single-az"
1578
- }
1641
+ export declare const AZMode: {
1642
+ readonly CROSS_AZ: "cross-az";
1643
+ readonly SINGLE_AZ: "single-az";
1644
+ };
1645
+ /**
1646
+ * @public
1647
+ */
1648
+ export type AZMode = (typeof AZMode)[keyof typeof AZMode];
1579
1649
  /**
1580
1650
  * @public
1581
1651
  * <p>Specifies the destination, format and type of the logs. </p>
@@ -1604,11 +1674,16 @@ export interface LogDeliveryConfigurationRequest {
1604
1674
  }
1605
1675
  /**
1606
1676
  * @public
1677
+ * @enum
1607
1678
  */
1608
- export declare enum OutpostMode {
1609
- CROSS_OUTPOST = "cross-outpost",
1610
- SINGLE_OUTPOST = "single-outpost"
1611
- }
1679
+ export declare const OutpostMode: {
1680
+ readonly CROSS_OUTPOST: "cross-outpost";
1681
+ readonly SINGLE_OUTPOST: "single-outpost";
1682
+ };
1683
+ /**
1684
+ * @public
1685
+ */
1686
+ export type OutpostMode = (typeof OutpostMode)[keyof typeof OutpostMode];
1612
1687
  /**
1613
1688
  * @public
1614
1689
  * <p>Represents the input of a CreateCacheCluster operation.</p>
@@ -4013,12 +4088,17 @@ export declare class SnapshotFeatureNotSupportedFault extends __BaseException {
4013
4088
  }
4014
4089
  /**
4015
4090
  * @public
4091
+ * @enum
4016
4092
  */
4017
- export declare enum InputAuthenticationType {
4018
- IAM = "iam",
4019
- NO_PASSWORD = "no-password-required",
4020
- PASSWORD = "password"
4021
- }
4093
+ export declare const InputAuthenticationType: {
4094
+ readonly IAM: "iam";
4095
+ readonly NO_PASSWORD: "no-password-required";
4096
+ readonly PASSWORD: "password";
4097
+ };
4098
+ /**
4099
+ * @public
4100
+ */
4101
+ export type InputAuthenticationType = (typeof InputAuthenticationType)[keyof typeof InputAuthenticationType];
4022
4102
  /**
4023
4103
  * @public
4024
4104
  * <p>Specifies the authentication mode to use.</p>
@@ -4084,12 +4164,17 @@ export declare class DuplicateUserNameFault extends __BaseException {
4084
4164
  }
4085
4165
  /**
4086
4166
  * @public
4167
+ * @enum
4087
4168
  */
4088
- export declare enum AuthenticationType {
4089
- IAM = "iam",
4090
- NO_PASSWORD = "no-password",
4091
- PASSWORD = "password"
4092
- }
4169
+ export declare const AuthenticationType: {
4170
+ readonly IAM: "iam";
4171
+ readonly NO_PASSWORD: "no-password";
4172
+ readonly PASSWORD: "password";
4173
+ };
4174
+ /**
4175
+ * @public
4176
+ */
4177
+ export type AuthenticationType = (typeof AuthenticationType)[keyof typeof AuthenticationType];
4093
4178
  /**
4094
4179
  * @public
4095
4180
  * <p>Indicates whether the user requires a password to authenticate.</p>
@@ -4858,11 +4943,16 @@ export interface CacheNodeTypeSpecificValue {
4858
4943
  }
4859
4944
  /**
4860
4945
  * @public
4946
+ * @enum
4861
4947
  */
4862
- export declare enum ChangeType {
4863
- immediate = "immediate",
4864
- requires_reboot = "requires-reboot"
4865
- }
4948
+ export declare const ChangeType: {
4949
+ readonly immediate: "immediate";
4950
+ readonly requires_reboot: "requires-reboot";
4951
+ };
4952
+ /**
4953
+ * @public
4954
+ */
4955
+ export type ChangeType = (typeof ChangeType)[keyof typeof ChangeType];
4866
4956
  /**
4867
4957
  * @public
4868
4958
  * <p>A parameter that has a different value for each cache node type it is applied to. For
@@ -5167,16 +5257,21 @@ export interface DescribeEngineDefaultParametersResult {
5167
5257
  }
5168
5258
  /**
5169
5259
  * @public
5260
+ * @enum
5170
5261
  */
5171
- export declare enum SourceType {
5172
- cache_cluster = "cache-cluster",
5173
- cache_parameter_group = "cache-parameter-group",
5174
- cache_security_group = "cache-security-group",
5175
- cache_subnet_group = "cache-subnet-group",
5176
- replication_group = "replication-group",
5177
- user = "user",
5178
- user_group = "user-group"
5179
- }
5262
+ export declare const SourceType: {
5263
+ readonly cache_cluster: "cache-cluster";
5264
+ readonly cache_parameter_group: "cache-parameter-group";
5265
+ readonly cache_security_group: "cache-security-group";
5266
+ readonly cache_subnet_group: "cache-subnet-group";
5267
+ readonly replication_group: "replication-group";
5268
+ readonly user: "user";
5269
+ readonly user_group: "user-group";
5270
+ };
5271
+ /**
5272
+ * @public
5273
+ */
5274
+ export type SourceType = (typeof SourceType)[keyof typeof SourceType];
5180
5275
  /**
5181
5276
  * @public
5182
5277
  * <p>Represents the input of a <code>DescribeEvents</code> operation.</p>
@@ -6285,12 +6380,17 @@ export declare class ReservedCacheNodesOfferingNotFoundFault extends __BaseExcep
6285
6380
  }
6286
6381
  /**
6287
6382
  * @public
6383
+ * @enum
6288
6384
  */
6289
- export declare enum ServiceUpdateStatus {
6290
- AVAILABLE = "available",
6291
- CANCELLED = "cancelled",
6292
- EXPIRED = "expired"
6293
- }
6385
+ export declare const ServiceUpdateStatus: {
6386
+ readonly AVAILABLE: "available";
6387
+ readonly CANCELLED: "cancelled";
6388
+ readonly EXPIRED: "expired";
6389
+ };
6390
+ /**
6391
+ * @public
6392
+ */
6393
+ export type ServiceUpdateStatus = (typeof ServiceUpdateStatus)[keyof typeof ServiceUpdateStatus];
6294
6394
  /**
6295
6395
  * @public
6296
6396
  */
@@ -6317,19 +6417,29 @@ export interface DescribeServiceUpdatesMessage {
6317
6417
  }
6318
6418
  /**
6319
6419
  * @public
6420
+ * @enum
6320
6421
  */
6321
- export declare enum ServiceUpdateSeverity {
6322
- CRITICAL = "critical",
6323
- IMPORTANT = "important",
6324
- LOW = "low",
6325
- MEDIUM = "medium"
6326
- }
6422
+ export declare const ServiceUpdateSeverity: {
6423
+ readonly CRITICAL: "critical";
6424
+ readonly IMPORTANT: "important";
6425
+ readonly LOW: "low";
6426
+ readonly MEDIUM: "medium";
6427
+ };
6327
6428
  /**
6328
6429
  * @public
6329
6430
  */
6330
- export declare enum ServiceUpdateType {
6331
- SECURITY_UPDATE = "security-update"
6332
- }
6431
+ export type ServiceUpdateSeverity = (typeof ServiceUpdateSeverity)[keyof typeof ServiceUpdateSeverity];
6432
+ /**
6433
+ * @public
6434
+ * @enum
6435
+ */
6436
+ export declare const ServiceUpdateType: {
6437
+ readonly SECURITY_UPDATE: "security-update";
6438
+ };
6439
+ /**
6440
+ * @public
6441
+ */
6442
+ export type ServiceUpdateType = (typeof ServiceUpdateType)[keyof typeof ServiceUpdateType];
6333
6443
  /**
6334
6444
  * @public
6335
6445
  * <p>An update that you can apply to your Redis clusters.</p>
@@ -6527,22 +6637,32 @@ export interface DescribeUpdateActionsMessage {
6527
6637
  }
6528
6638
  /**
6529
6639
  * @public
6640
+ * @enum
6530
6641
  */
6531
- export declare enum NodeUpdateInitiatedBy {
6532
- CUSTOMER = "customer",
6533
- SYSTEM = "system"
6534
- }
6642
+ export declare const NodeUpdateInitiatedBy: {
6643
+ readonly CUSTOMER: "customer";
6644
+ readonly SYSTEM: "system";
6645
+ };
6535
6646
  /**
6536
6647
  * @public
6537
6648
  */
6538
- export declare enum NodeUpdateStatus {
6539
- COMPLETE = "complete",
6540
- IN_PROGRESS = "in-progress",
6541
- NOT_APPLIED = "not-applied",
6542
- STOPPED = "stopped",
6543
- STOPPING = "stopping",
6544
- WAITING_TO_START = "waiting-to-start"
6545
- }
6649
+ export type NodeUpdateInitiatedBy = (typeof NodeUpdateInitiatedBy)[keyof typeof NodeUpdateInitiatedBy];
6650
+ /**
6651
+ * @public
6652
+ * @enum
6653
+ */
6654
+ export declare const NodeUpdateStatus: {
6655
+ readonly COMPLETE: "complete";
6656
+ readonly IN_PROGRESS: "in-progress";
6657
+ readonly NOT_APPLIED: "not-applied";
6658
+ readonly STOPPED: "stopped";
6659
+ readonly STOPPING: "stopping";
6660
+ readonly WAITING_TO_START: "waiting-to-start";
6661
+ };
6662
+ /**
6663
+ * @public
6664
+ */
6665
+ export type NodeUpdateStatus = (typeof NodeUpdateStatus)[keyof typeof NodeUpdateStatus];
6546
6666
  /**
6547
6667
  * @public
6548
6668
  * <p>The status of the service update on the cache node</p>
@@ -6639,12 +6759,17 @@ export interface NodeGroupUpdateStatus {
6639
6759
  }
6640
6760
  /**
6641
6761
  * @public
6762
+ * @enum
6642
6763
  */
6643
- export declare enum SlaMet {
6644
- NA = "n/a",
6645
- NO = "no",
6646
- YES = "yes"
6647
- }
6764
+ export declare const SlaMet: {
6765
+ readonly NA: "n/a";
6766
+ readonly NO: "no";
6767
+ readonly YES: "yes";
6768
+ };
6769
+ /**
6770
+ * @public
6771
+ */
6772
+ export type SlaMet = (typeof SlaMet)[keyof typeof SlaMet];
6648
6773
  /**
6649
6774
  * @public
6650
6775
  * <p>The status of the service update for a specific replication group</p>
@@ -7044,12 +7169,17 @@ export interface ListTagsForResourceMessage {
7044
7169
  }
7045
7170
  /**
7046
7171
  * @public
7172
+ * @enum
7047
7173
  */
7048
- export declare enum AuthTokenUpdateStrategyType {
7049
- DELETE = "DELETE",
7050
- ROTATE = "ROTATE",
7051
- SET = "SET"
7052
- }
7174
+ export declare const AuthTokenUpdateStrategyType: {
7175
+ readonly DELETE: "DELETE";
7176
+ readonly ROTATE: "ROTATE";
7177
+ readonly SET: "SET";
7178
+ };
7179
+ /**
7180
+ * @public
7181
+ */
7182
+ export type AuthTokenUpdateStrategyType = (typeof AuthTokenUpdateStrategyType)[keyof typeof AuthTokenUpdateStrategyType];
7053
7183
  /**
7054
7184
  * @public
7055
7185
  * <p>Represents the input of a <code>ModifyCacheCluster</code> operation.</p>