@aws-sdk/client-lightsail 3.485.0 → 3.489.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 (125) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/Lightsail.js +4 -0
  3. package/dist-cjs/commands/GetSetupHistoryCommand.js +28 -0
  4. package/dist-cjs/commands/SetupInstanceHttpsCommand.js +29 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +6 -2
  7. package/dist-cjs/models/models_1.js +11 -1
  8. package/dist-cjs/protocols/Aws_json1_1.js +165 -5
  9. package/dist-es/Lightsail.js +4 -0
  10. package/dist-es/commands/GetSetupHistoryCommand.js +24 -0
  11. package/dist-es/commands/SetupInstanceHttpsCommand.js +25 -0
  12. package/dist-es/commands/index.js +2 -0
  13. package/dist-es/models/models_0.js +4 -0
  14. package/dist-es/models/models_1.js +9 -0
  15. package/dist-es/protocols/Aws_json1_1.js +156 -0
  16. package/dist-types/Lightsail.d.ts +14 -0
  17. package/dist-types/LightsailClient.d.ts +4 -2
  18. package/dist-types/commands/AllocateStaticIpCommand.d.ts +1 -1
  19. package/dist-types/commands/AttachCertificateToDistributionCommand.d.ts +1 -1
  20. package/dist-types/commands/AttachDiskCommand.d.ts +1 -1
  21. package/dist-types/commands/AttachInstancesToLoadBalancerCommand.d.ts +1 -1
  22. package/dist-types/commands/AttachLoadBalancerTlsCertificateCommand.d.ts +1 -1
  23. package/dist-types/commands/AttachStaticIpCommand.d.ts +1 -1
  24. package/dist-types/commands/CloseInstancePublicPortsCommand.d.ts +1 -1
  25. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  26. package/dist-types/commands/CreateBucketAccessKeyCommand.d.ts +1 -1
  27. package/dist-types/commands/CreateBucketCommand.d.ts +1 -1
  28. package/dist-types/commands/CreateCertificateCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateCloudFormationStackCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateContactMethodCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateDiskCommand.d.ts +2 -2
  32. package/dist-types/commands/CreateDiskFromSnapshotCommand.d.ts +2 -3
  33. package/dist-types/commands/CreateDiskSnapshotCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateDistributionCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateDomainCommand.d.ts +2 -2
  36. package/dist-types/commands/CreateDomainEntryCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateGUISessionAccessDetailsCommand.d.ts +4 -2
  38. package/dist-types/commands/CreateInstanceSnapshotCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateInstancesCommand.d.ts +1 -1
  40. package/dist-types/commands/CreateInstancesFromSnapshotCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  42. package/dist-types/commands/CreateLoadBalancerCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateLoadBalancerTlsCertificateCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateRelationalDatabaseCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateRelationalDatabaseFromSnapshotCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateRelationalDatabaseSnapshotCommand.d.ts +1 -1
  47. package/dist-types/commands/DeleteAlarmCommand.d.ts +1 -1
  48. package/dist-types/commands/DeleteAutoSnapshotCommand.d.ts +1 -1
  49. package/dist-types/commands/DeleteBucketAccessKeyCommand.d.ts +1 -1
  50. package/dist-types/commands/DeleteBucketCommand.d.ts +1 -1
  51. package/dist-types/commands/DeleteCertificateCommand.d.ts +1 -1
  52. package/dist-types/commands/DeleteContactMethodCommand.d.ts +1 -1
  53. package/dist-types/commands/DeleteDiskCommand.d.ts +1 -1
  54. package/dist-types/commands/DeleteDiskSnapshotCommand.d.ts +1 -1
  55. package/dist-types/commands/DeleteDistributionCommand.d.ts +1 -1
  56. package/dist-types/commands/DeleteDomainCommand.d.ts +1 -1
  57. package/dist-types/commands/DeleteDomainEntryCommand.d.ts +1 -1
  58. package/dist-types/commands/DeleteInstanceCommand.d.ts +1 -1
  59. package/dist-types/commands/DeleteInstanceSnapshotCommand.d.ts +1 -1
  60. package/dist-types/commands/DeleteKeyPairCommand.d.ts +1 -1
  61. package/dist-types/commands/DeleteKnownHostKeysCommand.d.ts +1 -1
  62. package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +1 -1
  63. package/dist-types/commands/DeleteLoadBalancerTlsCertificateCommand.d.ts +1 -1
  64. package/dist-types/commands/DeleteRelationalDatabaseCommand.d.ts +1 -1
  65. package/dist-types/commands/DeleteRelationalDatabaseSnapshotCommand.d.ts +1 -1
  66. package/dist-types/commands/DetachCertificateFromDistributionCommand.d.ts +1 -1
  67. package/dist-types/commands/DetachDiskCommand.d.ts +1 -1
  68. package/dist-types/commands/DetachInstancesFromLoadBalancerCommand.d.ts +1 -1
  69. package/dist-types/commands/DetachStaticIpCommand.d.ts +1 -1
  70. package/dist-types/commands/DisableAddOnCommand.d.ts +1 -1
  71. package/dist-types/commands/EnableAddOnCommand.d.ts +1 -1
  72. package/dist-types/commands/ExportSnapshotCommand.d.ts +1 -1
  73. package/dist-types/commands/GetCertificatesCommand.d.ts +2 -2
  74. package/dist-types/commands/GetContainerServicesCommand.d.ts +2 -1
  75. package/dist-types/commands/GetCostEstimateCommand.d.ts +2 -1
  76. package/dist-types/commands/GetOperationCommand.d.ts +1 -1
  77. package/dist-types/commands/GetOperationsCommand.d.ts +1 -1
  78. package/dist-types/commands/GetOperationsForResourceCommand.d.ts +2 -2
  79. package/dist-types/commands/GetSetupHistoryCommand.d.ts +116 -0
  80. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  81. package/dist-types/commands/OpenInstancePublicPortsCommand.d.ts +1 -1
  82. package/dist-types/commands/PeerVpcCommand.d.ts +1 -1
  83. package/dist-types/commands/PutAlarmCommand.d.ts +1 -1
  84. package/dist-types/commands/PutInstancePublicPortsCommand.d.ts +1 -1
  85. package/dist-types/commands/RebootInstanceCommand.d.ts +1 -1
  86. package/dist-types/commands/RebootRelationalDatabaseCommand.d.ts +1 -1
  87. package/dist-types/commands/ReleaseStaticIpCommand.d.ts +1 -1
  88. package/dist-types/commands/ResetDistributionCacheCommand.d.ts +1 -1
  89. package/dist-types/commands/SendContactMethodVerificationCommand.d.ts +1 -1
  90. package/dist-types/commands/SetIpAddressTypeCommand.d.ts +1 -1
  91. package/dist-types/commands/SetResourceAccessForBucketCommand.d.ts +1 -1
  92. package/dist-types/commands/SetupInstanceHttpsCommand.d.ts +106 -0
  93. package/dist-types/commands/StartGUISessionCommand.d.ts +3 -2
  94. package/dist-types/commands/StartInstanceCommand.d.ts +1 -1
  95. package/dist-types/commands/StartRelationalDatabaseCommand.d.ts +1 -1
  96. package/dist-types/commands/StopGUISessionCommand.d.ts +3 -2
  97. package/dist-types/commands/StopInstanceCommand.d.ts +1 -1
  98. package/dist-types/commands/StopRelationalDatabaseCommand.d.ts +1 -1
  99. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  100. package/dist-types/commands/TestAlarmCommand.d.ts +1 -1
  101. package/dist-types/commands/UnpeerVpcCommand.d.ts +1 -1
  102. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  103. package/dist-types/commands/UpdateBucketBundleCommand.d.ts +1 -1
  104. package/dist-types/commands/UpdateBucketCommand.d.ts +1 -1
  105. package/dist-types/commands/UpdateDistributionBundleCommand.d.ts +1 -1
  106. package/dist-types/commands/UpdateDistributionCommand.d.ts +1 -1
  107. package/dist-types/commands/UpdateDomainEntryCommand.d.ts +1 -1
  108. package/dist-types/commands/UpdateInstanceMetadataOptionsCommand.d.ts +1 -1
  109. package/dist-types/commands/UpdateLoadBalancerAttributeCommand.d.ts +1 -1
  110. package/dist-types/commands/UpdateRelationalDatabaseCommand.d.ts +1 -1
  111. package/dist-types/commands/UpdateRelationalDatabaseParametersCommand.d.ts +1 -1
  112. package/dist-types/commands/index.d.ts +2 -0
  113. package/dist-types/models/models_0.d.ts +128 -124
  114. package/dist-types/models/models_1.d.ts +271 -52
  115. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  116. package/dist-types/ts3.4/Lightsail.d.ts +34 -0
  117. package/dist-types/ts3.4/LightsailClient.d.ts +12 -0
  118. package/dist-types/ts3.4/commands/GetContainerServicesCommand.d.ts +2 -4
  119. package/dist-types/ts3.4/commands/GetSetupHistoryCommand.d.ts +29 -0
  120. package/dist-types/ts3.4/commands/SetupInstanceHttpsCommand.d.ts +30 -0
  121. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  122. package/dist-types/ts3.4/models/models_0.d.ts +6 -3
  123. package/dist-types/ts3.4/models/models_1.d.ts +58 -0
  124. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  125. package/package.json +13 -13
