@aws-sdk/client-lightsail 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.
@@ -18,11 +18,16 @@ export declare class AccessDeniedException extends __BaseException {
18
18
  }
19
19
  /**
20
20
  * @public
21
+ * @enum
21
22
  */
22
- export declare enum AccessDirection {
23
- inbound = "inbound",
24
- outbound = "outbound"
25
- }
23
+ export declare const AccessDirection: {
24
+ readonly inbound: "inbound";
25
+ readonly outbound: "outbound";
26
+ };
27
+ /**
28
+ * @public
29
+ */
30
+ export type AccessDirection = (typeof AccessDirection)[keyof typeof AccessDirection];
26
31
  /**
27
32
  * @public
28
33
  * <p>Describes the last time an access key was used.</p>
@@ -50,11 +55,16 @@ export interface AccessKeyLastUsed {
50
55
  }
51
56
  /**
52
57
  * @public
58
+ * @enum
53
59
  */
54
- export declare enum StatusType {
55
- Active = "Active",
56
- Inactive = "Inactive"
57
- }
60
+ export declare const StatusType: {
61
+ readonly Active: "Active";
62
+ readonly Inactive: "Inactive";
63
+ };
64
+ /**
65
+ * @public
66
+ */
67
+ export type StatusType = (typeof StatusType)[keyof typeof StatusType];
58
68
  /**
59
69
  * @public
60
70
  * <p>Describes an access key for an Amazon Lightsail bucket.</p>
@@ -116,11 +126,16 @@ export interface ResourceReceivingAccess {
116
126
  }
117
127
  /**
118
128
  * @public
129
+ * @enum
119
130
  */
120
- export declare enum AccessType {
121
- Private = "private",
122
- Public = "public"
123
- }
131
+ export declare const AccessType: {
132
+ readonly Private: "private";
133
+ readonly Public: "public";
134
+ };
135
+ /**
136
+ * @public
137
+ */
138
+ export type AccessType = (typeof AccessType)[keyof typeof AccessType];
124
139
  /**
125
140
  * @public
126
141
  * <p>Describes the anonymous access permissions for an Amazon Lightsail bucket and its
@@ -167,22 +182,32 @@ export interface AccessRules {
167
182
  }
168
183
  /**
169
184
  * @public
185
+ * @enum
170
186
  */
171
- export declare enum BPAStatusMessage {
172
- DEFAULTED_FOR_SLR_MISSING = "DEFAULTED_FOR_SLR_MISSING",
173
- DEFAULTED_FOR_SLR_MISSING_ON_HOLD = "DEFAULTED_FOR_SLR_MISSING_ON_HOLD",
174
- SYNC_ON_HOLD = "SYNC_ON_HOLD",
175
- Unknown = "Unknown"
176
- }
187
+ export declare const BPAStatusMessage: {
188
+ readonly DEFAULTED_FOR_SLR_MISSING: "DEFAULTED_FOR_SLR_MISSING";
189
+ readonly DEFAULTED_FOR_SLR_MISSING_ON_HOLD: "DEFAULTED_FOR_SLR_MISSING_ON_HOLD";
190
+ readonly SYNC_ON_HOLD: "SYNC_ON_HOLD";
191
+ readonly Unknown: "Unknown";
192
+ };
177
193
  /**
178
194
  * @public
179
195
  */
180
- export declare enum AccountLevelBpaSyncStatus {
181
- Defaulted = "Defaulted",
182
- Failed = "Failed",
183
- InSync = "InSync",
184
- NeverSynced = "NeverSynced"
185
- }
196
+ export type BPAStatusMessage = (typeof BPAStatusMessage)[keyof typeof BPAStatusMessage];
197
+ /**
198
+ * @public
199
+ * @enum
200
+ */
201
+ export declare const AccountLevelBpaSyncStatus: {
202
+ readonly Defaulted: "Defaulted";
203
+ readonly Failed: "Failed";
204
+ readonly InSync: "InSync";
205
+ readonly NeverSynced: "NeverSynced";
206
+ };
207
+ /**
208
+ * @public
209
+ */
210
+ export type AccountLevelBpaSyncStatus = (typeof AccountLevelBpaSyncStatus)[keyof typeof AccountLevelBpaSyncStatus];
186
211
  /**
187
212
  * @public
188
213
  * <p>Describes the synchronization status of the Amazon Simple Storage Service (Amazon S3)
@@ -343,11 +368,16 @@ export interface AddOn {
343
368
  }
344
369
  /**
345
370
  * @public
371
+ * @enum
346
372
  */
347
- export declare enum AddOnType {
348
- AutoSnapshot = "AutoSnapshot",
349
- StopInstanceOnIdle = "StopInstanceOnIdle"
350
- }
373
+ export declare const AddOnType: {
374
+ readonly AutoSnapshot: "AutoSnapshot";
375
+ readonly StopInstanceOnIdle: "StopInstanceOnIdle";
376
+ };
377
+ /**
378
+ * @public
379
+ */
380
+ export type AddOnType = (typeof AddOnType)[keyof typeof AddOnType];
351
381
  /**
352
382
  * @public
353
383
  * <p>Describes a request to enable or modify the automatic snapshot add-on for an
@@ -451,40 +481,55 @@ export interface AddOnRequest {
451
481
  }
452
482
  /**
453
483
  * @public
484
+ * @enum
454
485
  */
455
- export declare enum ComparisonOperator {
456
- GreaterThanOrEqualToThreshold = "GreaterThanOrEqualToThreshold",
457
- GreaterThanThreshold = "GreaterThanThreshold",
458
- LessThanOrEqualToThreshold = "LessThanOrEqualToThreshold",
459
- LessThanThreshold = "LessThanThreshold"
460
- }
486
+ export declare const ComparisonOperator: {
487
+ readonly GreaterThanOrEqualToThreshold: "GreaterThanOrEqualToThreshold";
488
+ readonly GreaterThanThreshold: "GreaterThanThreshold";
489
+ readonly LessThanOrEqualToThreshold: "LessThanOrEqualToThreshold";
490
+ readonly LessThanThreshold: "LessThanThreshold";
491
+ };
461
492
  /**
462
493
  * @public
463
494
  */
464
- export declare enum ContactProtocol {
465
- Email = "Email",
466
- SMS = "SMS"
467
- }
495
+ export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
468
496
  /**
469
497
  * @public
498
+ * @enum
470
499
  */
