@aws-sdk/client-lightsail 3.279.0 → 3.281.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 (217) hide show
  1. package/README.md +1275 -0
  2. package/dist-cjs/Lightsail.js +60 -0
  3. package/dist-cjs/commands/CreateGUISessionAccessDetailsCommand.js +46 -0
  4. package/dist-cjs/commands/GetCostEstimateCommand.js +46 -0
  5. package/dist-cjs/commands/GetDiskCommand.js +3 -3
  6. package/dist-cjs/commands/GetDiskSnapshotCommand.js +3 -3
  7. package/dist-cjs/commands/GetDiskSnapshotsCommand.js +3 -3
  8. package/dist-cjs/commands/GetDisksCommand.js +3 -3
  9. package/dist-cjs/commands/GetDistributionBundlesCommand.js +3 -3
  10. package/dist-cjs/commands/GetDistributionLatestCacheResetCommand.js +3 -3
  11. package/dist-cjs/commands/StartGUISessionCommand.js +46 -0
  12. package/dist-cjs/commands/StopGUISessionCommand.js +46 -0
  13. package/dist-cjs/commands/index.js +4 -0
  14. package/dist-cjs/endpoint/ruleset.js +3 -3
  15. package/dist-cjs/models/models_0.js +75 -54
  16. package/dist-cjs/models/models_1.js +81 -4
  17. package/dist-cjs/protocols/Aws_json1_1.js +390 -7
  18. package/dist-es/Lightsail.js +60 -0
  19. package/dist-es/commands/CreateGUISessionAccessDetailsCommand.js +42 -0
  20. package/dist-es/commands/GetCostEstimateCommand.js +42 -0
  21. package/dist-es/commands/GetDiskCommand.js +1 -1
  22. package/dist-es/commands/GetDiskSnapshotCommand.js +1 -1
  23. package/dist-es/commands/GetDiskSnapshotsCommand.js +1 -1
  24. package/dist-es/commands/GetDisksCommand.js +1 -1
  25. package/dist-es/commands/GetDistributionBundlesCommand.js +1 -1
  26. package/dist-es/commands/GetDistributionLatestCacheResetCommand.js +1 -1
  27. package/dist-es/commands/StartGUISessionCommand.js +42 -0
  28. package/dist-es/commands/StopGUISessionCommand.js +42 -0
  29. package/dist-es/commands/index.js +4 -0
  30. package/dist-es/endpoint/ruleset.js +3 -3
  31. package/dist-es/models/models_0.js +62 -36
  32. package/dist-es/models/models_1.js +57 -0
  33. package/dist-es/protocols/Aws_json1_1.js +375 -0
  34. package/dist-types/Lightsail.d.ts +32 -0
  35. package/dist-types/LightsailClient.d.ts +6 -2
  36. package/dist-types/commands/AllocateStaticIpCommand.d.ts +6 -0
  37. package/dist-types/commands/AttachCertificateToDistributionCommand.d.ts +6 -0
  38. package/dist-types/commands/AttachDiskCommand.d.ts +6 -0
  39. package/dist-types/commands/AttachInstancesToLoadBalancerCommand.d.ts +6 -0
  40. package/dist-types/commands/AttachLoadBalancerTlsCertificateCommand.d.ts +6 -0
  41. package/dist-types/commands/AttachStaticIpCommand.d.ts +6 -0
  42. package/dist-types/commands/CloseInstancePublicPortsCommand.d.ts +6 -0
  43. package/dist-types/commands/CopySnapshotCommand.d.ts +6 -0
  44. package/dist-types/commands/CreateBucketAccessKeyCommand.d.ts +6 -0
  45. package/dist-types/commands/CreateBucketCommand.d.ts +6 -0
  46. package/dist-types/commands/CreateCertificateCommand.d.ts +6 -0
  47. package/dist-types/commands/CreateCloudFormationStackCommand.d.ts +6 -0
  48. package/dist-types/commands/CreateContactMethodCommand.d.ts +6 -0
  49. package/dist-types/commands/CreateContainerServiceCommand.d.ts +6 -0
  50. package/dist-types/commands/CreateContainerServiceDeploymentCommand.d.ts +6 -0
  51. package/dist-types/commands/CreateContainerServiceRegistryLoginCommand.d.ts +6 -0
  52. package/dist-types/commands/CreateDiskCommand.d.ts +6 -0
  53. package/dist-types/commands/CreateDiskFromSnapshotCommand.d.ts +6 -0
  54. package/dist-types/commands/CreateDiskSnapshotCommand.d.ts +6 -0
  55. package/dist-types/commands/CreateDistributionCommand.d.ts +6 -0
  56. package/dist-types/commands/CreateDomainCommand.d.ts +6 -0
  57. package/dist-types/commands/CreateDomainEntryCommand.d.ts +6 -0
  58. package/dist-types/commands/CreateGUISessionAccessDetailsCommand.d.ts +45 -0
  59. package/dist-types/commands/CreateInstanceSnapshotCommand.d.ts +6 -0
  60. package/dist-types/commands/CreateInstancesCommand.d.ts +6 -0
  61. package/dist-types/commands/CreateInstancesFromSnapshotCommand.d.ts +6 -0
  62. package/dist-types/commands/CreateKeyPairCommand.d.ts +6 -0
  63. package/dist-types/commands/CreateLoadBalancerCommand.d.ts +6 -0
  64. package/dist-types/commands/CreateLoadBalancerTlsCertificateCommand.d.ts +6 -0
  65. package/dist-types/commands/CreateRelationalDatabaseCommand.d.ts +6 -0
  66. package/dist-types/commands/CreateRelationalDatabaseFromSnapshotCommand.d.ts +6 -0
  67. package/dist-types/commands/CreateRelationalDatabaseSnapshotCommand.d.ts +6 -0
  68. package/dist-types/commands/DeleteAlarmCommand.d.ts +6 -0
  69. package/dist-types/commands/DeleteAutoSnapshotCommand.d.ts +6 -0
  70. package/dist-types/commands/DeleteBucketAccessKeyCommand.d.ts +6 -0
  71. package/dist-types/commands/DeleteBucketCommand.d.ts +6 -0
  72. package/dist-types/commands/DeleteCertificateCommand.d.ts +6 -0
  73. package/dist-types/commands/DeleteContactMethodCommand.d.ts +6 -0
  74. package/dist-types/commands/DeleteContainerImageCommand.d.ts +6 -0
  75. package/dist-types/commands/DeleteContainerServiceCommand.d.ts +6 -0
  76. package/dist-types/commands/DeleteDiskCommand.d.ts +6 -0
  77. package/dist-types/commands/DeleteDiskSnapshotCommand.d.ts +6 -0
  78. package/dist-types/commands/DeleteDistributionCommand.d.ts +6 -0
  79. package/dist-types/commands/DeleteDomainCommand.d.ts +6 -0
  80. package/dist-types/commands/DeleteDomainEntryCommand.d.ts +6 -0
  81. package/dist-types/commands/DeleteInstanceCommand.d.ts +6 -0
  82. package/dist-types/commands/DeleteInstanceSnapshotCommand.d.ts +6 -0
  83. package/dist-types/commands/DeleteKeyPairCommand.d.ts +6 -0
  84. package/dist-types/commands/DeleteKnownHostKeysCommand.d.ts +6 -0
  85. package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +6 -0
  86. package/dist-types/commands/DeleteLoadBalancerTlsCertificateCommand.d.ts +6 -0
  87. package/dist-types/commands/DeleteRelationalDatabaseCommand.d.ts +6 -0
  88. package/dist-types/commands/DeleteRelationalDatabaseSnapshotCommand.d.ts +6 -0
  89. package/dist-types/commands/DetachCertificateFromDistributionCommand.d.ts +6 -0
  90. package/dist-types/commands/DetachDiskCommand.d.ts +6 -0
  91. package/dist-types/commands/DetachInstancesFromLoadBalancerCommand.d.ts +6 -0
  92. package/dist-types/commands/DetachStaticIpCommand.d.ts +6 -0
  93. package/dist-types/commands/DisableAddOnCommand.d.ts +6 -0
  94. package/dist-types/commands/DownloadDefaultKeyPairCommand.d.ts +6 -0
  95. package/dist-types/commands/EnableAddOnCommand.d.ts +6 -0
  96. package/dist-types/commands/ExportSnapshotCommand.d.ts +6 -0
  97. package/dist-types/commands/GetActiveNamesCommand.d.ts +6 -0
  98. package/dist-types/commands/GetAlarmsCommand.d.ts +6 -0
  99. package/dist-types/commands/GetAutoSnapshotsCommand.d.ts +6 -0
  100. package/dist-types/commands/GetBlueprintsCommand.d.ts +6 -0
  101. package/dist-types/commands/GetBucketAccessKeysCommand.d.ts +6 -0
  102. package/dist-types/commands/GetBucketBundlesCommand.d.ts +6 -0
  103. package/dist-types/commands/GetBucketMetricDataCommand.d.ts +6 -0
  104. package/dist-types/commands/GetBucketsCommand.d.ts +6 -0
  105. package/dist-types/commands/GetBundlesCommand.d.ts +6 -0
  106. package/dist-types/commands/GetCertificatesCommand.d.ts +6 -0
  107. package/dist-types/commands/GetCloudFormationStackRecordsCommand.d.ts +6 -0
  108. package/dist-types/commands/GetContactMethodsCommand.d.ts +6 -0
  109. package/dist-types/commands/GetContainerAPIMetadataCommand.d.ts +6 -0
  110. package/dist-types/commands/GetContainerImagesCommand.d.ts +6 -0
  111. package/dist-types/commands/GetContainerLogCommand.d.ts +6 -0
  112. package/dist-types/commands/GetContainerServiceDeploymentsCommand.d.ts +6 -0
  113. package/dist-types/commands/GetContainerServiceMetricDataCommand.d.ts +6 -0
  114. package/dist-types/commands/GetContainerServicePowersCommand.d.ts +6 -0
  115. package/dist-types/commands/GetContainerServicesCommand.d.ts +6 -0
  116. package/dist-types/commands/GetCostEstimateCommand.d.ts +43 -0
  117. package/dist-types/commands/GetDiskCommand.d.ts +7 -1
  118. package/dist-types/commands/GetDiskSnapshotCommand.d.ts +7 -1
  119. package/dist-types/commands/GetDiskSnapshotsCommand.d.ts +7 -1
  120. package/dist-types/commands/GetDisksCommand.d.ts +7 -1
  121. package/dist-types/commands/GetDistributionBundlesCommand.d.ts +7 -1
  122. package/dist-types/commands/GetDistributionLatestCacheResetCommand.d.ts +7 -1
  123. package/dist-types/commands/GetDistributionMetricDataCommand.d.ts +6 -0
  124. package/dist-types/commands/GetDistributionsCommand.d.ts +6 -0
  125. package/dist-types/commands/GetDomainCommand.d.ts +6 -0
  126. package/dist-types/commands/GetDomainsCommand.d.ts +6 -0
  127. package/dist-types/commands/GetExportSnapshotRecordsCommand.d.ts +6 -0
  128. package/dist-types/commands/GetInstanceAccessDetailsCommand.d.ts +6 -0
  129. package/dist-types/commands/GetInstanceCommand.d.ts +6 -0
  130. package/dist-types/commands/GetInstanceMetricDataCommand.d.ts +6 -0
  131. package/dist-types/commands/GetInstancePortStatesCommand.d.ts +6 -0
  132. package/dist-types/commands/GetInstanceSnapshotCommand.d.ts +6 -0
  133. package/dist-types/commands/GetInstanceSnapshotsCommand.d.ts +6 -0
  134. package/dist-types/commands/GetInstanceStateCommand.d.ts +6 -0
  135. package/dist-types/commands/GetInstancesCommand.d.ts +6 -0
  136. package/dist-types/commands/GetKeyPairCommand.d.ts +6 -0
  137. package/dist-types/commands/GetKeyPairsCommand.d.ts +6 -0
  138. package/dist-types/commands/GetLoadBalancerCommand.d.ts +6 -0
  139. package/dist-types/commands/GetLoadBalancerMetricDataCommand.d.ts +6 -0
  140. package/dist-types/commands/GetLoadBalancerTlsCertificatesCommand.d.ts +6 -0
  141. package/dist-types/commands/GetLoadBalancerTlsPoliciesCommand.d.ts +6 -0
  142. package/dist-types/commands/GetLoadBalancersCommand.d.ts +6 -0
  143. package/dist-types/commands/GetOperationCommand.d.ts +6 -0
  144. package/dist-types/commands/GetOperationsCommand.d.ts +6 -0
  145. package/dist-types/commands/GetOperationsForResourceCommand.d.ts +6 -0
  146. package/dist-types/commands/GetRegionsCommand.d.ts +6 -0
  147. package/dist-types/commands/GetRelationalDatabaseBlueprintsCommand.d.ts +6 -0
  148. package/dist-types/commands/GetRelationalDatabaseBundlesCommand.d.ts +6 -0
  149. package/dist-types/commands/GetRelationalDatabaseCommand.d.ts +6 -0
  150. package/dist-types/commands/GetRelationalDatabaseEventsCommand.d.ts +6 -0
  151. package/dist-types/commands/GetRelationalDatabaseLogEventsCommand.d.ts +6 -0
  152. package/dist-types/commands/GetRelationalDatabaseLogStreamsCommand.d.ts +6 -0
  153. package/dist-types/commands/GetRelationalDatabaseMasterUserPasswordCommand.d.ts +6 -0
  154. package/dist-types/commands/GetRelationalDatabaseMetricDataCommand.d.ts +6 -0
  155. package/dist-types/commands/GetRelationalDatabaseParametersCommand.d.ts +6 -0
  156. package/dist-types/commands/GetRelationalDatabaseSnapshotCommand.d.ts +6 -0
  157. package/dist-types/commands/GetRelationalDatabaseSnapshotsCommand.d.ts +6 -0
  158. package/dist-types/commands/GetRelationalDatabasesCommand.d.ts +6 -0
  159. package/dist-types/commands/GetStaticIpCommand.d.ts +6 -0
  160. package/dist-types/commands/GetStaticIpsCommand.d.ts +6 -0
  161. package/dist-types/commands/ImportKeyPairCommand.d.ts +6 -0
  162. package/dist-types/commands/IsVpcPeeredCommand.d.ts +6 -0
  163. package/dist-types/commands/OpenInstancePublicPortsCommand.d.ts +6 -0
  164. package/dist-types/commands/PeerVpcCommand.d.ts +6 -0
  165. package/dist-types/commands/PutAlarmCommand.d.ts +6 -0
  166. package/dist-types/commands/PutInstancePublicPortsCommand.d.ts +6 -0
  167. package/dist-types/commands/RebootInstanceCommand.d.ts +6 -0
  168. package/dist-types/commands/RebootRelationalDatabaseCommand.d.ts +6 -0
  169. package/dist-types/commands/RegisterContainerImageCommand.d.ts +6 -0
  170. package/dist-types/commands/ReleaseStaticIpCommand.d.ts +6 -0
  171. package/dist-types/commands/ResetDistributionCacheCommand.d.ts +6 -0
  172. package/dist-types/commands/SendContactMethodVerificationCommand.d.ts +6 -0
  173. package/dist-types/commands/SetIpAddressTypeCommand.d.ts +6 -0
  174. package/dist-types/commands/SetResourceAccessForBucketCommand.d.ts +6 -0
  175. package/dist-types/commands/StartGUISessionCommand.d.ts +44 -0
  176. package/dist-types/commands/StartInstanceCommand.d.ts +6 -0
  177. package/dist-types/commands/StartRelationalDatabaseCommand.d.ts +6 -0
  178. package/dist-types/commands/StopGUISessionCommand.d.ts +44 -0
  179. package/dist-types/commands/StopInstanceCommand.d.ts +6 -0
  180. package/dist-types/commands/StopRelationalDatabaseCommand.d.ts +6 -0
  181. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  182. package/dist-types/commands/TestAlarmCommand.d.ts +6 -0
  183. package/dist-types/commands/UnpeerVpcCommand.d.ts +6 -0
  184. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  185. package/dist-types/commands/UpdateBucketBundleCommand.d.ts +6 -0
  186. package/dist-types/commands/UpdateBucketCommand.d.ts +6 -0
  187. package/dist-types/commands/UpdateContainerServiceCommand.d.ts +6 -0
  188. package/dist-types/commands/UpdateDistributionBundleCommand.d.ts +6 -0
  189. package/dist-types/commands/UpdateDistributionCommand.d.ts +6 -0
  190. package/dist-types/commands/UpdateDomainEntryCommand.d.ts +6 -0
  191. package/dist-types/commands/UpdateInstanceMetadataOptionsCommand.d.ts +6 -0
  192. package/dist-types/commands/UpdateLoadBalancerAttributeCommand.d.ts +6 -0
  193. package/dist-types/commands/UpdateRelationalDatabaseCommand.d.ts +6 -0
  194. package/dist-types/commands/UpdateRelationalDatabaseParametersCommand.d.ts +6 -0
  195. package/dist-types/commands/index.d.ts +4 -0
  196. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  197. package/dist-types/models/models_0.d.ts +244 -147
  198. package/dist-types/models/models_1.d.ts +268 -1
  199. package/dist-types/protocols/Aws_json1_1.d.ts +12 -0
  200. package/dist-types/ts3.4/Lightsail.d.ts +68 -0
  201. package/dist-types/ts3.4/LightsailClient.d.ts +24 -0
  202. package/dist-types/ts3.4/commands/CreateGUISessionAccessDetailsCommand.d.ts +41 -0
  203. package/dist-types/ts3.4/commands/GetCostEstimateCommand.d.ts +37 -0
  204. package/dist-types/ts3.4/commands/GetDiskCommand.d.ts +1 -1
  205. package/dist-types/ts3.4/commands/GetDiskSnapshotCommand.d.ts +1 -1
  206. package/dist-types/ts3.4/commands/GetDiskSnapshotsCommand.d.ts +1 -1
  207. package/dist-types/ts3.4/commands/GetDisksCommand.d.ts +1 -1
  208. package/dist-types/ts3.4/commands/GetDistributionBundlesCommand.d.ts +1 -1
  209. package/dist-types/ts3.4/commands/GetDistributionLatestCacheResetCommand.d.ts +1 -1
  210. package/dist-types/ts3.4/commands/StartGUISessionCommand.d.ts +37 -0
  211. package/dist-types/ts3.4/commands/StopGUISessionCommand.d.ts +37 -0
  212. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  213. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  214. package/dist-types/ts3.4/models/models_0.d.ts +92 -73
  215. package/dist-types/ts3.4/models/models_1.d.ts +124 -0
  216. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
  217. package/package.json +3 -3