@@ -1,4 +1,15 @@
1
- import { AccessDirection, AccessRules, AddOn, AlarmState, AvailabilityZone, Bucket, BucketAccessLogConfig, CacheBehavior, CacheBehaviorPerPath, CacheSettings, ComparisonOperator, ContactMethodVerificationProtocol, ContactProtocol, ContainerImage, ContainerService, ContainerServicePowerName, CostEstimate, Disk, DiskSnapshot, DistributionBundle, DistributionMetricName, Domain, DomainEntry, ExportSnapshotRecord, InputOrigin, IpAddressType, KeyPair, LightsailDistribution, MetricDatapoint, MetricName, MetricStatistic, MetricUnit, NetworkProtocol, Operation, PortInfo, PrivateRegistryAccessRequest, RegionName, ResourceLocation, ResourceType, Tag, TreatMissingData } from "./models_0";
1
+ import { AccessDirection, AccessRules, AddOn, AlarmState, AvailabilityZone, Bucket, BucketAccessLogConfig, CacheBehavior, CacheBehaviorPerPath, CacheSettings, CertificateProvider, ComparisonOperator, ContactMethodVerificationProtocol, ContactProtocol, ContainerImage, ContainerService, ContainerServicePowerName, CostEstimate, Disk, DiskSnapshot, DistributionBundle, DistributionMetricName, Domain, DomainEntry, ExportSnapshotRecord, InputOrigin, IpAddressType, KeyPair, LightsailDistribution, MetricDatapoint, MetricName, MetricStatistic, MetricUnit, NetworkProtocol, Operation, PortInfo, PrivateRegistryAccessRequest, RegionName, ResourceLocation, ResourceType, Tag, TreatMissingData } from "./models_0";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface GetContainerServicesRequest {
6
+ /**
7
+ * @public
8
+ * <p>The name of the container service for which to return information.</p>
9
+ * <p>When omitted, the response includes all of your container services in the Amazon Web Services Region where the request is made.</p>
10
+ */
11
+ serviceName?: string;
12
+ }
2
13
  /**
3
14
  * @public
4
15
  */
