@aws-sdk/client-lightsail 3.50.0 → 3.53.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 (190) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/LightsailServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +119 -6
  5. package/dist-cjs/protocols/Aws_json1_1.js +1762 -7559
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/LightsailServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +107 -1
  9. package/dist-es/protocols/Aws_json1_1.js +3975 -8160
  10. package/dist-types/Lightsail.d.ts +25 -13
  11. package/dist-types/commands/CreateBucketAccessKeyCommand.d.ts +2 -2
  12. package/dist-types/commands/CreateKeyPairCommand.d.ts +7 -1
  13. package/dist-types/commands/DeleteKeyPairCommand.d.ts +5 -2
  14. package/dist-types/commands/DownloadDefaultKeyPairCommand.d.ts +3 -1
  15. package/dist-types/commands/GetBucketAccessKeysCommand.d.ts +2 -2
  16. package/dist-types/commands/GetBucketBundlesCommand.d.ts +2 -2
  17. package/dist-types/commands/GetExportSnapshotRecordsCommand.d.ts +2 -1
  18. package/dist-types/commands/UpdateBucketBundleCommand.d.ts +2 -2
  19. package/dist-types/index.d.ts +1 -0
  20. package/dist-types/models/LightsailServiceException.d.ts +10 -0
  21. package/dist-types/models/models_0.d.ts +94 -58
  22. package/dist-types/models/models_1.d.ts +8 -3
  23. package/dist-types/ts3.4/Lightsail.d.ts +770 -0
  24. package/dist-types/ts3.4/LightsailClient.d.ts +226 -0
  25. package/dist-types/ts3.4/commands/AllocateStaticIpCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/AttachCertificateToDistributionCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/AttachDiskCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/AttachInstancesToLoadBalancerCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/AttachLoadBalancerTlsCertificateCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/AttachStaticIpCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/CloseInstancePublicPortsCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/CopySnapshotCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/CreateBucketAccessKeyCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/CreateCertificateCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/CreateCloudFormationStackCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/CreateContactMethodCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/CreateContainerServiceCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/CreateContainerServiceDeploymentCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/CreateContainerServiceRegistryLoginCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/CreateDiskCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/CreateDiskFromSnapshotCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/CreateDiskSnapshotCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/CreateDistributionCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/CreateDomainEntryCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/CreateInstanceSnapshotCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/CreateInstancesCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/CreateInstancesFromSnapshotCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/CreateKeyPairCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/CreateLoadBalancerCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/CreateLoadBalancerTlsCertificateCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/CreateRelationalDatabaseCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/CreateRelationalDatabaseFromSnapshotCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/CreateRelationalDatabaseSnapshotCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/DeleteAlarmCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/DeleteAutoSnapshotCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/DeleteBucketAccessKeyCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/DeleteCertificateCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/DeleteContactMethodCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/DeleteContainerImageCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/DeleteContainerServiceCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/DeleteDiskCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/DeleteDiskSnapshotCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/DeleteDistributionCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/DeleteDomainEntryCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/DeleteInstanceCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/DeleteInstanceSnapshotCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/DeleteKeyPairCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/DeleteKnownHostKeysCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/DeleteLoadBalancerCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/DeleteLoadBalancerTlsCertificateCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/DeleteRelationalDatabaseCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/DeleteRelationalDatabaseSnapshotCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/DetachCertificateFromDistributionCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/DetachDiskCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/DetachInstancesFromLoadBalancerCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/DetachStaticIpCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/DisableAddOnCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/DownloadDefaultKeyPairCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/EnableAddOnCommand.d.ts +17 -0
  84. package/dist-types/ts3.4/commands/ExportSnapshotCommand.d.ts +17 -0
  85. package/dist-types/ts3.4/commands/GetActiveNamesCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/GetAlarmsCommand.d.ts +17 -0
  87. package/dist-types/ts3.4/commands/GetAutoSnapshotsCommand.d.ts +17 -0
  88. package/dist-types/ts3.4/commands/GetBlueprintsCommand.d.ts +17 -0
  89. package/dist-types/ts3.4/commands/GetBucketAccessKeysCommand.d.ts +17 -0
  90. package/dist-types/ts3.4/commands/GetBucketBundlesCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/GetBucketMetricDataCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/GetBucketsCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/GetBundlesCommand.d.ts +17 -0
  94. package/dist-types/ts3.4/commands/GetCertificatesCommand.d.ts +17 -0
  95. package/dist-types/ts3.4/commands/GetCloudFormationStackRecordsCommand.d.ts +17 -0
  96. package/dist-types/ts3.4/commands/GetContactMethodsCommand.d.ts +17 -0
  97. package/dist-types/ts3.4/commands/GetContainerAPIMetadataCommand.d.ts +17 -0
  98. package/dist-types/ts3.4/commands/GetContainerImagesCommand.d.ts +17 -0
  99. package/dist-types/ts3.4/commands/GetContainerLogCommand.d.ts +17 -0
  100. package/dist-types/ts3.4/commands/GetContainerServiceDeploymentsCommand.d.ts +17 -0
  101. package/dist-types/ts3.4/commands/GetContainerServiceMetricDataCommand.d.ts +17 -0
  102. package/dist-types/ts3.4/commands/GetContainerServicePowersCommand.d.ts +17 -0
  103. package/dist-types/ts3.4/commands/GetContainerServicesCommand.d.ts +17 -0
  104. package/dist-types/ts3.4/commands/GetDiskCommand.d.ts +17 -0
  105. package/dist-types/ts3.4/commands/GetDiskSnapshotCommand.d.ts +17 -0
  106. package/dist-types/ts3.4/commands/GetDiskSnapshotsCommand.d.ts +17 -0
  107. package/dist-types/ts3.4/commands/GetDisksCommand.d.ts +17 -0
  108. package/dist-types/ts3.4/commands/GetDistributionBundlesCommand.d.ts +17 -0
  109. package/dist-types/ts3.4/commands/GetDistributionLatestCacheResetCommand.d.ts +17 -0
  110. package/dist-types/ts3.4/commands/GetDistributionMetricDataCommand.d.ts +17 -0
  111. package/dist-types/ts3.4/commands/GetDistributionsCommand.d.ts +17 -0
  112. package/dist-types/ts3.4/commands/GetDomainCommand.d.ts +17 -0
  113. package/dist-types/ts3.4/commands/GetDomainsCommand.d.ts +17 -0
  114. package/dist-types/ts3.4/commands/GetExportSnapshotRecordsCommand.d.ts +17 -0
  115. package/dist-types/ts3.4/commands/GetInstanceAccessDetailsCommand.d.ts +17 -0
  116. package/dist-types/ts3.4/commands/GetInstanceCommand.d.ts +18 -0
  117. package/dist-types/ts3.4/commands/GetInstanceMetricDataCommand.d.ts +17 -0
  118. package/dist-types/ts3.4/commands/GetInstancePortStatesCommand.d.ts +17 -0
  119. package/dist-types/ts3.4/commands/GetInstanceSnapshotCommand.d.ts +17 -0
  120. package/dist-types/ts3.4/commands/GetInstanceSnapshotsCommand.d.ts +17 -0
  121. package/dist-types/ts3.4/commands/GetInstanceStateCommand.d.ts +17 -0
  122. package/dist-types/ts3.4/commands/GetInstancesCommand.d.ts +17 -0
  123. package/dist-types/ts3.4/commands/GetKeyPairCommand.d.ts +17 -0
  124. package/dist-types/ts3.4/commands/GetKeyPairsCommand.d.ts +17 -0
  125. package/dist-types/ts3.4/commands/GetLoadBalancerCommand.d.ts +17 -0
  126. package/dist-types/ts3.4/commands/GetLoadBalancerMetricDataCommand.d.ts +17 -0
  127. package/dist-types/ts3.4/commands/GetLoadBalancerTlsCertificatesCommand.d.ts +17 -0
  128. package/dist-types/ts3.4/commands/GetLoadBalancersCommand.d.ts +17 -0
  129. package/dist-types/ts3.4/commands/GetOperationCommand.d.ts +17 -0
  130. package/dist-types/ts3.4/commands/GetOperationsCommand.d.ts +17 -0
  131. package/dist-types/ts3.4/commands/GetOperationsForResourceCommand.d.ts +17 -0
  132. package/dist-types/ts3.4/commands/GetRegionsCommand.d.ts +17 -0
  133. package/dist-types/ts3.4/commands/GetRelationalDatabaseBlueprintsCommand.d.ts +17 -0
  134. package/dist-types/ts3.4/commands/GetRelationalDatabaseBundlesCommand.d.ts +17 -0
  135. package/dist-types/ts3.4/commands/GetRelationalDatabaseCommand.d.ts +17 -0
  136. package/dist-types/ts3.4/commands/GetRelationalDatabaseEventsCommand.d.ts +17 -0
  137. package/dist-types/ts3.4/commands/GetRelationalDatabaseLogEventsCommand.d.ts +17 -0
  138. package/dist-types/ts3.4/commands/GetRelationalDatabaseLogStreamsCommand.d.ts +17 -0
  139. package/dist-types/ts3.4/commands/GetRelationalDatabaseMasterUserPasswordCommand.d.ts +17 -0
  140. package/dist-types/ts3.4/commands/GetRelationalDatabaseMetricDataCommand.d.ts +17 -0
  141. package/dist-types/ts3.4/commands/GetRelationalDatabaseParametersCommand.d.ts +17 -0
  142. package/dist-types/ts3.4/commands/GetRelationalDatabaseSnapshotCommand.d.ts +17 -0
  143. package/dist-types/ts3.4/commands/GetRelationalDatabaseSnapshotsCommand.d.ts +17 -0
  144. package/dist-types/ts3.4/commands/GetRelationalDatabasesCommand.d.ts +17 -0
  145. package/dist-types/ts3.4/commands/GetStaticIpCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/GetStaticIpsCommand.d.ts +17 -0
  147. package/dist-types/ts3.4/commands/ImportKeyPairCommand.d.ts +17 -0
  148. package/dist-types/ts3.4/commands/IsVpcPeeredCommand.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/OpenInstancePublicPortsCommand.d.ts +17 -0
  150. package/dist-types/ts3.4/commands/PeerVpcCommand.d.ts +17 -0
  151. package/dist-types/ts3.4/commands/PutAlarmCommand.d.ts +17 -0
  152. package/dist-types/ts3.4/commands/PutInstancePublicPortsCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/RebootInstanceCommand.d.ts +17 -0
  154. package/dist-types/ts3.4/commands/RebootRelationalDatabaseCommand.d.ts +17 -0
  155. package/dist-types/ts3.4/commands/RegisterContainerImageCommand.d.ts +17 -0
  156. package/dist-types/ts3.4/commands/ReleaseStaticIpCommand.d.ts +17 -0
  157. package/dist-types/ts3.4/commands/ResetDistributionCacheCommand.d.ts +17 -0
  158. package/dist-types/ts3.4/commands/SendContactMethodVerificationCommand.d.ts +17 -0
  159. package/dist-types/ts3.4/commands/SetIpAddressTypeCommand.d.ts +17 -0
  160. package/dist-types/ts3.4/commands/SetResourceAccessForBucketCommand.d.ts +17 -0
  161. package/dist-types/ts3.4/commands/StartInstanceCommand.d.ts +17 -0
  162. package/dist-types/ts3.4/commands/StartRelationalDatabaseCommand.d.ts +17 -0
  163. package/dist-types/ts3.4/commands/StopInstanceCommand.d.ts +17 -0
  164. package/dist-types/ts3.4/commands/StopRelationalDatabaseCommand.d.ts +17 -0
  165. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  166. package/dist-types/ts3.4/commands/TestAlarmCommand.d.ts +17 -0
  167. package/dist-types/ts3.4/commands/UnpeerVpcCommand.d.ts +17 -0
  168. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  169. package/dist-types/ts3.4/commands/UpdateBucketBundleCommand.d.ts +17 -0
  170. package/dist-types/ts3.4/commands/UpdateBucketCommand.d.ts +17 -0
  171. package/dist-types/ts3.4/commands/UpdateContainerServiceCommand.d.ts +17 -0
  172. package/dist-types/ts3.4/commands/UpdateDistributionBundleCommand.d.ts +17 -0
  173. package/dist-types/ts3.4/commands/UpdateDistributionCommand.d.ts +17 -0
  174. package/dist-types/ts3.4/commands/UpdateDomainEntryCommand.d.ts +17 -0
  175. package/dist-types/ts3.4/commands/UpdateLoadBalancerAttributeCommand.d.ts +17 -0
  176. package/dist-types/ts3.4/commands/UpdateRelationalDatabaseCommand.d.ts +17 -0
  177. package/dist-types/ts3.4/commands/UpdateRelationalDatabaseParametersCommand.d.ts +17 -0
  178. package/dist-types/ts3.4/commands/index.d.ts +153 -0
  179. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  180. package/dist-types/ts3.4/index.d.ts +5 -0
  181. package/dist-types/ts3.4/models/LightsailServiceException.d.ts +6 -0
  182. package/dist-types/ts3.4/models/index.d.ts +2 -0
  183. package/dist-types/ts3.4/models/models_0.d.ts +830 -0
  184. package/dist-types/ts3.4/models/models_1.d.ts +1983 -0
  185. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +461 -0
  186. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  187. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  188. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  189. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  190. package/package.json +33 -33