@@ -303,9 +303,24 @@ export interface AddOn {
303
303
  * after.</p>
304
304
  */
305
305
  nextSnapshotTimeOfDay?: string;
306
+ /**
307
+ * <p>The trigger threshold of the action.</p>
308
+ * <important>
309
+ * <p>This add-on only applies to Lightsail for Research resources.</p>
310
+ * </important>
311
+ */
312
+ threshold?: string;
313
+ /**
314
+ * <p>The amount of idle time in minutes after which your virtual computer will automatically stop.</p>
315
+ * <important>
316
+ * <p>This add-on only applies to Lightsail for Research resources.</p>
317
+ * </important>
318
+ */
319
+ duration?: string;
306
320
  }
307
321
  export declare enum AddOnType {
308
- AutoSnapshot = "AutoSnapshot"
322
+ AutoSnapshot = "AutoSnapshot",
323
+ StopInstanceOnIdle = "StopInstanceOnIdle"
309
324
  }
310
325
  /**
311
326
  * <p>Describes a request to enable or modify the automatic snapshot add-on for an
@@ -361,6 +376,22 @@ export interface AutoSnapshotAddOnRequest {
361
376
  */
362
377
  snapshotTimeOfDay?: string;
363
378
  }
379
+ /**
380
+ * <p>Describes a request to create or edit the <code>StopInstanceOnIdle</code> add-on.</p>
381
+ * <important>
382
+ * <p>This add-on only applies to Lightsail for Research resources.</p>
383
+ * </important>
384
+ */
385
+ export interface StopInstanceOnIdleRequest {
386
+ /**
387
+ * <p>The value to compare with the duration.</p>
388
+ */
389
+ threshold?: string;
390
+ /**
391
+ * <p>The amount of idle time in minutes after which your virtual computer will automatically stop.</p>
392
+ */
393
+ duration?: string;
394
+ }
364
395
  /**
365
396
  * <p>Describes a request to enable, modify, or disable an add-on for an Amazon Lightsail
366
397
  * resource.</p>
@@ -380,6 +411,14 @@ export interface AddOnRequest {
380
411
  * snapshot add-on.</p>
381
412
  */
