@aws-sdk/client-lightsail 3.934.0 → 3.936.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.
Files changed (73) hide show
  1. package/dist-cjs/index.js +643 -643
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +639 -0
  4. package/dist-es/models/errors.js +145 -0
  5. package/dist-es/models/models_0.js +1 -617
  6. package/dist-es/models/models_1.js +1 -167
  7. package/dist-es/schemas/schemas_0.js +1 -1
  8. package/dist-types/commands/GetContainerServiceMetricDataCommand.d.ts +1 -1
  9. package/dist-types/commands/GetContainerServicePowersCommand.d.ts +1 -1
  10. package/dist-types/commands/GetContainerServicesCommand.d.ts +1 -2
  11. package/dist-types/commands/GetCostEstimateCommand.d.ts +1 -1
  12. package/dist-types/commands/GetDiskCommand.d.ts +1 -1
  13. package/dist-types/commands/GetDiskSnapshotCommand.d.ts +1 -1
  14. package/dist-types/commands/GetDiskSnapshotsCommand.d.ts +1 -1
  15. package/dist-types/commands/GetDisksCommand.d.ts +1 -1
  16. package/dist-types/commands/GetDistributionBundlesCommand.d.ts +1 -1
  17. package/dist-types/commands/GetDistributionLatestCacheResetCommand.d.ts +1 -1
  18. package/dist-types/commands/GetDistributionMetricDataCommand.d.ts +1 -1
  19. package/dist-types/commands/GetDistributionsCommand.d.ts +1 -1
  20. package/dist-types/commands/GetDomainCommand.d.ts +1 -1
  21. package/dist-types/commands/GetDomainsCommand.d.ts +1 -1
  22. package/dist-types/commands/GetExportSnapshotRecordsCommand.d.ts +1 -1
  23. package/dist-types/commands/GetInstanceAccessDetailsCommand.d.ts +1 -1
  24. package/dist-types/commands/GetInstanceCommand.d.ts +1 -1
  25. package/dist-types/commands/GetInstanceMetricDataCommand.d.ts +1 -1
  26. package/dist-types/commands/GetInstancePortStatesCommand.d.ts +1 -1
  27. package/dist-types/commands/GetInstanceSnapshotCommand.d.ts +1 -1
  28. package/dist-types/commands/GetInstanceSnapshotsCommand.d.ts +1 -1
  29. package/dist-types/commands/GetInstanceStateCommand.d.ts +1 -1
  30. package/dist-types/commands/GetInstancesCommand.d.ts +1 -1
  31. package/dist-types/commands/GetKeyPairCommand.d.ts +1 -1
  32. package/dist-types/commands/GetKeyPairsCommand.d.ts +1 -1
  33. package/dist-types/commands/GetLoadBalancerCommand.d.ts +2 -1
  34. package/dist-types/index.d.ts +4 -1
  35. package/dist-types/models/enums.d.ts +1287 -0
  36. package/dist-types/models/errors.d.ts +143 -0
  37. package/dist-types/models/models_0.d.ts +1969 -1055
  38. package/dist-types/models/models_1.d.ts +2 -2344
  39. package/dist-types/ts3.4/commands/GetContainerServiceMetricDataCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/GetContainerServicePowersCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/GetContainerServicesCommand.d.ts +4 -2
  42. package/dist-types/ts3.4/commands/GetCostEstimateCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/GetDiskCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/GetDiskSnapshotCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/GetDiskSnapshotsCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/GetDisksCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/GetDistributionBundlesCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/GetDistributionLatestCacheResetCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/GetDistributionMetricDataCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/GetDistributionsCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/GetDomainCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/GetDomainsCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/GetExportSnapshotRecordsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/GetInstanceAccessDetailsCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/GetInstanceCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/GetInstanceMetricDataCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/GetInstancePortStatesCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/GetInstanceSnapshotCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/GetInstanceSnapshotsCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/GetInstanceStateCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/GetInstancesCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/GetKeyPairCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/GetKeyPairsCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/GetLoadBalancerCommand.d.ts +2 -4
  65. package/dist-types/ts3.4/index.d.ts +4 -1
  66. package/dist-types/ts3.4/models/enums.d.ts +776 -0
  67. package/dist-types/ts3.4/models/errors.d.ts +81 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +363 -642
  69. package/dist-types/ts3.4/models/models_1.d.ts +36 -542
  70. package/package.json +19 -19
  71. package/dist-es/models/index.js +0 -2
  72. package/dist-types/models/index.d.ts +0 -2
  73. package/dist-types/ts3.4/models/index.d.ts +0 -2
@@ -1,33 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { LightsailServiceException as __BaseException } from "./LightsailServiceException";
3
- /**
4
- * <p>Lightsail throws this exception when the user cannot be authenticated or uses invalid
5
- * credentials to access a resource.</p>
6
- * @public
7
- */
8
- export declare class AccessDeniedException extends __BaseException {
9
- readonly name: "AccessDeniedException";
10
- readonly $fault: "client";
11
- code?: string | undefined;
12
- docs?: string | undefined;
13
- tip?: string | undefined;
14
- /**
15
- * @internal
16
- */
17
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
18
- }
19
- /**
20
- * @public
21
- * @enum
22
- */
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];
1
+ import { AccessDirection, AccessType, AccountLevelBpaSyncStatus, AddOnType, AlarmState, AppCategory, AutoMountStatus, AutoSnapshotStatus, BehaviorEnum, BlueprintType, BPAStatusMessage, BucketMetricName, CertificateDomainValidationStatus, CertificateStatus, CloudFormationStackRecordSourceType, ComparisonOperator, ContactMethodStatus, ContactProtocol, ContainerServiceDeploymentState, ContainerServiceMetricName, ContainerServicePowerName, ContainerServiceProtocol, ContainerServiceState, ContainerServiceStateDetailCode, Currency, DiskSnapshotState, DiskState, DistributionMetricName, DnsRecordCreationStateCode, ExportSnapshotRecordSourceType, ForwardValues, HeaderEnum, HttpEndpoint, HttpProtocolIpv6, HttpTokens, InstanceAccessProtocol, InstanceMetadataState, InstanceMetricName, InstancePlatform, InstanceSnapshotState, IpAddressType, MetricName, MetricStatistic, MetricUnit, NameServersUpdateStateCode, NetworkProtocol, OperationStatus, OperationType, OriginProtocolPolicyEnum, PortAccessType, PortInfoSourceType, PortState, PricingUnit, R53HostedZoneDeletionStateCode, RecordState, RegionName, RenewalStatus, ResourceType, Status, StatusType, TreatMissingData, ViewerMinimumTlsProtocolVersionEnum } from "./enums";
31
2
  /**
32
3
  * <p>Describes the last time an access key was used.</p>
33
4
  * <note>
@@ -56,18 +27,6 @@ export interface AccessKeyLastUsed {
56
27
  */
57
28
  serviceName?: string | undefined;
58
29
  }
59
- /**
60
- * @public
61
- * @enum
62
- */
63
- export declare const StatusType: {
64
- readonly Active: "Active";
65
- readonly Inactive: "Inactive";
66
- };
67
- /**
68
- * @public
69
- */
70
- export type StatusType = (typeof StatusType)[keyof typeof StatusType];
71
30
  /**
72
31
  * <p>Describes an access key for an Amazon Lightsail bucket.</p>
73
32
  * <p>Access keys grant full programmatic access to the specified bucket and its objects. You
@@ -134,18 +93,6 @@ export interface ResourceReceivingAccess {
134
93
  */
135
94
  resourceType?: string | undefined;
136
95
  }
137
- /**
138
- * @public
139
- * @enum
140
- */
141
- export declare const AccessType: {
142
- readonly Private: "private";
143
- readonly Public: "public";
144
- };
145
- /**
146
- * @public
147
- */
148
- export type AccessType = (typeof AccessType)[keyof typeof AccessType];
149
96
  /**
150
97
  * <p>Describes the anonymous access permissions for an Amazon Lightsail bucket and its
151
98
  * objects.</p>
@@ -192,34 +139,6 @@ export interface AccessRules {
192
139
  */
193
140
  allowPublicOverrides?: boolean | undefined;
194
141
  }
195
- /**
196
- * @public
197
- * @enum
198
- */
199
- export declare const BPAStatusMessage: {
200
- readonly DEFAULTED_FOR_SLR_MISSING: "DEFAULTED_FOR_SLR_MISSING";
201
- readonly DEFAULTED_FOR_SLR_MISSING_ON_HOLD: "DEFAULTED_FOR_SLR_MISSING_ON_HOLD";
202
- readonly SYNC_ON_HOLD: "SYNC_ON_HOLD";
203
- readonly Unknown: "Unknown";
204
- };
205
- /**
206
- * @public
207
- */
208
- export type BPAStatusMessage = (typeof BPAStatusMessage)[keyof typeof BPAStatusMessage];
209
- /**
210
- * @public
211
- * @enum
212
- */
213
- export declare const AccountLevelBpaSyncStatus: {
214
- readonly Defaulted: "Defaulted";
215
- readonly Failed: "Failed";
216
- readonly InSync: "InSync";
217
- readonly NeverSynced: "NeverSynced";
218
- };
219
- /**
220
- * @public
221
- */
222
- export type AccountLevelBpaSyncStatus = (typeof AccountLevelBpaSyncStatus)[keyof typeof AccountLevelBpaSyncStatus];
223
142
  /**
224
143
  * <p>Describes the synchronization status of the Amazon Simple Storage Service (Amazon S3)
225
144
  * account-level block public access (BPA) feature for your Lightsail buckets.</p>
@@ -322,22 +241,6 @@ export interface AccountLevelBpaSync {
322
241
  */
323
242
  bpaImpactsLightsail?: boolean | undefined;
324
243
  }
325
- /**
326
- * <p>Lightsail throws this exception when an account is still in the setup in progress
327
- * state.</p>
328
- * @public
329
- */
330
- export declare class AccountSetupInProgressException extends __BaseException {
331
- readonly name: "AccountSetupInProgressException";
332
- readonly $fault: "client";
333
- code?: string | undefined;
334
- docs?: string | undefined;
335
- tip?: string | undefined;
336
- /**
337
- * @internal
338
- */
339
- constructor(opts: __ExceptionOptionType<AccountSetupInProgressException, __BaseException>);
340
- }
341
244
  /**
342
245
  * <p>Describes an add-on that is enabled for an Amazon Lightsail resource.</p>
343
246
  * @public
@@ -389,18 +292,6 @@ export interface AddOn {
389
292
  */
390
293
  duration?: string | undefined;
391
294
  }
392
- /**
393
- * @public
394
- * @enum
395
- */
396
- export declare const AddOnType: {
397
- readonly AutoSnapshot: "AutoSnapshot";
398
- readonly StopInstanceOnIdle: "StopInstanceOnIdle";
399
- };
400
- /**
401
- * @public
402
- */
403
- export type AddOnType = (typeof AddOnType)[keyof typeof AddOnType];
404
295
  /**
405
296
  * <p>Describes a request to enable or modify the automatic snapshot add-on for an
406
297
  * Amazon Lightsail instance or disk.</p>
@@ -509,58 +400,6 @@ export interface AddOnRequest {
509
400
  */
510
401
  stopInstanceOnIdleRequest?: StopInstanceOnIdleRequest | undefined;
511
402
  }
512
- /**
513
- * @public
514
- * @enum
515
- */
516
- export declare const ComparisonOperator: {
517
- readonly GreaterThanOrEqualToThreshold: "GreaterThanOrEqualToThreshold";
518
- readonly GreaterThanThreshold: "GreaterThanThreshold";
519
- readonly LessThanOrEqualToThreshold: "LessThanOrEqualToThreshold";
520
- readonly LessThanThreshold: "LessThanThreshold";
521
- };
522
- /**
523
- * @public
524
- */
525
- export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
526
- /**
527
- * @public
528
- * @enum
529
- */
530
- export declare const ContactProtocol: {
531
- readonly Email: "Email";
532
- readonly SMS: "SMS";
533
- };
534
- /**
535
- * @public
536
- */
537
- export type ContactProtocol = (typeof ContactProtocol)[keyof typeof ContactProtocol];
538
- /**
539
- * @public
540
- * @enum
541
- */
542
- export declare const RegionName: {
543
- readonly AP_NORTHEAST_1: "ap-northeast-1";
544
- readonly AP_NORTHEAST_2: "ap-northeast-2";
545
- readonly AP_SOUTHEAST_1: "ap-southeast-1";
546
- readonly AP_SOUTHEAST_2: "ap-southeast-2";
547
- readonly AP_SOUTHEAST_3: "ap-southeast-3";
548
- readonly AP_SOUTH_1: "ap-south-1";
549
- readonly CA_CENTRAL_1: "ca-central-1";
550
- readonly EU_CENTRAL_1: "eu-central-1";
551
- readonly EU_NORTH_1: "eu-north-1";
552
- readonly EU_WEST_1: "eu-west-1";
553
- readonly EU_WEST_2: "eu-west-2";
554
- readonly EU_WEST_3: "eu-west-3";
555
- readonly US_EAST_1: "us-east-1";
556
- readonly US_EAST_2: "us-east-2";
557
- readonly US_WEST_1: "us-west-1";
558
- readonly US_WEST_2: "us-west-2";
559
- };
560
- /**
561
- * @public
562
- */
563
- export type RegionName = (typeof RegionName)[keyof typeof RegionName];
564
403
  /**
565
404
  * <p>Describes the resource location.</p>
566
405
  * @public
@@ -577,71 +416,6 @@ export interface ResourceLocation {
577
416
  */
578
417
  regionName?: RegionName | undefined;
579
418
  }
580
- /**
581
- * @public
582
- * @enum
583
- */
584
- export declare const MetricName: {
585
- readonly BurstCapacityPercentage: "BurstCapacityPercentage";
586
- readonly BurstCapacityTime: "BurstCapacityTime";
587
- readonly CPUUtilization: "CPUUtilization";
588
- readonly ClientTLSNegotiationErrorCount: "ClientTLSNegotiationErrorCount";
589
- readonly DatabaseConnections: "DatabaseConnections";
590
- readonly DiskQueueDepth: "DiskQueueDepth";
591
- readonly FreeStorageSpace: "FreeStorageSpace";
592
- readonly HTTPCode_Instance_2XX_Count: "HTTPCode_Instance_2XX_Count";
593
- readonly HTTPCode_Instance_3XX_Count: "HTTPCode_Instance_3XX_Count";
594
- readonly HTTPCode_Instance_4XX_Count: "HTTPCode_Instance_4XX_Count";
595
- readonly HTTPCode_Instance_5XX_Count: "HTTPCode_Instance_5XX_Count";
596
- readonly HTTPCode_LB_4XX_Count: "HTTPCode_LB_4XX_Count";
597
- readonly HTTPCode_LB_5XX_Count: "HTTPCode_LB_5XX_Count";
598
- readonly HealthyHostCount: "HealthyHostCount";
599
- readonly InstanceResponseTime: "InstanceResponseTime";
600
- readonly NetworkIn: "NetworkIn";
601
- readonly NetworkOut: "NetworkOut";
602
- readonly NetworkReceiveThroughput: "NetworkReceiveThroughput";
603
- readonly NetworkTransmitThroughput: "NetworkTransmitThroughput";
604
- readonly RejectedConnectionCount: "RejectedConnectionCount";
605
- readonly RequestCount: "RequestCount";
606
- readonly StatusCheckFailed: "StatusCheckFailed";
607
- readonly StatusCheckFailed_Instance: "StatusCheckFailed_Instance";
608
- readonly StatusCheckFailed_System: "StatusCheckFailed_System";
609
- readonly UnhealthyHostCount: "UnhealthyHostCount";
610
- };
611
- /**
612
- * @public
613
- */
614
- export type MetricName = (typeof MetricName)[keyof typeof MetricName];
615
- /**
616
- * @public
617
- * @enum
618
- */
619
- export declare const ResourceType: {
620
- readonly Alarm: "Alarm";
621
- readonly Bucket: "Bucket";
622
- readonly Certificate: "Certificate";
623
- readonly CloudFormationStackRecord: "CloudFormationStackRecord";
624
- readonly ContactMethod: "ContactMethod";
625
- readonly ContainerService: "ContainerService";
626
- readonly Disk: "Disk";
627
- readonly DiskSnapshot: "DiskSnapshot";
628
- readonly Distribution: "Distribution";
629
- readonly Domain: "Domain";
630
- readonly ExportSnapshotRecord: "ExportSnapshotRecord";
631
- readonly Instance: "Instance";
632
- readonly InstanceSnapshot: "InstanceSnapshot";
633
- readonly KeyPair: "KeyPair";
634
- readonly LoadBalancer: "LoadBalancer";
635
- readonly LoadBalancerTlsCertificate: "LoadBalancerTlsCertificate";
636
- readonly PeeredVpc: "PeeredVpc";
637
- readonly RelationalDatabase: "RelationalDatabase";
638
- readonly RelationalDatabaseSnapshot: "RelationalDatabaseSnapshot";
639
- readonly StaticIp: "StaticIp";
640
- };
641
- /**
642
- * @public
643
- */
644
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
645
419
  /**
646
420
  * <p>Describes resource being monitored by an alarm.</p>
647
421
  * <p>An alarm is a way to monitor your Amazon Lightsail resource metrics. For more information,
@@ -668,85 +442,6 @@ export interface MonitoredResourceInfo {
668
442
  */
669
443
  resourceType?: ResourceType | undefined;
670
444
  }