471
- export declare enum RegionName {
472
- AP_NORTHEAST_1 = "ap-northeast-1",
473
- AP_NORTHEAST_2 = "ap-northeast-2",
474
- AP_SOUTHEAST_1 = "ap-southeast-1",
475
- AP_SOUTHEAST_2 = "ap-southeast-2",
476
- AP_SOUTH_1 = "ap-south-1",
477
- CA_CENTRAL_1 = "ca-central-1",
478
- EU_CENTRAL_1 = "eu-central-1",
479
- EU_NORTH_1 = "eu-north-1",
480
- EU_WEST_1 = "eu-west-1",
481
- EU_WEST_2 = "eu-west-2",
482
- EU_WEST_3 = "eu-west-3",
483
- US_EAST_1 = "us-east-1",
484
- US_EAST_2 = "us-east-2",
485
- US_WEST_1 = "us-west-1",
486
- US_WEST_2 = "us-west-2"
487
- }
500
+ export declare const ContactProtocol: {
501
+ readonly Email: "Email";
502
+ readonly SMS: "SMS";
503
+ };
504
+ /**
505
+ * @public
506
+ */
507
+ export type ContactProtocol = (typeof ContactProtocol)[keyof typeof ContactProtocol];
508
+ /**
509
+ * @public
510
+ * @enum
511
+ */
512
+ export declare const RegionName: {
513
+ readonly AP_NORTHEAST_1: "ap-northeast-1";
514
+ readonly AP_NORTHEAST_2: "ap-northeast-2";
515
+ readonly AP_SOUTHEAST_1: "ap-southeast-1";
516
+ readonly AP_SOUTHEAST_2: "ap-southeast-2";
517
+ readonly AP_SOUTH_1: "ap-south-1";
518
+ readonly CA_CENTRAL_1: "ca-central-1";
519
+ readonly EU_CENTRAL_1: "eu-central-1";
520
+ readonly EU_NORTH_1: "eu-north-1";
521
+ readonly EU_WEST_1: "eu-west-1";
522
+ readonly EU_WEST_2: "eu-west-2";
523
+ readonly EU_WEST_3: "eu-west-3";
524
+ readonly US_EAST_1: "us-east-1";
525
+ readonly US_EAST_2: "us-east-2";
526
+ readonly US_WEST_1: "us-west-1";
527
+ readonly US_WEST_2: "us-west-2";
528
+ };
529
+ /**
530
+ * @public
531
+ */
532
+ export type RegionName = (typeof RegionName)[keyof typeof RegionName];
488
533
  /**
489
534
  * @public
490
535
  * <p>Describes the resource location.</p>
@@ -501,59 +546,69 @@ export interface ResourceLocation {
501
546
  }
502
547
  /**
503
548
  * @public
504
- */
505
- export declare enum MetricName {
506
- BurstCapacityPercentage = "BurstCapacityPercentage",
507
- BurstCapacityTime = "BurstCapacityTime",
508
- CPUUtilization = "CPUUtilization",
509
- ClientTLSNegotiationErrorCount = "ClientTLSNegotiationErrorCount",
510
- DatabaseConnections = "DatabaseConnections",
511
- DiskQueueDepth = "DiskQueueDepth",
512
- FreeStorageSpace = "FreeStorageSpace",
513
- HTTPCode_Instance_2XX_Count = "HTTPCode_Instance_2XX_Count",
514
- HTTPCode_Instance_3XX_Count = "HTTPCode_Instance_3XX_Count",
515
- HTTPCode_Instance_4XX_Count = "HTTPCode_Instance_4XX_Count",
516
- HTTPCode_Instance_5XX_Count = "HTTPCode_Instance_5XX_Count",
517
- HTTPCode_LB_4XX_Count = "HTTPCode_LB_4XX_Count",
518
- HTTPCode_LB_5XX_Count = "HTTPCode_LB_5XX_Count",
519
- HealthyHostCount = "HealthyHostCount",
520
- InstanceResponseTime = "InstanceResponseTime",
521
- NetworkIn = "NetworkIn",
522
- NetworkOut = "NetworkOut",
523
- NetworkReceiveThroughput = "NetworkReceiveThroughput",
524
- NetworkTransmitThroughput = "NetworkTransmitThroughput",
525
- RejectedConnectionCount = "RejectedConnectionCount",
526
- RequestCount = "RequestCount",
527
- StatusCheckFailed = "StatusCheckFailed",
528
- StatusCheckFailed_Instance = "StatusCheckFailed_Instance",
529
- StatusCheckFailed_System = "StatusCheckFailed_System",
530
- UnhealthyHostCount = "UnhealthyHostCount"
531
- }
532
- /**
533
- * @public
534
- */
535
- export declare enum ResourceType {
536
- Alarm = "Alarm",
537
- Bucket = "Bucket",
538
- Certificate = "Certificate",
539
- CloudFormationStackRecord = "CloudFormationStackRecord",
540
- ContactMethod = "ContactMethod",
541
- ContainerService = "ContainerService",
542
- Disk = "Disk",
543
- DiskSnapshot = "DiskSnapshot",
544
- Distribution = "Distribution",
545
- Domain = "Domain",
546
- ExportSnapshotRecord = "ExportSnapshotRecord",
547
- Instance = "Instance",
548
- InstanceSnapshot = "InstanceSnapshot",
549
- KeyPair = "KeyPair",
550
- LoadBalancer = "LoadBalancer",
551
- LoadBalancerTlsCertificate = "LoadBalancerTlsCertificate",
552
- PeeredVpc = "PeeredVpc",
553
- RelationalDatabase = "RelationalDatabase",
554
- RelationalDatabaseSnapshot = "RelationalDatabaseSnapshot",
555
- StaticIp = "StaticIp"
556
- }
549
+ * @enum
550
+ */
551
+ export declare const MetricName: {
552
+ readonly BurstCapacityPercentage: "BurstCapacityPercentage";
553
+ readonly BurstCapacityTime: "BurstCapacityTime";
554
+ readonly CPUUtilization: "CPUUtilization";
555
+ readonly ClientTLSNegotiationErrorCount: "ClientTLSNegotiationErrorCount";
556
+ readonly DatabaseConnections: "DatabaseConnections";
557
+ readonly DiskQueueDepth: "DiskQueueDepth";
558
+ readonly FreeStorageSpace: "FreeStorageSpace";
559
+ readonly HTTPCode_Instance_2XX_Count: "HTTPCode_Instance_2XX_Count";
560
+ readonly HTTPCode_Instance_3XX_Count: "HTTPCode_Instance_3XX_Count";
561
+ readonly HTTPCode_Instance_4XX_Count: "HTTPCode_Instance_4XX_Count";
562
+ readonly HTTPCode_Instance_5XX_Count: "HTTPCode_Instance_5XX_Count";
563
+ readonly HTTPCode_LB_4XX_Count: "HTTPCode_LB_4XX_Count";
564
+ readonly HTTPCode_LB_5XX_Count: "HTTPCode_LB_5XX_Count";
565
+ readonly HealthyHostCount: "HealthyHostCount";
566
+ readonly InstanceResponseTime: "InstanceResponseTime";
567
+ readonly NetworkIn: "NetworkIn";
568
+ readonly NetworkOut: "NetworkOut";
569
+ readonly NetworkReceiveThroughput: "NetworkReceiveThroughput";
570
+ readonly NetworkTransmitThroughput: "NetworkTransmitThroughput";
571
+ readonly RejectedConnectionCount: "RejectedConnectionCount";
572
+ readonly RequestCount: "RequestCount";
573
+ readonly StatusCheckFailed: "StatusCheckFailed";
574
+ readonly StatusCheckFailed_Instance: "StatusCheckFailed_Instance";
575
+ readonly StatusCheckFailed_System: "StatusCheckFailed_System";
576
+ readonly UnhealthyHostCount: "UnhealthyHostCount";
577
+ };
578
+ /**
579
+ * @public
580
+ */
581
+ export type MetricName = (typeof MetricName)[keyof typeof MetricName];
582
+ /**
583
+ * @public
584
+ * @enum
585
+ */
586
+ export declare const ResourceType: {
587
+ readonly Alarm: "Alarm";
588
+ readonly Bucket: "Bucket";
589
+ readonly Certificate: "Certificate";
590
+ readonly CloudFormationStackRecord: "CloudFormationStackRecord";
591
+ readonly ContactMethod: "ContactMethod";
592
+ readonly ContainerService: "ContainerService";
593
+ readonly Disk: "Disk";
594
+ readonly DiskSnapshot: "DiskSnapshot";
595
+ readonly Distribution: "Distribution";
596
+ readonly Domain: "Domain";
597
+ readonly ExportSnapshotRecord: "ExportSnapshotRecord";
598
+ readonly Instance: "Instance";
599
+ readonly InstanceSnapshot: "InstanceSnapshot";
600
+ readonly KeyPair: "KeyPair";
601
+ readonly LoadBalancer: "LoadBalancer";
602
+ readonly LoadBalancerTlsCertificate: "LoadBalancerTlsCertificate";
603
+ readonly PeeredVpc: "PeeredVpc";
604
+ readonly RelationalDatabase: "RelationalDatabase";
605
+ readonly RelationalDatabaseSnapshot: "RelationalDatabaseSnapshot";
606
+ readonly StaticIp: "StaticIp";
607
+ };
608
+ /**
609
+ * @public
610
+ */
611
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
557
612
  /**
558
613
  * @public
559
614
  * <p>Describes resource being monitored by an alarm.</p>
@@ -579,63 +634,83 @@ export interface MonitoredResourceInfo {
579
634
  }
580
635
  /**
581
636
  * @public
637
+ * @enum
582
638
  */
583
- export declare enum AlarmState {
584
- ALARM = "ALARM",
585
- INSUFFICIENT_DATA = "INSUFFICIENT_DATA",
586
- OK = "OK"
587
- }
639
+ export declare const AlarmState: {
640
+ readonly ALARM: "ALARM";
641
+ readonly INSUFFICIENT_DATA: "INSUFFICIENT_DATA";
642
+ readonly OK: "OK";
643
+ };
588
644
  /**
589
645
  * @public
590
646
  */
591
- export declare enum MetricStatistic {
592
- Average = "Average",
593
- Maximum = "Maximum",
594
- Minimum = "Minimum",
595
- SampleCount = "SampleCount",
596
- Sum = "Sum"
597
- }
647
+ export type AlarmState = (typeof AlarmState)[keyof typeof AlarmState];
598
648
  /**
599
649
  * @public
650
+ * @enum
600
651
  */
601
- export declare enum TreatMissingData {
602
- Breaching = "breaching",
603
- Ignore = "ignore",
604
- Missing = "missing",
605
- NotBreaching = "notBreaching"
606
- }
652
+ export declare const MetricStatistic: {
653
+ readonly Average: "Average";
654
+ readonly Maximum: "Maximum";
655
+ readonly Minimum: "Minimum";
656
+ readonly SampleCount: "SampleCount";
657
+ readonly Sum: "Sum";
658
+ };
607
659
  /**
608
660
  * @public
609
661
  */