382
413
  autoSnapshotAddOnRequest?: AutoSnapshotAddOnRequest;
414
+ /**
415
+ * <p>An object that represents additional parameters when enabling or modifying the
416
+ * <code>StopInstanceOnIdle</code> add-on.</p>
417
+ * <important>
418
+ * <p>This object only applies to Lightsail for Research resources.</p>
419
+ * </important>
420
+ */
421
+ stopInstanceOnIdleRequest?: StopInstanceOnIdleRequest;
383
422
  }
384
423
  export declare enum ComparisonOperator {
385
424
  GreaterThanOrEqualToThreshold = "GreaterThanOrEqualToThreshold",
@@ -772,8 +811,10 @@ export declare enum OperationType {
772
811
  SendContactMethodVerification = "SendContactMethodVerification",
773
812
  SetIpAddressType = "SetIpAddressType",
774
813
  SetResourceAccessForBucket = "SetResourceAccessForBucket",
814
+ StartGUISession = "StartGUISession",
775
815
  StartInstance = "StartInstance",
776
816
  StartRelationalDatabase = "StartRelationalDatabase",
817
+ StopGUISession = "StopGUISession",
777
818
  StopInstance = "StopInstance",
778
819
  StopRelationalDatabase = "StopRelationalDatabase",
779
820
  TestAlarm = "TestAlarm",
@@ -933,6 +974,9 @@ export declare class UnauthenticatedException extends __BaseException {
933
974
  */
934
975
  constructor(opts: __ExceptionOptionType<UnauthenticatedException, __BaseException>);
935
976
  }
977
+ export declare enum AppCategory {
978
+ LfR = "LfR"
979
+ }
936
980
  export interface AttachCertificateToDistributionRequest {
937
981
  /**
938
982
  * <p>The name of the distribution that the certificate will be attached to.</p>
@@ -976,6 +1020,14 @@ export interface AttachDiskRequest {
976
1020
  * <p>The disk path to expose to the instance (e.g., <code>/dev/xvdf</code>).</p>
977
1021
  */
978
1022
  diskPath: string | undefined;
1023
+ /**
1024
+ * <p>A Boolean value used to determine the automatic mounting of a storage volume to a virtual
1025
+ * computer. The default value is <code>False</code>.</p>
1026
+ * <important>
1027
+ * <p>This value only applies to Lightsail for Research resources.</p>
1028
+ * </important>
1029
+ */
1030
+ autoMounting?: boolean;
979
1031
  }
980
1032
  export interface AttachDiskResult {
981
1033
  /**
@@ -1072,6 +1124,12 @@ export interface AttachStaticIpResult {
1072
1124
  */
1073
1125
  operations?: Operation[];
1074
1126
  }
1127
+ export declare enum AutoMountStatus {
1128
+ Failed = "Failed",
1129
+ Mounted = "Mounted",
1130
+ NotMounted = "NotMounted",
1131
+ Pending = "Pending"
1132
+ }
1075
1133
  export declare enum AutoSnapshotStatus {
1076
1134
  FAILED = "Failed",
1077
1135
  IN_PROGRESS = "InProgress",
@@ -1188,6 +1246,13 @@ export interface Blueprint {
1188
1246
  * blueprint.</p>
1189
1247
  */
1190
1248
  platform?: InstancePlatform | string;
1249
+ /**
1250
+ * <p>Virtual computer blueprints that are supported by Lightsail for Research.</p>
1251
+ * <important>
1252
+ * <p>This parameter only applies to Lightsail for Research resources.</p>
1253
+ * </important>
1254
+ */
1255
+ appCategory?: AppCategory | string;
1191
1256
  }
1192
1257
  /**
1193
1258
  * <p>Describes the access log configuration for a bucket in the Amazon Lightsail object storage
@@ -1461,6 +1526,13 @@ export interface Bundle {
1461
1526
  * <code>LINUX_UNIX</code> bundle.</p>
1462
1527
  */
1463
1528
  supportedPlatforms?: (InstancePlatform | string)[];
1529
+ /**
1530
+ * <p>Virtual computer blueprints that are supported by a Lightsail for Research bundle.</p>
1531
+ * <important>
1532
+ * <p>This parameter only applies to Lightsail for Research resources.</p>
1533
+ * </important>
1534
+ */
1535
+ supportedAppCategories?: (AppCategory | string)[];
1464
1536
  }
1465
1537
  /**
1466
1538
  * <p>Describes the default cache behavior of an Amazon Lightsail content delivery network (CDN)
@@ -3112,6 +3184,69 @@ export interface CopySnapshotResult {
3112
3184
  */
3113
3185
  operations?: Operation[];
3114
3186
  }
3187
+ export declare enum Currency {
3188
+ USD = "USD"
3189
+ }
3190
+ export declare enum PricingUnit {
3191
+ Bundles = "Bundles",
3192
+ GB = "GB",
3193
+ GBMo = "GB-Mo",
3194
+ Hrs = "Hrs",
3195
+ Queries = "Queries"
3196
+ }
3197
+ /**
3198
+ * <p>Sets the start date and end date for retrieving a cost estimate. The start date is inclusive, but the end date is exclusive. For example, if <code>start</code> is <code>2017-01-01</code> and <code>end</code> is <code>2017-05-01</code>, then the cost and usage data is retrieved from <code>2017-01-01</code> up to and including <code>2017-04-30</code> but not including <code>2017-05-01</code>.</p>
3199
+ */
3200
+ export interface TimePeriod {
3201
+ /**
3202
+ * <p>The beginning of the time period. The start date is inclusive. For example, if <code>start</code> is <code>2017-01-01</code>, Lightsail for Research retrieves cost and usage data starting at <code>2017-01-01</code> up to the end date. The start date must be equal to or no later than the current date to avoid a validation error.</p>
3203
+ */
3204
+ start?: Date;
3205
+ /**
3206
+ * <p>The end of the time period. The end date is exclusive. For example, if <code>end</code> is <code>2017-05-01</code>, Lightsail for Research retrieves cost and usage data from the start date up to, but not including, <code>2017-05-01</code>.</p>
3207
+ */
3208
+ end?: Date;
3209
+ }
3210
+ /**
3211
+ * <p>An estimate that's associated with a time period. </p>
3212
+ */
3213
+ export interface EstimateByTime {
3214
+ /**
3215
+ * <p>The amount of cost or usage that's measured for the cost estimate.</p>
3216
+ */
3217
+ usageCost?: number;
3218
+ /**
3219
+ * <p>The unit of measurement that's used for the cost estimate.</p>
3220
+ */
3221
+ pricingUnit?: PricingUnit | string;
3222
+ /**
3223
+ * <p>The number of pricing units used to calculate the total number of hours. For example, 1
3224
+ * unit equals 1 hour.</p>
3225
+ */
3226
+ unit?: number;
3227
+ /**
3228
+ * <p>The currency of the estimate in USD.</p>
3229
+ */
3230
+ currency?: Currency | string;
3231
+ /**
3232
+ * <p>The period of time, in days, that an estimate covers. The period has a start date and an end date. The start date must come before the end date.</p>
3233
+ */
3234
+ timePeriod?: TimePeriod;
3235
+ }
3236
+ /**
3237
+ * <p>Describes the estimated cost for resources in your Lightsail for Research account.</p>
3238
+ */
3239
+ export interface CostEstimate {
3240
+ /**
3241
+ * <p>The types of usage that are included in the estimate, such as costs, usage, or data
3242
+ * transfer.</p>
3243
+ */
3244
+ usageType?: string;
3245
+ /**
3246
+ * <p>The cost estimate result that's associated with a time period.</p>
3247
+ */
3248
+ resultsByTime?: EstimateByTime[];
3249
+ }
3115
3250
  export interface CreateBucketRequest {
3116
3251
  /**
3117
3252
  * <p>The name for the bucket.</p>
@@ -3996,6 +4131,65 @@ export interface CreateDomainEntryResult {
3996
4131
  */
3997
4132
  operation?: Operation;
3998
4133
  }
4134
+ export interface CreateGUISessionAccessDetailsRequest {
4135
+ /**
4136
+ * <p>The resource name.</p>
4137
+ */
4138
+ resourceName: string | undefined;
4139
+ }
4140
+ /**
4141
+ * <p>Describes a web-based, remote graphical user interface (GUI), NICE DCV session. The session is used to access a virtual
4142
+ * computer’s operating system or application.</p>
4143
+ */
4144
+ export interface Session {
4145
+ /**
4146
+ * <p>The session name.</p>
4147
+ */
4148
+ name?: string;
4149
+ /**
4150
+ * <p>The session URL.</p>
4151
+ */
4152
+ url?: string;
4153
+ /**
4154
+ * <p>When true, this Boolean value indicates the primary session for the specified
4155
+ * resource.</p>
4156
+ */
4157
+ isPrimary?: boolean;
4158
+ }
4159
+ export declare enum Status {
4160
+ FailedInstanceCreation = "failedInstanceCreation",
4161
+ FailedStartingGUISession = "failedStartingGUISession",
4162
+ FailedStoppingGUISession = "failedStoppingGUISession",
4163
+ NotStarted = "notStarted",
4164
+ SettingUpInstance = "settingUpInstance",
4165
+ StartExpired = "startExpired",
4166
+ Started = "started",
4167
+ Starting = "starting",
4168
+ Stopped = "stopped",
4169
+ Stopping = "stopping"
4170
+ }
4171
+ export interface CreateGUISessionAccessDetailsResult {
4172
+ /**
4173
+ * <p>The resource name.</p>
4174
+ */
4175
+ resourceName?: string;
4176
+ /**
4177
+ * <p>The status of the operation.</p>
4178
+ */
4179
+ status?: Status | string;
4180
+ /**
4181
+ * <p>The percentage of completion for the operation.</p>
4182
+ */
4183
+ percentageComplete?: number;
4184
+ /**
4185
+ * <p>The reason the operation failed.</p>
4186
+ */
4187
+ failureReason?: string;
4188
+ /**
4189
+ * <p>Returns information about the specified NICE DCV GUI session.</p>
4190
+ */
4191
+ sessions?: Session[];
4192
+ }
3999
4193
  export interface CreateInstancesRequest {
4000
4194
  /**
4001
4195
  * <p>The names to use for your new Lightsail instances. Separate multiple values using
@@ -5295,6 +5489,13 @@ export interface Disk {
5295
5489
  * </note>
5296
5490
  */
5297
5491
  gbInUse?: number;
5492
+ /**
5493
+ * <p>The status of automatically mounting a storage disk to a virtual computer.</p>
5494
+ * <important>
5495
+ * <p>This parameter only applies to Lightsail for Research resources.</p>
5496
+ * </important>
5497
+ */
5498
+ autoMountStatus?: AutoMountStatus | string;
5298
5499
  }
5299
5500
  /**
5300
5501
  * <p>Describes a disk.</p>
@@ -5837,6 +6038,13 @@ export interface GetBlueprintsRequest {
5837
6038
  * page token in a subsequent request.</p>
5838
6039
  */
5839
6040
  pageToken?: string;
6041
+ /**
6042
+ * <p>Returns a list of blueprints that are specific to Lightsail for Research.</p>
6043
+ * <important>
6044
+ * <p>You must use this parameter to view Lightsail for Research blueprints.</p>
6045
+ * </important>
6046
+ */
6047
+ appCategory?: AppCategory | string;
5840
6048
  }