671
- /**
672
- * @public
673
- * @enum
674
- */
675
- export declare const AlarmState: {
676
- readonly ALARM: "ALARM";
677
- readonly INSUFFICIENT_DATA: "INSUFFICIENT_DATA";
678
- readonly OK: "OK";
679
- };
680
- /**
681
- * @public
682
- */
683
- export type AlarmState = (typeof AlarmState)[keyof typeof AlarmState];
684
- /**
685
- * @public
686
- * @enum
687
- */
688
- export declare const MetricStatistic: {
689
- readonly Average: "Average";
690
- readonly Maximum: "Maximum";
691
- readonly Minimum: "Minimum";
692
- readonly SampleCount: "SampleCount";
693
- readonly Sum: "Sum";
694
- };
695
- /**
696
- * @public
697
- */
698
- export type MetricStatistic = (typeof MetricStatistic)[keyof typeof MetricStatistic];
699
- /**
700
- * @public
701
- * @enum
702
- */
703
- export declare const TreatMissingData: {
704
- readonly Breaching: "breaching";
705
- readonly Ignore: "ignore";
706
- readonly Missing: "missing";
707
- readonly NotBreaching: "notBreaching";
708
- };
709
- /**
710
- * @public
711
- */
712
- export type TreatMissingData = (typeof TreatMissingData)[keyof typeof TreatMissingData];
713
- /**
714
- * @public
715
- * @enum
716
- */
717
- export declare const MetricUnit: {
718
- readonly Bits: "Bits";
719
- readonly BitsSecond: "Bits/Second";
720
- readonly Bytes: "Bytes";
721
- readonly BytesSecond: "Bytes/Second";
722
- readonly Count: "Count";
723
- readonly CountSecond: "Count/Second";
724
- readonly Gigabits: "Gigabits";
725
- readonly GigabitsSecond: "Gigabits/Second";
726
- readonly Gigabytes: "Gigabytes";
727
- readonly GigabytesSecond: "Gigabytes/Second";
728
- readonly Kilobits: "Kilobits";
729
- readonly KilobitsSecond: "Kilobits/Second";
730
- readonly Kilobytes: "Kilobytes";
731
- readonly KilobytesSecond: "Kilobytes/Second";
732
- readonly Megabits: "Megabits";
733
- readonly MegabitsSecond: "Megabits/Second";
734
- readonly Megabytes: "Megabytes";
735
- readonly MegabytesSecond: "Megabytes/Second";
736
- readonly Microseconds: "Microseconds";
737
- readonly Milliseconds: "Milliseconds";
738
- readonly None: "None";
739
- readonly Percent: "Percent";
740
- readonly Seconds: "Seconds";
741
- readonly Terabits: "Terabits";
742
- readonly TerabitsSecond: "Terabits/Second";
743
- readonly Terabytes: "Terabytes";
744
- readonly TerabytesSecond: "Terabytes/Second";
745
- };
746
- /**
747
- * @public
748
- */
749
- export type MetricUnit = (typeof MetricUnit)[keyof typeof MetricUnit];
750
445
  /**
751
446
  * <p>Describes an alarm.</p>
752
447
  * <p>An alarm is a way to monitor your Lightsail resource metrics. For more information, see
@@ -939,114 +634,6 @@ export interface AllocateStaticIpRequest {
939
634
  */
940
635
  staticIpName: string | undefined;
941
636
  }
942
- /**
943
- * @public
944
- * @enum
945
- */
946
- export declare const OperationType: {
947
- readonly AllocateStaticIp: "AllocateStaticIp";
948
- readonly AttachCertificateToDistribution: "AttachCertificateToDistribution";
949
- readonly AttachDisk: "AttachDisk";
950
- readonly AttachInstancesToLoadBalancer: "AttachInstancesToLoadBalancer";
951
- readonly AttachLoadBalancerTlsCertificate: "AttachLoadBalancerTlsCertificate";
952
- readonly AttachStaticIp: "AttachStaticIp";
953
- readonly CloseInstancePublicPorts: "CloseInstancePublicPorts";
954
- readonly CreateBucket: "CreateBucket";
955
- readonly CreateBucketAccessKey: "CreateBucketAccessKey";
956
- readonly CreateCertificate: "CreateCertificate";
957
- readonly CreateContactMethod: "CreateContactMethod";
958
- readonly CreateContainerService: "CreateContainerService";
959
- readonly CreateContainerServiceDeployment: "CreateContainerServiceDeployment";
960
- readonly CreateContainerServiceRegistryLogin: "CreateContainerServiceRegistryLogin";
961
- readonly CreateDisk: "CreateDisk";
962
- readonly CreateDiskFromSnapshot: "CreateDiskFromSnapshot";
963
- readonly CreateDiskSnapshot: "CreateDiskSnapshot";
964
- readonly CreateDistribution: "CreateDistribution";
965
- readonly CreateDomain: "CreateDomain";
966
- readonly CreateInstance: "CreateInstance";
967
- readonly CreateInstanceSnapshot: "CreateInstanceSnapshot";
968
- readonly CreateInstancesFromSnapshot: "CreateInstancesFromSnapshot";
969
- readonly CreateLoadBalancer: "CreateLoadBalancer";
970
- readonly CreateLoadBalancerTlsCertificate: "CreateLoadBalancerTlsCertificate";
971
- readonly CreateRelationalDatabase: "CreateRelationalDatabase";
972
- readonly CreateRelationalDatabaseFromSnapshot: "CreateRelationalDatabaseFromSnapshot";
973
- readonly CreateRelationalDatabaseSnapshot: "CreateRelationalDatabaseSnapshot";
974
- readonly DeleteAlarm: "DeleteAlarm";
975
- readonly DeleteBucket: "DeleteBucket";
976
- readonly DeleteBucketAccessKey: "DeleteBucketAccessKey";
977
- readonly DeleteCertificate: "DeleteCertificate";
978
- readonly DeleteContactMethod: "DeleteContactMethod";
979
- readonly DeleteContainerImage: "DeleteContainerImage";
980
- readonly DeleteContainerService: "DeleteContainerService";
981
- readonly DeleteDisk: "DeleteDisk";
982
- readonly DeleteDiskSnapshot: "DeleteDiskSnapshot";
983
- readonly DeleteDistribution: "DeleteDistribution";
984
- readonly DeleteDomain: "DeleteDomain";
985
- readonly DeleteDomainEntry: "DeleteDomainEntry";
986
- readonly DeleteInstance: "DeleteInstance";
987
- readonly DeleteInstanceSnapshot: "DeleteInstanceSnapshot";
988
- readonly DeleteKnownHostKeys: "DeleteKnownHostKeys";
989
- readonly DeleteLoadBalancer: "DeleteLoadBalancer";
990
- readonly DeleteLoadBalancerTlsCertificate: "DeleteLoadBalancerTlsCertificate";
991
- readonly DeleteRelationalDatabase: "DeleteRelationalDatabase";
992
- readonly DeleteRelationalDatabaseSnapshot: "DeleteRelationalDatabaseSnapshot";
993
- readonly DetachCertificateFromDistribution: "DetachCertificateFromDistribution";
994
- readonly DetachDisk: "DetachDisk";
995
- readonly DetachInstancesFromLoadBalancer: "DetachInstancesFromLoadBalancer";
996
- readonly DetachStaticIp: "DetachStaticIp";
997
- readonly DisableAddOn: "DisableAddOn";
998
- readonly EnableAddOn: "EnableAddOn";
999
- readonly GetAlarms: "GetAlarms";
1000
- readonly GetContactMethods: "GetContactMethods";
1001
- readonly OpenInstancePublicPorts: "OpenInstancePublicPorts";
1002
- readonly PutAlarm: "PutAlarm";
1003
- readonly PutInstancePublicPorts: "PutInstancePublicPorts";
1004
- readonly RebootInstance: "RebootInstance";
1005
- readonly RebootRelationalDatabase: "RebootRelationalDatabase";
1006
- readonly RegisterContainerImage: "RegisterContainerImage";
1007
- readonly ReleaseStaticIp: "ReleaseStaticIp";
1008
- readonly ResetDistributionCache: "ResetDistributionCache";
1009
- readonly SendContactMethodVerification: "SendContactMethodVerification";
1010
- readonly SetIpAddressType: "SetIpAddressType";
1011
- readonly SetResourceAccessForBucket: "SetResourceAccessForBucket";
1012
- readonly SetupInstanceHttps: "SetupInstanceHttps";
1013
- readonly StartGUISession: "StartGUISession";
1014
- readonly StartInstance: "StartInstance";
1015
- readonly StartRelationalDatabase: "StartRelationalDatabase";
1016
- readonly StopGUISession: "StopGUISession";
1017
- readonly StopInstance: "StopInstance";
1018
- readonly StopRelationalDatabase: "StopRelationalDatabase";
1019
- readonly TestAlarm: "TestAlarm";
1020
- readonly UpdateBucket: "UpdateBucket";
1021
- readonly UpdateBucketBundle: "UpdateBucketBundle";
1022
- readonly UpdateContainerService: "UpdateContainerService";
1023
- readonly UpdateDistribution: "UpdateDistribution";
1024
- readonly UpdateDistributionBundle: "UpdateDistributionBundle";
1025
- readonly UpdateDomainEntry: "UpdateDomainEntry";
1026
- readonly UpdateInstanceMetadataOptions: "UpdateInstanceMetadataOptions";
1027
- readonly UpdateLoadBalancerAttribute: "UpdateLoadBalancerAttribute";
1028
- readonly UpdateRelationalDatabase: "UpdateRelationalDatabase";
1029
- readonly UpdateRelationalDatabaseParameters: "UpdateRelationalDatabaseParameters";
1030
- };
1031
- /**
1032
- * @public
1033
- */
1034
- export type OperationType = (typeof OperationType)[keyof typeof OperationType];
1035
- /**
1036
- * @public
1037
- * @enum
1038
- */
1039
- export declare const OperationStatus: {
1040
- readonly Completed: "Completed";
1041
- readonly Failed: "Failed";
1042
- readonly NotStarted: "NotStarted";
1043
- readonly Started: "Started";
1044
- readonly Succeeded: "Succeeded";
1045
- };
1046
- /**
1047
- * @public
1048
- */
1049
- export type OperationStatus = (typeof OperationStatus)[keyof typeof OperationStatus];
1050
637
  /**
1051
638
  * <p>Describes the API operation.</p>
1052
639
  * @public
@@ -1124,126 +711,6 @@ export interface AllocateStaticIpResult {
1124
711
  */
1125
712
  operations?: Operation[] | undefined;
1126
713
  }
1127
- /**
1128
- * <p>Lightsail throws this exception when user input does not conform to the validation rules
1129
- * of an input field.</p>
1130
- * <note>
1131
- * <p>Domain and distribution APIs are only available in the N. Virginia
1132
- * (<code>us-east-1</code>) Amazon Web Services Region. Please set your Amazon Web Services
1133
- * Region configuration to <code>us-east-1</code> to create, view, or edit these
1134
- * resources.</p>
1135
- * </note>
1136
- * @public
1137
- */
1138
- export declare class InvalidInputException extends __BaseException {
1139
- readonly name: "InvalidInputException";
1140
- readonly $fault: "client";
1141
- code?: string | undefined;
1142
- docs?: string | undefined;
1143
- tip?: string | undefined;
1144
- /**
1145
- * @internal
1146
- */
1147
- constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
1148
- }
1149
- /**
1150
- * <p>Lightsail throws this exception when it cannot find a resource.</p>
1151
- * @public
1152
- */
1153
- export declare class NotFoundException extends __BaseException {
1154
- readonly name: "NotFoundException";
1155
- readonly $fault: "client";
1156
- code?: string | undefined;
1157
- docs?: string | undefined;
1158
- tip?: string | undefined;
1159
- /**
1160
- * @internal
1161
- */
1162
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
1163
- }
1164
- /**
1165
- * <p>Lightsail throws this exception when an operation fails to execute.</p>
1166
- * @public
1167
- */
1168
- export declare class OperationFailureException extends __BaseException {
1169
- readonly name: "OperationFailureException";
1170
- readonly $fault: "client";
1171
- code?: string | undefined;
1172
- docs?: string | undefined;
1173
- tip?: string | undefined;
1174
- /**
1175
- * @internal
1176
- */
1177
- constructor(opts: __ExceptionOptionType<OperationFailureException, __BaseException>);
1178
- }
1179
- /**
1180
- * <p>Lightsail throws this exception when an operation is performed on resources in an opt-in
1181
- * Region that is currently being set up.</p>
1182
- * @public
1183
- */
1184
- export declare class RegionSetupInProgressException extends __BaseException {
1185
- readonly name: "RegionSetupInProgressException";
1186
- readonly $fault: "client";
1187
- code?: string | undefined;
1188
- /**
1189
- * <p>
1190
- * <a href="https://docs.aws.amazon.com/lightsail/latest/userguide/understanding-regions-and-availability-zones-in-amazon-lightsail.html">Regions
1191
- * and Availability Zones for Lightsail</a>
1192
- * </p>
1193
- * @public
1194
- */
1195
- docs?: string | undefined;
1196
- /**
1197
- * <p>Opt-in Regions typically take a few minutes to finish setting up before you can work with them. Wait a few minutes and try again.</p>
1198
- * @public
1199
- */
1200
- tip?: string | undefined;
1201
- /**
1202
- * @internal
1203
- */
1204
- constructor(opts: __ExceptionOptionType<RegionSetupInProgressException, __BaseException>);
1205
- }
1206
- /**
1207
- * <p>A general service exception.</p>
1208
- * @public
1209
- */
1210
- export declare class ServiceException extends __BaseException {
1211
- readonly name: "ServiceException";
1212
- readonly $fault: "server";
1213
- code?: string | undefined;
1214
- docs?: string | undefined;
1215
- tip?: string | undefined;
1216
- /**
1217
- * @internal
1218
- */
1219
- constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
1220
- }
1221
- /**
1222
- * <p>Lightsail throws this exception when the user has not been authenticated.</p>
1223
- * @public
1224
- */
1225
- export declare class UnauthenticatedException extends __BaseException {
1226
- readonly name: "UnauthenticatedException";
1227
- readonly $fault: "client";
1228
- code?: string | undefined;
1229
- docs?: string | undefined;
1230
- tip?: string | undefined;
1231
- /**
1232
- * @internal
1233
- */
1234
- constructor(opts: __ExceptionOptionType<UnauthenticatedException, __BaseException>);
1235
- }
1236
- /**
1237
- * @public
1238
- * @enum
1239
- */
1240
- export declare const AppCategory: {
1241
- readonly LfR: "LfR";
1242
- };
1243
- /**
1244
- * @public
1245
- */
1246
- export type AppCategory = (typeof AppCategory)[keyof typeof AppCategory];
1247
714
  /**
1248
715
  * @public
1249
716
  */
@@ -1444,34 +911,6 @@ export interface AttachStaticIpResult {
1444
911
  */
1445
912
  operations?: Operation[] | undefined;
1446
913
  }
1447
- /**
1448
- * @public
1449
- * @enum
1450
- */
1451
- export declare const AutoMountStatus: {
1452
- readonly Failed: "Failed";
1453
- readonly Mounted: "Mounted";
1454
- readonly NotMounted: "NotMounted";
1455
- readonly Pending: "Pending";
1456
- };
1457
- /**
1458
- * @public
1459
- */
1460
- export type AutoMountStatus = (typeof AutoMountStatus)[keyof typeof AutoMountStatus];
1461
- /**
1462
- * @public
1463
- * @enum
1464
- */
1465
- export declare const AutoSnapshotStatus: {
1466
- readonly FAILED: "Failed";
1467
- readonly IN_PROGRESS: "InProgress";
1468
- readonly NOT_FOUND: "NotFound";
1469
- readonly SUCCESS: "Success";
1470
- };
1471
- /**
1472
- * @public
1473
- */
1474
- export type AutoSnapshotStatus = (typeof AutoSnapshotStatus)[keyof typeof AutoSnapshotStatus];
1475
914
  /**
1476
915
  * <p>Describes an automatic snapshot.</p>
1477
916
  * @public
@@ -1517,42 +956,6 @@ export interface AvailabilityZone {
1517
956
  */
1518
957
  state?: string | undefined;
1519
958
  }
1520
- /**
1521
- * @public
1522
- * @enum
1523
- */
1524
- export declare const BehaviorEnum: {
1525
- readonly CacheSetting: "cache";
1526
- readonly DontCacheSetting: "dont-cache";
1527
- };
1528
- /**
1529
- * @public
1530
- */
1531
- export type BehaviorEnum = (typeof BehaviorEnum)[keyof typeof BehaviorEnum];
1532
- /**
1533
- * @public
1534
- * @enum
1535
- */
1536
- export declare const InstancePlatform: {
1537
- readonly LinuxUnix: "LINUX_UNIX";
1538
- readonly Windows: "WINDOWS";
1539
- };
1540
- /**
1541
- * @public
1542
- */
1543
- export type InstancePlatform = (typeof InstancePlatform)[keyof typeof InstancePlatform];
1544
- /**
1545
- * @public
1546
- * @enum
1547
- */
1548
- export declare const BlueprintType: {
1549
- readonly app: "app";
1550
- readonly os: "os";
1551
- };
1552
- /**
1553
- * @public
1554
- */
1555
- export type BlueprintType = (typeof BlueprintType)[keyof typeof BlueprintType];
1556
959
  /**
1557
960
  * <p>Describes a blueprint (a virtual private server image).</p>
1558
961
  * @public
@@ -1958,18 +1361,6 @@ export interface BucketBundle {
1958
1361
  */
1959
1362
  isActive?: boolean | undefined;
1960
1363
  }
1961
- /**
1962
- * @public
1963
- * @enum
1964
- */
1965
- export declare const BucketMetricName: {
1966
- readonly BucketSizeBytes: "BucketSizeBytes";
1967
- readonly NumberOfObjects: "NumberOfObjects";
1968
- };
1969
- /**
1970
- * @public
1971
- */
1972
- export type BucketMetricName = (typeof BucketMetricName)[keyof typeof BucketMetricName];
1973
1364
  /**
1974
1365
  * <p>Describes a bundle, which is a set of specs describing your virtual private server (or
1975
1366
  * <i>instance</i>).</p>
@@ -2173,19 +1564,6 @@ export interface CacheBehaviorPerPath {
2173
1564
  */
2174
1565
  behavior?: BehaviorEnum | undefined;
2175
1566
  }
2176
- /**
2177
- * @public
2178
- * @enum
2179
- */
2180
- export declare const ForwardValues: {
2181
- readonly all: "all";
2182
- readonly allowList: "allow-list";
2183
- readonly none: "none";
2184
- };
2185
- /**
2186
- * @public
2187
- */
2188
- export type ForwardValues = (typeof ForwardValues)[keyof typeof ForwardValues];
2189
1567
  /**
2190
1568
  * <p>Describes whether an Amazon Lightsail content delivery network (CDN) distribution forwards
2191
1569
  * cookies to the origin and, if so, which ones.</p>
@@ -2208,31 +1586,6 @@ export interface CookieObject {
2208
1586
  */