610
- export declare enum MetricUnit {
611
- Bits = "Bits",
612
- BitsSecond = "Bits/Second",
613
- Bytes = "Bytes",
614
- BytesSecond = "Bytes/Second",
615
- Count = "Count",
616
- CountSecond = "Count/Second",
617
- Gigabits = "Gigabits",
618
- GigabitsSecond = "Gigabits/Second",
619
- Gigabytes = "Gigabytes",
620
- GigabytesSecond = "Gigabytes/Second",
621
- Kilobits = "Kilobits",
622
- KilobitsSecond = "Kilobits/Second",
623
- Kilobytes = "Kilobytes",
624
- KilobytesSecond = "Kilobytes/Second",
625
- Megabits = "Megabits",
626
- MegabitsSecond = "Megabits/Second",
627
- Megabytes = "Megabytes",
628
- MegabytesSecond = "Megabytes/Second",
629
- Microseconds = "Microseconds",
630
- Milliseconds = "Milliseconds",
631
- None = "None",
632
- Percent = "Percent",
633
- Seconds = "Seconds",
634
- Terabits = "Terabits",
635
- TerabitsSecond = "Terabits/Second",
636
- Terabytes = "Terabytes",
637
- TerabytesSecond = "Terabytes/Second"
638
- }
662
+ export type MetricStatistic = (typeof MetricStatistic)[keyof typeof MetricStatistic];
663
+ /**
664
+ * @public
665
+ * @enum
666
+ */
667
+ export declare const TreatMissingData: {
668
+ readonly Breaching: "breaching";
669
+ readonly Ignore: "ignore";
670
+ readonly Missing: "missing";
671
+ readonly NotBreaching: "notBreaching";
672
+ };
673
+ /**
674
+ * @public
675
+ */
676
+ export type TreatMissingData = (typeof TreatMissingData)[keyof typeof TreatMissingData];
677
+ /**
678
+ * @public
679
+ * @enum
680
+ */
681
+ export declare const MetricUnit: {
682
+ readonly Bits: "Bits";
683
+ readonly BitsSecond: "Bits/Second";
684
+ readonly Bytes: "Bytes";
685
+ readonly BytesSecond: "Bytes/Second";
686
+ readonly Count: "Count";
687
+ readonly CountSecond: "Count/Second";
688
+ readonly Gigabits: "Gigabits";
689
+ readonly GigabitsSecond: "Gigabits/Second";
690
+ readonly Gigabytes: "Gigabytes";
691
+ readonly GigabytesSecond: "Gigabytes/Second";
692
+ readonly Kilobits: "Kilobits";
693
+ readonly KilobitsSecond: "Kilobits/Second";
694
+ readonly Kilobytes: "Kilobytes";
695
+ readonly KilobytesSecond: "Kilobytes/Second";
696
+ readonly Megabits: "Megabits";
697
+ readonly MegabitsSecond: "Megabits/Second";
698
+ readonly Megabytes: "Megabytes";
699
+ readonly MegabytesSecond: "Megabytes/Second";
700
+ readonly Microseconds: "Microseconds";
701
+ readonly Milliseconds: "Milliseconds";
702
+ readonly None: "None";
703
+ readonly Percent: "Percent";
704
+ readonly Seconds: "Seconds";
705
+ readonly Terabits: "Terabits";
706
+ readonly TerabitsSecond: "Terabits/Second";
707
+ readonly Terabytes: "Terabytes";
708
+ readonly TerabytesSecond: "Terabytes/Second";
709
+ };
710
+ /**
711
+ * @public
712
+ */
713
+ export type MetricUnit = (typeof MetricUnit)[keyof typeof MetricUnit];
639
714
  /**
640
715
  * @public
641
716
  * <p>Describes an alarm.</p>
@@ -809,101 +884,111 @@ export interface AllocateStaticIpRequest {
809
884
  }
810
885
  /**
811
886
  * @public
812
- */
813
- export declare enum OperationType {
814
- AllocateStaticIp = "AllocateStaticIp",
815
- AttachCertificateToDistribution = "AttachCertificateToDistribution",
816
- AttachDisk = "AttachDisk",
817
- AttachInstancesToLoadBalancer = "AttachInstancesToLoadBalancer",
818
- AttachLoadBalancerTlsCertificate = "AttachLoadBalancerTlsCertificate",
819
- AttachStaticIp = "AttachStaticIp",
820
- CloseInstancePublicPorts = "CloseInstancePublicPorts",
821
- CreateBucket = "CreateBucket",
822
- CreateBucketAccessKey = "CreateBucketAccessKey",
823
- CreateCertificate = "CreateCertificate",
824
- CreateContactMethod = "CreateContactMethod",
825
- CreateContainerService = "CreateContainerService",
826
- CreateContainerServiceDeployment = "CreateContainerServiceDeployment",
827
- CreateContainerServiceRegistryLogin = "CreateContainerServiceRegistryLogin",
828
- CreateDisk = "CreateDisk",
829
- CreateDiskFromSnapshot = "CreateDiskFromSnapshot",
830
- CreateDiskSnapshot = "CreateDiskSnapshot",
831
- CreateDistribution = "CreateDistribution",
832
- CreateDomain = "CreateDomain",
833
- CreateInstance = "CreateInstance",
834
- CreateInstanceSnapshot = "CreateInstanceSnapshot",
835
- CreateInstancesFromSnapshot = "CreateInstancesFromSnapshot",
836
- CreateLoadBalancer = "CreateLoadBalancer",
837
- CreateLoadBalancerTlsCertificate = "CreateLoadBalancerTlsCertificate",
838
- CreateRelationalDatabase = "CreateRelationalDatabase",
839
- CreateRelationalDatabaseFromSnapshot = "CreateRelationalDatabaseFromSnapshot",
840
- CreateRelationalDatabaseSnapshot = "CreateRelationalDatabaseSnapshot",
841
- DeleteAlarm = "DeleteAlarm",
842
- DeleteBucket = "DeleteBucket",
843
- DeleteBucketAccessKey = "DeleteBucketAccessKey",
844
- DeleteCertificate = "DeleteCertificate",
845
- DeleteContactMethod = "DeleteContactMethod",
846
- DeleteContainerImage = "DeleteContainerImage",
847
- DeleteContainerService = "DeleteContainerService",
848
- DeleteDisk = "DeleteDisk",
849
- DeleteDiskSnapshot = "DeleteDiskSnapshot",
850
- DeleteDistribution = "DeleteDistribution",
851
- DeleteDomain = "DeleteDomain",
852
- DeleteDomainEntry = "DeleteDomainEntry",
853
- DeleteInstance = "DeleteInstance",
854
- DeleteInstanceSnapshot = "DeleteInstanceSnapshot",
855
- DeleteKnownHostKeys = "DeleteKnownHostKeys",
856
- DeleteLoadBalancer = "DeleteLoadBalancer",
857
- DeleteLoadBalancerTlsCertificate = "DeleteLoadBalancerTlsCertificate",
858
- DeleteRelationalDatabase = "DeleteRelationalDatabase",
859
- DeleteRelationalDatabaseSnapshot = "DeleteRelationalDatabaseSnapshot",
860
- DetachCertificateFromDistribution = "DetachCertificateFromDistribution",
861
- DetachDisk = "DetachDisk",
862
- DetachInstancesFromLoadBalancer = "DetachInstancesFromLoadBalancer",
863
- DetachStaticIp = "DetachStaticIp",
864
- DisableAddOn = "DisableAddOn",
865
- EnableAddOn = "EnableAddOn",
866
- GetAlarms = "GetAlarms",
867
- GetContactMethods = "GetContactMethods",
868
- OpenInstancePublicPorts = "OpenInstancePublicPorts",
869
- PutAlarm = "PutAlarm",
870
- PutInstancePublicPorts = "PutInstancePublicPorts",
871
- RebootInstance = "RebootInstance",
872
- RebootRelationalDatabase = "RebootRelationalDatabase",
873
- RegisterContainerImage = "RegisterContainerImage",
874
- ReleaseStaticIp = "ReleaseStaticIp",
875
- ResetDistributionCache = "ResetDistributionCache",
876
- SendContactMethodVerification = "SendContactMethodVerification",
877
- SetIpAddressType = "SetIpAddressType",
878
- SetResourceAccessForBucket = "SetResourceAccessForBucket",
879
- StartGUISession = "StartGUISession",
880
- StartInstance = "StartInstance",
881
- StartRelationalDatabase = "StartRelationalDatabase",
882
- StopGUISession = "StopGUISession",
883
- StopInstance = "StopInstance",
884
- StopRelationalDatabase = "StopRelationalDatabase",
885
- TestAlarm = "TestAlarm",
886
- UpdateBucket = "UpdateBucket",
887
- UpdateBucketBundle = "UpdateBucketBundle",
888
- UpdateContainerService = "UpdateContainerService",
889
- UpdateDistribution = "UpdateDistribution",
890
- UpdateDistributionBundle = "UpdateDistributionBundle",
891
- UpdateDomainEntry = "UpdateDomainEntry",
892
- UpdateInstanceMetadataOptions = "UpdateInstanceMetadataOptions",
893
- UpdateLoadBalancerAttribute = "UpdateLoadBalancerAttribute",
894
- UpdateRelationalDatabase = "UpdateRelationalDatabase",
895
- UpdateRelationalDatabaseParameters = "UpdateRelationalDatabaseParameters"
896
- }
897
- /**
898
- * @public
899
- */
900
- export declare enum OperationStatus {
901
- Completed = "Completed",
902
- Failed = "Failed",
903
- NotStarted = "NotStarted",
904
- Started = "Started",
905
- Succeeded = "Succeeded"
906
- }
887
+ * @enum
888
+ */
889
+ export declare const OperationType: {
890
+ readonly AllocateStaticIp: "AllocateStaticIp";
891
+ readonly AttachCertificateToDistribution: "AttachCertificateToDistribution";
892
+ readonly AttachDisk: "AttachDisk";
893
+ readonly AttachInstancesToLoadBalancer: "AttachInstancesToLoadBalancer";
894
+ readonly AttachLoadBalancerTlsCertificate: "AttachLoadBalancerTlsCertificate";
895
+ readonly AttachStaticIp: "AttachStaticIp";
896
+ readonly CloseInstancePublicPorts: "CloseInstancePublicPorts";
897
+ readonly CreateBucket: "CreateBucket";
898
+ readonly CreateBucketAccessKey: "CreateBucketAccessKey";
899
+ readonly CreateCertificate: "CreateCertificate";
900
+ readonly CreateContactMethod: "CreateContactMethod";
901
+ readonly CreateContainerService: "CreateContainerService";
902
+ readonly CreateContainerServiceDeployment: "CreateContainerServiceDeployment";
903
+ readonly CreateContainerServiceRegistryLogin: "CreateContainerServiceRegistryLogin";
904
+ readonly CreateDisk: "CreateDisk";
905
+ readonly CreateDiskFromSnapshot: "CreateDiskFromSnapshot";
906
+ readonly CreateDiskSnapshot: "CreateDiskSnapshot";
907
+ readonly CreateDistribution: "CreateDistribution";
908
+ readonly CreateDomain: "CreateDomain";
909
+ readonly CreateInstance: "CreateInstance";
910
+ readonly CreateInstanceSnapshot: "CreateInstanceSnapshot";
911
+ readonly CreateInstancesFromSnapshot: "CreateInstancesFromSnapshot";
912
+ readonly CreateLoadBalancer: "CreateLoadBalancer";
913
+ readonly CreateLoadBalancerTlsCertificate: "CreateLoadBalancerTlsCertificate";
914
+ readonly CreateRelationalDatabase: "CreateRelationalDatabase";
915
+ readonly CreateRelationalDatabaseFromSnapshot: "CreateRelationalDatabaseFromSnapshot";
916
+ readonly CreateRelationalDatabaseSnapshot: "CreateRelationalDatabaseSnapshot";
917
+ readonly DeleteAlarm: "DeleteAlarm";
918
+ readonly DeleteBucket: "DeleteBucket";
919
+ readonly DeleteBucketAccessKey: "DeleteBucketAccessKey";
920
+ readonly DeleteCertificate: "DeleteCertificate";
921
+ readonly DeleteContactMethod: "DeleteContactMethod";
922
+ readonly DeleteContainerImage: "DeleteContainerImage";
923
+ readonly DeleteContainerService: "DeleteContainerService";
924
+ readonly DeleteDisk: "DeleteDisk";
925
+ readonly DeleteDiskSnapshot: "DeleteDiskSnapshot";
926
+ readonly DeleteDistribution: "DeleteDistribution";
927
+ readonly DeleteDomain: "DeleteDomain";
928
+ readonly DeleteDomainEntry: "DeleteDomainEntry";
929
+ readonly DeleteInstance: "DeleteInstance";
930
+ readonly DeleteInstanceSnapshot: "DeleteInstanceSnapshot";
931
+ readonly DeleteKnownHostKeys: "DeleteKnownHostKeys";
932
+ readonly DeleteLoadBalancer: "DeleteLoadBalancer";
933
+ readonly DeleteLoadBalancerTlsCertificate: "DeleteLoadBalancerTlsCertificate";
934
+ readonly DeleteRelationalDatabase: "DeleteRelationalDatabase";
935
+ readonly DeleteRelationalDatabaseSnapshot: "DeleteRelationalDatabaseSnapshot";
936
+ readonly DetachCertificateFromDistribution: "DetachCertificateFromDistribution";
937
+ readonly DetachDisk: "DetachDisk";
938
+ readonly DetachInstancesFromLoadBalancer: "DetachInstancesFromLoadBalancer";
939
+ readonly DetachStaticIp: "DetachStaticIp";
940
+ readonly DisableAddOn: "DisableAddOn";
941
+ readonly EnableAddOn: "EnableAddOn";
942
+ readonly GetAlarms: "GetAlarms";
943
+ readonly GetContactMethods: "GetContactMethods";
944
+ readonly OpenInstancePublicPorts: "OpenInstancePublicPorts";
945
+ readonly PutAlarm: "PutAlarm";
946
+ readonly PutInstancePublicPorts: "PutInstancePublicPorts";
947
+ readonly RebootInstance: "RebootInstance";
948
+ readonly RebootRelationalDatabase: "RebootRelationalDatabase";
949
+ readonly RegisterContainerImage: "RegisterContainerImage";
950
+ readonly ReleaseStaticIp: "ReleaseStaticIp";
951
+ readonly ResetDistributionCache: "ResetDistributionCache";
952
+ readonly SendContactMethodVerification: "SendContactMethodVerification";
953
+ readonly SetIpAddressType: "SetIpAddressType";
954
+ readonly SetResourceAccessForBucket: "SetResourceAccessForBucket";
955
+ readonly StartGUISession: "StartGUISession";
956
+ readonly StartInstance: "StartInstance";
957
+ readonly StartRelationalDatabase: "StartRelationalDatabase";
958
+ readonly StopGUISession: "StopGUISession";
959
+ readonly StopInstance: "StopInstance";
960
+ readonly StopRelationalDatabase: "StopRelationalDatabase";
961
+ readonly TestAlarm: "TestAlarm";
962
+ readonly UpdateBucket: "UpdateBucket";
963
+ readonly UpdateBucketBundle: "UpdateBucketBundle";
964
+ readonly UpdateContainerService: "UpdateContainerService";
965
+ readonly UpdateDistribution: "UpdateDistribution";
966
+ readonly UpdateDistributionBundle: "UpdateDistributionBundle";
967
+ readonly UpdateDomainEntry: "UpdateDomainEntry";
968
+ readonly UpdateInstanceMetadataOptions: "UpdateInstanceMetadataOptions";
969
+ readonly UpdateLoadBalancerAttribute: "UpdateLoadBalancerAttribute";
970
+ readonly UpdateRelationalDatabase: "UpdateRelationalDatabase";
971
+ readonly UpdateRelationalDatabaseParameters: "UpdateRelationalDatabaseParameters";
972
+ };
973
+ /**
974
+ * @public
975
+ */
976
+ export type OperationType = (typeof OperationType)[keyof typeof OperationType];
977
+ /**
978
+ * @public
979
+ * @enum
980
+ */
981
+ export declare const OperationStatus: {
982
+ readonly Completed: "Completed";
983
+ readonly Failed: "Failed";
984
+ readonly NotStarted: "NotStarted";
985
+ readonly Started: "Started";
986
+ readonly Succeeded: "Succeeded";
987
+ };
988
+ /**
989
+ * @public
990
+ */
991
+ export type OperationStatus = (typeof OperationStatus)[keyof typeof OperationStatus];
907
992
  /**
908
993
  * @public
909
994
  * <p>Describes the API operation.</p>
@@ -1053,10 +1138,15 @@ export declare class UnauthenticatedException extends __BaseException {
1053
1138
  }
1054
1139
  /**
1055
1140
  * @public
1141
+ * @enum
1056
1142
  */