5841
6049
  export interface GetBlueprintsResult {
5842
6050
  /**
@@ -6069,6 +6277,13 @@ export interface GetBundlesRequest {
6069
6277
  * token in a subsequent request.</p>
6070
6278
  */
6071
6279
  pageToken?: string;
6280
+ /**
6281
+ * <p>Returns a list of bundles that are specific to Lightsail for Research.</p>
6282
+ * <important>
6283
+ * <p>You must use this parameter to view Lightsail for Research bundles.</p>
6284
+ * </important>
6285
+ */
6286
+ appCategory?: AppCategory | string;
6072
6287
  }
6073
6288
  export interface GetBundlesResult {
6074
6289
  /**
@@ -6382,104 +6597,6 @@ export interface GetContainerServicesRequest {
6382
6597
  */
6383
6598
  serviceName?: string;
6384
6599
  }
6385
- export interface GetDiskRequest {
6386
- /**
6387
- * <p>The name of the disk (e.g., <code>my-disk</code>).</p>
6388
- */
6389
- diskName: string | undefined;
6390
- }
6391
- export interface GetDiskResult {
6392
- /**
6393
- * <p>An object containing information about the disk.</p>
6394
- */
6395
- disk?: Disk;
6396
- }
6397
- export interface GetDisksRequest {
6398
- /**
6399
- * <p>The token to advance to the next page of results from your request.</p>
6400
- * <p>To get a page token, perform an initial <code>GetDisks</code> request. If your results are
6401
- * paginated, the response will return a next page token that you can specify as the page token
6402
- * in a subsequent request.</p>
6403
- */
6404
- pageToken?: string;
6405
- }
6406
- export interface GetDisksResult {
6407
- /**
6408
- * <p>An array of objects containing information about all block storage disks.</p>
6409
- */
6410
- disks?: Disk[];
6411
- /**
6412
- * <p>The token to advance to the next page of results from your request.</p>
6413
- * <p>A next page token is not returned if there are no more results to display.</p>
6414
- * <p>To get the next page of results, perform another <code>GetDisks</code> request and specify
6415
- * the next page token using the <code>pageToken</code> parameter.</p>
6416
- */
6417
- nextPageToken?: string;
6418
- }
6419
- export interface GetDiskSnapshotRequest {
6420
- /**
6421
- * <p>The name of the disk snapshot (e.g., <code>my-disk-snapshot</code>).</p>
6422
- */
6423
- diskSnapshotName: string | undefined;
6424
- }
6425
- export interface GetDiskSnapshotResult {
6426
- /**
6427
- * <p>An object containing information about the disk snapshot.</p>
6428
- */
6429
- diskSnapshot?: DiskSnapshot;
6430
- }
6431
- export interface GetDiskSnapshotsRequest {
6432
- /**
6433
- * <p>The token to advance to the next page of results from your request.</p>
6434
- * <p>To get a page token, perform an initial <code>GetDiskSnapshots</code> request. If your
6435
- * results are paginated, the response will return a next page token that you can specify as the
6436
- * page token in a subsequent request.</p>
6437
- */
6438
- pageToken?: string;
6439
- }
6440
- export interface GetDiskSnapshotsResult {
6441
- /**
6442
- * <p>An array of objects containing information about all block storage disk snapshots.</p>
6443
- */
6444
- diskSnapshots?: DiskSnapshot[];
6445
- /**
6446
- * <p>The token to advance to the next page of results from your request.</p>
6447
- * <p>A next page token is not returned if there are no more results to display.</p>
6448
- * <p>To get the next page of results, perform another <code>GetDiskSnapshots</code> request and
6449
- * specify the next page token using the <code>pageToken</code> parameter.</p>
6450
- */
6451
- nextPageToken?: string;
6452
- }
6453
- export interface GetDistributionBundlesRequest {
6454
- }
6455
- export interface GetDistributionBundlesResult {
6456
- /**
6457
- * <p>An object that describes a distribution bundle.</p>
6458
- */
6459
- bundles?: DistributionBundle[];
6460
- }
6461
- export interface GetDistributionLatestCacheResetRequest {
6462
- /**
6463
- * <p>The name of the distribution for which to return the timestamp of the last cache
6464
- * reset.</p>
6465
- * <p>Use the <code>GetDistributions</code> action to get a list of distribution names that you
6466
- * can specify.</p>
6467
- * <p>When omitted, the response includes the latest cache reset timestamp of all your
6468
- * distributions.</p>
6469
- */
6470
- distributionName?: string;
6471
- }
6472
- export interface GetDistributionLatestCacheResetResult {
6473
- /**
6474
- * <p>The status of the last cache reset.</p>
6475
- */
6476
- status?: string;
6477
- /**
6478
- * <p>The timestamp of the last cache reset (e.g., <code>1479734909.17</code>) in Unix time
6479
- * format.</p>
6480
- */
6481
- createTime?: Date;
6482
- }
6483
6600
  /**
6484
6601
  * @internal
6485
6602
  */