@@ -90,7 +101,7 @@ export interface GetCostEstimateResult {
90
101
  export interface GetDiskRequest {
91
102
  /**
92
103
  * @public
93
- * <p>The name of the disk (e.g., <code>my-disk</code>).</p>
104
+ * <p>The name of the disk (<code>my-disk</code>).</p>
94
105
  */
95
106
  diskName: string | undefined;
96
107
  }
@@ -141,7 +152,7 @@ export interface GetDisksResult {
141
152
  export interface GetDiskSnapshotRequest {
142
153
  /**
143
154
  * @public
144
- * <p>The name of the disk snapshot (e.g., <code>my-disk-snapshot</code>).</p>
155
+ * <p>The name of the disk snapshot (<code>my-disk-snapshot</code>).</p>
145
156
  */
146
157
  diskSnapshotName: string | undefined;
147
158
  }
@@ -227,7 +238,7 @@ export interface GetDistributionLatestCacheResetResult {
227
238
  status?: string;
228
239
  /**
229
240
  * @public
230
- * <p>The timestamp of the last cache reset (e.g., <code>1479734909.17</code>) in Unix time
241
+ * <p>The timestamp of the last cache reset (<code>1479734909.17</code>) in Unix time
231
242
  * format.</p>
232
243
  */
233
244
  createTime?: Date;
@@ -570,7 +581,7 @@ export interface InstanceHardware {
570
581
  disks?: Disk[];
571
582
  /**
572
583
  * @public
573
- * <p>The amount of RAM in GB on the instance (e.g., <code>1.0</code>).</p>
584
+ * <p>The amount of RAM in GB on the instance (<code>1.0</code>).</p>
574
585
  */
575
586
  ramSizeInGb?: number;
576
587
  }
@@ -884,7 +895,7 @@ export interface InstanceState {
884
895
  code?: number;
885
896
  /**
886
897
  * @public
887
- * <p>The state of the instance (e.g., <code>running</code> or <code>pending</code>).</p>
898
+ * <p>The state of the instance (<code>running</code> or <code>pending</code>).</p>
888
899
  */
889
900
  name?: string;
890
901
  }
@@ -895,13 +906,12 @@ export interface InstanceState {
895
906
  export interface Instance {
896
907
  /**
897
908
  * @public
898
- * <p>The name the user gave the instance (e.g., <code>Amazon_Linux-1GB-Ohio-1</code>).</p>
909
+ * <p>The name the user gave the instance (<code>Amazon_Linux-1GB-Ohio-1</code>).</p>
899
910
  */
900
911
  name?: string;
901
912
  /**
902
913
  * @public
903
- * <p>The Amazon Resource Name (ARN) of the instance (e.g.,
904
- * <code>arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE</code>).</p>
914
+ * <p>The Amazon Resource Name (ARN) of the instance (<code>arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE</code>).</p>
905
915
  */
906
916
  arn?: string;
907
917
  /**
@@ -913,7 +923,7 @@ export interface Instance {
913
923
  supportCode?: string;
914
924
  /**
915
925
  * @public
916
- * <p>The timestamp when the instance was created (e.g., <code>1479734909.17</code>) in Unix
926
+ * <p>The timestamp when the instance was created (<code>1479734909.17</code>) in Unix
917
927
  * time format.</p>
918
928
  */
919
929
  createdAt?: Date;
@@ -935,17 +945,17 @@ export interface Instance {
935
945
  tags?: Tag[];
936
946
  /**
937
947
  * @public
938
- * <p>The blueprint ID (e.g., <code>os_amlinux_2016_03</code>).</p>
948
+ * <p>The blueprint ID (<code>os_amlinux_2016_03</code>).</p>
939
949
  */
940
950
  blueprintId?: string;
941
951
  /**
942
952
  * @public
943
- * <p>The friendly name of the blueprint (e.g., <code>Amazon Linux</code>).</p>
953
+ * <p>The friendly name of the blueprint (<code>Amazon Linux</code>).</p>
944
954
  */
945
955
  blueprintName?: string;
946
956
  /**
947
957
  * @public
948
- * <p>The bundle for the instance (e.g., <code>micro_1_0</code>).</p>
958
+ * <p>The bundle for the instance (<code>micro_1_0</code>).</p>
949
959
  */
950
960
  bundleId?: string;
951
961
  /**
@@ -993,18 +1003,17 @@ export interface Instance {
993
1003
  networking?: InstanceNetworking;
994
1004
  /**
995
1005
  * @public
996
- * <p>The status code and the state (e.g., <code>running</code>) for the instance.</p>
1006
+ * <p>The status code and the state (<code>running</code>) for the instance.</p>
997
1007
  */
998
1008
  state?: InstanceState;
999
1009
  /**
1000
1010
  * @public
1001
- * <p>The user name for connecting to the instance (e.g., <code>ec2-user</code>).</p>
1011
+ * <p>The user name for connecting to the instance (<code>ec2-user</code>).</p>
1002
1012
  */
1003
1013
  username?: string;
1004
1014
  /**
1005
1015
  * @public
1006
- * <p>The name of the SSH key being used to connect to the instance (e.g.,
1007
- * <code>LightsailDefaultKeyPair</code>).</p>
1016
+ * <p>The name of the SSH key being used to connect to the instance (<code>LightsailDefaultKeyPair</code>).</p>
1008
1017
  */
1009
1018
  sshKeyName?: string;
1010
1019
  /**
@@ -1165,7 +1174,7 @@ export interface InstanceAccessDetails {
1165
1174
  /**
1166
1175
  * @public
1167
1176
  * <p>For SSH access, the public key to use when accessing your instance For OpenSSH clients
1168
- * (e.g., command line SSH), you should save this value to <code>tempkey-cert.pub</code>.</p>
1177
+ * (command line SSH), you should save this value to <code>tempkey-cert.pub</code>.</p>
1169
1178
  */
1170
1179
  certKey?: string;
1171
1180
  /**
@@ -1203,7 +1212,7 @@ export interface InstanceAccessDetails {
1203
1212
  passwordData?: PasswordData;
1204
1213
  /**
1205
1214
  * @public
1206
- * <p>For SSH access, the temporary private key. For OpenSSH clients (e.g., command line SSH),
1215
+ * <p>For SSH access, the temporary private key. For OpenSSH clients (command line SSH),
1207
1216
  * you should save this value to <code>tempkey</code>).</p>
1208
1217
  */
1209
1218
  privateKey?: string;
@@ -1716,8 +1725,7 @@ export interface InstanceSnapshot {
1716
1725
  name?: string;
1717
1726
  /**
1718
1727
  * @public
1719
- * <p>The Amazon Resource Name (ARN) of the snapshot (e.g.,
1720
- * <code>arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE</code>).</p>
1728
+ * <p>The Amazon Resource Name (ARN) of the snapshot (<code>arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE</code>).</p>
1721
1729
  */
1722
1730
  arn?: string;
1723
1731
  /**
@@ -1729,7 +1737,7 @@ export interface InstanceSnapshot {
1729
1737
  supportCode?: string;
1730
1738
  /**
1731
1739
  * @public
1732
- * <p>The timestamp when the snapshot was created (e.g., <code>1479907467.024</code>).</p>
1740
+ * <p>The timestamp when the snapshot was created (<code>1479907467.024</code>).</p>
1733
1741
  */
1734
1742
  createdAt?: Date;
1735
1743
  /**
@@ -1774,20 +1782,19 @@ export interface InstanceSnapshot {
1774
1782
  fromInstanceName?: string;
1775
1783
  /**
1776
1784
  * @public
1777
- * <p>The Amazon Resource Name (ARN) of the instance from which the snapshot was created (e.g.,
1778
- * <code>arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE</code>).</p>
1785
+ * <p>The Amazon Resource Name (ARN) of the instance from which the snapshot was created (<code>arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE</code>).</p>
1779
1786
  */
1780
1787
  fromInstanceArn?: string;
1781
1788
  /**
1782
1789
  * @public
1783
- * <p>The blueprint ID from which you created the snapshot (e.g., <code>os_debian_8_3</code>). A
1790
+ * <p>The blueprint ID from which you created the snapshot (<code>os_debian_8_3</code>). A
1784
1791
  * blueprint is a virtual private server (or <i>instance</i>) image used to create
1785
1792
  * instances quickly.</p>
1786
1793
  */
1787
1794
  fromBlueprintId?: string;
1788
1795
  /**
1789
1796
  * @public
1790
- * <p>The bundle ID from which you created the snapshot (e.g., <code>micro_1_0</code>).</p>
1797
+ * <p>The bundle ID from which you created the snapshot (<code>micro_1_0</code>).</p>
1791
1798
  */
1792
1799
  fromBundleId?: string;
1793
1800
  /**
@@ -2177,7 +2184,7 @@ export interface LoadBalancerTlsCertificateSummary {
2177
2184
  export interface LoadBalancer {
2178
2185
  /**
2179
2186
  * @public
2180
- * <p>The name of the load balancer (e.g., <code>my-load-balancer</code>).</p>
2187
+ * <p>The name of the load balancer (<code>my-load-balancer</code>).</p>
2181
2188
  */
2182
2189
  name?: string;
2183
2190
  /**
@@ -2199,13 +2206,13 @@ export interface LoadBalancer {
2199
2206
  createdAt?: Date;
2200
2207
  /**
2201
2208
  * @public
2202
- * <p>The AWS Region where your load balancer was created (e.g., <code>us-east-2a</code>).
2209
+ * <p>The AWS Region where your load balancer was created (<code>us-east-2a</code>).
2203
2210
  * Lightsail automatically creates your load balancer across Availability Zones.</p>
2204
2211
  */
2205
2212
  location?: ResourceLocation;
2206
2213
  /**
2207
2214
  * @public
2208
- * <p>The resource type (e.g., <code>LoadBalancer</code>.</p>
2215
+ * <p>The resource type (<code>LoadBalancer</code>.</p>
2209
2216
  */
2210
2217
  resourceType?: ResourceType;
2211
2218
  /**
@@ -2902,7 +2909,7 @@ export type LoadBalancerTlsCertificateStatus = (typeof LoadBalancerTlsCertificat
2902
2909
  export interface LoadBalancerTlsCertificate {
2903
2910
  /**
2904
2911
  * @public
2905
- * <p>The name of the SSL/TLS certificate (e.g., <code>my-certificate</code>).</p>
2912
+ * <p>The name of the SSL/TLS certificate (<code>my-certificate</code>).</p>
2906
2913
  */
2907
2914
  name?: string;
2908
2915
  /**
@@ -2930,7 +2937,7 @@ export interface LoadBalancerTlsCertificate {
2930
2937
  location?: ResourceLocation;
2931
2938
  /**
2932
2939
  * @public
2933
- * <p>The resource type (e.g., <code>LoadBalancerTlsCertificate</code>).</p>
2940
+ * <p>The resource type (<code>LoadBalancerTlsCertificate</code>).</p>
2934
2941
  * <ul>
2935
2942
  * <li>
2936
2943
  * <p>
@@ -3163,8 +3170,8 @@ export interface LoadBalancerTlsCertificate {
3163
3170
  subject?: string;
3164
3171
  /**
3165
3172
  * @public
3166
- * <p>An array of strings that specify the alternate domains (e.g., <code>example2.com</code>)
3167
- * and subdomains (e.g., <code>blog.example.com</code>) for the certificate.</p>
3173
+ * <p>An array of strings that specify the alternate domains (<code>example2.com</code>)
3174
+ * and subdomains (<code>blog.example.com</code>) for the certificate.</p>
3168
3175
  */
3169
3176
  subjectAlternativeNames?: string[];
3170
3177
  }
@@ -3331,10 +3338,10 @@ export interface GetOperationsForResourceResult {
3331
3338
  * @public
3332
3339
  * @deprecated
3333
3340
  *
3334
- * <p>(Deprecated) Returns the number of pages of results that remain.</p>
3341
+ * <p>(Discontinued) Returns the number of pages of results that remain.</p>
3335
3342
  * <note>
3336
3343
  * <p>In releases prior to June 12, 2017, this parameter returned <code>null</code> by the
3337
- * API. It is now deprecated, and the API returns the <code>next page token</code> parameter
3344
+ * API. It is now discontinued, and the API returns the <code>next page token</code> parameter
3338
3345
  * instead.</p>
3339
3346
  * </note>
3340
3347
  */
@@ -3355,14 +3362,13 @@ export interface GetRegionsRequest {
3355
3362
  /**
3356
3363
  * @public
3357
3364
  * <p>A Boolean value indicating whether to also include Availability Zones in your get regions
3358
- * request. Availability Zones are indicated with a letter: e.g., <code>us-east-2a</code>.</p>
3365
+ * request. Availability Zones are indicated with a letter: <code>us-east-2a</code>.</p>
3359
3366
  */
3360
3367
  includeAvailabilityZones?: boolean;
3361
3368
  /**
3362
3369
  * @public
3363
3370
  * <p>A Boolean value indicating whether to also include Availability Zones for databases in
3364
- * your get regions request. Availability Zones are indicated with a letter (e.g.,
3365
- * <code>us-east-2a</code>).</p>
3371
+ * your get regions request. Availability Zones are indicated with a letter (<code>us-east-2a</code>).</p>
3366
3372
  */
3367
3373
  includeRelationalDatabaseAvailabilityZones?: boolean;
3368
3374
  }
@@ -3373,23 +3379,23 @@ export interface GetRegionsRequest {
3373
3379
  export interface Region {
3374
3380
  /**
3375
3381
  * @public
3376
- * <p>The continent code (e.g., <code>NA</code>, meaning North America).</p>
3382
+ * <p>The continent code (<code>NA</code>, meaning North America).</p>
3377
3383
  */
3378
3384
  continentCode?: string;
3379
3385
  /**
3380
3386
  * @public
3381
- * <p>The description of the Amazon Web Services Region (e.g., <code>This region is recommended
3387
+ * <p>The description of the Amazon Web Services Region (<code>This region is recommended
3382
3388
  * to serve users in the eastern United States and eastern Canada</code>).</p>
3383
3389
  */
3384
3390
  description?: string;
3385
3391
  /**
3386
3392
  * @public
3387
- * <p>The display name (e.g., <code>Ohio</code>).</p>
3393
+ * <p>The display name (<code>Ohio</code>).</p>
3388
3394
  */
3389
3395
  displayName?: string;
3390
3396
  /**
3391
3397
  * @public
3392
- * <p>The region name (e.g., <code>us-east-2</code>).</p>
3398
+ * <p>The region name (<code>us-east-2</code>).</p>
3393
3399
  */
3394
3400
  name?: RegionName;
3395
3401
  /**
@@ -4541,6 +4547,181 @@ export interface GetRelationalDatabaseSnapshotsResult {
4541
4547
  */
4542
4548
  nextPageToken?: string;
4543
4549
  }
4550
+ /**
4551
+ * @public
4552
+ */
4553
+ export interface GetSetupHistoryRequest {
4554
+ /**
4555
+ * @public
4556
+ * <p>The name of the resource for which you are requesting information.</p>
4557
+ */
4558
+ resourceName: string | undefined;
4559
+ /**
4560
+ * @public
4561
+ * <p>The token to advance to the next page of results from your request.</p>
4562
+ * <p>To get a page token, perform an initial <code>GetSetupHistory</code> request. If your results
4563
+ * are paginated, the response will return a next page token that you can specify as the page
4564
+ * token in a subsequent request.</p>
4565
+ */
4566
+ pageToken?: string;
4567
+ }
4568
+ /**
4569
+ * @public
4570
+ * @enum
4571
+ */
4572
+ export declare const SetupStatus: {
4573
+ readonly Failed: "failed";
4574
+ readonly InProgress: "inProgress";
4575
+ readonly Succeeded: "succeeded";
4576
+ };
4577
+ /**
4578
+ * @public
4579
+ */
4580
+ export type SetupStatus = (typeof SetupStatus)[keyof typeof SetupStatus];
4581
+ /**
4582
+ * @public
4583
+ * <p>Returns details about the commands that were run.</p>
4584
+ */
4585
+ export interface SetupExecutionDetails {
4586
+ /**
4587
+ * @public
4588
+ * <p>The command that was executed.</p>
4589
+ */
4590
+ command?: string;
4591
+ /**
4592
+ * @public
4593
+ * <p>The timestamp for when the request was run.</p>
4594
+ */
4595
+ dateTime?: Date;
4596
+ /**
4597
+ * @public
4598
+ * <p>The name of the target resource.</p>
4599
+ */
4600
+ name?: string;
4601
+ /**
4602
+ * @public
4603
+ * <p>The status of the <code>SetupInstanceHttps</code> request.</p>
4604
+ */
4605
+ status?: SetupStatus;
4606
+ /**
4607
+ * @public
4608
+ * <p>The text written by the command to stderr.</p>
4609
+ */
4610
+ standardError?: string;
4611
+ /**
4612
+ * @public
4613
+ * <p>The text written by the command to stdout.</p>
4614
+ */
4615
+ standardOutput?: string;
4616
+ /**
4617
+ * @public
4618
+ * <p>The current version of the script..</p>
4619
+ */
4620
+ version?: string;
4621
+ }
4622
+ /**
4623
+ * @public
4624
+ * <p>Returns information that was submitted during the <code>SetupInstanceHttps</code> request. Email
4625
+ * information is redacted for privacy.</p>
4626
+ */
4627
+ export interface SetupRequest {
4628
+ /**
4629
+ * @public
4630
+ * <p>The name of the Lightsail instance.</p>
4631
+ */
4632
+ instanceName?: string;
4633
+ /**
4634
+ * @public
4635
+ * <p>The name of the domain and subdomains that the SSL/TLS certificate secures.</p>
4636
+ */
4637
+ domainNames?: string[];
4638
+ /**
4639
+ * @public
4640
+ * <p>The Certificate Authority (CA) that issues the SSL/TLS certificate.</p>
4641
+ */
4642
+ certificateProvider?: CertificateProvider;
4643
+ }
4644
+ /**
4645
+ * @public
4646
+ * <p>The Lightsail resource that <code>SetupHistory</code> was ran on. </p>
4647
+ */
4648
+ export interface SetupHistoryResource {
4649
+ /**
4650
+ * @public
4651
+ * <p>The name of the Lightsail resource.</p>
4652
+ */
4653
+ name?: string;
4654
+ /**
4655
+ * @public
4656
+ * <p>The Amazon Resource Name (ARN) of the Lightsail resource.</p>
4657
+ */
4658
+ arn?: string;
4659
+ /**
4660
+ * @public
4661
+ * <p>The timestamp for when the resource was created.</p>
4662
+ */
4663
+ createdAt?: Date;
4664
+ /**
4665
+ * @public
4666
+ * <p>Describes the resource location.</p>
4667
+ */
4668
+ location?: ResourceLocation;
4669
+ /**
4670
+ * @public
4671
+ * <p>The Lightsail resource type. For example, <code>Instance</code>.</p>
4672
+ */
4673
+ resourceType?: ResourceType;
4674
+ }
4675
+ /**
4676
+ * @public
4677
+ * <p>Returns a list of the commands that were ran on the target resource.</p>
4678
+ * <p>The status of each command is also returned.</p>
4679
+ */
4680
+ export interface SetupHistory {
4681
+ /**
4682
+ * @public
4683
+ * <p>A GUID that's used to identify the operation.</p>
4684
+ */
4685
+ operationId?: string;
4686
+ /**
4687
+ * @public
4688
+ * <p>Information about the specified request.</p>
4689
+ */
4690
+ request?: SetupRequest;
4691
+ /**
4692
+ * @public
4693
+ * <p>The target resource name for the request.</p>
4694
+ */
4695
+ resource?: SetupHistoryResource;
4696
+ /**
4697
+ * @public
4698
+ * <p>Describes the full details of the request.</p>
4699
+ */
4700
+ executionDetails?: SetupExecutionDetails[];
4701
+ /**
4702
+ * @public
4703
+ * <p>The status of the request.</p>
4704
+ */
4705
+ status?: SetupStatus;
4706
+ }
4707
+ /**
4708
+ * @public
4709
+ */
4710
+ export interface GetSetupHistoryResult {
4711
+ /**
4712
+ * @public
4713
+ * <p>The historical information that's returned.</p>
4714
+ */
4715
+ setupHistory?: SetupHistory[];
4716
+ /**
4717
+ * @public
4718
+ * <p>The token to advance to the next page of results from your request.</p>
4719
+ * <p>A next page token is not returned if there are no more results to display.</p>
4720
+ * <p>To get the next page of results, perform another <code>GetSetupHistory</code> request and specify
4721
+ * the next page token using the pageToken parameter.</p>
4722
+ */
4723
+ nextPageToken?: string;
4724
+ }
4544
4725
  /**
4545
4726
  * @public
4546
4727
  */
@@ -4558,13 +4739,12 @@ export interface GetStaticIpRequest {
4558
4739
  export interface StaticIp {
4559
4740
  /**
4560
4741
  * @public
4561
- * <p>The name of the static IP (e.g., <code>StaticIP-Ohio-EXAMPLE</code>).</p>
4742
+ * <p>The name of the static IP (<code>StaticIP-Ohio-EXAMPLE</code>).</p>
4562
4743
  */
4563
4744
  name?: string;
4564
4745
  /**
4565
4746
  * @public
4566
- * <p>The Amazon Resource Name (ARN) of the static IP (e.g.,
4567
- * <code>arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE</code>).</p>
4747
+ * <p>The Amazon Resource Name (ARN) of the static IP (<code>arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE</code>).</p>
4568
4748
  */
4569
4749
  arn?: string;
4570
4750
  /**
@@ -4576,7 +4756,7 @@ export interface StaticIp {
4576
4756
  supportCode?: string;
4577
4757
  /**
4578
4758
  * @public
4579
- * <p>The timestamp when the static IP was created (e.g., <code>1479735304.222</code>).</p>
4759
+ * <p>The timestamp when the static IP was created (<code>1479735304.222</code>).</p>
4580
4760
  */
4581
4761
  createdAt?: Date;
4582
4762
  /**
@@ -4596,8 +4776,7 @@ export interface StaticIp {
4596
4776
  ipAddress?: string;
4597
4777
  /**
4598
4778
  * @public
4599
- * <p>The instance where the static IP is attached (e.g.,
4600
- * <code>Amazon_Linux-1GB-Ohio-1</code>).</p>
4779
+ * <p>The instance where the static IP is attached (<code>Amazon_Linux-1GB-Ohio-1</code>).</p>
4601
4780
  */
4602
4781
  attachedTo?: string;
4603
4782
  /**
@@ -5080,7 +5259,7 @@ export interface ResetDistributionCacheResult {
5080
5259
  status?: string;
5081
5260
  /**
5082
5261
  * @public
5083
- * <p>The timestamp of the reset cache request (e.g., <code>1479734909.17</code>) in Unix time
5262
+ * <p>The timestamp of the reset cache request (<code>1479734909.17</code>) in Unix time
5084
5263
  * format.</p>
5085
5264
  */
5086
5265
  createTime?: Date;
@@ -5120,7 +5299,7 @@ export interface SetIpAddressTypeRequest {
5120
5299
  /**
5121
5300
  * @public
5122
5301
  * <p>The resource type.</p>
5123
- * <p>The possible values are <code>Distribution</code>, <code>Instance</code>, and
5302
+ * <p>The resource values are <code>Distribution</code>, <code>Instance</code>, and
5124
5303
  * <code>LoadBalancer</code>.</p>
5125
5304
  * <note>
5126
5305
  * <p>Distribution-related APIs are available only in the N. Virginia (<code>us-east-1</code>)
@@ -5209,6 +5388,43 @@ export interface SetResourceAccessForBucketResult {
5209
5388
  */
5210
5389
  operations?: Operation[];
5211
5390
  }
5391
+ /**
5392
+ * @public
5393
+ */
5394
+ export interface SetupInstanceHttpsRequest {
5395
+ /**
5396
+ * @public
5397
+ * <p>The name of the Lightsail instance.</p>
5398
+ */
5399
+ instanceName: string | undefined;
5400
+ /**
5401
+ * @public
5402
+ * <p>The contact method for SSL/TLS certificate renewal alerts. You can enter one email
5403
+ * address. </p>
5404
+ */
5405
+ emailAddress: string | undefined;
5406
+ /**
5407
+ * @public
5408
+ * <p>The name of the domain and subdomains that were specified for the SSL/TLS
5409
+ * certificate.</p>
5410
+ */
5411
+ domainNames: string[] | undefined;
5412
+ /**
5413
+ * @public
5414
+ * <p>The certificate authority that issues the SSL/TLS certificate.</p>
5415
+ */
5416
+ certificateProvider: CertificateProvider | undefined;
5417
+ }
5418
+ /**
5419
+ * @public
5420
+ */
5421
+ export interface SetupInstanceHttpsResult {
5422
+ /**
5423
+ * @public
5424
+ * <p>The available API operations for <code>SetupInstanceHttps</code>.</p>
5425
+ */
5426
+ operations?: Operation[];
5427
+ }
5212
5428
  /**
5213
5429
  * @public
5214
5430
  */
@@ -5807,8 +6023,7 @@ export interface UpdateInstanceMetadataOptionsResult {
5807
6023
  export interface UpdateLoadBalancerAttributeRequest {
5808
6024
  /**
5809
6025
  * @public
5810
- * <p>The name of the load balancer that you want to modify (e.g.,
5811
- * <code>my-load-balancer</code>.</p>
6026
+ * <p>The name of the load balancer that you want to modify (<code>my-load-balancer</code>.</p>
5812
6027
  */
5813
6028
  loadBalancerName: string | undefined;
5814
6029
  /**
@@ -6026,6 +6241,10 @@ export interface UpdateRelationalDatabaseParametersResult {
6026
6241
  * @internal
6027
6242
  */
6028
6243
  export declare const GetRelationalDatabaseMasterUserPasswordResultFilterSensitiveLog: (obj: GetRelationalDatabaseMasterUserPasswordResult) => any;
6244
+ /**
6245
+ * @internal
6246
+ */
6247
+ export declare const SetupInstanceHttpsRequestFilterSensitiveLog: (obj: SetupInstanceHttpsRequest) => any;
6029
6248
  /**
6030
6249
  * @internal
6031
6250
  */
@@ -123,6 +123,7 @@ import { GetRelationalDatabaseParametersCommandInput, GetRelationalDatabaseParam
123
123
  import { GetRelationalDatabasesCommandInput, GetRelationalDatabasesCommandOutput } from "../commands/GetRelationalDatabasesCommand";
124
124
  import { GetRelationalDatabaseSnapshotCommandInput, GetRelationalDatabaseSnapshotCommandOutput } from "../commands/GetRelationalDatabaseSnapshotCommand";
125
125
  import { GetRelationalDatabaseSnapshotsCommandInput, GetRelationalDatabaseSnapshotsCommandOutput } from "../commands/GetRelationalDatabaseSnapshotsCommand";
126
+ import { GetSetupHistoryCommandInput, GetSetupHistoryCommandOutput } from "../commands/GetSetupHistoryCommand";
126
127
  import { GetStaticIpCommandInput, GetStaticIpCommandOutput } from "../commands/GetStaticIpCommand";
127
128
  import { GetStaticIpsCommandInput, GetStaticIpsCommandOutput } from "../commands/GetStaticIpsCommand";
128
129
  import { ImportKeyPairCommandInput, ImportKeyPairCommandOutput } from "../commands/ImportKeyPairCommand";
@@ -139,6 +140,7 @@ import { ResetDistributionCacheCommandInput, ResetDistributionCacheCommandOutput
139
140
  import { SendContactMethodVerificationCommandInput, SendContactMethodVerificationCommandOutput } from "../commands/SendContactMethodVerificationCommand";
140
141
  import { SetIpAddressTypeCommandInput, SetIpAddressTypeCommandOutput } from "../commands/SetIpAddressTypeCommand";
141
142
  import { SetResourceAccessForBucketCommandInput, SetResourceAccessForBucketCommandOutput } from "../commands/SetResourceAccessForBucketCommand";
143
+ import { SetupInstanceHttpsCommandInput, SetupInstanceHttpsCommandOutput } from "../commands/SetupInstanceHttpsCommand";
142
144
  import { StartGUISessionCommandInput, StartGUISessionCommandOutput } from "../commands/StartGUISessionCommand";
143
145
  import { StartInstanceCommandInput, StartInstanceCommandOutput } from "../commands/StartInstanceCommand";
144
146
  import { StartRelationalDatabaseCommandInput, StartRelationalDatabaseCommandOutput } from "../commands/StartRelationalDatabaseCommand";
@@ -651,6 +653,10 @@ export declare const se_GetRelationalDatabaseSnapshotCommand: (input: GetRelatio
651
653
  * serializeAws_json1_1GetRelationalDatabaseSnapshotsCommand
652
654
  */
653
655
  export declare const se_GetRelationalDatabaseSnapshotsCommand: (input: GetRelationalDatabaseSnapshotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
656
+ /**
657
+ * serializeAws_json1_1GetSetupHistoryCommand
658
+ */
659
+ export declare const se_GetSetupHistoryCommand: (input: GetSetupHistoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
654
660
  /**
655
661
  * serializeAws_json1_1GetStaticIpCommand
656
662
  */
@@ -715,6 +721,10 @@ export declare const se_SetIpAddressTypeCommand: (input: SetIpAddressTypeCommand
715
721
  * serializeAws_json1_1SetResourceAccessForBucketCommand
716
722
  */
717
723
  export declare const se_SetResourceAccessForBucketCommand: (input: SetResourceAccessForBucketCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
724
+ /**
725
+ * serializeAws_json1_1SetupInstanceHttpsCommand
726
+ */
727
+ export declare const se_SetupInstanceHttpsCommand: (input: SetupInstanceHttpsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
718
728
  /**
719
729
  * serializeAws_json1_1StartGUISessionCommand
720
730
  */
@@ -1287,6 +1297,10 @@ export declare const de_GetRelationalDatabaseSnapshotCommand: (output: __HttpRes
1287
1297
  * deserializeAws_json1_1GetRelationalDatabaseSnapshotsCommand
1288
1298
  */
1289
1299
  export declare const de_GetRelationalDatabaseSnapshotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRelationalDatabaseSnapshotsCommandOutput>;
1300
+ /**
1301
+ * deserializeAws_json1_1GetSetupHistoryCommand
1302
+ */
1303
+ export declare const de_GetSetupHistoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSetupHistoryCommandOutput>;
1290
1304
  /**
1291
1305
  * deserializeAws_json1_1GetStaticIpCommand
1292
1306
  */
@@ -1351,6 +1365,10 @@ export declare const de_SetIpAddressTypeCommand: (output: __HttpResponse, contex
1351
1365
  * deserializeAws_json1_1SetResourceAccessForBucketCommand
1352
1366
  */
1353
1367
  export declare const de_SetResourceAccessForBucketCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SetResourceAccessForBucketCommandOutput>;
1368
+ /**
1369
+ * deserializeAws_json1_1SetupInstanceHttpsCommand
1370
+ */
1371
+ export declare const de_SetupInstanceHttpsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SetupInstanceHttpsCommandOutput>;
1354
1372
  /**
1355
1373
  * deserializeAws_json1_1StartGUISessionCommand
1356
1374
  */