1057
- export declare enum AppCategory {
1058
- LfR = "LfR"
1059
- }
1143
+ export declare const AppCategory: {
1144
+ readonly LfR: "LfR";
1145
+ };
1146
+ /**
1147
+ * @public
1148
+ */
1149
+ export type AppCategory = (typeof AppCategory)[keyof typeof AppCategory];
1060
1150
  /**
1061
1151
  * @public
1062
1152
  */
@@ -1238,22 +1328,32 @@ export interface AttachStaticIpResult {
1238
1328
  }
1239
1329
  /**
1240
1330
  * @public
1331
+ * @enum
1241
1332
  */
1242
- export declare enum AutoMountStatus {
1243
- Failed = "Failed",
1244
- Mounted = "Mounted",
1245
- NotMounted = "NotMounted",
1246
- Pending = "Pending"
1247
- }
1333
+ export declare const AutoMountStatus: {
1334
+ readonly Failed: "Failed";
1335
+ readonly Mounted: "Mounted";
1336
+ readonly NotMounted: "NotMounted";
1337
+ readonly Pending: "Pending";
1338
+ };
1248
1339
  /**
1249
1340
  * @public
1250
1341
  */
1251
- export declare enum AutoSnapshotStatus {
1252
- FAILED = "Failed",
1253
- IN_PROGRESS = "InProgress",
1254
- NOT_FOUND = "NotFound",
1255
- SUCCESS = "Success"
1256
- }
1342
+ export type AutoMountStatus = (typeof AutoMountStatus)[keyof typeof AutoMountStatus];
1343
+ /**
1344
+ * @public
1345
+ * @enum
1346
+ */
1347
+ export declare const AutoSnapshotStatus: {
1348
+ readonly FAILED: "Failed";
1349
+ readonly IN_PROGRESS: "InProgress";
1350
+ readonly NOT_FOUND: "NotFound";
1351
+ readonly SUCCESS: "Success";
1352
+ };
1353
+ /**
1354
+ * @public
1355
+ */
1356
+ export type AutoSnapshotStatus = (typeof AutoSnapshotStatus)[keyof typeof AutoSnapshotStatus];
1257
1357
  /**
1258
1358
  * @public
1259
1359
  * <p>Describes an automatic snapshot.</p>
@@ -1295,25 +1395,40 @@ export interface AvailabilityZone {
1295
1395
  }
1296
1396
  /**
1297
1397
  * @public
1398
+ * @enum
1298
1399
  */