@@ -6508,6 +6625,10 @@ export declare const AddOnFilterSensitiveLog: (obj: AddOn) => any;
6508
6625
  * @internal
6509
6626
  */
6510
6627
  export declare const AutoSnapshotAddOnRequestFilterSensitiveLog: (obj: AutoSnapshotAddOnRequest) => any;
6628
+ /**
6629
+ * @internal
6630
+ */
6631
+ export declare const StopInstanceOnIdleRequestFilterSensitiveLog: (obj: StopInstanceOnIdleRequest) => any;
6511
6632
  /**
6512
6633
  * @internal
6513
6634
  */
@@ -6768,6 +6889,18 @@ export declare const CopySnapshotRequestFilterSensitiveLog: (obj: CopySnapshotRe
6768
6889
  * @internal
6769
6890
  */
6770
6891
  export declare const CopySnapshotResultFilterSensitiveLog: (obj: CopySnapshotResult) => any;
6892
+ /**
6893
+ * @internal
6894
+ */
6895
+ export declare const TimePeriodFilterSensitiveLog: (obj: TimePeriod) => any;
6896
+ /**
6897
+ * @internal
6898
+ */
6899
+ export declare const EstimateByTimeFilterSensitiveLog: (obj: EstimateByTime) => any;
6900
+ /**
6901
+ * @internal
6902
+ */
6903
+ export declare const CostEstimateFilterSensitiveLog: (obj: CostEstimate) => any;
6771
6904
  /**
6772
6905
  * @internal
6773
6906
  */
@@ -6904,6 +7037,18 @@ export declare const CreateDomainEntryRequestFilterSensitiveLog: (obj: CreateDom
6904
7037
  * @internal
6905
7038
  */
6906
7039
  export declare const CreateDomainEntryResultFilterSensitiveLog: (obj: CreateDomainEntryResult) => any;
7040
+ /**
7041
+ * @internal
7042
+ */
7043
+ export declare const CreateGUISessionAccessDetailsRequestFilterSensitiveLog: (obj: CreateGUISessionAccessDetailsRequest) => any;
7044
+ /**
7045
+ * @internal
7046
+ */
7047
+ export declare const SessionFilterSensitiveLog: (obj: Session) => any;
7048
+ /**
7049
+ * @internal
7050
+ */
7051
+ export declare const CreateGUISessionAccessDetailsResultFilterSensitiveLog: (obj: CreateGUISessionAccessDetailsResult) => any;
6907
7052
  /**
6908
7053
  * @internal
6909
7054
  */
@@ -7412,51 +7557,3 @@ export declare const GetContainerServicePowersResultFilterSensitiveLog: (obj: Ge
7412
7557
  * @internal
7413
7558
  */
7414
7559
  export declare const GetContainerServicesRequestFilterSensitiveLog: (obj: GetContainerServicesRequest) => any;
7415
- /**
7416
- * @internal
7417
- */
7418
- export declare const GetDiskRequestFilterSensitiveLog: (obj: GetDiskRequest) => any;
7419
- /**
7420
- * @internal
7421
- */
7422
- export declare const GetDiskResultFilterSensitiveLog: (obj: GetDiskResult) => any;
7423
- /**
7424
- * @internal
7425
- */
7426
- export declare const GetDisksRequestFilterSensitiveLog: (obj: GetDisksRequest) => any;
7427
- /**
7428
- * @internal
7429
- */
7430
- export declare const GetDisksResultFilterSensitiveLog: (obj: GetDisksResult) => any;
7431
- /**
7432
- * @internal
7433
- */
7434
- export declare const GetDiskSnapshotRequestFilterSensitiveLog: (obj: GetDiskSnapshotRequest) => any;
7435
- /**
7436
- * @internal
7437
- */
7438
- export declare const GetDiskSnapshotResultFilterSensitiveLog: (obj: GetDiskSnapshotResult) => any;
7439
- /**
7440
- * @internal
7441
- */
7442
- export declare const GetDiskSnapshotsRequestFilterSensitiveLog: (obj: GetDiskSnapshotsRequest) => any;
7443
- /**
7444
- * @internal
7445
- */
7446
- export declare const GetDiskSnapshotsResultFilterSensitiveLog: (obj: GetDiskSnapshotsResult) => any;
7447
- /**
7448
- * @internal
7449
- */
7450
- export declare const GetDistributionBundlesRequestFilterSensitiveLog: (obj: GetDistributionBundlesRequest) => any;
7451
- /**
7452
- * @internal
7453
- */
7454
- export declare const GetDistributionBundlesResultFilterSensitiveLog: (obj: GetDistributionBundlesResult) => any;
7455
- /**
7456
- * @internal
7457
- */
7458
- export declare const GetDistributionLatestCacheResetRequestFilterSensitiveLog: (obj: GetDistributionLatestCacheResetRequest) => any;
7459
- /**
7460
- * @internal
7461
- */
7462
- export declare const GetDistributionLatestCacheResetResultFilterSensitiveLog: (obj: GetDistributionLatestCacheResetResult) => any;