2209
1587
  cookiesAllowList?: string[] | undefined;
2210
1588
  }
2211
- /**
2212
- * @public
2213
- * @enum
2214
- */
2215
- export declare const HeaderEnum: {
2216
- readonly accept: "Accept";
2217
- readonly acceptCharset: "Accept-Charset";
2218
- readonly acceptDatetime: "Accept-Datetime";
2219
- readonly acceptEncoding: "Accept-Encoding";
2220
- readonly acceptLanguage: "Accept-Language";
2221
- readonly authorization: "Authorization";
2222
- readonly cloudFrontForwardedProto: "CloudFront-Forwarded-Proto";
2223
- readonly cloudFrontIsDesktopViewer: "CloudFront-Is-Desktop-Viewer";
2224
- readonly cloudFrontIsMobileViewer: "CloudFront-Is-Mobile-Viewer";
2225
- readonly cloudFrontIsSmartTVViewer: "CloudFront-Is-SmartTV-Viewer";
2226
- readonly cloudFrontIsTabletViewer: "CloudFront-Is-Tablet-Viewer";
2227
- readonly cloudFrontViewerCountry: "CloudFront-Viewer-Country";
2228
- readonly host: "Host";
2229
- readonly origin: "Origin";
2230
- readonly referer: "Referer";
2231
- };
2232
- /**
2233
- * @public
2234
- */
2235
- export type HeaderEnum = (typeof HeaderEnum)[keyof typeof HeaderEnum];
2236
1589
  /**
2237
1590
  * <p>Describes the request headers that a Lightsail distribution bases caching on.</p>
2238
1591
  * <p>For the headers that you specify, your distribution caches separate versions of the
@@ -2410,19 +1763,6 @@ export interface CacheSettings {
2410
1763
  */
2411
1764
  forwardedQueryStrings?: QueryStringObject | undefined;
2412
1765
  }
2413
- /**
2414
- * @public
2415
- * @enum
2416
- */
2417
- export declare const DnsRecordCreationStateCode: {
2418
- readonly Failed: "FAILED";
2419
- readonly Started: "STARTED";
2420
- readonly Succeeded: "SUCCEEDED";
2421
- };
2422
- /**
2423
- * @public
2424
- */
2425
- export type DnsRecordCreationStateCode = (typeof DnsRecordCreationStateCode)[keyof typeof DnsRecordCreationStateCode];
2426
1766
  /**
2427
1767
  * <p>Describes the creation state of the canonical name (CNAME) records that are automatically
2428
1768
  * added by Amazon Lightsail to the DNS of a domain to validate domain ownership for
@@ -2487,19 +1827,6 @@ export interface ResourceRecord {
2487
1827
  */
2488
1828
  value?: string | undefined;
2489
1829
  }
2490
- /**
2491
- * @public
2492
- * @enum
2493
- */
2494
- export declare const CertificateDomainValidationStatus: {
2495
- readonly Failed: "FAILED";
2496
- readonly PendingValidation: "PENDING_VALIDATION";
2497
- readonly Success: "SUCCESS";
2498
- };
2499
- /**
2500
- * @public
2501
- */
2502
- export type CertificateDomainValidationStatus = (typeof CertificateDomainValidationStatus)[keyof typeof CertificateDomainValidationStatus];
2503
1830
  /**
2504
1831
  * <p>Describes the domain name system (DNS) records that you must add to the DNS of your
2505
1832
  * registered domain to validate ownership for an Amazon Lightsail SSL/TLS certificate.</p>
@@ -2531,20 +1858,6 @@ export interface DomainValidationRecord {
2531
1858
  */
2532
1859
  validationStatus?: CertificateDomainValidationStatus | undefined;
2533
1860
  }
2534
- /**
2535
- * @public
2536
- * @enum
2537
- */
2538
- export declare const RenewalStatus: {
2539
- readonly Failed: "Failed";
2540
- readonly PendingAutoRenewal: "PendingAutoRenewal";
2541
- readonly PendingValidation: "PendingValidation";
2542
- readonly Success: "Success";
2543
- };
2544
- /**
2545
- * @public
2546
- */
2547
- export type RenewalStatus = (typeof RenewalStatus)[keyof typeof RenewalStatus];
2548
1861
  /**
2549
1862
  * <p>Describes the status of a SSL/TLS certificate renewal managed by Amazon Lightsail.</p>
2550
1863
  * @public
@@ -2609,23 +1922,6 @@ export interface RenewalSummary {
2609
1922
  */
2610
1923
  updatedAt?: Date | undefined;
2611
1924
  }
2612
- /**
2613
- * @public
2614
- * @enum
2615
- */
2616
- export declare const CertificateStatus: {
2617
- readonly Expired: "EXPIRED";
2618
- readonly Failed: "FAILED";
2619
- readonly Inactive: "INACTIVE";
2620
- readonly Issued: "ISSUED";
2621
- readonly PendingValidation: "PENDING_VALIDATION";
2622
- readonly Revoked: "REVOKED";
2623
- readonly ValidationTimedOut: "VALIDATION_TIMED_OUT";
2624
- };
2625
- /**
2626
- * @public
2627
- */
2628
- export type CertificateStatus = (typeof CertificateStatus)[keyof typeof CertificateStatus];
2629
1925
  /**
2630
1926
  * <p>Describes the full details of an Amazon Lightsail SSL/TLS certificate.</p>
2631
1927
  * <note>
@@ -2812,17 +2108,6 @@ export interface Certificate {
2812
2108
  */
2813
2109
  supportCode?: string | undefined;
2814
2110
  }
2815
- /**
2816
- * @public
2817
- * @enum
2818
- */
2819
- export declare const CertificateProvider: {
2820
- readonly LetsEncrypt: "LetsEncrypt";
2821
- };
2822
- /**
2823
- * @public
2824
- */
2825
- export type CertificateProvider = (typeof CertificateProvider)[keyof typeof CertificateProvider];
2826
2111
  /**
2827
2112
  * <p>Describes an Amazon Lightsail SSL/TLS certificate.</p>
2828
2113
  * @public
@@ -2855,21 +2140,6 @@ export interface CertificateSummary {
2855
2140
  */
2856
2141
  tags?: Tag[] | undefined;
2857
2142
  }
2858
- /**
2859
- * @public
2860
- * @enum
2861
- */
2862
- export declare const NetworkProtocol: {
2863
- readonly ALL: "all";
2864
- readonly ICMP: "icmp";
2865
- readonly ICMPV6: "icmpv6";
2866
- readonly TCP: "tcp";
2867
- readonly UDP: "udp";
2868
- };
2869
- /**
2870
- * @public
2871
- */
2872
- export type NetworkProtocol = (typeof NetworkProtocol)[keyof typeof NetworkProtocol];
2873
2143
  /**
2874
2144
  * <p>Describes ports to open on an instance, the IP addresses allowed to connect to the
2875
2145
  * instance through the ports, and the protocol.</p>
@@ -3055,17 +2325,6 @@ export interface DestinationInfo {
3055
2325
  */
3056
2326
  service?: string | undefined;
3057
2327
  }
3058
- /**
3059
- * @public
3060
- * @enum
3061
- */
3062
- export declare const CloudFormationStackRecordSourceType: {
3063
- readonly ExportSnapshotRecord: "ExportSnapshotRecord";
3064
- };
3065
- /**
3066
- * @public
3067
- */
3068
- export type CloudFormationStackRecordSourceType = (typeof CloudFormationStackRecordSourceType)[keyof typeof CloudFormationStackRecordSourceType];
3069
2328
  /**
3070
2329
  * <p>Describes the source of a CloudFormation stack record (i.e., the export snapshot
3071
2330
  * record).</p>
@@ -3088,19 +2347,6 @@ export interface CloudFormationStackRecordSourceInfo {
3088
2347
  */
3089
2348
  arn?: string | undefined;
3090
2349
  }
3091
- /**
3092
- * @public
3093
- * @enum
3094
- */
3095
- export declare const RecordState: {
3096
- readonly Failed: "Failed";
3097
- readonly Started: "Started";
3098
- readonly Succeeded: "Succeeded";
3099
- };
3100
- /**
3101
- * @public
3102
- */
3103
- export type RecordState = (typeof RecordState)[keyof typeof RecordState];
3104
2350
  /**
3105
2351
  * <p>Describes a CloudFormation stack record created as a result of the <code>create cloud
3106
2352
  * formation stack</code> action.</p>
@@ -3153,19 +2399,6 @@ export interface CloudFormationStackRecord {
3153
2399
  */
3154
2400
  destinationInfo?: DestinationInfo | undefined;
3155
2401
  }
3156
- /**
3157
- * @public
3158
- * @enum
3159
- */
3160
- export declare const ContactMethodStatus: {
3161
- readonly Invalid: "Invalid";
3162
- readonly PendingVerification: "PendingVerification";
3163
- readonly Valid: "Valid";
3164
- };
3165
- /**
3166
- * @public
3167
- */
3168
- export type ContactMethodStatus = (typeof ContactMethodStatus)[keyof typeof ContactMethodStatus];
3169
2402
  /**
3170
2403
  * <p>Describes a contact method.</p>
3171
2404
  * <p>A contact method is a way to send you notifications. For more information, see <a href="https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-notifications">Notifications in Amazon Lightsail</a>.</p>
@@ -3238,31 +2471,6 @@ export interface ContactMethod {
3238
2471
  */
3239
2472
  supportCode?: string | undefined;
3240
2473
  }
3241
- /**
3242
- * @public
3243
- * @enum
3244
- */
3245
- export declare const ContactMethodVerificationProtocol: {
3246
- readonly Email: "Email";
3247
- };
3248
- /**
3249
- * @public
3250
- */
3251
- export type ContactMethodVerificationProtocol = (typeof ContactMethodVerificationProtocol)[keyof typeof ContactMethodVerificationProtocol];
3252
- /**
3253
- * @public
3254
- * @enum
3255
- */
3256
- export declare const ContainerServiceProtocol: {
3257
- readonly HTTP: "HTTP";
3258
- readonly HTTPS: "HTTPS";
3259
- readonly TCP: "TCP";
3260
- readonly UDP: "UDP";
3261
- };
3262
- /**
3263
- * @public
3264
- */
3265
- export type ContainerServiceProtocol = (typeof ContainerServiceProtocol)[keyof typeof ContainerServiceProtocol];
3266
2474
  /**
3267
2475
  * <p>Describes the settings of a container that will be launched, or that is launched, to an
3268
2476
  * Amazon Lightsail container service.</p>
@@ -3390,20 +2598,6 @@ export interface ContainerServiceEndpoint {
3390
2598
  */
3391
2599
  healthCheck?: ContainerServiceHealthCheckConfig | undefined;
3392
2600
  }
3393
- /**
3394
- * @public
3395
- * @enum
3396
- */
3397
- export declare const ContainerServiceDeploymentState: {
3398
- readonly ACTIVATING: "ACTIVATING";
3399
- readonly ACTIVE: "ACTIVE";
3400
- readonly FAILED: "FAILED";
3401
- readonly INACTIVE: "INACTIVE";
3402
- };
3403
- /**
3404
- * @public
3405
- */
3406
- export type ContainerServiceDeploymentState = (typeof ContainerServiceDeploymentState)[keyof typeof ContainerServiceDeploymentState];
3407
2601
  /**
3408
2602
  * <p>Describes a container deployment configuration of an Amazon Lightsail container
3409
2603
  * service.</p>
@@ -3462,22 +2656,6 @@ export interface ContainerServiceDeployment {
3462
2656
  */
3463
2657
  createdAt?: Date | undefined;
3464
2658
  }
3465
- /**
3466
- * @public
3467
- * @enum
3468
- */
3469
- export declare const ContainerServicePowerName: {
3470
- readonly large: "large";
3471
- readonly medium: "medium";
3472
- readonly micro: "micro";
3473
- readonly nano: "nano";
3474
- readonly small: "small";
3475
- readonly xlarge: "xlarge";
3476
- };
3477
- /**
3478
- * @public
3479
- */
3480
- export type ContainerServicePowerName = (typeof ContainerServicePowerName)[keyof typeof ContainerServicePowerName];
3481
2659
  /**
3482
2660
  * <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)
3483
2661
  * private repositories.</p>
@@ -3516,42 +2694,6 @@ export interface PrivateRegistryAccess {
3516
2694
  */
3517
2695
  ecrImagePullerRole?: ContainerServiceECRImagePullerRole | undefined;
3518
2696
  }
3519
- /**
3520
- * @public
3521
- * @enum
3522
- */
3523
- export declare const ContainerServiceState: {
3524
- readonly DELETING: "DELETING";
3525
- readonly DEPLOYING: "DEPLOYING";
3526
- readonly DISABLED: "DISABLED";
3527
- readonly PENDING: "PENDING";
3528
- readonly READY: "READY";
3529
- readonly RUNNING: "RUNNING";
3530
- readonly UPDATING: "UPDATING";
3531
- };
3532
- /**
3533
- * @public
3534
- */
3535
- export type ContainerServiceState = (typeof ContainerServiceState)[keyof typeof ContainerServiceState];
3536
- /**
3537
- * @public
3538
- * @enum
3539
- */
3540
- export declare const ContainerServiceStateDetailCode: {
3541
- readonly ACTIVATING_DEPLOYMENT: "ACTIVATING_DEPLOYMENT";
3542
- readonly CERTIFICATE_LIMIT_EXCEEDED: "CERTIFICATE_LIMIT_EXCEEDED";
3543
- readonly CREATING_DEPLOYMENT: "CREATING_DEPLOYMENT";
3544
- readonly CREATING_NETWORK_INFRASTRUCTURE: "CREATING_NETWORK_INFRASTRUCTURE";
3545
- readonly CREATING_SYSTEM_RESOURCES: "CREATING_SYSTEM_RESOURCES";
3546
- readonly EVALUATING_HEALTH_CHECK: "EVALUATING_HEALTH_CHECK";
3547
- readonly PROVISIONING_CERTIFICATE: "PROVISIONING_CERTIFICATE";
3548
- readonly PROVISIONING_SERVICE: "PROVISIONING_SERVICE";
3549
- readonly UNKNOWN_ERROR: "UNKNOWN_ERROR";
3550
- };
3551
- /**
3552
- * @public
3553
- */
3554
- export type ContainerServiceStateDetailCode = (typeof ContainerServiceStateDetailCode)[keyof typeof ContainerServiceStateDetailCode];
3555
2697
  /**
3556
2698
  * <p>Describes the current state of a container service.</p>
3557
2699
  * @public
@@ -3876,18 +3018,6 @@ export interface ContainerServiceLogEvent {
3876
3018
  */
3877
3019
  message?: string | undefined;
3878
3020
  }
3879
- /**
3880
- * @public
3881
- * @enum
3882
- */
3883
- export declare const ContainerServiceMetricName: {
3884
- readonly CPUUtilization: "CPUUtilization";
3885
- readonly MemoryUtilization: "MemoryUtilization";
3886
- };
3887
- /**
3888
- * @public
3889
- */
3890
- export type ContainerServiceMetricName = (typeof ContainerServiceMetricName)[keyof typeof ContainerServiceMetricName];
3891
3021
  /**
3892
3022
  * <p>Describes the powers that can be specified for an Amazon Lightsail container
3893
3023
  * service.</p>
@@ -4062,32 +3192,6 @@ export interface CopySnapshotResult {
4062
3192
  */
4063
3193
  operations?: Operation[] | undefined;
4064
3194
  }
4065
- /**
4066
- * @public
4067
- * @enum
4068
- */
4069
- export declare const Currency: {
4070
- readonly USD: "USD";
4071
- };
4072
- /**
4073
- * @public
4074
- */
4075
- export type Currency = (typeof Currency)[keyof typeof Currency];
4076
- /**
4077
- * @public
4078
- * @enum
4079
- */
4080
- export declare const PricingUnit: {
4081
- readonly Bundles: "Bundles";
4082
- readonly GB: "GB";
4083
- readonly GBMo: "GB-Mo";
4084
- readonly Hrs: "Hrs";
4085
- readonly Queries: "Queries";
4086
- };
4087
- /**
4088
- * @public
4089
- */
4090
- export type PricingUnit = (typeof PricingUnit)[keyof typeof PricingUnit];
4091
3195
  /**
4092
3196
  * <p>Sets the start date and end date for retrieving a cost estimate. The start date is
4093
3197
  * inclusive, but the end date is exclusive. For example, if <code>start</code> is
@@ -4289,20 +3393,6 @@ export interface CreateCertificateResult {
4289
3393
  */
4290
3394
  operations?: Operation[] | undefined;
4291
3395
  }
4292
- /**
4293
- * @public
4294
- * @enum
4295
- */
4296
- export declare const PortInfoSourceType: {
4297
- readonly Closed: "CLOSED";
4298
- readonly Default: "DEFAULT";
4299
- readonly Instance: "INSTANCE";
4300
- readonly None: "NONE";
4301
- };
4302
- /**
4303
- * @public
4304
- */
4305
- export type PortInfoSourceType = (typeof PortInfoSourceType)[keyof typeof PortInfoSourceType];
4306
3396
  /**
4307
3397
  * <p>Describes the Amazon Elastic Compute Cloud instance and related resources to be created using the
4308
3398
  * <code>create cloud formation stack</code> operation.</p>
@@ -4844,31 +3934,6 @@ export interface CreateDiskSnapshotResult {
4844
3934
  */
4845
3935
  operations?: Operation[] | undefined;
4846
3936
  }
4847
- /**
4848
- * @public
4849
- * @enum
4850
- */
4851
- export declare const IpAddressType: {
4852
- readonly DUALSTACK: "dualstack";
4853
- readonly IPV4: "ipv4";
4854
- readonly IPV6: "ipv6";
4855
- };
4856
- /**
4857
- * @public
4858
- */
4859
- export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
4860
- /**
4861
- * @public
4862
- * @enum
4863
- */
4864
- export declare const OriginProtocolPolicyEnum: {
4865
- readonly HTTPOnly: "http-only";
4866
- readonly HTTPSOnly: "https-only";
4867
- };
4868
- /**
4869
- * @public
4870
- */
4871
- export type OriginProtocolPolicyEnum = (typeof OriginProtocolPolicyEnum)[keyof typeof OriginProtocolPolicyEnum];
4872
3937
  /**
4873
3938
  * <p>Describes the origin resource of an Amazon Lightsail content delivery network (CDN)
4874
3939
  * distribution.</p>
@@ -4902,20 +3967,6 @@ export interface InputOrigin {
4902
3967
  */