1299
- export declare enum BehaviorEnum {
1300
- CacheSetting = "cache",
1301
- DontCacheSetting = "dont-cache"
1302
- }
1400
+ export declare const BehaviorEnum: {
1401
+ readonly CacheSetting: "cache";
1402
+ readonly DontCacheSetting: "dont-cache";
1403
+ };
1303
1404
  /**
1304
1405
  * @public
1305
1406
  */
1306
- export declare enum InstancePlatform {
1307
- LinuxUnix = "LINUX_UNIX",
1308
- Windows = "WINDOWS"
1309
- }
1407
+ export type BehaviorEnum = (typeof BehaviorEnum)[keyof typeof BehaviorEnum];
1310
1408
  /**
1311
1409
  * @public
1410
+ * @enum
1312
1411
  */
1313
- export declare enum BlueprintType {
1314
- app = "app",
1315
- os = "os"
1316
- }
1412
+ export declare const InstancePlatform: {
1413
+ readonly LinuxUnix: "LINUX_UNIX";
1414
+ readonly Windows: "WINDOWS";
1415
+ };
1416
+ /**
1417
+ * @public
1418
+ */
1419
+ export type InstancePlatform = (typeof InstancePlatform)[keyof typeof InstancePlatform];
1420
+ /**
1421
+ * @public
1422
+ * @enum
1423
+ */
1424
+ export declare const BlueprintType: {
1425
+ readonly app: "app";
1426
+ readonly os: "os";
1427
+ };
1428
+ /**
1429
+ * @public
1430
+ */
1431
+ export type BlueprintType = (typeof BlueprintType)[keyof typeof BlueprintType];
1317
1432
  /**
1318
1433
  * @public
1319
1434
  * <p>Describes a blueprint (a virtual private server image).</p>
@@ -1603,11 +1718,16 @@ export interface BucketBundle {
1603
1718
  }
1604
1719
  /**
1605
1720
  * @public
1721
+ * @enum
1606
1722
  */
1607
- export declare enum BucketMetricName {
1608
- BucketSizeBytes = "BucketSizeBytes",
1609
- NumberOfObjects = "NumberOfObjects"
1610
- }
1723
+ export declare const BucketMetricName: {
1724
+ readonly BucketSizeBytes: "BucketSizeBytes";
1725
+ readonly NumberOfObjects: "NumberOfObjects";
1726
+ };
1727
+ /**
1728
+ * @public
1729
+ */
1730
+ export type BucketMetricName = (typeof BucketMetricName)[keyof typeof BucketMetricName];
1611
1731
  /**
1612
1732
  * @public
1613
1733
  * <p>Describes a bundle, which is a set of specs describing your virtual private server (or
@@ -1792,12 +1912,17 @@ export interface CacheBehaviorPerPath {
1792
1912
  }
1793
1913
  /**
1794
1914
  * @public
1915
+ * @enum
1795
1916
  */
1796
- export declare enum ForwardValues {
1797
- all = "all",
1798
- allowList = "allow-list",
1799
- none = "none"
1800
- }
1917
+ export declare const ForwardValues: {
1918
+ readonly all: "all";
1919
+ readonly allowList: "allow-list";
1920
+ readonly none: "none";
1921
+ };
1922
+ /**
1923
+ * @public
1924
+ */
1925
+ export type ForwardValues = (typeof ForwardValues)[keyof typeof ForwardValues];
1801
1926
  /**
1802
1927
  * @public
1803
1928
  * <p>Describes whether an Amazon Lightsail content delivery network (CDN) distribution forwards
@@ -1820,24 +1945,29 @@ export interface CookieObject {
1820
1945
  }
1821
1946
  /**
1822
1947
  * @public
1948
+ * @enum
1823
1949
  */
1824
- export declare enum HeaderEnum {
1825
- accept = "Accept",
1826
- acceptCharset = "Accept-Charset",
1827
- acceptDatetime = "Accept-Datetime",
1828
- acceptEncoding = "Accept-Encoding",
1829
- acceptLanguage = "Accept-Language",
1830
- authorization = "Authorization",
1831
- cloudFrontForwardedProto = "CloudFront-Forwarded-Proto",
1832
- cloudFrontIsDesktopViewer = "CloudFront-Is-Desktop-Viewer",
1833
- cloudFrontIsMobileViewer = "CloudFront-Is-Mobile-Viewer",
1834
- cloudFrontIsSmartTVViewer = "CloudFront-Is-SmartTV-Viewer",
1835
- cloudFrontIsTabletViewer = "CloudFront-Is-Tablet-Viewer",
1836
- cloudFrontViewerCountry = "CloudFront-Viewer-Country",
1837
- host = "Host",
1838
- origin = "Origin",
1839
- referer = "Referer"
1840
- }
1950
+ export declare const HeaderEnum: {
1951
+ readonly accept: "Accept";
1952
+ readonly acceptCharset: "Accept-Charset";
1953
+ readonly acceptDatetime: "Accept-Datetime";
1954
+ readonly acceptEncoding: "Accept-Encoding";
1955
+ readonly acceptLanguage: "Accept-Language";
1956
+ readonly authorization: "Authorization";
1957
+ readonly cloudFrontForwardedProto: "CloudFront-Forwarded-Proto";
1958
+ readonly cloudFrontIsDesktopViewer: "CloudFront-Is-Desktop-Viewer";
1959
+ readonly cloudFrontIsMobileViewer: "CloudFront-Is-Mobile-Viewer";
1960
+ readonly cloudFrontIsSmartTVViewer: "CloudFront-Is-SmartTV-Viewer";
1961
+ readonly cloudFrontIsTabletViewer: "CloudFront-Is-Tablet-Viewer";
1962
+ readonly cloudFrontViewerCountry: "CloudFront-Viewer-Country";
1963
+ readonly host: "Host";
1964
+ readonly origin: "Origin";
1965
+ readonly referer: "Referer";
1966
+ };
1967
+ /**
1968
+ * @public
1969
+ */
1970
+ export type HeaderEnum = (typeof HeaderEnum)[keyof typeof HeaderEnum];
1841
1971
  /**
1842
1972
  * @public
1843
1973
  * <p>Describes the request headers that a Lightsail distribution bases caching on.</p>
@@ -2005,12 +2135,17 @@ export interface CacheSettings {
2005
2135
  }
2006
2136
  /**
2007
2137
  * @public
2138
+ * @enum
2008
2139
  */
2009
- export declare enum DnsRecordCreationStateCode {
2010
- Failed = "FAILED",
2011
- Started = "STARTED",
2012
- Succeeded = "SUCCEEDED"
2013
- }
2140
+ export declare const DnsRecordCreationStateCode: {
2141
+ readonly Failed: "FAILED";
2142
+ readonly Started: "STARTED";
2143
+ readonly Succeeded: "SUCCEEDED";
2144
+ };
2145
+ /**
2146
+ * @public
2147
+ */
2148
+ export type DnsRecordCreationStateCode = (typeof DnsRecordCreationStateCode)[keyof typeof DnsRecordCreationStateCode];
2014
2149
  /**
2015
2150
  * @public
2016
2151
  * <p>Describes the creation state of the canonical name (CNAME) records that are automatically
@@ -2072,12 +2207,17 @@ export interface ResourceRecord {
2072
2207
  }
2073
2208
  /**
2074
2209
  * @public
2210
+ * @enum
2075
2211
  */