@@ -276,8 +276,8 @@ export declare class Lightsail extends LightsailClient {
276
276
  * an access key ID and corresponding secret access key.</p>
277
277
  *
278
278
  * <p>Access keys grant full programmatic access to the specified bucket and its objects. You
279
- * can have a maximum of two access keys per bucket. Use the <a>GetBucketAccessKeys</a> action to get a list of current access keys for a specific bucket. For more information
280
- * about access keys, see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-creating-bucket-access-keys">Creating access keys for a bucket in Amazon Lightsail</a> in the
279
+ * can have a maximum of two access keys per bucket. Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketAccessKeys.html">GetBucketAccessKeys</a> action to get a list of current access keys for a specific bucket. For more
280
+ * information about access keys, see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-creating-bucket-access-keys">Creating access keys for a bucket in Amazon Lightsail</a> in the
281
281
  * <i>Amazon Lightsail Developer Guide</i>.</p>
282
282
  *
283
283
  * <important>
@@ -488,7 +488,13 @@ export declare class Lightsail extends LightsailClient {
488
488
  createInstanceSnapshot(args: CreateInstanceSnapshotCommandInput, cb: (err: any, data?: CreateInstanceSnapshotCommandOutput) => void): void;
489
489
  createInstanceSnapshot(args: CreateInstanceSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateInstanceSnapshotCommandOutput) => void): void;
490
490
  /**
491
- * <p>Creates an SSH key pair.</p>
491
+ * <p>Creates a custom SSH key pair that you can use with an Amazon Lightsail
492
+ * instance.</p>
493
+ * <note>
494
+ * <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_DownloadDefaultKeyPair.html">DownloadDefaultKeyPair</a> action to create a Lightsail default key
495
+ * pair in an Amazon Web Services Region where a default key pair does not currently
496
+ * exist.</p>
497
+ * </note>
492
498
  * <p>The <code>create key pair</code> operation supports tag-based access control via request
493
499
  * tags. For more information, see the <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-controlling-access-using-tags">Amazon Lightsail Developer Guide</a>.</p>
494
500
  */
@@ -689,8 +695,11 @@ export declare class Lightsail extends LightsailClient {
689
695
  deleteInstanceSnapshot(args: DeleteInstanceSnapshotCommandInput, cb: (err: any, data?: DeleteInstanceSnapshotCommandOutput) => void): void;
690
696
  deleteInstanceSnapshot(args: DeleteInstanceSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteInstanceSnapshotCommandOutput) => void): void;
691
697
  /**
692
- * <p>Deletes a specific SSH key pair.</p>
693
- *
698
+ * <p>Deletes the specified key pair by removing the public key from Amazon Lightsail.</p>
699
+ * <p>You can delete key pairs that were created using the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_ImportKeyPair.html">ImportKeyPair</a> and
700
+ * <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateKeyPair.html">CreateKeyPair</a> actions, as well as the Lightsail default key pair. A new default
701
+ * key pair will not be created unless you launch an instance without specifying a custom key
702
+ * pair, or you call the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_DownloadDefaultKeyPair.html">DownloadDefaultKeyPair</a> API. </p>
694
703
  *
695
704
  * <p>The <code>delete key pair</code> operation supports tag-based access control via resource
696
705
  * tags applied to the resource identified by <code>key pair name</code>. For more information,
@@ -795,7 +804,9 @@ export declare class Lightsail extends LightsailClient {
795
804
  disableAddOn(args: DisableAddOnCommandInput, cb: (err: any, data?: DisableAddOnCommandOutput) => void): void;
796
805
  disableAddOn(args: DisableAddOnCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableAddOnCommandOutput) => void): void;
797
806
  /**
798
- * <p>Downloads the default SSH key pair from the user's account.</p>
807
+ * <p>Downloads the regional Amazon Lightsail default key pair.</p>
808
+ * <p>This action also creates a Lightsail default key pair if a default key pair
809
+ * does not currently exist in the Amazon Web Services Region.</p>
799
810
  */
800
811
  downloadDefaultKeyPair(args: DownloadDefaultKeyPairCommandInput, options?: __HttpHandlerOptions): Promise<DownloadDefaultKeyPairCommandOutput>;
801
812
  downloadDefaultKeyPair(args: DownloadDefaultKeyPairCommandInput, cb: (err: any, data?: DownloadDefaultKeyPairCommandOutput) => void): void;
@@ -872,8 +883,8 @@ export declare class Lightsail extends LightsailClient {
872
883
  *
873
884
  * <important>
874
885
  * <p>This action does not return the secret access key value of an access key. You can get a
875
- * secret access key only when you create it from the response of the <a>CreateBucketAccessKey</a> action. If you lose the secret access key, you must
876
- * create a new access key.</p>
886
+ * secret access key only when you create it from the response of the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateBucketAccessKey.html">CreateBucketAccessKey</a> action. If you lose the secret access key, you must create
887
+ * a new access key.</p>
877
888
  * </important>
878
889
  */
879
890
  getBucketAccessKeys(args: GetBucketAccessKeysCommandInput, options?: __HttpHandlerOptions): Promise<GetBucketAccessKeysCommandOutput>;
@@ -885,8 +896,8 @@ export declare class Lightsail extends LightsailClient {
885
896
  * <p>The bucket bundle specifies the monthly cost, storage quota, and data transfer quota for a
886
897
  * bucket.</p>
887
898
  *
888
- * <p>Use the <a>UpdateBucketBundle</a> action to update the bundle for a
889
- * bucket.</p>
899
+ * <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_UpdateBucketBundle.html">UpdateBucketBundle</a> action to update the
900
+ * bundle for a bucket.</p>
890
901
  */
891
902
  getBucketBundles(args: GetBucketBundlesCommandInput, options?: __HttpHandlerOptions): Promise<GetBucketBundlesCommandOutput>;
892
903
  getBucketBundles(args: GetBucketBundlesCommandInput, cb: (err: any, data?: GetBucketBundlesCommandOutput) => void): void;
@@ -1102,7 +1113,8 @@ export declare class Lightsail extends LightsailClient {
1102
1113
  * <p>Returns all export snapshot records created as a result of the <code>export
1103
1114
  * snapshot</code> operation.</p>
1104
1115
  * <p>An export snapshot record can be used to create a new Amazon EC2 instance and its related
1105
- * resources with the <a>CreateCloudFormationStack</a> action.</p>
1116
+ * resources with the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateCloudFormationStack.html">CreateCloudFormationStack</a>
1117
+ * action.</p>
1106
1118
  */
1107
1119
  getExportSnapshotRecords(args: GetExportSnapshotRecordsCommandInput, options?: __HttpHandlerOptions): Promise<GetExportSnapshotRecordsCommandOutput>;
1108
1120
  getExportSnapshotRecords(args: GetExportSnapshotRecordsCommandInput, cb: (err: any, data?: GetExportSnapshotRecordsCommandOutput) => void): void;
@@ -1584,8 +1596,8 @@ export declare class Lightsail extends LightsailClient {
1584
1596
  *
1585
1597
  * <p>A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a
1586
1598
  * bucket. You can update a bucket's bundle only one time within a monthly AWS billing cycle. To
1587
- * determine if you can update a bucket's bundle, use the <a>GetBuckets</a> action.
1588
- * The <code>ableToUpdateBundle</code> parameter in the response will indicate whether you can
1599
+ * determine if you can update a bucket's bundle, use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBuckets.html">GetBuckets</a> action. The
1600
+ * <code>ableToUpdateBundle</code> parameter in the response will indicate whether you can
1589
1601
  * currently update a bucket's bundle.</p>
1590
1602
  *
1591
1603
  * <p>Update a bucket's bundle if it's consistently going over its storage space or data
@@ -11,8 +11,8 @@ export interface CreateBucketAccessKeyCommandOutput extends CreateBucketAccessKe
11
11
  * an access key ID and corresponding secret access key.</p>
12
12
  *
13
13
  * <p>Access keys grant full programmatic access to the specified bucket and its objects. You
14
- * can have a maximum of two access keys per bucket. Use the <a>GetBucketAccessKeys</a> action to get a list of current access keys for a specific bucket. For more information
15
- * about access keys, see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-creating-bucket-access-keys">Creating access keys for a bucket in Amazon Lightsail</a> in the
14
+ * can have a maximum of two access keys per bucket. Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketAccessKeys.html">GetBucketAccessKeys</a> action to get a list of current access keys for a specific bucket. For more
15
+ * information about access keys, see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-creating-bucket-access-keys">Creating access keys for a bucket in Amazon Lightsail</a> in the
16
16
  * <i>Amazon Lightsail Developer Guide</i>.</p>
17
17
  *
18
18
  * <important>
@@ -7,7 +7,13 @@ export interface CreateKeyPairCommandInput extends CreateKeyPairRequest {
7
7
  export interface CreateKeyPairCommandOutput extends CreateKeyPairResult, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates an SSH key pair.</p>
10
+ * <p>Creates a custom SSH key pair that you can use with an Amazon Lightsail
11
+ * instance.</p>
12
+ * <note>
13
+ * <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_DownloadDefaultKeyPair.html">DownloadDefaultKeyPair</a> action to create a Lightsail default key
14
+ * pair in an Amazon Web Services Region where a default key pair does not currently
15
+ * exist.</p>
16
+ * </note>
11
17
  * <p>The <code>create key pair</code> operation supports tag-based access control via request
12
18
  * tags. For more information, see the <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-controlling-access-using-tags">Amazon Lightsail Developer Guide</a>.</p>
13
19
  * @example
@@ -7,8 +7,11 @@ export interface DeleteKeyPairCommandInput extends DeleteKeyPairRequest {
7
7
  export interface DeleteKeyPairCommandOutput extends DeleteKeyPairResult, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes a specific SSH key pair.</p>
11
- *
10
+ * <p>Deletes the specified key pair by removing the public key from Amazon Lightsail.</p>
11
+ * <p>You can delete key pairs that were created using the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_ImportKeyPair.html">ImportKeyPair</a> and
12
+ * <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateKeyPair.html">CreateKeyPair</a> actions, as well as the Lightsail default key pair. A new default
13
+ * key pair will not be created unless you launch an instance without specifying a custom key
14
+ * pair, or you call the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_DownloadDefaultKeyPair.html">DownloadDefaultKeyPair</a> API. </p>
12
15
  *
13
16
  * <p>The <code>delete key pair</code> operation supports tag-based access control via resource
14
17
  * tags applied to the resource identified by <code>key pair name</code>. For more information,
@@ -7,7 +7,9 @@ export interface DownloadDefaultKeyPairCommandInput extends DownloadDefaultKeyPa
7
7
  export interface DownloadDefaultKeyPairCommandOutput extends DownloadDefaultKeyPairResult, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Downloads the default SSH key pair from the user's account.</p>
10
+ * <p>Downloads the regional Amazon Lightsail default key pair.</p>
11
+ * <p>This action also creates a Lightsail default key pair if a default key pair
12
+ * does not currently exist in the Amazon Web Services Region.</p>
11
13
  * @example
12
14
  * Use a bare-bones client and the command you need to make an API call.
13
15
  * ```javascript
@@ -11,8 +11,8 @@ export interface GetBucketAccessKeysCommandOutput extends GetBucketAccessKeysRes
11
11
  *
12
12
  * <important>
13
13
  * <p>This action does not return the secret access key value of an access key. You can get a
14
- * secret access key only when you create it from the response of the <a>CreateBucketAccessKey</a> action. If you lose the secret access key, you must
15
- * create a new access key.</p>
14
+ * secret access key only when you create it from the response of the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateBucketAccessKey.html">CreateBucketAccessKey</a> action. If you lose the secret access key, you must create
15
+ * a new access key.</p>
16
16
  * </important>
17
17
  * @example
18
18
  * Use a bare-bones client and the command you need to make an API call.
@@ -12,8 +12,8 @@ export interface GetBucketBundlesCommandOutput extends GetBucketBundlesResult, _
12
12
  * <p>The bucket bundle specifies the monthly cost, storage quota, and data transfer quota for a
13
13
  * bucket.</p>
14
14
  *
15
- * <p>Use the <a>UpdateBucketBundle</a> action to update the bundle for a
16
- * bucket.</p>
15
+ * <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_UpdateBucketBundle.html">UpdateBucketBundle</a> action to update the
16
+ * bundle for a bucket.</p>
17
17
  * @example
18
18
  * Use a bare-bones client and the command you need to make an API call.
19
19
  * ```javascript
@@ -10,7 +10,8 @@ export interface GetExportSnapshotRecordsCommandOutput extends GetExportSnapshot
10
10
  * <p>Returns all export snapshot records created as a result of the <code>export
11
11
  * snapshot</code> operation.</p>
12
12
  * <p>An export snapshot record can be used to create a new Amazon EC2 instance and its related
13
- * resources with the <a>CreateCloudFormationStack</a> action.</p>
13
+ * resources with the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateCloudFormationStack.html">CreateCloudFormationStack</a>
14
+ * action.</p>
14
15
  * @example
15
16
  * Use a bare-bones client and the command you need to make an API call.
16
17
  * ```javascript
@@ -11,8 +11,8 @@ export interface UpdateBucketBundleCommandOutput extends UpdateBucketBundleResul
11
11
  *
12
12
  * <p>A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a
13
13
  * bucket. You can update a bucket's bundle only one time within a monthly AWS billing cycle. To
14
- * determine if you can update a bucket's bundle, use the <a>GetBuckets</a> action.
15
- * The <code>ableToUpdateBundle</code> parameter in the response will indicate whether you can
14
+ * determine if you can update a bucket's bundle, use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBuckets.html">GetBuckets</a> action. The
15
+ * <code>ableToUpdateBundle</code> parameter in the response will indicate whether you can
16
16
  * currently update a bucket's bundle.</p>
17
17
  *
18
18
  * <p>Update a bucket's bundle if it's consistently going over its storage space or data
@@ -2,3 +2,4 @@ export * from "./Lightsail";
2
2
  export * from "./LightsailClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { LightsailServiceException } from "./models/LightsailServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from Lightsail service.
4
+ */
5
+ export declare class LightsailServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,15 +1,19 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { LightsailServiceException as __BaseException } from "./LightsailServiceException";
2
3
  /**
3
4
  * <p>Lightsail throws this exception when the user cannot be authenticated or uses invalid
4
5
  * credentials to access a resource.</p>
5
6
  */
6
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
7
- name: "AccessDeniedException";
8
- $fault: "client";
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
9
10
  code?: string;
10
11
  docs?: string;
11
- message?: string;
12
12
  tip?: string;
13
+ /**
14
+ * @internal
15
+ */
16
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
13
17
  }
14
18
  export declare enum AccessDirection {
15
19
  inbound = "inbound",
@@ -19,7 +23,7 @@ export declare enum AccessDirection {
19
23
  * <p>Describes the last time an access key was used.</p>
20
24
  *
21
25
  * <note>
22
- * <p>This object does not include data in the response of a <a>CreateBucketAccessKey</a> action.</p>
26
+ * <p>This object does not include data in the response of a <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateBucketAccessKey.html">CreateBucketAccessKey</a> action.</p>
23
27
  * </note>
24
28
  */
25
29
  export interface AccessKeyLastUsed {
@@ -53,7 +57,7 @@ export declare enum StatusType {
53
57
  * <p>Describes an access key for an Amazon Lightsail bucket.</p>
54
58
  *
55
59
  * <p>Access keys grant full programmatic access to the specified bucket and its objects. You
56
- * can have a maximum of two access keys per bucket. Use the <a>CreateBucketAccessKey</a> action to create an access key for a specific bucket. For
60
+ * can have a maximum of two access keys per bucket. Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateBucketAccessKey.html">CreateBucketAccessKey</a> action to create an access key for a specific bucket. For
57
61
  * more information about access keys, see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-creating-bucket-access-keys">Creating access keys for a bucket in Amazon Lightsail</a> in the
58
62
  * <i>Amazon Lightsail Developer Guide</i>.</p>
59
63
  *
@@ -91,7 +95,7 @@ export interface AccessKey {
91
95
  * <p>An object that describes the last time the access key was used.</p>
92
96
  *
93
97
  * <note>
94
- * <p>This object does not include data in the response of a <a>CreateBucketAccessKey</a> action. If the access key has not been used, the
98
+ * <p>This object does not include data in the response of a <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateBucketAccessKey.html">CreateBucketAccessKey</a> action. If the access key has not been used, the
95
99
  * <code>region</code> and <code>serviceName</code> values are <code>N/A</code>, and the
96
100
  * <code>lastUsedDate</code> value is null.</p>
97
101
  * </note>
@@ -187,13 +191,16 @@ export declare namespace AccessRules {
187
191
  * <p>Lightsail throws this exception when an account is still in the setup in progress
188
192
  * state.</p>
189
193
  */
190
- export interface AccountSetupInProgressException extends __SmithyException, $MetadataBearer {
191
- name: "AccountSetupInProgressException";
192
- $fault: "client";
194
+ export declare class AccountSetupInProgressException extends __BaseException {
195
+ readonly name: "AccountSetupInProgressException";
196
+ readonly $fault: "client";
193
197
  code?: string;
194
198
  docs?: string;
195
- message?: string;
196
199
  tip?: string;
200
+ /**
201
+ * @internal
202
+ */
203
+ constructor(opts: __ExceptionOptionType<AccountSetupInProgressException, __BaseException>);
197
204
  }
198
205
  /**
199
206
  * <p>Describes an add-on that is enabled for an Amazon Lightsail resource.</p>
@@ -838,57 +845,72 @@ export declare namespace AllocateStaticIpResult {
838
845
  * <code>us-east-1</code> to create, view, or edit these resources.</p>
839
846
  * </note>
840
847
  */
841
- export interface InvalidInputException extends __SmithyException, $MetadataBearer {
842
- name: "InvalidInputException";
843
- $fault: "client";
848
+ export declare class InvalidInputException extends __BaseException {
849
+ readonly name: "InvalidInputException";
850
+ readonly $fault: "client";
844
851
  code?: string;
845
852
  docs?: string;
846
- message?: string;
847
853
  tip?: string;
854
+ /**
855
+ * @internal
856
+ */
857
+ constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
848
858
  }
849
859
  /**
850
860
  * <p>Lightsail throws this exception when it cannot find a resource.</p>
851
861
  */
852
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
853
- name: "NotFoundException";
854
- $fault: "client";
862
+ export declare class NotFoundException extends __BaseException {
863
+ readonly name: "NotFoundException";
864
+ readonly $fault: "client";
855
865
  code?: string;
856
866
  docs?: string;
857
- message?: string;
858
867
  tip?: string;
868
+ /**
869
+ * @internal
870
+ */
871
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
859
872
  }
860
873
  /**
861
874
  * <p>Lightsail throws this exception when an operation fails to execute.</p>
862
875
  */
863
- export interface OperationFailureException extends __SmithyException, $MetadataBearer {
864
- name: "OperationFailureException";
865
- $fault: "client";
876
+ export declare class OperationFailureException extends __BaseException {
877
+ readonly name: "OperationFailureException";
878
+ readonly $fault: "client";
866
879
  code?: string;
867
880
  docs?: string;
868
- message?: string;
869
881
  tip?: string;
882
+ /**
883
+ * @internal
884
+ */
885
+ constructor(opts: __ExceptionOptionType<OperationFailureException, __BaseException>);
870
886
  }
871
887
  /**
872
888
  * <p>A general service exception.</p>
873
889
  */
874
- export interface ServiceException extends __SmithyException, $MetadataBearer {
875
- name: "ServiceException";
876
- $fault: "server";
890
+ export declare class ServiceException extends __BaseException {
891
+ readonly name: "ServiceException";
892
+ readonly $fault: "server";
877
893
  code?: string;
878
894
  docs?: string;
879
- message?: string;
880
895
  tip?: string;
896
+ /**
897
+ * @internal
898
+ */
899
+ constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
881
900
  }
882
901
  /**
883
902
  * <p>Lightsail throws this exception when the user has not been authenticated.</p>
884
903
  */
885
- export interface UnauthenticatedException extends __SmithyException, $MetadataBearer {
886
- name: "UnauthenticatedException";
887
- $fault: "client";
904
+ export declare class UnauthenticatedException extends __BaseException {
905
+ readonly name: "UnauthenticatedException";
906
+ readonly $fault: "client";
888
907
  code?: string;
889
908
  docs?: string;
890
- message?: string;
891
909
  tip?: string;
910
+ /**
911
+ * @internal
912
+ */
913
+ constructor(opts: __ExceptionOptionType<UnauthenticatedException, __BaseException>);
892
914
  }
893
915
  export interface AttachCertificateToDistributionRequest {
894
916
  /**
@@ -1354,8 +1376,8 @@ export interface Bucket {
1354
1376
  * <p>A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a
1355
1377
  * bucket.</p>
1356
1378
  *
1357
- * <p>Use the <a>UpdateBucketBundle</a> action to change the bundle of a
1358
- * bucket.</p>
1379
+ * <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_UpdateBucketBundle.html">UpdateBucketBundle</a> action to change the
1380
+ * bundle of a bucket.</p>
1359
1381
  */
1360
1382
  bundleId?: string;
1361
1383
  /**
@@ -1413,7 +1435,8 @@ export interface Bucket {
1413
1435
  * <p>You can update a bucket's bundle only one time within a monthly AWS billing
1414
1436
  * cycle.</p>
1415
1437
  *
1416
- * <p>Use the <a>UpdateBucketBundle</a> action to change a bucket's bundle.</p>
1438
+ * <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_UpdateBucketBundle.html">UpdateBucketBundle</a> action to change a
1439
+ * bucket's bundle.</p>
1417
1440
  */
1418
1441
  ableToUpdateBundle?: boolean;
1419
1442
  /**
@@ -1425,8 +1448,8 @@ export interface Bucket {
1425
1448
  * <p>An array of objects that describe Lightsail instances that have access to the
1426
1449
  * bucket.</p>
1427
1450
  *
1428
- * <p>Use the <a>SetResourceAccessForBucket</a> action to update the instances that
1429
- * have access to a bucket.</p>
1451
+ * <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_SetResourceAccessForBucket.html">SetResourceAccessForBucket</a>
1452
+ * action to update the instances that have access to a bucket.</p>
1430
1453
  */
1431
1454
  resourcesReceivingAccess?: ResourceReceivingAccess[];
1432
1455
  /**
@@ -1599,7 +1622,6 @@ export declare namespace CacheBehavior {
1599
1622
  * or file type that your distribution will cache. Alternately, if the distribution's
1600
1623
  * <code>cacheBehavior</code> is <code>dont-cache</code>, then a per-path cache behavior can be
1601
1624
  * used to specify a directory, file, or file type that your distribution will not cache.</p>
1602
- * <p>if the cacheBehavior's behavior is set to 'cache', then</p>
1603
1625
  */
1604
1626
  export interface CacheBehaviorPerPath {
1605
1627
  /**
@@ -2595,11 +2617,11 @@ export interface Container {
2595
2617
  * <p>Container images sourced from your Lightsail container service, that are registered and
2596
2618
  * stored on your service, start with a colon (<code>:</code>). For example, if your container
2597
2619
  * service name is <code>container-service-1</code>, the container image label is
2598
- * <code>mystaticsite</code>, and you want to use the third (<code>3</code>) version of the
2620
+ * <code>mystaticsite</code>, and you want to use the third (<code>3</code>) version of the
2599
2621
  * registered container image, then you should specify
2600
- * <code>:container-service-1.mystaticsite.3</code>. To use the latest version of a container
2622
+ * <code>:container-service-1.mystaticsite.3</code>. To use the latest version of a container
2601
2623
  * image, specify <code>latest</code> instead of a version number (for example,
2602
- * <code>:container-service-1.mystaticsite.latest</code>). Lightsail will automatically use
2624
+ * <code>:container-service-1.mystaticsite.latest</code>). Lightsail will automatically use
2603
2625
  * the highest numbered version of the registered container image.</p>
2604
2626
  *
2605
2627
  * <p>Container images sourced from a public registry like Docker Hub don't start with a colon.
@@ -3326,17 +3348,18 @@ export interface CreateBucketRequest {
3326
3348
  * <p>A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a
3327
3349
  * bucket.</p>
3328
3350
  *
3329
- * <p>Use the <a>GetBucketBundles</a> action to get a list of bundle IDs that you can
3330
- * specify.</p>
3351
+ * <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketBundles.html">GetBucketBundles</a> action to get a list of
3352
+ * bundle IDs that you can specify.</p>
3331
3353
  *
3332
- * <p>Use the <a>UpdateBucketBundle</a> action to change the bundle after the bucket
3333
- * is created.</p>
3354
+ * <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_UpdateBucketBundle.html">UpdateBucketBundle</a> action to change the
3355
+ * bundle after the bucket is created.</p>
3334
3356
  */
3335
3357
  bundleId: string | undefined;
3336
3358
  /**
3337
3359
  * <p>The tag keys and optional values to add to the bucket during creation.</p>
3338
3360
  *
3339
- * <p>Use the <a>TagResource</a> action to tag the bucket after it's created.</p>
3361
+ * <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_TagResource.html">TagResource</a> action to tag the bucket after it's
3362
+ * created.</p>
3340
3363
  */
3341
3364
  tags?: Tag[];
3342
3365
  /**
@@ -4005,8 +4028,8 @@ export declare enum OriginProtocolPolicyEnum {
4005
4028
  /**
4006
4029
  * <p>Describes the origin resource of an Amazon Lightsail content delivery network (CDN)
4007
4030
  * distribution.</p>
4008
- * <p>An origin can be a Lightsail instance or load balancer. A distribution pulls content
4009
- * from an origin, caches it, and serves it to viewers via a worldwide network of edge
4031
+ * <p>An origin can be a Lightsail instance, bucket, or load balancer. A distribution pulls
4032
+ * content from an origin, caches it, and serves it to viewers via a worldwide network of edge
4010
4033
  * servers.</p>
4011
4034
  */
4012
4035
  export interface InputOrigin {
@@ -4037,7 +4060,7 @@ export interface CreateDistributionRequest {
4037
4060
  distributionName: string | undefined;
4038
4061
  /**
4039
4062
  * <p>An object that describes the origin resource for the distribution, such as a Lightsail
4040
- * instance or load balancer.</p>
4063
+ * instance, bucket, or load balancer.</p>
4041
4064
  * <p>The distribution pulls, caches, and serves content from the origin.</p>
4042
4065
  */
4043
4066
  origin: InputOrigin | undefined;
@@ -4085,8 +4108,8 @@ export declare namespace CreateDistributionRequest {
4085
4108
  /**
4086
4109
  * <p>Describes the origin resource of an Amazon Lightsail content delivery network (CDN)
4087
4110
  * distribution.</p>
4088
- * <p>An origin can be a Lightsail instance or load balancer. A distribution pulls content
4089
- * from an origin, caches it, and serves it to viewers via a worldwide network of edge
4111
+ * <p>An origin can be a Lightsail instance, bucket, or load balancer. A distribution pulls
4112
+ * content from an origin, caches it, and serves it to viewers via a worldwide network of edge
4090
4113
  * servers.</p>
4091
4114
  */
4092
4115
  export interface Origin {
@@ -4176,7 +4199,7 @@ export interface LightsailDistribution {
4176
4199
  certificateName?: string;
4177
4200
  /**
4178
4201
  * <p>An object that describes the origin resource of the distribution, such as a Lightsail
4179
- * instance or load balancer.</p>
4202
+ * instance, bucket, or load balancer.</p>
4180
4203
  * <p>The distribution pulls, caches, and serves content from the origin.</p>
4181
4204
  */
4182
4205
  origin?: Origin;
@@ -5320,8 +5343,8 @@ export interface DeleteBucketRequest {
5320
5343
  /**
5321
5344
  * <p>The name of the bucket to delete.</p>
5322
5345
  *
5323
- * <p>Use the <a>GetBuckets</a> action to get a list of bucket names that you can
5324
- * specify.</p>
5346
+ * <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBuckets.html">GetBuckets</a> action to get a list of bucket names
5347
+ * that you can specify.</p>
5325
5348
  */
5326
5349
  bucketName: string | undefined;
5327
5350
  /**
@@ -5333,7 +5356,7 @@ export interface DeleteBucketRequest {
5333
5356
  * <p>The bucket is the origin of a distribution.</p>
5334
5357
  * </li>
5335
5358
  * <li>
5336
- * <p>The bucket has instances that were granted access to it using the <a>SetResourceAccessForBucket</a> action.</p>
5359
+ * <p>The bucket has instances that were granted access to it using the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_SetResourceAccessForBucket.html">SetResourceAccessForBucket</a> action.</p>
5337
5360
  * </li>
5338
5361
  * <li>
5339
5362
  * <p>The bucket has objects.</p>
@@ -5377,8 +5400,8 @@ export interface DeleteBucketAccessKeyRequest {
5377
5400
  /**
5378
5401
  * <p>The ID of the access key to delete.</p>
5379
5402
  *
5380
- * <p>Use the <a>GetBucketAccessKeys</a> action to get a list of access key IDs that
5381
- * you can specify.</p>
5403
+ * <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketAccessKeys.html">GetBucketAccessKeys</a> action to get a
5404
+ * list of access key IDs that you can specify.</p>
5382
5405
  */
5383
5406
  accessKeyId: string | undefined;
5384
5407
  }
@@ -5709,6 +5732,14 @@ export interface DeleteKeyPairRequest {
5709
5732
  * <p>The name of the key pair to delete.</p>
5710
5733
  */
5711
5734
  keyPairName: string | undefined;
5735
+ /**
5736
+ * <p>The RSA fingerprint of the Lightsail default key pair to delete.</p>
5737
+ * <note>
5738
+ * <p>The <code>expectedFingerprint</code> parameter is required only when specifying to
5739
+ * delete a Lightsail default key pair.</p>
5740
+ * </note>
5741
+ */
5742
+ expectedFingerprint?: string;
5712
5743
  }
5713
5744
  export declare namespace DeleteKeyPairRequest {
5714
5745
  /**
@@ -6364,6 +6395,10 @@ export interface DownloadDefaultKeyPairResult {
6364
6395
  * <p>A base64-encoded RSA private key.</p>
6365
6396
  */
6366
6397
  privateKeyBase64?: string;
6398
+ /**
6399
+ * <p>The timestamp when the default key pair was created.</p>
6400
+ */
6401
+ createdAt?: Date;
6367
6402
  }
6368
6403
  export declare namespace DownloadDefaultKeyPairResult {
6369
6404
  /**
@@ -6921,7 +6956,8 @@ export interface GetBucketsRequest {
6921
6956
  pageToken?: string;
6922
6957
  /**
6923
6958
  * <p>A Boolean value that indicates whether to include Lightsail instances that were given
6924
- * access to the bucket using the <a>SetResourceAccessForBucket</a> action.</p>
6959
+ * access to the bucket using the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_SetResourceAccessForBucket.html">SetResourceAccessForBucket</a>
6960
+ * action.</p>
6925
6961
  */
6926
6962
  includeConnectedResources?: boolean;
6927
6963
  }
@@ -982,6 +982,11 @@ export interface GetKeyPairsRequest {
982
982
  * token in a subsequent request.</p>
983
983
  */
984
984
  pageToken?: string;
985
+ /**
986
+ * <p>A Boolean value that indicates whether to include the default key pair in the response of
987
+ * your request.</p>
988
+ */
989
+ includeDefaultKeyPair?: boolean;
985
990
  }
986
991
  export declare namespace GetKeyPairsRequest {
987
992
  /**
@@ -4398,8 +4403,8 @@ export interface UpdateBucketBundleRequest {
4398
4403
  /**
4399
4404
  * <p>The ID of the new bundle to apply to the bucket.</p>
4400
4405
  *
4401
- * <p>Use the <a>GetBucketBundles</a> action to get a list of bundle IDs that you can
4402
- * specify.</p>
4406
+ * <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketBundles.html">GetBucketBundles</a> action to get a list of
4407
+ * bundle IDs that you can specify.</p>
4403
4408
  */
4404
4409
  bundleId: string | undefined;
4405
4410
  }
@@ -4505,7 +4510,7 @@ export interface UpdateDistributionRequest {
4505
4510
  distributionName: string | undefined;
4506
4511
  /**
4507
4512
  * <p>An object that describes the origin resource for the distribution, such as a Lightsail
4508
- * instance or load balancer.</p>
4513
+ * instance, bucket, or load balancer.</p>
4509
4514
  * <p>The distribution pulls, caches, and serves content from the origin.</p>
4510
4515
  */
4511
4516
  origin?: InputOrigin;