4903
3968
  responseTimeout?: number | undefined;
4904
3969
  }
4905
- /**
4906
- * @public
4907
- * @enum
4908
- */
4909
- export declare const ViewerMinimumTlsProtocolVersionEnum: {
4910
- readonly TLSv11_2016: "TLSv1.1_2016";
4911
- readonly TLSv12_2018: "TLSv1.2_2018";
4912
- readonly TLSv12_2019: "TLSv1.2_2019";
4913
- readonly TLSv12_2021: "TLSv1.2_2021";
4914
- };
4915
- /**
4916
- * @public
4917
- */
4918
- export type ViewerMinimumTlsProtocolVersionEnum = (typeof ViewerMinimumTlsProtocolVersionEnum)[keyof typeof ViewerMinimumTlsProtocolVersionEnum];
4919
3970
  /**
4920
3971
  * @public
4921
3972
  */
@@ -5350,26 +4401,6 @@ export interface Session {
5350
4401
  */
5351
4402
  isPrimary?: boolean | undefined;
5352
4403
  }
5353
- /**
5354
- * @public
5355
- * @enum
5356
- */
5357
- export declare const Status: {
5358
- readonly FailedInstanceCreation: "failedInstanceCreation";
5359
- readonly FailedStartingGUISession: "failedStartingGUISession";
5360
- readonly FailedStoppingGUISession: "failedStoppingGUISession";
5361
- readonly NotStarted: "notStarted";
5362
- readonly SettingUpInstance: "settingUpInstance";
5363
- readonly StartExpired: "startExpired";
5364
- readonly Started: "started";
5365
- readonly Starting: "starting";
5366
- readonly Stopped: "stopped";
5367
- readonly Stopping: "stopping";
5368
- };
5369
- /**
5370
- * @public
5371
- */
5372
- export type Status = (typeof Status)[keyof typeof Status];
5373
4404
  /**
5374
4405
  * @public
5375
4406
  */
@@ -6959,21 +5990,6 @@ export interface DisableAddOnResult {
6959
5990
  */
6960
5991
  operations?: Operation[] | undefined;
6961
5992
  }
6962
- /**
6963
- * @public
6964
- * @enum
6965
- */
6966
- export declare const DiskState: {
6967
- readonly Available: "available";
6968
- readonly Error: "error";
6969
- readonly InUse: "in-use";
6970
- readonly Pending: "pending";
6971
- readonly Unknown: "unknown";
6972
- };
6973
- /**
6974
- * @public
6975
- */
6976
- export type DiskState = (typeof DiskState)[keyof typeof DiskState];
6977
5993
  /**
6978
5994
  * <p>Describes a block storage disk.</p>
6979
5995
  * @public
@@ -7117,20 +6133,6 @@ export interface DiskInfo {
7117
6133
  */
7118
6134
  isSystemDisk?: boolean | undefined;
7119
6135
  }
7120
- /**
7121
- * @public
7122
- * @enum
7123
- */
7124
- export declare const DiskSnapshotState: {
7125
- readonly Completed: "completed";
7126
- readonly Error: "error";
7127
- readonly Pending: "pending";
7128
- readonly Unknown: "unknown";
7129
- };
7130
- /**
7131
- * @public
7132
- */
7133
- export type DiskSnapshotState = (typeof DiskSnapshotState)[keyof typeof DiskSnapshotState];
7134
6136
  /**
7135
6137
  * <p>Describes a block storage disk snapshot.</p>
7136
6138
  * @public
@@ -7262,36 +6264,6 @@ export interface DistributionBundle {
7262
6264
  */
7263
6265
  isActive?: boolean | undefined;
7264
6266
  }
7265
- /**
7266
- * @public
7267
- * @enum
7268
- */
7269
- export declare const DistributionMetricName: {
7270
- readonly BytesDownloaded: "BytesDownloaded";
7271
- readonly BytesUploaded: "BytesUploaded";
7272
- readonly Http4xxErrorRate: "Http4xxErrorRate";
7273
- readonly Http5xxErrorRate: "Http5xxErrorRate";
7274
- readonly Requests: "Requests";
7275
- readonly TotalErrorRate: "TotalErrorRate";
7276
- };
7277
- /**
7278
- * @public
7279
- */
7280
- export type DistributionMetricName = (typeof DistributionMetricName)[keyof typeof DistributionMetricName];
7281
- /**
7282
- * @public
7283
- * @enum
7284
- */
7285
- export declare const NameServersUpdateStateCode: {
7286
- readonly Failed: "FAILED";
7287
- readonly Pending: "PENDING";
7288
- readonly Started: "STARTED";
7289
- readonly Succeeded: "SUCCEEDED";
7290
- };
7291
- /**
7292
- * @public
7293
- */
7294
- export type NameServersUpdateStateCode = (typeof NameServersUpdateStateCode)[keyof typeof NameServersUpdateStateCode];
7295
6267
  /**
7296
6268
  * <p>Describes the state of the name server records update made by Amazon Lightsail
7297
6269
  * to an Amazon Route 53 registered domain.</p>
@@ -7330,20 +6302,6 @@ export interface NameServersUpdateState {
7330
6302
  */
7331
6303
  message?: string | undefined;
7332
6304
  }
7333
- /**
7334
- * @public
7335
- * @enum
7336
- */
7337
- export declare const R53HostedZoneDeletionStateCode: {
7338
- readonly Failed: "FAILED";
7339
- readonly Pending: "PENDING";
7340
- readonly Started: "STARTED";
7341
- readonly Succeeded: "SUCCEEDED";
7342
- };
7343
- /**
7344
- * @public
7345
- */
7346
- export type R53HostedZoneDeletionStateCode = (typeof R53HostedZoneDeletionStateCode)[keyof typeof R53HostedZoneDeletionStateCode];
7347
6305
  /**
7348
6306
  * <p>Describes the deletion state of an Amazon Route 53 hosted zone for a domain that is
7349
6307
  * being automatically delegated to an Amazon Lightsail DNS zone.</p>
@@ -7571,18 +6529,6 @@ export interface InstanceSnapshotInfo {
7571
6529
  */
7572
6530
  fromDiskInfo?: DiskInfo[] | undefined;
7573
6531
  }
7574
- /**
7575
- * @public
7576
- * @enum
7577
- */
7578
- export declare const ExportSnapshotRecordSourceType: {
7579
- readonly DiskSnapshot: "DiskSnapshot";
7580
- readonly InstanceSnapshot: "InstanceSnapshot";
7581
- };
7582
- /**
7583
- * @public
7584
- */
7585
- export type ExportSnapshotRecordSourceType = (typeof ExportSnapshotRecordSourceType)[keyof typeof ExportSnapshotRecordSourceType];
7586
6532
  /**
7587
6533
  * <p>Describes the source of an export snapshot record.</p>
7588
6534
  * @public
@@ -8409,3 +7355,1971 @@ export interface GetContainerServiceDeploymentsResult {
8409
7355
  */
8410
7356
  deployments?: ContainerServiceDeployment[] | undefined;
8411
7357
  }