2076
- export declare enum CertificateDomainValidationStatus {
2077
- Failed = "FAILED",
2078
- PendingValidation = "PENDING_VALIDATION",
2079
- Success = "SUCCESS"
2080
- }
2212
+ export declare const CertificateDomainValidationStatus: {
2213
+ readonly Failed: "FAILED";
2214
+ readonly PendingValidation: "PENDING_VALIDATION";
2215
+ readonly Success: "SUCCESS";
2216
+ };
2217
+ /**
2218
+ * @public
2219
+ */
2220
+ export type CertificateDomainValidationStatus = (typeof CertificateDomainValidationStatus)[keyof typeof CertificateDomainValidationStatus];
2081
2221
  /**
2082
2222
  * @public
2083
2223
  * <p>Describes the domain name system (DNS) records that you must add to the DNS of your
@@ -2107,13 +2247,18 @@ export interface DomainValidationRecord {
2107
2247
  }
2108
2248
  /**
2109
2249
  * @public
2250
+ * @enum
2110
2251
  */
2111
- export declare enum RenewalStatus {
2112
- Failed = "Failed",
2113
- PendingAutoRenewal = "PendingAutoRenewal",
2114
- PendingValidation = "PendingValidation",
2115
- Success = "Success"
2116
- }
2252
+ export declare const RenewalStatus: {
2253
+ readonly Failed: "Failed";
2254
+ readonly PendingAutoRenewal: "PendingAutoRenewal";
2255
+ readonly PendingValidation: "PendingValidation";
2256
+ readonly Success: "Success";
2257
+ };
2258
+ /**
2259
+ * @public
2260
+ */
2261
+ export type RenewalStatus = (typeof RenewalStatus)[keyof typeof RenewalStatus];
2117
2262
  /**
2118
2263
  * @public
2119
2264
  * <p>Describes the status of a SSL/TLS certificate renewal managed by Amazon Lightsail.</p>
@@ -2176,16 +2321,21 @@ export interface RenewalSummary {
2176
2321
  }
2177
2322
  /**
2178
2323
  * @public
2324
+ * @enum
2179
2325
  */
2180
- export declare enum CertificateStatus {
2181
- Expired = "EXPIRED",
2182
- Failed = "FAILED",
2183
- Inactive = "INACTIVE",
2184
- Issued = "ISSUED",
2185
- PendingValidation = "PENDING_VALIDATION",
2186
- Revoked = "REVOKED",
2187
- ValidationTimedOut = "VALIDATION_TIMED_OUT"
2188
- }
2326
+ export declare const CertificateStatus: {
2327
+ readonly Expired: "EXPIRED";
2328
+ readonly Failed: "FAILED";
2329
+ readonly Inactive: "INACTIVE";
2330
+ readonly Issued: "ISSUED";
2331
+ readonly PendingValidation: "PENDING_VALIDATION";
2332
+ readonly Revoked: "REVOKED";
2333
+ readonly ValidationTimedOut: "VALIDATION_TIMED_OUT";
2334
+ };
2335
+ /**
2336
+ * @public
2337
+ */
2338
+ export type CertificateStatus = (typeof CertificateStatus)[keyof typeof CertificateStatus];
2189
2339
  /**
2190
2340
  * @public
2191
2341
  * <p>Describes the full details of an Amazon Lightsail SSL/TLS certificate.</p>
@@ -2380,13 +2530,18 @@ export interface CertificateSummary {
2380
2530
  }
2381
2531
  /**
2382
2532
  * @public
2533
+ * @enum
2383
2534
  */
2384
- export declare enum NetworkProtocol {
2385
- ALL = "all",
2386
- ICMP = "icmp",
2387
- TCP = "tcp",
2388
- UDP = "udp"
2389
- }
2535
+ export declare const NetworkProtocol: {
2536
+ readonly ALL: "all";
2537
+ readonly ICMP: "icmp";
2538
+ readonly TCP: "tcp";
2539
+ readonly UDP: "udp";
2540
+ };
2541
+ /**
2542
+ * @public
2543
+ */
2544
+ export type NetworkProtocol = (typeof NetworkProtocol)[keyof typeof NetworkProtocol];
2390
2545
  /**
2391
2546
  * @public
2392
2547
  * <p>Describes ports to open on an instance, the IP addresses allowed to connect to the
@@ -2556,10 +2711,15 @@ export interface DestinationInfo {
2556
2711
  }
2557
2712
  /**
2558
2713
  * @public
2714
+ * @enum
2559
2715
  */
2560
- export declare enum CloudFormationStackRecordSourceType {
2561
- ExportSnapshotRecord = "ExportSnapshotRecord"
2562
- }
2716
+ export declare const CloudFormationStackRecordSourceType: {
2717
+ readonly ExportSnapshotRecord: "ExportSnapshotRecord";
2718
+ };
2719
+ /**
2720
+ * @public
2721
+ */
2722
+ export type CloudFormationStackRecordSourceType = (typeof CloudFormationStackRecordSourceType)[keyof typeof CloudFormationStackRecordSourceType];
2563
2723
  /**
2564
2724
  * @public
2565
2725
  * <p>Describes the source of a CloudFormation stack record (i.e., the export snapshot
@@ -2581,12 +2741,17 @@ export interface CloudFormationStackRecordSourceInfo {
2581
2741
  }
2582
2742
  /**
2583
2743
  * @public
2744
+ * @enum
2584
2745
  */
2585
- export declare enum RecordState {
2586
- Failed = "Failed",
2587
- Started = "Started",
2588
- Succeeded = "Succeeded"
2589
- }
2746
+ export declare const RecordState: {
2747
+ readonly Failed: "Failed";
2748
+ readonly Started: "Started";
2749
+ readonly Succeeded: "Succeeded";
2750
+ };
2751
+ /**
2752
+ * @public
2753
+ */
2754
+ export type RecordState = (typeof RecordState)[keyof typeof RecordState];
2590
2755
  /**
2591
2756
  * @public
2592
2757
  * <p>Describes a CloudFormation stack record created as a result of the <code>create cloud
@@ -2633,12 +2798,17 @@ export interface CloudFormationStackRecord {
2633
2798
  }
2634
2799
  /**
2635
2800
  * @public
2801
+ * @enum
2636
2802
  */
2637
- export declare enum ContactMethodStatus {
2638
- Invalid = "Invalid",
2639
- PendingVerification = "PendingVerification",
2640
- Valid = "Valid"
2641
- }
2803
+ export declare const ContactMethodStatus: {
2804
+ readonly Invalid: "Invalid";
2805
+ readonly PendingVerification: "PendingVerification";
2806
+ readonly Valid: "Valid";
2807
+ };
2808
+ /**
2809
+ * @public
2810
+ */
2811
+ export type ContactMethodStatus = (typeof ContactMethodStatus)[keyof typeof ContactMethodStatus];
2642
2812
  /**
2643
2813
  * @public
2644
2814
  * <p>Describes a contact method.</p>
@@ -2704,19 +2874,29 @@ export interface ContactMethod {
2704
2874
  }
2705
2875
  /**
2706
2876
  * @public
2877
+ * @enum
2707
2878
  */
2708
- export declare enum ContactMethodVerificationProtocol {
2709
- Email = "Email"
2710
- }
2879
+ export declare const ContactMethodVerificationProtocol: {
2880
+ readonly Email: "Email";
2881
+ };
2711
2882
  /**
2712
2883
  * @public
2713
2884
  */
2714
- export declare enum ContainerServiceProtocol {
2715
- HTTP = "HTTP",
2716
- HTTPS = "HTTPS",
2717
- TCP = "TCP",
2718
- UDP = "UDP"
2719
- }
2885
+ export type ContactMethodVerificationProtocol = (typeof ContactMethodVerificationProtocol)[keyof typeof ContactMethodVerificationProtocol];
2886
+ /**
2887
+ * @public
2888
+ * @enum
2889
+ */
2890
+ export declare const ContainerServiceProtocol: {
2891
+ readonly HTTP: "HTTP";
2892
+ readonly HTTPS: "HTTPS";
2893
+ readonly TCP: "TCP";
2894
+ readonly UDP: "UDP";
2895
+ };
2896
+ /**
2897
+ * @public
2898
+ */
2899
+ export type ContainerServiceProtocol = (typeof ContainerServiceProtocol)[keyof typeof ContainerServiceProtocol];
2720
2900
  /**
2721
2901
  * @public
2722
2902
  * <p>Describes the settings of a container that will be launched, or that is launched, to an
@@ -2830,13 +3010,18 @@ export interface ContainerServiceEndpoint {
2830
3010
  }
2831
3011
  /**
2832
3012
  * @public
3013
+ * @enum
2833
3014
  */
2834
- export declare enum ContainerServiceDeploymentState {
2835
- ACTIVATING = "ACTIVATING",
2836
- ACTIVE = "ACTIVE",
2837
- FAILED = "FAILED",
2838
- INACTIVE = "INACTIVE"
2839
- }
3015
+ export declare const ContainerServiceDeploymentState: {
3016
+ readonly ACTIVATING: "ACTIVATING";
3017
+ readonly ACTIVE: "ACTIVE";
3018
+ readonly FAILED: "FAILED";
3019
+ readonly INACTIVE: "INACTIVE";
3020
+ };
3021
+ /**
3022
+ * @public
3023
+ */
3024
+ export type ContainerServiceDeploymentState = (typeof ContainerServiceDeploymentState)[keyof typeof ContainerServiceDeploymentState];
2840
3025
  /**
2841
3026
  * @public
2842
3027
  * <p>Describes a container deployment configuration of an Amazon Lightsail container
@@ -2892,15 +3077,20 @@ export interface ContainerServiceDeployment {
2892
3077
  }
2893
3078
  /**
2894
3079
  * @public
3080
+ * @enum
2895
3081
  */
2896
- export declare enum ContainerServicePowerName {
2897
- large = "large",
2898
- medium = "medium",
2899
- micro = "micro",
2900
- nano = "nano",
2901
- small = "small",
2902
- xlarge = "xlarge"
2903
- }
3082
+ export declare const ContainerServicePowerName: {
3083
+ readonly large: "large";
3084
+ readonly medium: "medium";
3085
+ readonly micro: "micro";
3086
+ readonly nano: "nano";
3087
+ readonly small: "small";
3088
+ readonly xlarge: "xlarge";
3089
+ };
3090
+ /**
3091
+ * @public
3092
+ */
3093
+ export type ContainerServicePowerName = (typeof ContainerServicePowerName)[keyof typeof ContainerServicePowerName];
2904
3094
  /**
2905
3095
  * @public
2906
3096
  * <p>Describes the activation status of the role that you can use to grant an Amazon Lightsail container service access to Amazon Elastic Container Registry (Amazon ECR)
@@ -2938,30 +3128,40 @@ export interface PrivateRegistryAccess {
2938
3128
  }
2939
3129
  /**
2940
3130
  * @public
3131
+ * @enum
2941
3132
  */
2942
- export declare enum ContainerServiceState {
2943
- DELETING = "DELETING",
2944
- DEPLOYING = "DEPLOYING",
2945
- DISABLED = "DISABLED",
2946
- PENDING = "PENDING",
2947
- READY = "READY",
2948
- RUNNING = "RUNNING",
2949
- UPDATING = "UPDATING"
2950
- }
3133
+ export declare const ContainerServiceState: {
3134
+ readonly DELETING: "DELETING";
3135
+ readonly DEPLOYING: "DEPLOYING";
3136
+ readonly DISABLED: "DISABLED";
3137
+ readonly PENDING: "PENDING";
3138
+ readonly READY: "READY";
3139
+ readonly RUNNING: "RUNNING";
3140
+ readonly UPDATING: "UPDATING";
3141
+ };
2951
3142
  /**
2952
3143
  * @public
2953
3144
  */
2954
- export declare enum ContainerServiceStateDetailCode {
2955
- ACTIVATING_DEPLOYMENT = "ACTIVATING_DEPLOYMENT",
2956
- CERTIFICATE_LIMIT_EXCEEDED = "CERTIFICATE_LIMIT_EXCEEDED",
2957
- CREATING_DEPLOYMENT = "CREATING_DEPLOYMENT",
2958
- CREATING_NETWORK_INFRASTRUCTURE = "CREATING_NETWORK_INFRASTRUCTURE",
2959
- CREATING_SYSTEM_RESOURCES = "CREATING_SYSTEM_RESOURCES",
2960
- EVALUATING_HEALTH_CHECK = "EVALUATING_HEALTH_CHECK",
2961
- PROVISIONING_CERTIFICATE = "PROVISIONING_CERTIFICATE",
2962
- PROVISIONING_SERVICE = "PROVISIONING_SERVICE",
2963
- UNKNOWN_ERROR = "UNKNOWN_ERROR"
2964
- }
3145
+ export type ContainerServiceState = (typeof ContainerServiceState)[keyof typeof ContainerServiceState];
3146
+ /**
3147
+ * @public
3148
+ * @enum
3149
+ */
3150
+ export declare const ContainerServiceStateDetailCode: {
3151
+ readonly ACTIVATING_DEPLOYMENT: "ACTIVATING_DEPLOYMENT";
3152
+ readonly CERTIFICATE_LIMIT_EXCEEDED: "CERTIFICATE_LIMIT_EXCEEDED";
3153
+ readonly CREATING_DEPLOYMENT: "CREATING_DEPLOYMENT";
3154
+ readonly CREATING_NETWORK_INFRASTRUCTURE: "CREATING_NETWORK_INFRASTRUCTURE";
3155
+ readonly CREATING_SYSTEM_RESOURCES: "CREATING_SYSTEM_RESOURCES";
3156
+ readonly EVALUATING_HEALTH_CHECK: "EVALUATING_HEALTH_CHECK";
3157
+ readonly PROVISIONING_CERTIFICATE: "PROVISIONING_CERTIFICATE";
3158
+ readonly PROVISIONING_SERVICE: "PROVISIONING_SERVICE";
3159
+ readonly UNKNOWN_ERROR: "UNKNOWN_ERROR";
3160
+ };
3161
+ /**
3162
+ * @public
3163
+ */
3164
+ export type ContainerServiceStateDetailCode = (typeof ContainerServiceStateDetailCode)[keyof typeof ContainerServiceStateDetailCode];
2965
3165
  /**
2966
3166
  * @public
2967
3167
  * <p>Describes the current state of a container service.</p>
@@ -3260,11 +3460,16 @@ export interface ContainerServiceLogEvent {
3260
3460
  }
3261
3461
  /**
3262
3462
  * @public
3463
+ * @enum
3263
3464
  */
3264
- export declare enum ContainerServiceMetricName {
3265
- CPUUtilization = "CPUUtilization",
3266
- MemoryUtilization = "MemoryUtilization"
3267
- }
3465
+ export declare const ContainerServiceMetricName: {
3466
+ readonly CPUUtilization: "CPUUtilization";
3467
+ readonly MemoryUtilization: "MemoryUtilization";
3468
+ };
3469
+ /**
3470
+ * @public
3471
+ */
3472
+ export type ContainerServiceMetricName = (typeof ContainerServiceMetricName)[keyof typeof ContainerServiceMetricName];
3268
3473
  /**
3269
3474
  * @public
3270
3475
  * <p>Describes the powers that can be specified for an Amazon Lightsail container
@@ -3423,20 +3628,30 @@ export interface CopySnapshotResult {
3423
3628
  }
3424
3629
  /**
3425
3630
  * @public
3631
+ * @enum
3426
3632
  */
3427
- export declare enum Currency {
3428
- USD = "USD"
3429
- }
3633
+ export declare const Currency: {
3634
+ readonly USD: "USD";
3635
+ };
3430
3636
  /**
3431
3637
  * @public
3432
3638
  */
3433
- export declare enum PricingUnit {
3434
- Bundles = "Bundles",
3435
- GB = "GB",
3436
- GBMo = "GB-Mo",
3437
- Hrs = "Hrs",
3438
- Queries = "Queries"
3439
- }
3639
+ export type Currency = (typeof Currency)[keyof typeof Currency];
3640
+ /**
3641
+ * @public
3642
+ * @enum
3643
+ */
3644
+ export declare const PricingUnit: {
3645
+ readonly Bundles: "Bundles";
3646
+ readonly GB: "GB";
3647
+ readonly GBMo: "GB-Mo";
3648
+ readonly Hrs: "Hrs";
3649
+ readonly Queries: "Queries";
3650
+ };
3651
+ /**
3652
+ * @public
3653
+ */
3654
+ export type PricingUnit = (typeof PricingUnit)[keyof typeof PricingUnit];
3440
3655
  /**
3441
3656
  * @public
3442
3657
  * <p>Sets the start date and end date for retrieving a cost estimate. The start date is inclusive, but the end date is exclusive. For example, if <code>start</code> is <code>2017-01-01</code> and <code>end</code> is <code>2017-05-01</code>, then the cost and usage data is retrieved from <code>2017-01-01</code> up to and including <code>2017-04-30</code> but not including <code>2017-05-01</code>.</p>
@@ -3606,13 +3821,18 @@ export interface CreateCertificateResult {
3606
3821
  }
3607
3822
  /**
3608
3823
  * @public
3824
+ * @enum
3609
3825
  */
3610
- export declare enum PortInfoSourceType {
3611
- Closed = "CLOSED",
3612
- Default = "DEFAULT",
3613
- Instance = "INSTANCE",
3614
- None = "NONE"
3615
- }
3826
+ export declare const PortInfoSourceType: {
3827
+ readonly Closed: "CLOSED";
3828
+ readonly Default: "DEFAULT";
3829
+ readonly Instance: "INSTANCE";
3830
+ readonly None: "NONE";
3831
+ };
3832
+ /**
3833
+ * @public
3834
+ */
3835
+ export type PortInfoSourceType = (typeof PortInfoSourceType)[keyof typeof PortInfoSourceType];
3616
3836
  /**
3617
3837
  * @public
3618
3838
  * <p>Describes the Amazon Elastic Compute Cloud instance and related resources to be created using the
@@ -4111,18 +4331,28 @@ export interface CreateDiskSnapshotResult {
4111
4331
  }
4112
4332
  /**
4113
4333
  * @public
4334
+ * @enum
4114
4335
  */