7358
+ /**
7359
+ * @public
7360
+ */
7361
+ export interface GetContainerServiceMetricDataRequest {
7362
+ /**
7363
+ * <p>The name of the container service for which to get metric data.</p>
7364
+ * @public
7365
+ */
7366
+ serviceName: string | undefined;
7367
+ /**
7368
+ * <p>The metric for which you want to return information.</p>
7369
+ * <p>Valid container service metric names are listed below, along with the most useful
7370
+ * statistics to include in your request, and the published unit value.</p>
7371
+ * <ul>
7372
+ * <li>
7373
+ * <p>
7374
+ * <code>CPUUtilization</code> - The average percentage of compute units that are
7375
+ * currently in use across all nodes of the container service. This metric identifies the
7376
+ * processing power required to run containers on each node of the container service.</p>
7377
+ * <p>Statistics: The most useful statistics are <code>Maximum</code> and
7378
+ * <code>Average</code>.</p>
7379
+ * <p>Unit: The published unit is <code>Percent</code>.</p>
7380
+ * </li>
7381
+ * <li>
7382
+ * <p>
7383
+ * <code>MemoryUtilization</code> - The average percentage of available memory that is
7384
+ * currently in use across all nodes of the container service. This metric identifies the
7385
+ * memory required to run containers on each node of the container service.</p>
7386
+ * <p>Statistics: The most useful statistics are <code>Maximum</code> and
7387
+ * <code>Average</code>.</p>
7388
+ * <p>Unit: The published unit is <code>Percent</code>.</p>
7389
+ * </li>
7390
+ * </ul>
7391
+ * @public
7392
+ */
7393
+ metricName: ContainerServiceMetricName | undefined;
7394
+ /**
7395
+ * <p>The start time of the time period.</p>
7396
+ * @public
7397
+ */
7398
+ startTime: Date | undefined;
7399
+ /**
7400
+ * <p>The end time of the time period.</p>
7401
+ * @public
7402
+ */
7403
+ endTime: Date | undefined;
7404
+ /**
7405
+ * <p>The granularity, in seconds, of the returned data points.</p>
7406
+ * <p>All container service metric data is available in 5-minute (300 seconds)
7407
+ * granularity.</p>
7408
+ * @public
7409
+ */
7410
+ period: number | undefined;
7411
+ /**
7412
+ * <p>The statistic for the metric.</p>
7413
+ * <p>The following statistics are available:</p>
7414
+ * <ul>
7415
+ * <li>
7416
+ * <p>
7417
+ * <code>Minimum</code> - The lowest value observed during the specified period. Use this
7418
+ * value to determine low volumes of activity for your application.</p>
7419
+ * </li>
7420
+ * <li>
7421
+ * <p>
7422
+ * <code>Maximum</code> - The highest value observed during the specified period. Use
7423
+ * this value to determine high volumes of activity for your application.</p>
7424
+ * </li>
7425
+ * <li>
7426
+ * <p>
7427
+ * <code>Sum</code> - All values submitted for the matching metric added together. You
7428
+ * can use this statistic to determine the total volume of a metric.</p>
7429
+ * </li>
7430
+ * <li>
7431
+ * <p>
7432
+ * <code>Average</code> - The value of <code>Sum</code> / <code>SampleCount</code> during
7433
+ * the specified period. By comparing this statistic with the <code>Minimum</code> and
7434
+ * <code>Maximum</code> values, you can determine the full scope of a metric and how close
7435
+ * the average use is to the <code>Minimum</code> and <code>Maximum</code> values. This
7436
+ * comparison helps you to know when to increase or decrease your resources.</p>
7437
+ * </li>
7438
+ * <li>
7439
+ * <p>
7440
+ * <code>SampleCount</code> - The count, or number, of data points used for the
7441
+ * statistical calculation.</p>
7442
+ * </li>
7443
+ * </ul>
7444
+ * @public
7445
+ */
7446
+ statistics: MetricStatistic[] | undefined;
7447
+ }
7448
+ /**
7449
+ * @public
7450
+ */
7451
+ export interface GetContainerServiceMetricDataResult {
7452
+ /**
7453
+ * <p>The name of the metric returned. </p>
7454
+ * @public
7455
+ */
7456
+ metricName?: ContainerServiceMetricName | undefined;
7457
+ /**
7458
+ * <p>An array of objects that describe the metric data returned.</p>
7459
+ * @public
7460
+ */
7461
+ metricData?: MetricDatapoint[] | undefined;
7462
+ }
7463
+ /**
7464
+ * @public
7465
+ */
7466
+ export interface GetContainerServicePowersRequest {
7467
+ }
7468
+ /**
7469
+ * @public
7470
+ */
7471
+ export interface GetContainerServicePowersResult {
7472
+ /**
7473
+ * <p>An array of objects that describe the powers that can be specified for a container
7474
+ * service.</p>
7475
+ * @public
7476
+ */
7477
+ powers?: ContainerServicePower[] | undefined;
7478
+ }
7479
+ /**
7480
+ * @public
7481
+ */
7482
+ export interface GetContainerServicesRequest {
7483
+ /**
7484
+ * <p>The name of the container service for which to return information.</p>
7485
+ * <p>When omitted, the response includes all of your container services in the Amazon Web Services Region where the request is made.</p>
7486
+ * @public
7487
+ */
7488
+ serviceName?: string | undefined;
7489
+ }
7490
+ /**
7491
+ * @public
7492
+ */
7493
+ export interface GetCostEstimateRequest {
7494
+ /**
7495
+ * <p>The resource name.</p>
7496
+ * @public
7497
+ */
7498
+ resourceName: string | undefined;
7499
+ /**
7500
+ * <p>The cost estimate start time.</p>
7501
+ * <p>Constraints:</p>
7502
+ * <ul>
7503
+ * <li>
7504
+ * <p>Specified in Coordinated Universal Time (UTC).</p>
7505
+ * </li>
7506
+ * <li>
7507
+ * <p>Specified in the Unix time format.</p>
7508
+ * <p>For example, if you want to use a start time of October 1, 2018, at 8 PM UTC, specify
7509
+ * <code>1538424000</code> as the start time.</p>
7510
+ * </li>
7511
+ * </ul>
7512
+ * <p>You can convert a human-friendly time to Unix time format using a converter like <a href="https://www.epochconverter.com/">Epoch converter</a>.</p>
7513
+ * @public
7514
+ */
7515
+ startTime: Date | undefined;
7516
+ /**
7517
+ * <p>The cost estimate end time.</p>
7518
+ * <p>Constraints:</p>
7519
+ * <ul>
7520
+ * <li>
7521
+ * <p>Specified in Coordinated Universal Time (UTC).</p>
7522
+ * </li>
7523
+ * <li>
7524
+ * <p>Specified in the Unix time format.</p>
7525
+ * <p>For example, if you want to use an end time of October 1, 2018, at 9 PM UTC, specify
7526
+ * <code>1538427600</code> as the end time.</p>
7527
+ * </li>
7528
+ * </ul>
7529
+ * <p>You can convert a human-friendly time to Unix time format using a converter like <a href="https://www.epochconverter.com/">Epoch converter</a>.</p>
7530
+ * @public
7531
+ */
7532
+ endTime: Date | undefined;
7533
+ }
7534
+ /**
7535
+ * <p>Describes the estimated cost or usage that a budget tracks.</p>
7536
+ * @public
7537
+ */
7538
+ export interface ResourceBudgetEstimate {
7539
+ /**
7540
+ * <p>The resource name.</p>
7541
+ * @public
7542
+ */
7543
+ resourceName?: string | undefined;
7544
+ /**
7545
+ * <p>The type of resource the budget will track.</p>
7546
+ * @public
7547
+ */
7548
+ resourceType?: ResourceType | undefined;
7549
+ /**
7550
+ * <p>The cost estimate for the specified budget.</p>
7551
+ * @public
7552
+ */
7553
+ costEstimates?: CostEstimate[] | undefined;
7554
+ /**
7555
+ * <p>The estimate start time.</p>
7556
+ * @public
7557
+ */
7558
+ startTime?: Date | undefined;
7559
+ /**
7560
+ * <p>The estimate end time.</p>
7561
+ * @public
7562
+ */
7563
+ endTime?: Date | undefined;
7564
+ }
7565
+ /**
7566
+ * @public
7567
+ */
7568
+ export interface GetCostEstimateResult {
7569
+ /**
7570
+ * <p>Returns the estimate's forecasted cost or usage.</p>
7571
+ * @public
7572
+ */
7573
+ resourcesBudgetEstimate?: ResourceBudgetEstimate[] | undefined;
7574
+ }
7575
+ /**
7576
+ * @public
7577
+ */
7578
+ export interface GetDiskRequest {
7579
+ /**
7580
+ * <p>The name of the disk (<code>my-disk</code>).</p>
7581
+ * @public
7582
+ */
7583
+ diskName: string | undefined;
7584
+ }
7585
+ /**
7586
+ * @public
7587
+ */
7588
+ export interface GetDiskResult {
7589
+ /**
7590
+ * <p>An object containing information about the disk.</p>
7591
+ * @public
7592
+ */
7593
+ disk?: Disk | undefined;
7594
+ }
7595
+ /**
7596
+ * @public
7597
+ */
7598
+ export interface GetDisksRequest {
7599
+ /**
7600
+ * <p>The token to advance to the next page of results from your request.</p>
7601
+ * <p>To get a page token, perform an initial <code>GetDisks</code> request. If your results are
7602
+ * paginated, the response will return a next page token that you can specify as the page token
7603
+ * in a subsequent request.</p>
7604
+ * @public
7605
+ */
7606
+ pageToken?: string | undefined;
7607
+ }
7608
+ /**
7609
+ * @public
7610
+ */
7611
+ export interface GetDisksResult {
7612
+ /**
7613
+ * <p>An array of objects containing information about all block storage disks.</p>
7614
+ * @public
7615
+ */
7616
+ disks?: Disk[] | undefined;
7617
+ /**
7618
+ * <p>The token to advance to the next page of results from your request.</p>
7619
+ * <p>A next page token is not returned if there are no more results to display.</p>
7620
+ * <p>To get the next page of results, perform another <code>GetDisks</code> request and specify
7621
+ * the next page token using the <code>pageToken</code> parameter.</p>
7622
+ * @public
7623
+ */
7624
+ nextPageToken?: string | undefined;
7625
+ }
7626
+ /**
7627
+ * @public
7628
+ */
7629
+ export interface GetDiskSnapshotRequest {
7630
+ /**
7631
+ * <p>The name of the disk snapshot (<code>my-disk-snapshot</code>).</p>
7632
+ * @public
7633
+ */
7634
+ diskSnapshotName: string | undefined;
7635
+ }
7636
+ /**
7637
+ * @public
7638
+ */
7639
+ export interface GetDiskSnapshotResult {
7640
+ /**
7641
+ * <p>An object containing information about the disk snapshot.</p>
7642
+ * @public
7643
+ */
7644
+ diskSnapshot?: DiskSnapshot | undefined;
7645
+ }
7646
+ /**
7647
+ * @public
7648
+ */
7649
+ export interface GetDiskSnapshotsRequest {
7650
+ /**
7651
+ * <p>The token to advance to the next page of results from your request.</p>
7652
+ * <p>To get a page token, perform an initial <code>GetDiskSnapshots</code> request. If your
7653
+ * results are paginated, the response will return a next page token that you can specify as the
7654
+ * page token in a subsequent request.</p>
7655
+ * @public
7656
+ */
7657
+ pageToken?: string | undefined;
7658
+ }
7659
+ /**
7660
+ * @public
7661
+ */
7662
+ export interface GetDiskSnapshotsResult {
7663
+ /**
7664
+ * <p>An array of objects containing information about all block storage disk snapshots.</p>
7665
+ * @public
7666
+ */
7667
+ diskSnapshots?: DiskSnapshot[] | undefined;
7668
+ /**
7669
+ * <p>The token to advance to the next page of results from your request.</p>
7670
+ * <p>A next page token is not returned if there are no more results to display.</p>
7671
+ * <p>To get the next page of results, perform another <code>GetDiskSnapshots</code> request and
7672
+ * specify the next page token using the <code>pageToken</code> parameter.</p>
7673
+ * @public
7674
+ */
7675
+ nextPageToken?: string | undefined;
7676
+ }
7677
+ /**
7678
+ * @public
7679
+ */
7680
+ export interface GetDistributionBundlesRequest {
7681
+ }
7682
+ /**
7683
+ * @public
7684
+ */
7685
+ export interface GetDistributionBundlesResult {
7686
+ /**
7687
+ * <p>An object that describes a distribution bundle.</p>
7688
+ * @public
7689
+ */
7690
+ bundles?: DistributionBundle[] | undefined;
7691
+ }
7692
+ /**
7693
+ * @public
7694
+ */
7695
+ export interface GetDistributionLatestCacheResetRequest {
7696
+ /**
7697
+ * <p>The name of the distribution for which to return the timestamp of the last cache
7698
+ * reset.</p>
7699
+ * <p>Use the <code>GetDistributions</code> action to get a list of distribution names that you
7700
+ * can specify.</p>
7701
+ * <p>When omitted, the response includes the latest cache reset timestamp of all your
7702
+ * distributions.</p>
7703
+ * @public
7704
+ */
7705
+ distributionName?: string | undefined;
7706
+ }
7707
+ /**
7708
+ * @public
7709
+ */
7710
+ export interface GetDistributionLatestCacheResetResult {
7711
+ /**
7712
+ * <p>The status of the last cache reset.</p>
7713
+ * @public
7714
+ */
7715
+ status?: string | undefined;
7716
+ /**
7717
+ * <p>The timestamp of the last cache reset (<code>1479734909.17</code>) in Unix time
7718
+ * format.</p>
7719
+ * @public
7720
+ */
7721
+ createTime?: Date | undefined;
7722
+ }
7723
+ /**
7724
+ * @public
7725
+ */
7726
+ export interface GetDistributionMetricDataRequest {
7727
+ /**
7728
+ * <p>The name of the distribution for which to get metric data.</p>
7729
+ * <p>Use the <code>GetDistributions</code> action to get a list of distribution names that you
7730
+ * can specify.</p>
7731
+ * @public
7732
+ */
7733
+ distributionName: string | undefined;
7734
+ /**
7735
+ * <p>The metric for which you want to return information.</p>
7736
+ * <p>Valid distribution metric names are listed below, along with the most useful
7737
+ * <code>statistics</code> to include in your request, and the published <code>unit</code>
7738
+ * value.</p>
7739
+ * <ul>
7740
+ * <li>
7741
+ * <p>
7742
+ * <b>
7743
+ * <code>Requests</code>
7744
+ * </b> - The total number of viewer
7745
+ * requests received by your Lightsail distribution, for all HTTP methods, and for both
7746
+ * HTTP and HTTPS requests.</p>
7747
+ * <p>
7748
+ * <code>Statistics</code>: The most useful statistic is <code>Sum</code>.</p>
7749
+ * <p>
7750
+ * <code>Unit</code>: The published unit is <code>None</code>.</p>
7751
+ * </li>
7752
+ * <li>
7753
+ * <p>
7754
+ * <b>
7755
+ * <code>BytesDownloaded</code>
7756
+ * </b> - The number of bytes
7757
+ * downloaded by viewers for GET, HEAD, and OPTIONS requests.</p>
7758
+ * <p>
7759
+ * <code>Statistics</code>: The most useful statistic is <code>Sum</code>.</p>
7760
+ * <p>
7761
+ * <code>Unit</code>: The published unit is <code>None</code>.</p>
7762
+ * </li>
7763
+ * <li>
7764
+ * <p>
7765
+ * <b>
7766
+ * <code>BytesUploaded </code>
7767
+ * </b> - The number of bytes
7768
+ * uploaded to your origin by your Lightsail distribution, using POST and PUT
7769
+ * requests.</p>
7770
+ * <p>
7771
+ * <code>Statistics</code>: The most useful statistic is <code>Sum</code>.</p>
7772
+ * <p>
7773
+ * <code>Unit</code>: The published unit is <code>None</code>.</p>
7774
+ * </li>
7775
+ * <li>
7776
+ * <p>
7777
+ * <b>
7778
+ * <code>TotalErrorRate</code>
7779
+ * </b> - The percentage of all
7780
+ * viewer requests for which the response's HTTP status code was 4xx or 5xx.</p>
7781
+ * <p>
7782
+ * <code>Statistics</code>: The most useful statistic is <code>Average</code>.</p>
7783
+ * <p>
7784
+ * <code>Unit</code>: The published unit is <code>Percent</code>.</p>
7785
+ * </li>
7786
+ * <li>
7787
+ * <p>
7788
+ * <b>
7789
+ * <code>4xxErrorRate</code>
7790
+ * </b> - The percentage of all
7791
+ * viewer requests for which the response's HTTP status cod was 4xx. In these cases, the
7792
+ * client or client viewer may have made an error. For example, a status code of 404 (Not
7793
+ * Found) means that the client requested an object that could not be found.</p>
7794
+ * <p>
7795
+ * <code>Statistics</code>: The most useful statistic is <code>Average</code>.</p>
7796
+ * <p>
7797
+ * <code>Unit</code>: The published unit is <code>Percent</code>.</p>
7798
+ * </li>
7799
+ * <li>
7800
+ * <p>
7801
+ * <b>
7802
+ * <code>5xxErrorRate</code>
7803
+ * </b> - The percentage of all
7804
+ * viewer requests for which the response's HTTP status code was 5xx. In these cases, the
7805
+ * origin server did not satisfy the requests. For example, a status code of 503 (Service
7806
+ * Unavailable) means that the origin server is currently unavailable.</p>
7807
+ * <p>
7808
+ * <code>Statistics</code>: The most useful statistic is <code>Average</code>.</p>
7809
+ * <p>
7810
+ * <code>Unit</code>: The published unit is <code>Percent</code>.</p>
7811
+ * </li>
7812
+ * </ul>
7813
+ * @public
7814
+ */
7815
+ metricName: DistributionMetricName | undefined;
7816
+ /**
7817
+ * <p>The start of the time interval for which to get metric data.</p>
7818
+ * <p>Constraints:</p>
7819
+ * <ul>
7820
+ * <li>
7821
+ * <p>Specified in Coordinated Universal Time (UTC).</p>
7822
+ * </li>
7823
+ * <li>
7824
+ * <p>Specified in the Unix time format.</p>
7825
+ * <p>For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, specify
7826
+ * <code>1538424000</code> as the start time.</p>
7827
+ * </li>
7828
+ * </ul>
7829
+ * <p>You can convert a human-friendly time to Unix time format using a converter like <a href="https://www.epochconverter.com/">Epoch converter</a>.</p>
7830
+ * @public
7831
+ */
7832
+ startTime: Date | undefined;
7833
+ /**
7834
+ * <p>The end of the time interval for which to get metric data.</p>
7835
+ * <p>Constraints:</p>
7836
+ * <ul>
7837
+ * <li>
7838
+ * <p>Specified in Coordinated Universal Time (UTC).</p>
7839
+ * </li>
7840
+ * <li>
7841
+ * <p>Specified in the Unix time format.</p>
7842
+ * <p>For example, if you wish to use an end time of October 1, 2018, at 9 PM UTC, specify
7843
+ * <code>1538427600</code> as the end time.</p>
7844
+ * </li>
7845
+ * </ul>
7846
+ * <p>You can convert a human-friendly time to Unix time format using a converter like <a href="https://www.epochconverter.com/">Epoch converter</a>.</p>
7847
+ * @public
7848
+ */
7849
+ endTime: Date | undefined;
7850
+ /**
7851
+ * <p>The granularity, in seconds, for the metric data points that will be returned.</p>
7852
+ * @public
7853
+ */
7854
+ period: number | undefined;
7855
+ /**
7856
+ * <p>The unit for the metric data request.</p>
7857
+ * <p>Valid units depend on the metric data being requested. For the valid units with each
7858
+ * available metric, see the <code>metricName</code> parameter.</p>
7859
+ * @public
7860
+ */
7861
+ unit: MetricUnit | undefined;
7862
+ /**
7863
+ * <p>The statistic for the metric.</p>
7864
+ * <p>The following statistics are available:</p>
7865
+ * <ul>
7866
+ * <li>
7867
+ * <p>
7868
+ * <code>Minimum</code> - The lowest value observed during the specified period. Use this
7869
+ * value to determine low volumes of activity for your application.</p>
7870
+ * </li>
7871
+ * <li>
7872
+ * <p>
7873
+ * <code>Maximum</code> - The highest value observed during the specified period. Use
7874
+ * this value to determine high volumes of activity for your application.</p>
7875
+ * </li>
7876
+ * <li>
7877
+ * <p>
7878
+ * <code>Sum</code> - All values submitted for the matching metric added together. You
7879
+ * can use this statistic to determine the total volume of a metric.</p>
7880
+ * </li>
7881
+ * <li>
7882
+ * <p>
7883
+ * <code>Average</code> - The value of Sum / SampleCount during the specified period. By
7884
+ * comparing this statistic with the Minimum and Maximum values, you can determine the full
7885
+ * scope of a metric and how close the average use is to the Minimum and Maximum values. This
7886
+ * comparison helps you to know when to increase or decrease your resources.</p>
7887
+ * </li>
7888
+ * <li>
7889
+ * <p>
7890
+ * <code>SampleCount</code> - The count, or number, of data points used for the
7891
+ * statistical calculation.</p>
7892
+ * </li>
7893
+ * </ul>
7894
+ * @public
7895
+ */
7896
+ statistics: MetricStatistic[] | undefined;
7897
+ }
7898
+ /**
7899
+ * @public
7900
+ */
7901
+ export interface GetDistributionMetricDataResult {
7902
+ /**
7903
+ * <p>The name of the metric returned.</p>
7904
+ * @public
7905
+ */
7906
+ metricName?: DistributionMetricName | undefined;
7907
+ /**
7908
+ * <p>An array of objects that describe the metric data returned.</p>
7909
+ * @public
7910
+ */
7911
+ metricData?: MetricDatapoint[] | undefined;
7912
+ }
7913
+ /**
7914
+ * @public
7915
+ */
7916
+ export interface GetDistributionsRequest {
7917
+ /**
7918
+ * <p>The name of the distribution for which to return information.</p>
7919
+ * <p>When omitted, the response includes all of your distributions in the Amazon Web Services
7920
+ * Region where the request is made.</p>
7921
+ * @public
7922
+ */
7923
+ distributionName?: string | undefined;
7924
+ /**
7925
+ * <p>The token to advance to the next page of results from your request.</p>
7926
+ * <p>To get a page token, perform an initial <code>GetDistributions</code> request. If your
7927
+ * results are paginated, the response will return a next page token that you can specify as the
7928
+ * page token in a subsequent request.</p>
7929
+ * @public
7930
+ */
7931
+ pageToken?: string | undefined;
7932
+ }
7933
+ /**
7934
+ * @public
7935
+ */
7936
+ export interface GetDistributionsResult {
7937
+ /**
7938
+ * <p>An array of objects that describe your distributions.</p>
7939
+ * @public
7940
+ */
7941
+ distributions?: LightsailDistribution[] | undefined;
7942
+ /**
7943
+ * <p>The token to advance to the next page of results from your request.</p>
7944
+ * <p>A next page token is not returned if there are no more results to display.</p>
7945
+ * <p>To get the next page of results, perform another <code>GetDistributions</code> request and
7946
+ * specify the next page token using the <code>pageToken</code> parameter.</p>
7947
+ * @public
7948
+ */
7949
+ nextPageToken?: string | undefined;
7950
+ }
7951
+ /**
7952
+ * @public
7953
+ */
7954
+ export interface GetDomainRequest {
7955
+ /**
7956
+ * <p>The domain name for which your want to return information about.</p>
7957
+ * @public
7958
+ */
7959
+ domainName: string | undefined;
7960
+ }
7961
+ /**
7962
+ * @public
7963
+ */
7964
+ export interface GetDomainResult {
7965
+ /**
7966
+ * <p>An array of key-value pairs containing information about your get domain request.</p>
7967
+ * @public
7968
+ */
7969
+ domain?: Domain | undefined;
7970
+ }
7971
+ /**
7972
+ * @public
7973
+ */
7974
+ export interface GetDomainsRequest {
7975
+ /**
7976
+ * <p>The token to advance to the next page of results from your request.</p>
7977
+ * <p>To get a page token, perform an initial <code>GetDomains</code> request. If your results
7978
+ * are paginated, the response will return a next page token that you can specify as the page
7979
+ * token in a subsequent request.</p>
7980
+ * @public
7981
+ */
7982
+ pageToken?: string | undefined;
7983
+ }
7984
+ /**
7985
+ * @public
7986
+ */
7987
+ export interface GetDomainsResult {
7988
+ /**
7989
+ * <p>An array of key-value pairs containing information about each of the domain entries in the
7990
+ * user's account.</p>
7991
+ * @public
7992
+ */
7993
+ domains?: Domain[] | undefined;
7994
+ /**
7995
+ * <p>The token to advance to the next page of results from your request.</p>
7996
+ * <p>A next page token is not returned if there are no more results to display.</p>
7997
+ * <p>To get the next page of results, perform another <code>GetDomains</code> request and
7998
+ * specify the next page token using the <code>pageToken</code> parameter.</p>
7999
+ * @public
8000
+ */
8001
+ nextPageToken?: string | undefined;
8002
+ }
8003
+ /**
8004
+ * @public
8005
+ */
8006
+ export interface GetExportSnapshotRecordsRequest {
8007
+ /**
8008
+ * <p>The token to advance to the next page of results from your request.</p>
8009
+ * <p>To get a page token, perform an initial <code>GetExportSnapshotRecords</code> request. If
8010
+ * your results are paginated, the response will return a next page token that you can specify as
8011
+ * the page token in a subsequent request.</p>
8012
+ * @public
8013
+ */
8014
+ pageToken?: string | undefined;
8015
+ }
8016
+ /**
8017
+ * @public
8018
+ */
8019
+ export interface GetExportSnapshotRecordsResult {
8020
+ /**
8021
+ * <p>A list of objects describing the export snapshot records.</p>
8022
+ * @public
8023
+ */
8024
+ exportSnapshotRecords?: ExportSnapshotRecord[] | undefined;
8025
+ /**
8026
+ * <p>The token to advance to the next page of results from your request.</p>
8027
+ * <p>A next page token is not returned if there are no more results to display.</p>
8028
+ * <p>To get the next page of results, perform another <code>GetExportSnapshotRecords</code>
8029
+ * request and specify the next page token using the <code>pageToken</code> parameter.</p>
8030
+ * @public
8031
+ */
8032
+ nextPageToken?: string | undefined;
8033
+ }
8034
+ /**
8035
+ * @public
8036
+ */
8037
+ export interface GetInstanceRequest {
8038
+ /**
8039
+ * <p>The name of the instance.</p>
8040
+ * @public
8041
+ */
8042
+ instanceName: string | undefined;
8043
+ }
8044
+ /**
8045
+ * <p>Describes the hardware for the instance.</p>
8046
+ * @public
8047
+ */
8048
+ export interface InstanceHardware {
8049
+ /**
8050
+ * <p>The number of vCPUs the instance has.</p>
8051
+ * @public
8052
+ */
8053
+ cpuCount?: number | undefined;
8054
+ /**
8055
+ * <p>The disks attached to the instance.</p>
8056
+ * @public
8057
+ */
8058
+ disks?: Disk[] | undefined;
8059
+ /**
8060
+ * <p>The amount of RAM in GB on the instance (<code>1.0</code>).</p>
8061
+ * @public
8062
+ */
8063
+ ramSizeInGb?: number | undefined;
8064
+ }
8065
+ /**
8066
+ * <p>The metadata options for the instance.</p>
8067
+ * @public
8068
+ */
8069
+ export interface InstanceMetadataOptions {
8070
+ /**
8071
+ * <p>The state of the metadata option changes.</p>
8072
+ * <p>The following states are possible:</p>
8073
+ * <ul>
8074
+ * <li>
8075
+ * <p>
8076
+ * <code>pending</code> - The metadata options are being updated. The instance is not yet
8077
+ * ready to process metadata traffic with the new selection.</p>
8078
+ * </li>
8079
+ * <li>
8080
+ * <p>
8081
+ * <code>applied</code> - The metadata options have been successfully applied to the
8082
+ * instance.</p>
8083
+ * </li>
8084
+ * </ul>
8085
+ * @public
8086
+ */
8087
+ state?: InstanceMetadataState | undefined;
8088
+ /**
8089
+ * <p>The state of token usage for your instance metadata requests.</p>
8090
+ * <p>If the state is <code>optional</code>, you can choose whether to retrieve instance
8091
+ * metadata with a signed token header on your request. If you retrieve the IAM role credentials
8092
+ * without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role
8093
+ * credentials by using a valid signed token, the version 2.0 role credentials are
8094
+ * returned.</p>
8095
+ * <p>If the state is <code>required</code>, you must send a signed token header with all
8096
+ * instance metadata retrieval requests. In this state, retrieving the IAM role credential always
8097
+ * returns the version 2.0 credentials. The version 1.0 credentials are not available.</p>
8098
+ * <important>
8099
+ * <p>Not all instance blueprints in Lightsail support version 2.0 credentials.
8100
+ * Use the <code>MetadataNoToken</code> instance metric to track the number of calls to the
8101
+ * instance metadata service that are using version 1.0 credentials. For more information, see
8102
+ * <a href="https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-viewing-instance-health-metrics">Viewing instance metrics in Amazon Lightsail</a> in the <i>Amazon Lightsail Developer Guide</i>.</p>
8103
+ * </important>
8104
+ * @public
8105
+ */
8106
+ httpTokens?: HttpTokens | undefined;
8107
+ /**
8108
+ * <p>Indicates whether the HTTP metadata endpoint on your instances is enabled or
8109
+ * disabled.</p>
8110
+ * <p>If the value is <code>disabled</code>, you cannot access your instance metadata.</p>
8111
+ * @public
8112
+ */
8113
+ httpEndpoint?: HttpEndpoint | undefined;
8114
+ /**
8115
+ * <p>The desired HTTP PUT response hop limit for instance metadata requests. A larger number
8116
+ * means that the instance metadata requests can travel farther.</p>
8117
+ * @public
8118
+ */
8119
+ httpPutResponseHopLimit?: number | undefined;
8120
+ /**
8121
+ * <p>Indicates whether the IPv6 endpoint for the instance metadata service is enabled or
8122
+ * disabled.</p>
8123
+ * @public
8124
+ */
8125
+ httpProtocolIpv6?: HttpProtocolIpv6 | undefined;
8126
+ }
8127
+ /**
8128
+ * <p>Describes the monthly data transfer in and out of your virtual private server (or
8129
+ * <i>instance</i>).</p>
8130
+ * @public
8131
+ */
8132
+ export interface MonthlyTransfer {
8133
+ /**
8134
+ * <p>The amount allocated per month (in GB).</p>
8135
+ * @public
8136
+ */
8137
+ gbPerMonthAllocated?: number | undefined;
8138
+ }
8139
+ /**
8140
+ * <p>Describes information about ports for an Amazon Lightsail instance.</p>
8141
+ * @public
8142
+ */
8143
+ export interface InstancePortInfo {
8144
+ /**
8145
+ * <p>The first port in a range of open ports on an instance.</p>
8146
+ * <p>Allowed ports:</p>
8147
+ * <ul>
8148
+ * <li>
8149
+ * <p>TCP and UDP - <code>0</code> to <code>65535</code>
8150
+ * </p>
8151
+ * </li>
8152
+ * <li>
8153
+ * <p>ICMP - The ICMP type for IPv4 addresses. For example, specify <code>8</code> as the
8154
+ * <code>fromPort</code> (ICMP type), and <code>-1</code> as the <code>toPort</code> (ICMP
8155
+ * code), to enable ICMP Ping. For more information, see <a href="https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages">Control Messages</a> on <i>Wikipedia</i>.</p>
8156
+ * </li>
8157
+ * <li>
8158
+ * <p>ICMPv6 - The ICMP type for IPv6 addresses. For example, specify <code>128</code> as
8159
+ * the <code>fromPort</code> (ICMPv6 type), and <code>0</code> as <code>toPort</code> (ICMPv6
8160
+ * code). For more information, see <a href="https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol_for_IPv6">Internet
8161
+ * Control Message Protocol for IPv6</a>.</p>
8162
+ * </li>
8163
+ * </ul>
8164
+ * @public
8165
+ */
8166
+ fromPort?: number | undefined;
8167
+ /**
8168
+ * <p>The last port in a range of open ports on an instance.</p>
8169
+ * <p>Allowed ports:</p>
8170
+ * <ul>
8171
+ * <li>
8172
+ * <p>TCP and UDP - <code>0</code> to <code>65535</code>
8173
+ * </p>
8174
+ * </li>
8175
+ * <li>
8176
+ * <p>ICMP - The ICMP code for IPv4 addresses. For example, specify <code>8</code> as the
8177
+ * <code>fromPort</code> (ICMP type), and <code>-1</code> as the <code>toPort</code> (ICMP
8178
+ * code), to enable ICMP Ping. For more information, see <a href="https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages">Control Messages</a> on <i>Wikipedia</i>.</p>
8179
+ * </li>
8180
+ * <li>
8181
+ * <p>ICMPv6 - The ICMP code for IPv6 addresses. For example, specify <code>128</code> as
8182
+ * the <code>fromPort</code> (ICMPv6 type), and <code>0</code> as <code>toPort</code> (ICMPv6
8183
+ * code). For more information, see <a href="https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol_for_IPv6">Internet
8184
+ * Control Message Protocol for IPv6</a>.</p>
8185
+ * </li>
8186
+ * </ul>
8187
+ * @public
8188
+ */
8189
+ toPort?: number | undefined;
8190
+ /**
8191
+ * <p>The IP protocol name.</p>
8192
+ * <p>The name can be one of the following:</p>
8193
+ * <ul>
8194
+ * <li>
8195
+ * <p>
8196
+ * <code>tcp</code> - Transmission Control Protocol (TCP) provides reliable, ordered, and
8197
+ * error-checked delivery of streamed data between applications running on hosts
8198
+ * communicating by an IP network. If you have an application that doesn't require reliable
8199
+ * data stream service, use UDP instead.</p>
8200
+ * </li>
8201
+ * <li>
8202
+ * <p>
8203
+ * <code>all</code> - All transport layer protocol types. For more general information,
8204
+ * see <a href="https://en.wikipedia.org/wiki/Transport_layer">Transport layer</a> on
8205
+ * <i>Wikipedia</i>.</p>
8206
+ * </li>
8207
+ * <li>
8208
+ * <p>
8209
+ * <code>udp</code> - With User Datagram Protocol (UDP), computer applications can send
8210
+ * messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior
8211
+ * communications are not required to set up transmission channels or data paths.
8212
+ * Applications that don't require reliable data stream service can use UDP, which provides a
8213
+ * connectionless datagram service that emphasizes reduced latency over reliability. If you
8214
+ * do require reliable data stream service, use TCP instead.</p>
8215
+ * </li>
8216
+ * <li>
8217
+ * <p>
8218
+ * <code>icmp</code> - Internet Control Message Protocol (ICMP) is used to send error
8219
+ * messages and operational information indicating success or failure when communicating with
8220
+ * an instance. For example, an error is indicated when an instance could not be reached.
8221
+ * When you specify <code>icmp</code> as the <code>protocol</code>, you must specify the ICMP
8222
+ * type using the <code>fromPort</code> parameter, and ICMP code using the
8223
+ * <code>toPort</code> parameter.</p>
8224
+ * </li>
8225
+ * <li>
8226
+ * <p>
8227
+ * <code>icmp6</code> - Internet Control Message Protocol (ICMP) for IPv6. When you
8228
+ * specify <code>icmp6</code> as the <code>protocol</code>, you must specify the ICMP type
8229
+ * using the <code>fromPort</code> parameter, and ICMP code using the <code>toPort</code>
8230
+ * parameter.</p>
8231
+ * </li>
8232
+ * </ul>
8233
+ * @public
8234
+ */
8235
+ protocol?: NetworkProtocol | undefined;
8236
+ /**
8237
+ * <p>The location from which access is allowed. For example, <code>Anywhere (0.0.0.0/0)</code>,
8238
+ * or <code>Custom</code> if a specific IP address or range of IP addresses is allowed.</p>
8239
+ * @public
8240
+ */
8241
+ accessFrom?: string | undefined;
8242
+ /**
8243
+ * <p>The type of access (<code>Public</code> or <code>Private</code>).</p>
8244
+ * @public
8245
+ */
8246
+ accessType?: PortAccessType | undefined;
8247
+ /**
8248
+ * <p>The common name of the port information.</p>
8249
+ * @public
8250
+ */
8251
+ commonName?: string | undefined;
8252
+ /**
8253
+ * <p>The access direction (<code>inbound</code> or <code>outbound</code>).</p>
8254
+ * <note>
8255
+ * <p>Lightsail currently supports only <code>inbound</code> access direction.</p>
8256
+ * </note>
8257
+ * @public
8258
+ */
8259
+ accessDirection?: AccessDirection | undefined;
8260
+ /**
8261
+ * <p>The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to
8262
+ * connect to an instance through the ports, and the protocol.</p>
8263
+ * <note>
8264
+ * <p>The <code>ipv6Cidrs</code> parameter lists the IPv6 addresses that are allowed to
8265
+ * connect to an instance.</p>
8266
+ * </note>
8267
+ * <p>For more information about CIDR block notation, see <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation">Classless
8268
+ * Inter-Domain Routing</a> on <i>Wikipedia</i>.</p>
8269
+ * @public
8270
+ */
8271
+ cidrs?: string[] | undefined;
8272
+ /**
8273
+ * <p>The IPv6 address, or range of IPv6 addresses (in CIDR notation) that are allowed to
8274
+ * connect to an instance through the ports, and the protocol. Only devices with an IPv6 address
8275
+ * can connect to an instance through IPv6; otherwise, IPv4 should be used.</p>
8276
+ * <note>
8277
+ * <p>The <code>cidrs</code> parameter lists the IPv4 addresses that are allowed to connect to
8278
+ * an instance.</p>
8279
+ * </note>
8280
+ * <p>For more information about CIDR block notation, see <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation">Classless
8281
+ * Inter-Domain Routing</a> on <i>Wikipedia</i>.</p>
8282
+ * @public
8283
+ */
8284
+ ipv6Cidrs?: string[] | undefined;
8285
+ /**
8286
+ * <p>An alias that defines access for a preconfigured range of IP addresses.</p>
8287
+ * <p>The only alias currently supported is <code>lightsail-connect</code>, which allows IP
8288
+ * addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your
8289
+ * instance.</p>
8290
+ * @public
8291
+ */
8292
+ cidrListAliases?: string[] | undefined;
8293
+ }
8294
+ /**
8295
+ * <p>Describes monthly data transfer rates and port information for an instance.</p>
8296
+ * @public
8297
+ */
8298
+ export interface InstanceNetworking {
8299
+ /**
8300
+ * <p>The amount of data in GB allocated for monthly data transfers.</p>
8301
+ * @public
8302
+ */
8303
+ monthlyTransfer?: MonthlyTransfer | undefined;
8304
+ /**
8305
+ * <p>An array of key-value pairs containing information about the ports on the instance.</p>
8306
+ * @public
8307
+ */
8308
+ ports?: InstancePortInfo[] | undefined;
8309
+ }
8310
+ /**
8311
+ * <p>Describes the virtual private server (or <i>instance</i>) status.</p>
8312
+ * @public
8313
+ */
8314
+ export interface InstanceState {
8315
+ /**
8316
+ * <p>The status code for the instance.</p>
8317
+ * @public
8318
+ */
8319
+ code?: number | undefined;
8320
+ /**
8321
+ * <p>The state of the instance (<code>running</code> or <code>pending</code>).</p>
8322
+ * @public
8323
+ */
8324
+ name?: string | undefined;
8325
+ }
8326
+ /**
8327
+ * <p>Describes an instance (a virtual private server).</p>
8328
+ * @public
8329
+ */
8330
+ export interface Instance {
8331
+ /**
8332
+ * <p>The name the user gave the instance (<code>Amazon_Linux_2023-1</code>).</p>
8333
+ * @public
8334
+ */
8335
+ name?: string | undefined;
8336
+ /**
8337
+ * <p>The Amazon Resource Name (ARN) of the instance
8338
+ * (<code>arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE</code>).</p>
8339
+ * @public
8340
+ */
8341
+ arn?: string | undefined;
8342
+ /**
8343
+ * <p>The support code. Include this code in your email to support when you have questions about
8344
+ * an instance or another resource in Lightsail. This code enables our support team to look up
8345
+ * your Lightsail information more easily.</p>
8346
+ * @public
8347
+ */
8348
+ supportCode?: string | undefined;
8349
+ /**
8350
+ * <p>The timestamp when the instance was created (<code>1479734909.17</code>) in Unix time
8351
+ * format.</p>
8352
+ * @public
8353
+ */
8354
+ createdAt?: Date | undefined;
8355
+ /**
8356
+ * <p>The region name and Availability Zone where the instance is located.</p>
8357
+ * @public
8358
+ */
8359
+ location?: ResourceLocation | undefined;
8360
+ /**
8361
+ * <p>The type of resource (usually <code>Instance</code>).</p>
8362
+ * @public
8363
+ */
8364
+ resourceType?: ResourceType | undefined;
8365
+ /**
8366
+ * <p>The tag keys and optional values for the resource. For more information about tags in
8367
+ * Lightsail, see the <a href="https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-tags">Amazon Lightsail Developer Guide</a>.</p>
8368
+ * @public
8369
+ */
8370
+ tags?: Tag[] | undefined;
8371
+ /**
8372
+ * <p>The blueprint ID (<code>amazon_linux_2023</code>).</p>
8373
+ * @public
8374
+ */
8375
+ blueprintId?: string | undefined;
8376
+ /**
8377
+ * <p>The friendly name of the blueprint (<code>Amazon Linux 2023</code>).</p>
8378
+ * @public
8379
+ */
8380
+ blueprintName?: string | undefined;
8381
+ /**
8382
+ * <p>The bundle for the instance (<code>micro_x_x</code>).</p>
8383
+ * @public
8384
+ */
8385
+ bundleId?: string | undefined;
8386
+ /**
8387
+ * <p>An array of objects representing the add-ons enabled on the instance.</p>
8388
+ * @public
8389
+ */
8390
+ addOns?: AddOn[] | undefined;
8391
+ /**
8392
+ * <p>A Boolean value indicating whether this instance has a static IP assigned to it.</p>
8393
+ * @public
8394
+ */
8395
+ isStaticIp?: boolean | undefined;
8396
+ /**
8397
+ * <p>The private IP address of the instance.</p>
8398
+ * @public
8399
+ */
8400
+ privateIpAddress?: string | undefined;
8401
+ /**
8402
+ * <p>The public IP address of the instance.</p>
8403
+ * @public
8404
+ */
8405
+ publicIpAddress?: string | undefined;
8406
+ /**
8407
+ * <p>The IPv6 addresses of the instance.</p>
8408
+ * @public
8409
+ */
8410
+ ipv6Addresses?: string[] | undefined;
8411
+ /**
8412
+ * <p>The IP address type of the instance.</p>
8413
+ * <p>The possible values are <code>ipv4</code> for IPv4 only, <code>ipv6</code> for IPv6 only,
8414
+ * and <code>dualstack</code> for IPv4 and IPv6.</p>
8415
+ * @public
8416
+ */
8417
+ ipAddressType?: IpAddressType | undefined;
8418
+ /**
8419
+ * <p>The size of the vCPU and the amount of RAM for the instance.</p>
8420
+ * @public
8421
+ */
8422
+ hardware?: InstanceHardware | undefined;
8423
+ /**
8424
+ * <p>Information about the public ports and monthly data transfer rates for the
8425
+ * instance.</p>
8426
+ * @public
8427
+ */
8428
+ networking?: InstanceNetworking | undefined;
8429
+ /**
8430
+ * <p>The status code and the state (<code>running</code>) for the instance.</p>
8431
+ * @public
8432
+ */
8433
+ state?: InstanceState | undefined;
8434
+ /**
8435
+ * <p>The user name for connecting to the instance (<code>ec2-user</code>).</p>
8436
+ * @public
8437
+ */
8438
+ username?: string | undefined;
8439
+ /**
8440
+ * <p>The name of the SSH key being used to connect to the instance
8441
+ * (<code>LightsailDefaultKeyPair</code>).</p>
8442
+ * @public
8443
+ */
8444
+ sshKeyName?: string | undefined;
8445
+ /**
8446
+ * <p>The metadata options for the Amazon Lightsail instance.</p>
8447
+ * @public
8448
+ */
8449
+ metadataOptions?: InstanceMetadataOptions | undefined;
8450
+ }
8451
+ /**
8452
+ * @public
8453
+ */
8454
+ export interface GetInstanceResult {
8455
+ /**
8456
+ * <p>An array of key-value pairs containing information about the specified instance.</p>
8457
+ * @public
8458
+ */
8459
+ instance?: Instance | undefined;
8460
+ }
8461
+ /**
8462
+ * @public
8463
+ */
8464
+ export interface GetInstanceAccessDetailsRequest {
8465
+ /**
8466
+ * <p>The name of the instance to access.</p>
8467
+ * @public
8468
+ */
8469
+ instanceName: string | undefined;
8470
+ /**
8471
+ * <p>The protocol to use to connect to your instance. Defaults to <code>ssh</code>.</p>
8472
+ * @public
8473
+ */
8474
+ protocol?: InstanceAccessProtocol | undefined;
8475
+ }
8476
+ /**
8477
+ * <p>Describes the public SSH host keys or the RDP certificate.</p>
8478
+ * @public
8479
+ */
8480
+ export interface HostKeyAttributes {
8481
+ /**
8482
+ * <p>The SSH host key algorithm or the RDP certificate format.</p>
8483
+ * <p>For SSH host keys, the algorithm may be <code>ssh-rsa</code>,
8484
+ * <code>ecdsa-sha2-nistp256</code>, <code>ssh-ed25519</code>, etc. For RDP certificates, the
8485
+ * algorithm is always <code>x509-cert</code>.</p>
8486
+ * @public
8487
+ */
8488
+ algorithm?: string | undefined;
8489
+ /**
8490
+ * <p>The public SSH host key or the RDP certificate.</p>
8491
+ * @public
8492
+ */
8493
+ publicKey?: string | undefined;
8494
+ /**
8495
+ * <p>The time that the SSH host key or RDP certificate was recorded by Lightsail.</p>
8496
+ * @public
8497
+ */
8498
+ witnessedAt?: Date | undefined;
8499
+ /**
8500
+ * <p>The SHA-1 fingerprint of the returned SSH host key or RDP certificate.</p>
8501
+ * <ul>
8502
+ * <li>
8503
+ * <p>Example of an SHA-1 SSH fingerprint:</p>
8504
+ * <p>
8505
+ * <code>SHA1:1CHH6FaAaXjtFOsR/t83vf91SR0</code>
8506
+ * </p>
8507
+ * </li>
8508
+ * <li>
8509
+ * <p>Example of an SHA-1 RDP fingerprint:</p>
8510
+ * <p>
8511
+ * <code>af:34:51:fe:09:f0:e0:da:b8:4e:56:ca:60:c2:10:ff:38:06:db:45</code>
8512
+ * </p>
8513
+ * </li>
8514
+ * </ul>
8515
+ * @public
8516
+ */
8517
+ fingerprintSHA1?: string | undefined;
8518
+ /**
8519
+ * <p>The SHA-256 fingerprint of the returned SSH host key or RDP certificate.</p>
8520
+ * <ul>
8521
+ * <li>
8522
+ * <p>Example of an SHA-256 SSH fingerprint:</p>
8523
+ * <p>
8524
+ * <code>SHA256:KTsMnRBh1IhD17HpdfsbzeGA4jOijm5tyXsMjKVbB8o</code>
8525
+ * </p>
8526
+ * </li>
8527
+ * <li>
8528
+ * <p>Example of an SHA-256 RDP fingerprint:</p>
8529
+ * <p>
8530
+ * <code>03:9b:36:9f:4b:de:4e:61:70:fc:7c:c9:78:e7:d2:1a:1c:25:a8:0c:91:f6:7c:e4:d6:a0:85:c8:b4:53:99:68</code>
8531
+ * </p>
8532
+ * </li>
8533
+ * </ul>
8534
+ * @public
8535
+ */
8536
+ fingerprintSHA256?: string | undefined;
8537
+ /**
8538
+ * <p>The returned RDP certificate is valid after this point in time.</p>
8539
+ * <p>This value is listed only for RDP certificates.</p>
8540
+ * @public
8541
+ */
8542
+ notValidBefore?: Date | undefined;
8543
+ /**
8544
+ * <p>The returned RDP certificate is not valid after this point in time.</p>
8545
+ * <p>This value is listed only for RDP certificates.</p>
8546
+ * @public
8547
+ */
8548
+ notValidAfter?: Date | undefined;
8549
+ }
8550
+ /**
8551
+ * <p>The password data for the Windows Server-based instance, including the ciphertext and the
8552
+ * key pair name.</p>
8553
+ * @public
8554
+ */
8555
+ export interface PasswordData {
8556
+ /**
8557
+ * <p>The encrypted password. Ciphertext will be an empty string if access to your new instance
8558
+ * is not ready yet. When you create an instance, it can take up to 15 minutes for the instance
8559
+ * to be ready.</p>
8560
+ * <note>
8561
+ * <p>If you use the default key pair (<code>LightsailDefaultKeyPair</code>), the decrypted
8562
+ * password will be available in the password field.</p>
8563
+ * <p>If you are using a custom key pair, you need to use your own means of decryption.</p>
8564
+ * <p>If you change the Administrator password on the instance, Lightsail will continue to
8565
+ * return the original ciphertext value. When accessing the instance using RDP, you need to
8566
+ * manually enter the Administrator password after changing it from the default.</p>
8567
+ * </note>
8568
+ * @public
8569
+ */
8570
+ ciphertext?: string | undefined;
8571
+ /**
8572
+ * <p>The name of the key pair that you used when creating your instance. If no key pair name
8573
+ * was specified when creating the instance, Lightsail uses the default key pair
8574
+ * (<code>LightsailDefaultKeyPair</code>).</p>
8575
+ * <p>If you are using a custom key pair, you need to use your own means of decrypting your
8576
+ * password using the <code>ciphertext</code>. Lightsail creates the ciphertext by encrypting
8577
+ * your password with the public key part of this key pair.</p>
8578
+ * @public
8579
+ */
8580
+ keyPairName?: string | undefined;
8581
+ }
8582
+ /**
8583
+ * <p>The parameters for gaining temporary access to one of your Amazon Lightsail
8584
+ * instances.</p>
8585
+ * @public
8586
+ */
8587
+ export interface InstanceAccessDetails {
8588
+ /**
8589
+ * <p>For SSH access, the public key to use when accessing your instance For OpenSSH clients
8590
+ * (command line SSH), you should save this value to <code>tempkey-cert.pub</code>.</p>
8591
+ * @public
8592
+ */
8593
+ certKey?: string | undefined;
8594
+ /**
8595
+ * <p>For SSH access, the date on which the temporary keys expire.</p>
8596
+ * @public
8597
+ */
8598
+ expiresAt?: Date | undefined;
8599
+ /**
8600
+ * <p>The public IP address of the Amazon Lightsail instance.</p>
8601
+ * @public
8602
+ */
8603
+ ipAddress?: string | undefined;
8604
+ /**
8605
+ * <p>The IPv6 address of the Amazon Lightsail instance.</p>
8606
+ * @public
8607
+ */
8608
+ ipv6Addresses?: string[] | undefined;
8609
+ /**
8610
+ * <p>For RDP access, the password for your Amazon Lightsail instance. Password will be an empty
8611
+ * string if the password for your new instance is not ready yet. When you create an instance, it
8612
+ * can take up to 15 minutes for the instance to be ready.</p>
8613
+ * <note>
8614
+ * <p>If you create an instance using any key pair other than the default
8615
+ * (<code>LightsailDefaultKeyPair</code>), <code>password</code> will always be an empty
8616
+ * string.</p>
8617
+ * <p>If you change the Administrator password on the instance, Lightsail will continue to
8618
+ * return the original password value. When accessing the instance using RDP, you need to
8619
+ * manually enter the Administrator password after changing it from the default.</p>
8620
+ * </note>
8621
+ * @public
8622
+ */
8623
+ password?: string | undefined;
8624
+ /**
8625
+ * <p>For a Windows Server-based instance, an object with the data you can use to retrieve your
8626
+ * password. This is only needed if <code>password</code> is empty and the instance is not new
8627
+ * (and therefore the password is not ready yet). When you create an instance, it can take up to
8628
+ * 15 minutes for the instance to be ready.</p>
8629
+ * @public
8630
+ */
8631
+ passwordData?: PasswordData | undefined;
8632
+ /**
8633
+ * <p>For SSH access, the temporary private key. For OpenSSH clients (command line SSH), you
8634
+ * should save this value to <code>tempkey</code>).</p>
8635
+ * @public
8636
+ */
8637
+ privateKey?: string | undefined;
8638
+ /**
8639
+ * <p>The protocol for these Amazon Lightsail instance access details.</p>
8640
+ * @public
8641
+ */
8642
+ protocol?: InstanceAccessProtocol | undefined;
8643
+ /**
8644
+ * <p>The name of this Amazon Lightsail instance.</p>
8645
+ * @public
8646
+ */
8647
+ instanceName?: string | undefined;
8648
+ /**
8649
+ * <p>The user name to use when logging in to the Amazon Lightsail instance.</p>
8650
+ * @public
8651
+ */
8652
+ username?: string | undefined;
8653
+ /**
8654
+ * <p>Describes the public SSH host keys or the RDP certificate.</p>
8655
+ * @public
8656
+ */
8657
+ hostKeys?: HostKeyAttributes[] | undefined;
8658
+ }
8659
+ /**
8660
+ * @public
8661
+ */
8662
+ export interface GetInstanceAccessDetailsResult {
8663
+ /**
8664
+ * <p>An array of key-value pairs containing information about a get instance access
8665
+ * request.</p>
8666
+ * @public
8667
+ */
8668
+ accessDetails?: InstanceAccessDetails | undefined;
8669
+ }
8670
+ /**
8671
+ * @public
8672
+ */
8673
+ export interface GetInstanceMetricDataRequest {
8674
+ /**
8675
+ * <p>The name of the instance for which you want to get metrics data.</p>
8676
+ * @public
8677
+ */
8678
+ instanceName: string | undefined;
8679
+ /**
8680
+ * <p>The metric for which you want to return information.</p>
8681
+ * <p>Valid instance metric names are listed below, along with the most useful
8682
+ * <code>statistics</code> to include in your request, and the published <code>unit</code>
8683
+ * value.</p>
8684
+ * <ul>
8685
+ * <li>
8686
+ * <p>
8687
+ * <b>
8688
+ * <code>BurstCapacityPercentage</code>
8689
+ * </b> - The percentage
8690
+ * of CPU performance available for your instance to burst above its baseline. Your instance
8691
+ * continuously accrues and consumes burst capacity. Burst capacity stops accruing when your
8692
+ * instance's <code>BurstCapacityPercentage</code> reaches 100%. For more information, see
8693
+ * <a href="https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-viewing-instance-burst-capacity">Viewing instance burst capacity in Amazon Lightsail</a>.</p>
8694
+ * <p>
8695
+ * <code>Statistics</code>: The most useful statistics are <code>Maximum</code> and
8696
+ * <code>Average</code>.</p>
8697
+ * <p>
8698
+ * <code>Unit</code>: The published unit is <code>Percent</code>.</p>
8699
+ * </li>
8700
+ * <li>
8701
+ * <p>
8702
+ * <b>
8703
+ * <code>BurstCapacityTime</code>
8704
+ * </b> - The available amount
8705
+ * of time for your instance to burst at 100% CPU utilization. Your instance continuously
8706
+ * accrues and consumes burst capacity. Burst capacity time stops accruing when your
8707
+ * instance's <code>BurstCapacityPercentage</code> metric reaches 100%.</p>
8708
+ * <p>Burst capacity time is consumed at the full rate only when your instance operates at
8709
+ * 100% CPU utilization. For example, if your instance operates at 50% CPU utilization in the
8710
+ * burstable zone for a 5-minute period, then it consumes CPU burst capacity minutes at a 50%
8711
+ * rate in that period. Your instance consumed 2 minutes and 30 seconds of CPU burst capacity
8712
+ * minutes in the 5-minute period. For more information, see <a href="https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-viewing-instance-burst-capacity">Viewing instance burst capacity in Amazon Lightsail</a>.</p>
8713
+ * <p>
8714
+ * <code>Statistics</code>: The most useful statistics are <code>Maximum</code> and
8715
+ * <code>Average</code>.</p>
8716
+ * <p>
8717
+ * <code>Unit</code>: The published unit is <code>Seconds</code>.</p>
8718
+ * </li>
8719
+ * <li>
8720
+ * <p>
8721
+ * <b>
8722
+ * <code>CPUUtilization</code>
8723
+ * </b> - The percentage of
8724
+ * allocated compute units that are currently in use on the instance. This metric identifies
8725
+ * the processing power to run the applications on the instance. Tools in your operating
8726
+ * system can show a lower percentage than Lightsail when the instance is not allocated a
8727
+ * full processor core.</p>
8728
+ * <p>
8729
+ * <code>Statistics</code>: The most useful statistics are <code>Maximum</code> and
8730
+ * <code>Average</code>.</p>
8731
+ * <p>
8732
+ * <code>Unit</code>: The published unit is <code>Percent</code>.</p>
8733
+ * </li>
8734
+ * <li>
8735
+ * <p>
8736
+ * <b>
8737
+ * <code>NetworkIn</code>
8738
+ * </b> - The number of bytes received
8739
+ * on all network interfaces by the instance. This metric identifies the volume of incoming
8740
+ * network traffic to the instance. The number reported is the number of bytes received
8741
+ * during the period. Because this metric is reported in 5-minute intervals, divide the
8742
+ * reported number by 300 to find Bytes/second.</p>
8743
+ * <p>
8744
+ * <code>Statistics</code>: The most useful statistic is <code>Sum</code>.</p>
8745
+ * <p>
8746
+ * <code>Unit</code>: The published unit is <code>Bytes</code>.</p>
8747
+ * </li>
8748
+ * <li>
8749
+ * <p>
8750
+ * <b>
8751
+ * <code>NetworkOut</code>
8752
+ * </b> - The number of bytes sent
8753
+ * out on all network interfaces by the instance. This metric identifies the volume of
8754
+ * outgoing network traffic from the instance. The number reported is the number of bytes
8755
+ * sent during the period. Because this metric is reported in 5-minute intervals, divide the
8756
+ * reported number by 300 to find Bytes/second.</p>
8757
+ * <p>
8758
+ * <code>Statistics</code>: The most useful statistic is <code>Sum</code>.</p>
8759
+ * <p>
8760
+ * <code>Unit</code>: The published unit is <code>Bytes</code>.</p>
8761
+ * </li>
8762
+ * <li>
8763
+ * <p>
8764
+ * <b>
8765
+ * <code>StatusCheckFailed</code>
8766
+ * </b> - Reports whether the
8767
+ * instance passed or failed both the instance status check and the system status check. This
8768
+ * metric can be either 0 (passed) or 1 (failed). This metric data is available in 1-minute
8769
+ * (60 seconds) granularity.</p>
8770
+ * <p>
8771
+ * <code>Statistics</code>: The most useful statistic is <code>Sum</code>.</p>
8772
+ * <p>
8773
+ * <code>Unit</code>: The published unit is <code>Count</code>.</p>
8774
+ * </li>
8775
+ * <li>
8776
+ * <p>
8777
+ * <b>
8778
+ * <code>StatusCheckFailed_Instance</code>
8779
+ * </b> - Reports
8780
+ * whether the instance passed or failed the instance status check. This metric can be either
8781
+ * 0 (passed) or 1 (failed). This metric data is available in 1-minute (60 seconds)
8782
+ * granularity.</p>
8783
+ * <p>
8784
+ * <code>Statistics</code>: The most useful statistic is <code>Sum</code>.</p>
8785
+ * <p>
8786
+ * <code>Unit</code>: The published unit is <code>Count</code>.</p>
8787
+ * </li>
8788
+ * <li>
8789
+ * <p>
8790
+ * <b>
8791
+ * <code>StatusCheckFailed_System</code>
8792
+ * </b> - Reports
8793
+ * whether the instance passed or failed the system status check. This metric can be either 0
8794
+ * (passed) or 1 (failed). This metric data is available in 1-minute (60 seconds)
8795
+ * granularity.</p>
8796
+ * <p>
8797
+ * <code>Statistics</code>: The most useful statistic is <code>Sum</code>.</p>
8798
+ * <p>
8799
+ * <code>Unit</code>: The published unit is <code>Count</code>.</p>
8800
+ * </li>
8801
+ * <li>
8802
+ * <p>
8803
+ * <b>
8804
+ * <code>MetadataNoToken</code>
8805
+ * </b> - Reports the number of
8806
+ * times that the instance metadata service was successfully accessed without a token. This
8807
+ * metric determines if there are any processes accessing instance metadata by using Instance
8808
+ * Metadata Service Version 1, which doesn't use a token. If all requests use token-backed
8809
+ * sessions, such as Instance Metadata Service Version 2, then the value is 0.</p>
8810
+ * <p>
8811
+ * <code>Statistics</code>: The most useful statistic is <code>Sum</code>.</p>
8812
+ * <p>
8813
+ * <code>Unit</code>: The published unit is <code>Count</code>.</p>
8814
+ * </li>
8815
+ * </ul>
8816
+ * @public
8817
+ */
8818
+ metricName: InstanceMetricName | undefined;
8819
+ /**
8820
+ * <p>The granularity, in seconds, of the returned data points.</p>
8821
+ * <p>The <code>StatusCheckFailed</code>, <code>StatusCheckFailed_Instance</code>, and
8822
+ * <code>StatusCheckFailed_System</code> instance metric data is available in 1-minute (60
8823
+ * seconds) granularity. All other instance metric data is available in 5-minute (300 seconds)
8824
+ * granularity.</p>
8825
+ * @public
8826
+ */
8827
+ period: number | undefined;
8828
+ /**
8829
+ * <p>The start time of the time period.</p>
8830
+ * @public
8831
+ */
8832
+ startTime: Date | undefined;
8833
+ /**
8834
+ * <p>The end time of the time period.</p>
8835
+ * @public
8836
+ */
8837
+ endTime: Date | undefined;
8838
+ /**
8839
+ * <p>The unit for the metric data request. Valid units depend on the metric data being
8840
+ * requested. For the valid units to specify with each available metric, see the
8841
+ * <code>metricName</code> parameter.</p>
8842
+ * @public
8843
+ */
8844
+ unit: MetricUnit | undefined;
8845
+ /**
8846
+ * <p>The statistic for the metric.</p>
8847
+ * <p>The following statistics are available:</p>
8848
+ * <ul>
8849
+ * <li>
8850
+ * <p>
8851
+ * <code>Minimum</code> - The lowest value observed during the specified period. Use this
8852
+ * value to determine low volumes of activity for your application.</p>
8853
+ * </li>
8854
+ * <li>
8855
+ * <p>
8856
+ * <code>Maximum</code> - The highest value observed during the specified period. Use
8857
+ * this value to determine high volumes of activity for your application.</p>
8858
+ * </li>
8859
+ * <li>
8860
+ * <p>
8861
+ * <code>Sum</code> - All values submitted for the matching metric added together. You
8862
+ * can use this statistic to determine the total volume of a metric.</p>
8863
+ * </li>
8864
+ * <li>
8865
+ * <p>
8866
+ * <code>Average</code> - The value of Sum / SampleCount during the specified period. By
8867
+ * comparing this statistic with the Minimum and Maximum values, you can determine the full
8868
+ * scope of a metric and how close the average use is to the Minimum and Maximum values. This
8869
+ * comparison helps you to know when to increase or decrease your resources.</p>
8870
+ * </li>
8871
+ * <li>
8872
+ * <p>
8873
+ * <code>SampleCount</code> - The count, or number, of data points used for the
8874
+ * statistical calculation.</p>
8875
+ * </li>
8876
+ * </ul>
8877
+ * @public
8878
+ */
8879
+ statistics: MetricStatistic[] | undefined;
8880
+ }
8881
+ /**
8882
+ * @public
8883
+ */
8884
+ export interface GetInstanceMetricDataResult {
8885
+ /**
8886
+ * <p>The name of the metric returned.</p>
8887
+ * @public
8888
+ */
8889
+ metricName?: InstanceMetricName | undefined;
8890
+ /**
8891
+ * <p>An array of objects that describe the metric data returned.</p>
8892
+ * @public
8893
+ */
8894
+ metricData?: MetricDatapoint[] | undefined;
8895
+ }
8896
+ /**
8897
+ * @public
8898
+ */
8899
+ export interface GetInstancePortStatesRequest {
8900
+ /**
8901
+ * <p>The name of the instance for which to return firewall port states.</p>
8902
+ * @public
8903
+ */
8904
+ instanceName: string | undefined;
8905
+ }
8906
+ /**
8907
+ * <p>Describes open ports on an instance, the IP addresses allowed to connect to the instance
8908
+ * through the ports, and the protocol.</p>
8909
+ * @public
8910
+ */
8911
+ export interface InstancePortState {
8912
+ /**
8913
+ * <p>The first port in a range of open ports on an instance.</p>
8914
+ * <p>Allowed ports:</p>
8915
+ * <ul>
8916
+ * <li>
8917
+ * <p>TCP and UDP - <code>0</code> to <code>65535</code>
8918
+ * </p>
8919
+ * </li>
8920
+ * <li>
8921
+ * <p>ICMP - The ICMP type for IPv4 addresses. For example, specify <code>8</code> as the
8922
+ * <code>fromPort</code> (ICMP type), and <code>-1</code> as the <code>toPort</code> (ICMP
8923
+ * code), to enable ICMP Ping. For more information, see <a href="https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages">Control Messages</a> on <i>Wikipedia</i>.</p>
8924
+ * </li>
8925
+ * <li>
8926
+ * <p>ICMPv6 - The ICMP type for IPv6 addresses. For example, specify <code>128</code> as
8927
+ * the <code>fromPort</code> (ICMPv6 type), and <code>0</code> as <code>toPort</code> (ICMPv6
8928
+ * code). For more information, see <a href="https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol_for_IPv6">Internet
8929
+ * Control Message Protocol for IPv6</a>.</p>
8930
+ * </li>
8931
+ * </ul>
8932
+ * @public
8933
+ */
8934
+ fromPort?: number | undefined;
8935
+ /**
8936
+ * <p>The last port in a range of open ports on an instance.</p>
8937
+ * <p>Allowed ports:</p>
8938
+ * <ul>
8939
+ * <li>
8940
+ * <p>TCP and UDP - <code>0</code> to <code>65535</code>
8941
+ * </p>
8942
+ * </li>
8943
+ * <li>
8944
+ * <p>ICMP - The ICMP code for IPv4 addresses. For example, specify <code>8</code> as the
8945
+ * <code>fromPort</code> (ICMP type), and <code>-1</code> as the <code>toPort</code> (ICMP
8946
+ * code), to enable ICMP Ping. For more information, see <a href="https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages">Control Messages</a> on <i>Wikipedia</i>.</p>
8947
+ * </li>
8948
+ * <li>
8949
+ * <p>ICMPv6 - The ICMP code for IPv6 addresses. For example, specify <code>128</code> as
8950
+ * the <code>fromPort</code> (ICMPv6 type), and <code>0</code> as <code>toPort</code> (ICMPv6
8951
+ * code). For more information, see <a href="https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol_for_IPv6">Internet
8952
+ * Control Message Protocol for IPv6</a>.</p>
8953
+ * </li>
8954
+ * </ul>
8955
+ * @public
8956
+ */
8957
+ toPort?: number | undefined;
8958
+ /**
8959
+ * <p>The IP protocol name.</p>
8960
+ * <p>The name can be one of the following:</p>
8961
+ * <ul>
8962
+ * <li>
8963
+ * <p>
8964
+ * <code>tcp</code> - Transmission Control Protocol (TCP) provides reliable, ordered, and
8965
+ * error-checked delivery of streamed data between applications running on hosts
8966
+ * communicating by an IP network. If you have an application that doesn't require reliable
8967
+ * data stream service, use UDP instead.</p>
8968
+ * </li>
8969
+ * <li>
8970
+ * <p>
8971
+ * <code>all</code> - All transport layer protocol types. For more general information,
8972
+ * see <a href="https://en.wikipedia.org/wiki/Transport_layer">Transport layer</a> on
8973
+ * <i>Wikipedia</i>.</p>
8974
+ * </li>
8975
+ * <li>
8976
+ * <p>
8977
+ * <code>udp</code> - With User Datagram Protocol (UDP), computer applications can send
8978
+ * messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior
8979
+ * communications are not required to set up transmission channels or data paths.
8980
+ * Applications that don't require reliable data stream service can use UDP, which provides a
8981
+ * connectionless datagram service that emphasizes reduced latency over reliability. If you
8982
+ * do require reliable data stream service, use TCP instead.</p>
8983
+ * </li>
8984
+ * <li>
8985
+ * <p>
8986
+ * <code>icmp</code> - Internet Control Message Protocol (ICMP) is used to send error
8987
+ * messages and operational information indicating success or failure when communicating with
8988
+ * an instance. For example, an error is indicated when an instance could not be reached.
8989
+ * When you specify <code>icmp</code> as the <code>protocol</code>, you must specify the ICMP
8990
+ * type using the <code>fromPort</code> parameter, and ICMP code using the
8991
+ * <code>toPort</code> parameter.</p>
8992
+ * </li>
8993
+ * <li>
8994
+ * <p>
8995
+ * <code>icmp6</code> - Internet Control Message Protocol (ICMP) for IPv6. When you
8996
+ * specify <code>icmp6</code> as the <code>protocol</code>, you must specify the ICMP type
8997
+ * using the <code>fromPort</code> parameter, and ICMP code using the <code>toPort</code>
8998
+ * parameter.</p>
8999
+ * </li>
9000
+ * </ul>
9001
+ * @public
9002
+ */
9003
+ protocol?: NetworkProtocol | undefined;
9004
+ /**
9005
+ * <p>Specifies whether the instance port is <code>open</code> or <code>closed</code>.</p>
9006
+ * <note>
9007
+ * <p>The port state for Lightsail instances is always <code>open</code>.</p>
9008
+ * </note>
9009
+ * @public
9010
+ */
9011
+ state?: PortState | undefined;
9012
+ /**
9013
+ * <p>The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to
9014
+ * connect to an instance through the ports, and the protocol.</p>
9015
+ * <note>
9016
+ * <p>The <code>ipv6Cidrs</code> parameter lists the IPv6 addresses that are allowed to
9017
+ * connect to an instance.</p>
9018
+ * </note>
9019
+ * <p>For more information about CIDR block notation, see <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation">Classless
9020
+ * Inter-Domain Routing</a> on <i>Wikipedia</i>.</p>
9021
+ * @public
9022
+ */
9023
+ cidrs?: string[] | undefined;
9024
+ /**
9025
+ * <p>The IPv6 address, or range of IPv6 addresses (in CIDR notation) that are allowed to
9026
+ * connect to an instance through the ports, and the protocol. Only devices with an IPv6 address
9027
+ * can connect to an instance through IPv6; otherwise, IPv4 should be used.</p>
9028
+ * <note>
9029
+ * <p>The <code>cidrs</code> parameter lists the IPv4 addresses that are allowed to connect to
9030
+ * an instance.</p>
9031
+ * </note>
9032
+ * <p>For more information about CIDR block notation, see <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation">Classless
9033
+ * Inter-Domain Routing</a> on <i>Wikipedia</i>.</p>
9034
+ * @public
9035
+ */
9036
+ ipv6Cidrs?: string[] | undefined;
9037
+ /**
9038
+ * <p>An alias that defines access for a preconfigured range of IP addresses.</p>
9039
+ * <p>The only alias currently supported is <code>lightsail-connect</code>, which allows IP
9040
+ * addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your
9041
+ * instance.</p>
9042
+ * @public
9043
+ */
9044
+ cidrListAliases?: string[] | undefined;
9045
+ }
9046
+ /**
9047
+ * @public
9048
+ */
9049
+ export interface GetInstancePortStatesResult {
9050
+ /**
9051
+ * <p>An array of objects that describe the firewall port states for the specified
9052
+ * instance.</p>
9053
+ * @public
9054
+ */
9055
+ portStates?: InstancePortState[] | undefined;
9056
+ }
9057
+ /**
9058
+ * @public
9059
+ */
9060
+ export interface GetInstancesRequest {
9061
+ /**
9062
+ * <p>The token to advance to the next page of results from your request.</p>
9063
+ * <p>To get a page token, perform an initial <code>GetInstances</code> request. If your results
9064
+ * are paginated, the response will return a next page token that you can specify as the page
9065
+ * token in a subsequent request.</p>
9066
+ * @public
9067
+ */
9068
+ pageToken?: string | undefined;
9069
+ }
9070
+ /**
9071
+ * @public
9072
+ */
9073
+ export interface GetInstancesResult {
9074
+ /**
9075
+ * <p>An array of key-value pairs containing information about your instances.</p>
9076
+ * @public
9077
+ */
9078
+ instances?: Instance[] | undefined;
9079
+ /**
9080
+ * <p>The token to advance to the next page of results from your request.</p>
9081
+ * <p>A next page token is not returned if there are no more results to display.</p>
9082
+ * <p>To get the next page of results, perform another <code>GetInstances</code> request and
9083
+ * specify the next page token using the <code>pageToken</code> parameter.</p>
9084
+ * @public
9085
+ */
9086
+ nextPageToken?: string | undefined;
9087
+ }
9088
+ /**
9089
+ * @public
9090
+ */
9091
+ export interface GetInstanceSnapshotRequest {
9092
+ /**
9093
+ * <p>The name of the snapshot for which you are requesting information.</p>
9094
+ * @public
9095
+ */
9096
+ instanceSnapshotName: string | undefined;
9097
+ }
9098
+ /**
9099
+ * <p>Describes an instance snapshot.</p>
9100
+ * @public
9101
+ */
9102
+ export interface InstanceSnapshot {
9103
+ /**
9104
+ * <p>The name of the snapshot.</p>
9105
+ * @public
9106
+ */
9107
+ name?: string | undefined;
9108
+ /**
9109
+ * <p>The Amazon Resource Name (ARN) of the snapshot
9110
+ * (<code>arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE</code>).</p>
9111
+ * @public
9112
+ */
9113
+ arn?: string | undefined;
9114
+ /**
9115
+ * <p>The support code. Include this code in your email to support when you have questions about
9116
+ * an instance or another resource in Lightsail. This code enables our support team to look up
9117
+ * your Lightsail information more easily.</p>
9118
+ * @public
9119
+ */
9120
+ supportCode?: string | undefined;
9121
+ /**
9122
+ * <p>The timestamp when the snapshot was created (<code>1479907467.024</code>).</p>
9123
+ * @public
9124
+ */
9125
+ createdAt?: Date | undefined;
9126
+ /**
9127
+ * <p>The region name and Availability Zone where you created the snapshot.</p>
9128
+ * @public
9129
+ */
9130
+ location?: ResourceLocation | undefined;
9131
+ /**
9132
+ * <p>The type of resource (usually <code>InstanceSnapshot</code>).</p>
9133
+ * @public
9134
+ */
9135
+ resourceType?: ResourceType | undefined;
9136
+ /**
9137
+ * <p>The tag keys and optional values for the resource. For more information about tags in
9138
+ * Lightsail, see the <a href="https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-tags">Amazon Lightsail Developer Guide</a>.</p>
9139
+ * @public
9140
+ */
9141
+ tags?: Tag[] | undefined;
9142
+ /**
9143
+ * <p>The state the snapshot is in.</p>
9144
+ * @public
9145
+ */
9146
+ state?: InstanceSnapshotState | undefined;
9147
+ /**
9148
+ * <p>The progress of the snapshot.</p>
9149
+ * <note>
9150
+ * <p>This is populated only for disk snapshots, and is <code>null</code> for instance
9151
+ * snapshots.</p>
9152
+ * </note>
9153
+ * @public
9154
+ */
9155
+ progress?: string | undefined;
9156
+ /**
9157
+ * <p>An array of disk objects containing information about all block storage disks.</p>
9158
+ * @public
9159
+ */
9160
+ fromAttachedDisks?: Disk[] | undefined;
9161
+ /**
9162
+ * <p>The instance from which the snapshot was created.</p>
9163
+ * @public
9164
+ */
9165
+ fromInstanceName?: string | undefined;
9166
+ /**
9167
+ * <p>The Amazon Resource Name (ARN) of the instance from which the snapshot was created
9168
+ * (<code>arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE</code>).</p>
9169
+ * @public
9170
+ */
9171
+ fromInstanceArn?: string | undefined;
9172
+ /**
9173
+ * <p>The blueprint ID from which you created the snapshot (<code>amazon_linux_2023</code>). A
9174
+ * blueprint is a virtual private server (or <i>instance</i>) image used to create
9175
+ * instances quickly.</p>
9176
+ * @public
9177
+ */
9178
+ fromBlueprintId?: string | undefined;
9179
+ /**
9180
+ * <p>The bundle ID from which you created the snapshot (<code>micro_x_x</code>).</p>
9181
+ * @public
9182
+ */
9183
+ fromBundleId?: string | undefined;
9184
+ /**
9185
+ * <p>A Boolean value indicating whether the snapshot was created from an automatic
9186
+ * snapshot.</p>
9187
+ * @public
9188
+ */
9189
+ isFromAutoSnapshot?: boolean | undefined;
9190
+ /**
9191
+ * <p>The size in GB of the SSD.</p>
9192
+ * @public
9193
+ */
9194
+ sizeInGb?: number | undefined;
9195
+ }
9196
+ /**
9197
+ * @public
9198
+ */
9199
+ export interface GetInstanceSnapshotResult {
9200
+ /**
9201
+ * <p>An array of key-value pairs containing information about the results of your get instance
9202
+ * snapshot request.</p>
9203
+ * @public
9204
+ */
9205
+ instanceSnapshot?: InstanceSnapshot | undefined;
9206
+ }
9207
+ /**
9208
+ * @public
9209
+ */
9210
+ export interface GetInstanceSnapshotsRequest {
9211
+ /**
9212
+ * <p>The token to advance to the next page of results from your request.</p>
9213
+ * <p>To get a page token, perform an initial <code>GetInstanceSnapshots</code> request. If your
9214
+ * results are paginated, the response will return a next page token that you can specify as the
9215
+ * page token in a subsequent request.</p>
9216
+ * @public
9217
+ */
9218
+ pageToken?: string | undefined;
9219
+ }
9220
+ /**
9221
+ * @public
9222
+ */
9223
+ export interface GetInstanceSnapshotsResult {
9224
+ /**
9225
+ * <p>An array of key-value pairs containing information about the results of your get instance
9226
+ * snapshots request.</p>
9227
+ * @public
9228
+ */
9229
+ instanceSnapshots?: InstanceSnapshot[] | undefined;
9230
+ /**
9231
+ * <p>The token to advance to the next page of results from your request.</p>
9232
+ * <p>A next page token is not returned if there are no more results to display.</p>
9233
+ * <p>To get the next page of results, perform another <code>GetInstanceSnapshots</code> request
9234
+ * and specify the next page token using the <code>pageToken</code> parameter.</p>
9235
+ * @public
9236
+ */
9237
+ nextPageToken?: string | undefined;
9238
+ }
9239
+ /**
9240
+ * @public
9241
+ */
9242
+ export interface GetInstanceStateRequest {
9243
+ /**
9244
+ * <p>The name of the instance to get state information about.</p>
9245
+ * @public
9246
+ */
9247
+ instanceName: string | undefined;
9248
+ }
9249
+ /**
9250
+ * @public
9251
+ */
9252
+ export interface GetInstanceStateResult {
9253
+ /**
9254
+ * <p>The state of the instance.</p>
9255
+ * @public
9256
+ */
9257
+ state?: InstanceState | undefined;
9258
+ }
9259
+ /**
9260
+ * @public
9261
+ */
9262
+ export interface GetKeyPairRequest {
9263
+ /**
9264
+ * <p>The name of the key pair for which you are requesting information.</p>
9265
+ * @public
9266
+ */
9267
+ keyPairName: string | undefined;
9268
+ }
9269
+ /**
9270
+ * @public
9271
+ */
9272
+ export interface GetKeyPairResult {
9273
+ /**
9274
+ * <p>An array of key-value pairs containing information about the key pair.</p>
9275
+ * @public
9276
+ */
9277
+ keyPair?: KeyPair | undefined;
9278
+ }
9279
+ /**
9280
+ * @public
9281
+ */
9282
+ export interface GetKeyPairsRequest {
9283
+ /**
9284
+ * <p>The token to advance to the next page of results from your request.</p>
9285
+ * <p>To get a page token, perform an initial <code>GetKeyPairs</code> request. If your results
9286
+ * are paginated, the response will return a next page token that you can specify as the page
9287
+ * token in a subsequent request.</p>
9288
+ * @public
9289
+ */
9290
+ pageToken?: string | undefined;
9291
+ /**
9292
+ * <p>A Boolean value that indicates whether to include the default key pair in the response of
9293
+ * your request.</p>
9294
+ * @public
9295
+ */
9296
+ includeDefaultKeyPair?: boolean | undefined;
9297
+ }
9298
+ /**
9299
+ * @public
9300
+ */
9301
+ export interface GetKeyPairsResult {
9302
+ /**
9303
+ * <p>An array of key-value pairs containing information about the key pairs.</p>
9304
+ * @public
9305
+ */
9306
+ keyPairs?: KeyPair[] | undefined;
9307
+ /**
9308
+ * <p>The token to advance to the next page of results from your request.</p>
9309
+ * <p>A next page token is not returned if there are no more results to display.</p>
9310
+ * <p>To get the next page of results, perform another <code>GetKeyPairs</code> request and
9311
+ * specify the next page token using the <code>pageToken</code> parameter.</p>
9312
+ * @public
9313
+ */
9314
+ nextPageToken?: string | undefined;
9315
+ }
9316
+ /**
9317
+ * @public
9318
+ */
9319
+ export interface GetLoadBalancerRequest {
9320
+ /**
9321
+ * <p>The name of the load balancer.</p>
9322
+ * @public
9323
+ */
9324
+ loadBalancerName: string | undefined;
9325
+ }