4115
- export declare enum IpAddressType {
4116
- DUALSTACK = "dualstack",
4117
- IPV4 = "ipv4"
4118
- }
4336
+ export declare const IpAddressType: {
4337
+ readonly DUALSTACK: "dualstack";
4338
+ readonly IPV4: "ipv4";
4339
+ };
4119
4340
  /**
4120
4341
  * @public
4121
4342
  */
4122
- export declare enum OriginProtocolPolicyEnum {
4123
- HTTPOnly = "http-only",
4124
- HTTPSOnly = "https-only"
4125
- }
4343
+ export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
4344
+ /**
4345
+ * @public
4346
+ * @enum
4347
+ */
4348
+ export declare const OriginProtocolPolicyEnum: {
4349
+ readonly HTTPOnly: "http-only";
4350
+ readonly HTTPSOnly: "https-only";
4351
+ };
4352
+ /**
4353
+ * @public
4354
+ */
4355
+ export type OriginProtocolPolicyEnum = (typeof OriginProtocolPolicyEnum)[keyof typeof OriginProtocolPolicyEnum];
4126
4356
  /**
4127
4357
  * @public
4128
4358
  * <p>Describes the origin resource of an Amazon Lightsail content delivery network (CDN)
@@ -4507,19 +4737,24 @@ export interface Session {
4507
4737
  }
4508
4738
  /**
4509
4739
  * @public
4740
+ * @enum
4510
4741
  */
4511
- export declare enum Status {
4512
- FailedInstanceCreation = "failedInstanceCreation",
4513
- FailedStartingGUISession = "failedStartingGUISession",
4514
- FailedStoppingGUISession = "failedStoppingGUISession",
4515
- NotStarted = "notStarted",
4516
- SettingUpInstance = "settingUpInstance",
4517
- StartExpired = "startExpired",
4518
- Started = "started",
4519
- Starting = "starting",
4520
- Stopped = "stopped",
4521
- Stopping = "stopping"
4522
- }
4742
+ export declare const Status: {
4743
+ readonly FailedInstanceCreation: "failedInstanceCreation";
4744
+ readonly FailedStartingGUISession: "failedStartingGUISession";
4745
+ readonly FailedStoppingGUISession: "failedStoppingGUISession";
4746
+ readonly NotStarted: "notStarted";
4747
+ readonly SettingUpInstance: "settingUpInstance";
4748
+ readonly StartExpired: "startExpired";
4749
+ readonly Started: "started";
4750
+ readonly Starting: "starting";
4751
+ readonly Stopped: "stopped";
4752
+ readonly Stopping: "stopping";
4753
+ };
4754
+ /**
4755
+ * @public
4756
+ */
4757
+ export type Status = (typeof Status)[keyof typeof Status];
4523
4758
  /**
4524
4759
  * @public
4525
4760
  */
@@ -5961,14 +6196,19 @@ export interface DisableAddOnResult {
5961
6196
  }
5962
6197
  /**
5963
6198
  * @public
6199
+ * @enum
5964
6200
  */
5965
- export declare enum DiskState {
5966
- Available = "available",
5967
- Error = "error",
5968
- InUse = "in-use",
5969
- Pending = "pending",
5970
- Unknown = "unknown"
5971
- }
6201
+ export declare const DiskState: {
6202
+ readonly Available: "available";
6203
+ readonly Error: "error";
6204
+ readonly InUse: "in-use";
6205
+ readonly Pending: "pending";
6206
+ readonly Unknown: "unknown";
6207
+ };
6208
+ /**
6209
+ * @public
6210
+ */
6211
+ export type DiskState = (typeof DiskState)[keyof typeof DiskState];
5972
6212
  /**
5973
6213
  * @public
5974
6214
  * <p>Describes a block storage disk.</p>
@@ -6092,13 +6332,18 @@ export interface DiskInfo {
6092
6332
  }
6093
6333
  /**
6094
6334
  * @public
6335
+ * @enum
6095
6336
  */
6096
- export declare enum DiskSnapshotState {
6097
- Completed = "completed",
6098
- Error = "error",
6099
- Pending = "pending",
6100
- Unknown = "unknown"
6101
- }
6337
+ export declare const DiskSnapshotState: {
6338
+ readonly Completed: "completed";
6339
+ readonly Error: "error";
6340
+ readonly Pending: "pending";
6341
+ readonly Unknown: "unknown";
6342
+ };
6343
+ /**
6344
+ * @public
6345
+ */
6346
+ export type DiskSnapshotState = (typeof DiskSnapshotState)[keyof typeof DiskSnapshotState];
6102
6347
  /**
6103
6348
  * @public
6104
6349
  * <p>Describes a block storage disk snapshot.</p>
@@ -6211,24 +6456,34 @@ export interface DistributionBundle {
6211
6456
  }
6212
6457
  /**
6213
6458
  * @public
6459
+ * @enum
6214
6460
  */
6215
- export declare enum DistributionMetricName {
6216
- BytesDownloaded = "BytesDownloaded",
6217
- BytesUploaded = "BytesUploaded",
6218
- Http4xxErrorRate = "Http4xxErrorRate",
6219
- Http5xxErrorRate = "Http5xxErrorRate",
6220
- Requests = "Requests",
6221
- TotalErrorRate = "TotalErrorRate"
6222
- }
6461
+ export declare const DistributionMetricName: {
6462
+ readonly BytesDownloaded: "BytesDownloaded";
6463
+ readonly BytesUploaded: "BytesUploaded";
6464
+ readonly Http4xxErrorRate: "Http4xxErrorRate";
6465
+ readonly Http5xxErrorRate: "Http5xxErrorRate";
6466
+ readonly Requests: "Requests";
6467
+ readonly TotalErrorRate: "TotalErrorRate";
6468
+ };
6223
6469
  /**
6224
6470
  * @public
6225
6471
  */
6226
- export declare enum NameServersUpdateStateCode {
6227
- Failed = "FAILED",
6228
- Pending = "PENDING",
6229
- Started = "STARTED",
6230
- Succeeded = "SUCCEEDED"
6231
- }
6472
+ export type DistributionMetricName = (typeof DistributionMetricName)[keyof typeof DistributionMetricName];
6473
+ /**
6474
+ * @public
6475
+ * @enum
6476
+ */
6477
+ export declare const NameServersUpdateStateCode: {
6478
+ readonly Failed: "FAILED";
6479
+ readonly Pending: "PENDING";
6480
+ readonly Started: "STARTED";
6481
+ readonly Succeeded: "SUCCEEDED";
6482
+ };
6483
+ /**
6484
+ * @public
6485
+ */
6486
+ export type NameServersUpdateStateCode = (typeof NameServersUpdateStateCode)[keyof typeof NameServersUpdateStateCode];
6232
6487
  /**
6233
6488
  * @public
6234
6489
  * <p>Describes the state of the name server records update made by Amazon Lightsail
@@ -6267,13 +6522,18 @@ export interface NameServersUpdateState {
6267
6522
  }
6268
6523
  /**
6269
6524
  * @public
6525
+ * @enum
6270
6526
  */
6271
- export declare enum R53HostedZoneDeletionStateCode {
6272
- Failed = "FAILED",
6273
- Pending = "PENDING",
6274
- Started = "STARTED",
6275
- Succeeded = "SUCCEEDED"
6276
- }
6527
+ export declare const R53HostedZoneDeletionStateCode: {
6528
+ readonly Failed: "FAILED";
6529
+ readonly Pending: "PENDING";
6530
+ readonly Started: "STARTED";
6531
+ readonly Succeeded: "SUCCEEDED";
6532
+ };
6533
+ /**
6534
+ * @public
6535
+ */
6536
+ export type R53HostedZoneDeletionStateCode = (typeof R53HostedZoneDeletionStateCode)[keyof typeof R53HostedZoneDeletionStateCode];
6277
6537
  /**
6278
6538
  * @public
6279
6539
  * <p>Describes the deletion state of an Amazon Route 53 hosted zone for a domain that is
@@ -6480,11 +6740,16 @@ export interface InstanceSnapshotInfo {
6480
6740
  }
6481
6741
  /**
6482
6742
  * @public
6743
+ * @enum
6483
6744
  */
6484
- export declare enum ExportSnapshotRecordSourceType {
6485
- DiskSnapshot = "DiskSnapshot",
6486
- InstanceSnapshot = "InstanceSnapshot"
6487
- }
6745
+ export declare const ExportSnapshotRecordSourceType: {
6746
+ readonly DiskSnapshot: "DiskSnapshot";
6747
+ readonly InstanceSnapshot: "InstanceSnapshot";
6748
+ };
6749
+ /**
6750
+ * @public
6751
+ */
6752
+ export type ExportSnapshotRecordSourceType = (typeof ExportSnapshotRecordSourceType)[keyof typeof ExportSnapshotRecordSourceType];
6488
6753
  /**
6489
6754
  * @public
6490
6755
  * <p>Describes the source of an export snapshot record.</p>