@aws-sdk/client-lightsail 3.325.0 → 3.327.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 (160) hide show
  1. package/dist-types/commands/AllocateStaticIpCommand.d.ts +24 -0
  2. package/dist-types/commands/AttachCertificateToDistributionCommand.d.ts +22 -0
  3. package/dist-types/commands/AttachDiskCommand.d.ts +24 -0
  4. package/dist-types/commands/AttachInstancesToLoadBalancerCommand.d.ts +24 -0
  5. package/dist-types/commands/AttachLoadBalancerTlsCertificateCommand.d.ts +24 -0
  6. package/dist-types/commands/AttachStaticIpCommand.d.ts +24 -0
  7. package/dist-types/commands/CloseInstancePublicPortsCommand.d.ts +22 -0
  8. package/dist-types/commands/CopySnapshotCommand.d.ts +24 -0
  9. package/dist-types/commands/CreateBucketAccessKeyCommand.d.ts +35 -0
  10. package/dist-types/commands/CreateBucketCommand.d.ts +67 -0
  11. package/dist-types/commands/CreateCertificateCommand.d.ts +98 -0
  12. package/dist-types/commands/CreateCloudFormationStackCommand.d.ts +24 -0
  13. package/dist-types/commands/CreateContactMethodCommand.d.ts +24 -0
  14. package/dist-types/commands/CreateContainerServiceCommand.d.ts +106 -0
  15. package/dist-types/commands/CreateContainerServiceDeploymentCommand.d.ts +106 -0
  16. package/dist-types/commands/CreateContainerServiceRegistryLoginCommand.d.ts +11 -0
  17. package/dist-types/commands/CreateDiskCommand.d.ts +24 -0
  18. package/dist-types/commands/CreateDiskFromSnapshotCommand.d.ts +24 -0
  19. package/dist-types/commands/CreateDiskSnapshotCommand.d.ts +24 -0
  20. package/dist-types/commands/CreateDistributionCommand.d.ts +90 -0
  21. package/dist-types/commands/CreateDomainCommand.d.ts +22 -0
  22. package/dist-types/commands/CreateDomainEntryCommand.d.ts +22 -0
  23. package/dist-types/commands/CreateGUISessionAccessDetailsCommand.d.ts +16 -0
  24. package/dist-types/commands/CreateInstanceSnapshotCommand.d.ts +24 -0
  25. package/dist-types/commands/CreateInstancesCommand.d.ts +24 -0
  26. package/dist-types/commands/CreateInstancesFromSnapshotCommand.d.ts +24 -0
  27. package/dist-types/commands/CreateKeyPairCommand.d.ts +42 -0
  28. package/dist-types/commands/CreateLoadBalancerCommand.d.ts +24 -0
  29. package/dist-types/commands/CreateLoadBalancerTlsCertificateCommand.d.ts +24 -0
  30. package/dist-types/commands/CreateRelationalDatabaseCommand.d.ts +24 -0
  31. package/dist-types/commands/CreateRelationalDatabaseFromSnapshotCommand.d.ts +24 -0
  32. package/dist-types/commands/CreateRelationalDatabaseSnapshotCommand.d.ts +24 -0
  33. package/dist-types/commands/DeleteAlarmCommand.d.ts +24 -0
  34. package/dist-types/commands/DeleteAutoSnapshotCommand.d.ts +24 -0
  35. package/dist-types/commands/DeleteBucketAccessKeyCommand.d.ts +24 -0
  36. package/dist-types/commands/DeleteBucketCommand.d.ts +24 -0
  37. package/dist-types/commands/DeleteCertificateCommand.d.ts +24 -0
  38. package/dist-types/commands/DeleteContactMethodCommand.d.ts +24 -0
  39. package/dist-types/commands/DeleteContainerImageCommand.d.ts +4 -0
  40. package/dist-types/commands/DeleteContainerServiceCommand.d.ts +4 -0
  41. package/dist-types/commands/DeleteDiskCommand.d.ts +24 -0
  42. package/dist-types/commands/DeleteDiskSnapshotCommand.d.ts +24 -0
  43. package/dist-types/commands/DeleteDistributionCommand.d.ts +22 -0
  44. package/dist-types/commands/DeleteDomainCommand.d.ts +22 -0
  45. package/dist-types/commands/DeleteDomainEntryCommand.d.ts +22 -0
  46. package/dist-types/commands/DeleteInstanceCommand.d.ts +24 -0
  47. package/dist-types/commands/DeleteInstanceSnapshotCommand.d.ts +24 -0
  48. package/dist-types/commands/DeleteKeyPairCommand.d.ts +22 -0
  49. package/dist-types/commands/DeleteKnownHostKeysCommand.d.ts +24 -0
  50. package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +24 -0
  51. package/dist-types/commands/DeleteLoadBalancerTlsCertificateCommand.d.ts +24 -0
  52. package/dist-types/commands/DeleteRelationalDatabaseCommand.d.ts +24 -0
  53. package/dist-types/commands/DeleteRelationalDatabaseSnapshotCommand.d.ts +24 -0
  54. package/dist-types/commands/DetachCertificateFromDistributionCommand.d.ts +22 -0
  55. package/dist-types/commands/DetachDiskCommand.d.ts +24 -0
  56. package/dist-types/commands/DetachInstancesFromLoadBalancerCommand.d.ts +24 -0
  57. package/dist-types/commands/DetachStaticIpCommand.d.ts +24 -0
  58. package/dist-types/commands/DisableAddOnCommand.d.ts +24 -0
  59. package/dist-types/commands/DownloadDefaultKeyPairCommand.d.ts +8 -0
  60. package/dist-types/commands/EnableAddOnCommand.d.ts +24 -0
  61. package/dist-types/commands/ExportSnapshotCommand.d.ts +24 -0
  62. package/dist-types/commands/GetActiveNamesCommand.d.ts +9 -0
  63. package/dist-types/commands/GetAlarmsCommand.d.ts +41 -0
  64. package/dist-types/commands/GetAutoSnapshotsCommand.d.ts +20 -0
  65. package/dist-types/commands/GetBlueprintsCommand.d.ts +23 -0
  66. package/dist-types/commands/GetBucketAccessKeysCommand.d.ts +18 -0
  67. package/dist-types/commands/GetBucketBundlesCommand.d.ts +15 -0
  68. package/dist-types/commands/GetBucketMetricDataCommand.d.ts +17 -0
  69. package/dist-types/commands/GetBucketsCommand.d.ts +57 -0
  70. package/dist-types/commands/GetBundlesCommand.d.ts +26 -0
  71. package/dist-types/commands/GetCertificatesCommand.d.ts +81 -0
  72. package/dist-types/commands/GetCloudFormationStackRecordsCommand.d.ts +30 -0
  73. package/dist-types/commands/GetContactMethodsCommand.d.ts +21 -0
  74. package/dist-types/commands/GetContainerAPIMetadataCommand.d.ts +10 -0
  75. package/dist-types/commands/GetContainerImagesCommand.d.ts +12 -0
  76. package/dist-types/commands/GetContainerLogCommand.d.ts +12 -0
  77. package/dist-types/commands/GetContainerServiceDeploymentsCommand.d.ts +38 -0
  78. package/dist-types/commands/GetContainerServiceMetricDataCommand.d.ts +17 -0
  79. package/dist-types/commands/GetContainerServicePowersCommand.d.ts +15 -0
  80. package/dist-types/commands/GetContainerServicesCommand.d.ts +108 -0
  81. package/dist-types/commands/GetCostEstimateCommand.d.ts +30 -0
  82. package/dist-types/commands/GetDiskCommand.d.ts +42 -0
  83. package/dist-types/commands/GetDiskSnapshotCommand.d.ts +30 -0
  84. package/dist-types/commands/GetDiskSnapshotsCommand.d.ts +33 -0
  85. package/dist-types/commands/GetDisksCommand.d.ts +45 -0
  86. package/dist-types/commands/GetDistributionBundlesCommand.d.ts +14 -0
  87. package/dist-types/commands/GetDistributionLatestCacheResetCommand.d.ts +7 -0
  88. package/dist-types/commands/GetDistributionMetricDataCommand.d.ts +17 -0
  89. package/dist-types/commands/GetDistributionsCommand.d.ts +76 -0
  90. package/dist-types/commands/GetDomainCommand.d.ts +44 -0
  91. package/dist-types/commands/GetDomainsCommand.d.ts +47 -0
  92. package/dist-types/commands/GetExportSnapshotRecordsCommand.d.ts +46 -0
  93. package/dist-types/commands/GetInstanceAccessDetailsCommand.d.ts +30 -0
  94. package/dist-types/commands/GetInstanceCommand.d.ts +123 -0
  95. package/dist-types/commands/GetInstanceMetricDataCommand.d.ts +17 -0
  96. package/dist-types/commands/GetInstancePortStatesCommand.d.ts +22 -0
  97. package/dist-types/commands/GetInstanceSnapshotCommand.d.ts +69 -0
  98. package/dist-types/commands/GetInstanceSnapshotsCommand.d.ts +72 -0
  99. package/dist-types/commands/GetInstanceStateCommand.d.ts +9 -0
  100. package/dist-types/commands/GetInstancesCommand.d.ts +126 -0
  101. package/dist-types/commands/GetKeyPairCommand.d.ts +23 -0
  102. package/dist-types/commands/GetKeyPairsCommand.d.ts +26 -0
  103. package/dist-types/commands/GetLoadBalancerCommand.d.ts +49 -0
  104. package/dist-types/commands/GetLoadBalancerMetricDataCommand.d.ts +17 -0
  105. package/dist-types/commands/GetLoadBalancerTlsCertificatesCommand.d.ts +64 -0
  106. package/dist-types/commands/GetLoadBalancerTlsPoliciesCommand.d.ts +19 -0
  107. package/dist-types/commands/GetLoadBalancersCommand.d.ts +52 -0
  108. package/dist-types/commands/GetOperationCommand.d.ts +22 -0
  109. package/dist-types/commands/GetOperationsCommand.d.ts +25 -0
  110. package/dist-types/commands/GetOperationsForResourceCommand.d.ts +26 -0
  111. package/dist-types/commands/GetRegionsCommand.d.ts +25 -0
  112. package/dist-types/commands/GetRelationalDatabaseBlueprintsCommand.d.ts +16 -0
  113. package/dist-types/commands/GetRelationalDatabaseBundlesCommand.d.ts +19 -0
  114. package/dist-types/commands/GetRelationalDatabaseCommand.d.ts +58 -0
  115. package/dist-types/commands/GetRelationalDatabaseEventsCommand.d.ts +16 -0
  116. package/dist-types/commands/GetRelationalDatabaseLogEventsCommand.d.ts +13 -0
  117. package/dist-types/commands/GetRelationalDatabaseLogStreamsCommand.d.ts +8 -0
  118. package/dist-types/commands/GetRelationalDatabaseMasterUserPasswordCommand.d.ts +7 -0
  119. package/dist-types/commands/GetRelationalDatabaseMetricDataCommand.d.ts +17 -0
  120. package/dist-types/commands/GetRelationalDatabaseParametersCommand.d.ts +18 -0
  121. package/dist-types/commands/GetRelationalDatabaseSnapshotCommand.d.ts +30 -0
  122. package/dist-types/commands/GetRelationalDatabaseSnapshotsCommand.d.ts +33 -0
  123. package/dist-types/commands/GetRelationalDatabasesCommand.d.ts +61 -0
  124. package/dist-types/commands/GetStaticIpCommand.d.ts +19 -0
  125. package/dist-types/commands/GetStaticIpsCommand.d.ts +22 -0
  126. package/dist-types/commands/ImportKeyPairCommand.d.ts +22 -0
  127. package/dist-types/commands/IsVpcPeeredCommand.d.ts +6 -0
  128. package/dist-types/commands/OpenInstancePublicPortsCommand.d.ts +22 -0
  129. package/dist-types/commands/PeerVpcCommand.d.ts +22 -0
  130. package/dist-types/commands/PutAlarmCommand.d.ts +24 -0
  131. package/dist-types/commands/PutInstancePublicPortsCommand.d.ts +22 -0
  132. package/dist-types/commands/RebootInstanceCommand.d.ts +24 -0
  133. package/dist-types/commands/RebootRelationalDatabaseCommand.d.ts +24 -0
  134. package/dist-types/commands/RegisterContainerImageCommand.d.ts +10 -0
  135. package/dist-types/commands/ReleaseStaticIpCommand.d.ts +24 -0
  136. package/dist-types/commands/ResetDistributionCacheCommand.d.ts +24 -0
  137. package/dist-types/commands/SendContactMethodVerificationCommand.d.ts +24 -0
  138. package/dist-types/commands/SetIpAddressTypeCommand.d.ts +24 -0
  139. package/dist-types/commands/SetResourceAccessForBucketCommand.d.ts +24 -0
  140. package/dist-types/commands/StartGUISessionCommand.d.ts +24 -0
  141. package/dist-types/commands/StartInstanceCommand.d.ts +24 -0
  142. package/dist-types/commands/StartRelationalDatabaseCommand.d.ts +24 -0
  143. package/dist-types/commands/StopGUISessionCommand.d.ts +24 -0
  144. package/dist-types/commands/StopInstanceCommand.d.ts +24 -0
  145. package/dist-types/commands/StopRelationalDatabaseCommand.d.ts +24 -0
  146. package/dist-types/commands/TagResourceCommand.d.ts +24 -0
  147. package/dist-types/commands/TestAlarmCommand.d.ts +24 -0
  148. package/dist-types/commands/UnpeerVpcCommand.d.ts +22 -0
  149. package/dist-types/commands/UntagResourceCommand.d.ts +24 -0
  150. package/dist-types/commands/UpdateBucketBundleCommand.d.ts +24 -0
  151. package/dist-types/commands/UpdateBucketCommand.d.ts +67 -0
  152. package/dist-types/commands/UpdateContainerServiceCommand.d.ts +106 -0
  153. package/dist-types/commands/UpdateDistributionBundleCommand.d.ts +22 -0
  154. package/dist-types/commands/UpdateDistributionCommand.d.ts +22 -0
  155. package/dist-types/commands/UpdateDomainEntryCommand.d.ts +24 -0
  156. package/dist-types/commands/UpdateInstanceMetadataOptionsCommand.d.ts +22 -0
  157. package/dist-types/commands/UpdateLoadBalancerAttributeCommand.d.ts +24 -0
  158. package/dist-types/commands/UpdateRelationalDatabaseCommand.d.ts +24 -0
  159. package/dist-types/commands/UpdateRelationalDatabaseParametersCommand.d.ts +24 -0
  160. package/package.json +7 -7
@@ -31,6 +31,48 @@ export interface GetDomainCommandOutput extends GetDomainResult, __MetadataBeare
31
31
  * };
32
32
  * const command = new GetDomainCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetDomainResult
35
+ * // domain: { // Domain
36
+ * // name: "STRING_VALUE",
37
+ * // arn: "STRING_VALUE",
38
+ * // supportCode: "STRING_VALUE",
39
+ * // createdAt: new Date("TIMESTAMP"),
40
+ * // location: { // ResourceLocation
41
+ * // availabilityZone: "STRING_VALUE",
42
+ * // regionName: "us-east-1" || "us-east-2" || "us-west-1" || "us-west-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "eu-central-1" || "ca-central-1" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-northeast-1" || "ap-northeast-2" || "eu-north-1",
43
+ * // },
44
+ * // resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket",
45
+ * // tags: [ // TagList
46
+ * // { // Tag
47
+ * // key: "STRING_VALUE",
48
+ * // value: "STRING_VALUE",
49
+ * // },
50
+ * // ],
51
+ * // domainEntries: [ // DomainEntryList
52
+ * // { // DomainEntry
53
+ * // id: "STRING_VALUE",
54
+ * // name: "STRING_VALUE",
55
+ * // target: "STRING_VALUE",
56
+ * // isAlias: true || false,
57
+ * // type: "STRING_VALUE",
58
+ * // options: { // DomainEntryOptions
59
+ * // "<keys>": "STRING_VALUE",
60
+ * // },
61
+ * // },
62
+ * // ],
63
+ * // registeredDomainDelegationInfo: { // RegisteredDomainDelegationInfo
64
+ * // nameServersUpdateState: { // NameServersUpdateState
65
+ * // code: "SUCCEEDED" || "PENDING" || "FAILED" || "STARTED",
66
+ * // message: "STRING_VALUE",
67
+ * // },
68
+ * // r53HostedZoneDeletionState: { // R53HostedZoneDeletionState
69
+ * // code: "SUCCEEDED" || "PENDING" || "FAILED" || "STARTED",
70
+ * // message: "STRING_VALUE",
71
+ * // },
72
+ * // },
73
+ * // },
74
+ * // };
75
+ *
34
76
  * ```
35
77
  *
36
78
  * @param GetDomainCommandInput - {@link GetDomainCommandInput}
@@ -69,6 +111,8 @@ export interface GetDomainCommandOutput extends GetDomainResult, __MetadataBeare
69
111
  * @throws {@link UnauthenticatedException} (client fault)
70
112
  * <p>Lightsail throws this exception when the user has not been authenticated.</p>
71
113
  *
114
+ * @throws {@link LightsailServiceException}
115
+ * <p>Base exception class for all service exceptions from Lightsail service.</p>
72
116
  *
73
117
  */
74
118
  export declare class GetDomainCommand extends $Command<GetDomainCommandInput, GetDomainCommandOutput, LightsailClientResolvedConfig> {
@@ -31,6 +31,51 @@ export interface GetDomainsCommandOutput extends GetDomainsResult, __MetadataBea
31
31
  * };
32
32
  * const command = new GetDomainsCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetDomainsResult
35
+ * // domains: [ // DomainList
36
+ * // { // Domain
37
+ * // name: "STRING_VALUE",
38
+ * // arn: "STRING_VALUE",
39
+ * // supportCode: "STRING_VALUE",
40
+ * // createdAt: new Date("TIMESTAMP"),
41
+ * // location: { // ResourceLocation
42
+ * // availabilityZone: "STRING_VALUE",
43
+ * // regionName: "us-east-1" || "us-east-2" || "us-west-1" || "us-west-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "eu-central-1" || "ca-central-1" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-northeast-1" || "ap-northeast-2" || "eu-north-1",
44
+ * // },
45
+ * // resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket",
46
+ * // tags: [ // TagList
47
+ * // { // Tag
48
+ * // key: "STRING_VALUE",
49
+ * // value: "STRING_VALUE",
50
+ * // },
51
+ * // ],
52
+ * // domainEntries: [ // DomainEntryList
53
+ * // { // DomainEntry
54
+ * // id: "STRING_VALUE",
55
+ * // name: "STRING_VALUE",
56
+ * // target: "STRING_VALUE",
57
+ * // isAlias: true || false,
58
+ * // type: "STRING_VALUE",
59
+ * // options: { // DomainEntryOptions
60
+ * // "<keys>": "STRING_VALUE",
61
+ * // },
62
+ * // },
63
+ * // ],
64
+ * // registeredDomainDelegationInfo: { // RegisteredDomainDelegationInfo
65
+ * // nameServersUpdateState: { // NameServersUpdateState
66
+ * // code: "SUCCEEDED" || "PENDING" || "FAILED" || "STARTED",
67
+ * // message: "STRING_VALUE",
68
+ * // },
69
+ * // r53HostedZoneDeletionState: { // R53HostedZoneDeletionState
70
+ * // code: "SUCCEEDED" || "PENDING" || "FAILED" || "STARTED",
71
+ * // message: "STRING_VALUE",
72
+ * // },
73
+ * // },
74
+ * // },
75
+ * // ],
76
+ * // nextPageToken: "STRING_VALUE",
77
+ * // };
78
+ *
34
79
  * ```
35
80
  *
36
81
  * @param GetDomainsCommandInput - {@link GetDomainsCommandInput}
@@ -69,6 +114,8 @@ export interface GetDomainsCommandOutput extends GetDomainsResult, __MetadataBea
69
114
  * @throws {@link UnauthenticatedException} (client fault)
70
115
  * <p>Lightsail throws this exception when the user has not been authenticated.</p>
71
116
  *
117
+ * @throws {@link LightsailServiceException}
118
+ * <p>Base exception class for all service exceptions from Lightsail service.</p>
72
119
  *
73
120
  */
74
121
  export declare class GetDomainsCommand extends $Command<GetDomainsCommandInput, GetDomainsCommandOutput, LightsailClientResolvedConfig> {
@@ -35,6 +35,50 @@ export interface GetExportSnapshotRecordsCommandOutput extends GetExportSnapshot
35
35
  * };
36
36
  * const command = new GetExportSnapshotRecordsCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // GetExportSnapshotRecordsResult
39
+ * // exportSnapshotRecords: [ // ExportSnapshotRecordList
40
+ * // { // ExportSnapshotRecord
41
+ * // name: "STRING_VALUE",
42
+ * // arn: "STRING_VALUE",
43
+ * // createdAt: new Date("TIMESTAMP"),
44
+ * // location: { // ResourceLocation
45
+ * // availabilityZone: "STRING_VALUE",
46
+ * // regionName: "us-east-1" || "us-east-2" || "us-west-1" || "us-west-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "eu-central-1" || "ca-central-1" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-northeast-1" || "ap-northeast-2" || "eu-north-1",
47
+ * // },
48
+ * // resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket",
49
+ * // state: "Started" || "Succeeded" || "Failed",
50
+ * // sourceInfo: { // ExportSnapshotRecordSourceInfo
51
+ * // resourceType: "InstanceSnapshot" || "DiskSnapshot",
52
+ * // createdAt: new Date("TIMESTAMP"),
53
+ * // name: "STRING_VALUE",
54
+ * // arn: "STRING_VALUE",
55
+ * // fromResourceName: "STRING_VALUE",
56
+ * // fromResourceArn: "STRING_VALUE",
57
+ * // instanceSnapshotInfo: { // InstanceSnapshotInfo
58
+ * // fromBundleId: "STRING_VALUE",
59
+ * // fromBlueprintId: "STRING_VALUE",
60
+ * // fromDiskInfo: [ // DiskInfoList
61
+ * // { // DiskInfo
62
+ * // name: "STRING_VALUE",
63
+ * // path: "STRING_VALUE",
64
+ * // sizeInGb: Number("int"),
65
+ * // isSystemDisk: true || false,
66
+ * // },
67
+ * // ],
68
+ * // },
69
+ * // diskSnapshotInfo: { // DiskSnapshotInfo
70
+ * // sizeInGb: Number("int"),
71
+ * // },
72
+ * // },
73
+ * // destinationInfo: { // DestinationInfo
74
+ * // id: "STRING_VALUE",
75
+ * // service: "STRING_VALUE",
76
+ * // },
77
+ * // },
78
+ * // ],
79
+ * // nextPageToken: "STRING_VALUE",
80
+ * // };
81
+ *
38
82
  * ```
39
83
  *
40
84
  * @param GetExportSnapshotRecordsCommandInput - {@link GetExportSnapshotRecordsCommandInput}
@@ -73,6 +117,8 @@ export interface GetExportSnapshotRecordsCommandOutput extends GetExportSnapshot
73
117
  * @throws {@link UnauthenticatedException} (client fault)
74
118
  * <p>Lightsail throws this exception when the user has not been authenticated.</p>
75
119
  *
120
+ * @throws {@link LightsailServiceException}
121
+ * <p>Base exception class for all service exceptions from Lightsail service.</p>
76
122
  *
77
123
  */
78
124
  export declare class GetExportSnapshotRecordsCommand extends $Command<GetExportSnapshotRecordsCommandInput, GetExportSnapshotRecordsCommandOutput, LightsailClientResolvedConfig> {
@@ -36,6 +36,34 @@ export interface GetInstanceAccessDetailsCommandOutput extends GetInstanceAccess
36
36
  * };
37
37
  * const command = new GetInstanceAccessDetailsCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // GetInstanceAccessDetailsResult
40
+ * // accessDetails: { // InstanceAccessDetails
41
+ * // certKey: "STRING_VALUE",
42
+ * // expiresAt: new Date("TIMESTAMP"),
43
+ * // ipAddress: "STRING_VALUE",
44
+ * // password: "STRING_VALUE",
45
+ * // passwordData: { // PasswordData
46
+ * // ciphertext: "STRING_VALUE",
47
+ * // keyPairName: "STRING_VALUE",
48
+ * // },
49
+ * // privateKey: "STRING_VALUE",
50
+ * // protocol: "ssh" || "rdp",
51
+ * // instanceName: "STRING_VALUE",
52
+ * // username: "STRING_VALUE",
53
+ * // hostKeys: [ // HostKeysList
54
+ * // { // HostKeyAttributes
55
+ * // algorithm: "STRING_VALUE",
56
+ * // publicKey: "STRING_VALUE",
57
+ * // witnessedAt: new Date("TIMESTAMP"),
58
+ * // fingerprintSHA1: "STRING_VALUE",
59
+ * // fingerprintSHA256: "STRING_VALUE",
60
+ * // notValidBefore: new Date("TIMESTAMP"),
61
+ * // notValidAfter: new Date("TIMESTAMP"),
62
+ * // },
63
+ * // ],
64
+ * // },
65
+ * // };
66
+ *
39
67
  * ```
40
68
  *
41
69
  * @param GetInstanceAccessDetailsCommandInput - {@link GetInstanceAccessDetailsCommandInput}
@@ -74,6 +102,8 @@ export interface GetInstanceAccessDetailsCommandOutput extends GetInstanceAccess
74
102
  * @throws {@link UnauthenticatedException} (client fault)
75
103
  * <p>Lightsail throws this exception when the user has not been authenticated.</p>
76
104
  *
105
+ * @throws {@link LightsailServiceException}
106
+ * <p>Base exception class for all service exceptions from Lightsail service.</p>
77
107
  *
78
108
  */
79
109
  export declare class GetInstanceAccessDetailsCommand extends $Command<GetInstanceAccessDetailsCommandInput, GetInstanceAccessDetailsCommandOutput, LightsailClientResolvedConfig> {
@@ -32,6 +32,127 @@ export interface GetInstanceCommandOutput extends GetInstanceResult, __MetadataB
32
32
  * };
33
33
  * const command = new GetInstanceCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetInstanceResult
36
+ * // instance: { // Instance
37
+ * // name: "STRING_VALUE",
38
+ * // arn: "STRING_VALUE",
39
+ * // supportCode: "STRING_VALUE",
40
+ * // createdAt: new Date("TIMESTAMP"),
41
+ * // location: { // ResourceLocation
42
+ * // availabilityZone: "STRING_VALUE",
43
+ * // regionName: "us-east-1" || "us-east-2" || "us-west-1" || "us-west-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "eu-central-1" || "ca-central-1" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-northeast-1" || "ap-northeast-2" || "eu-north-1",
44
+ * // },
45
+ * // resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket",
46
+ * // tags: [ // TagList
47
+ * // { // Tag
48
+ * // key: "STRING_VALUE",
49
+ * // value: "STRING_VALUE",
50
+ * // },
51
+ * // ],
52
+ * // blueprintId: "STRING_VALUE",
53
+ * // blueprintName: "STRING_VALUE",
54
+ * // bundleId: "STRING_VALUE",
55
+ * // addOns: [ // AddOnList
56
+ * // { // AddOn
57
+ * // name: "STRING_VALUE",
58
+ * // status: "STRING_VALUE",
59
+ * // snapshotTimeOfDay: "STRING_VALUE",
60
+ * // nextSnapshotTimeOfDay: "STRING_VALUE",
61
+ * // threshold: "STRING_VALUE",
62
+ * // duration: "STRING_VALUE",
63
+ * // },
64
+ * // ],
65
+ * // isStaticIp: true || false,
66
+ * // privateIpAddress: "STRING_VALUE",
67
+ * // publicIpAddress: "STRING_VALUE",
68
+ * // ipv6Addresses: [ // Ipv6AddressList
69
+ * // "STRING_VALUE",
70
+ * // ],
71
+ * // ipAddressType: "dualstack" || "ipv4",
72
+ * // hardware: { // InstanceHardware
73
+ * // cpuCount: Number("int"),
74
+ * // disks: [ // DiskList
75
+ * // { // Disk
76
+ * // name: "STRING_VALUE",
77
+ * // arn: "STRING_VALUE",
78
+ * // supportCode: "STRING_VALUE",
79
+ * // createdAt: new Date("TIMESTAMP"),
80
+ * // location: {
81
+ * // availabilityZone: "STRING_VALUE",
82
+ * // regionName: "us-east-1" || "us-east-2" || "us-west-1" || "us-west-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "eu-central-1" || "ca-central-1" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-northeast-1" || "ap-northeast-2" || "eu-north-1",
83
+ * // },
84
+ * // resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket",
85
+ * // tags: [
86
+ * // {
87
+ * // key: "STRING_VALUE",
88
+ * // value: "STRING_VALUE",
89
+ * // },
90
+ * // ],
91
+ * // addOns: [
92
+ * // {
93
+ * // name: "STRING_VALUE",
94
+ * // status: "STRING_VALUE",
95
+ * // snapshotTimeOfDay: "STRING_VALUE",
96
+ * // nextSnapshotTimeOfDay: "STRING_VALUE",
97
+ * // threshold: "STRING_VALUE",
98
+ * // duration: "STRING_VALUE",
99
+ * // },
100
+ * // ],
101
+ * // sizeInGb: Number("int"),
102
+ * // isSystemDisk: true || false,
103
+ * // iops: Number("int"),
104
+ * // path: "STRING_VALUE",
105
+ * // state: "pending" || "error" || "available" || "in-use" || "unknown",
106
+ * // attachedTo: "STRING_VALUE",
107
+ * // isAttached: true || false,
108
+ * // attachmentState: "STRING_VALUE",
109
+ * // gbInUse: Number("int"),
110
+ * // autoMountStatus: "Failed" || "Pending" || "Mounted" || "NotMounted",
111
+ * // },
112
+ * // ],
113
+ * // ramSizeInGb: Number("float"),
114
+ * // },
115
+ * // networking: { // InstanceNetworking
116
+ * // monthlyTransfer: { // MonthlyTransfer
117
+ * // gbPerMonthAllocated: Number("int"),
118
+ * // },
119
+ * // ports: [ // InstancePortInfoList
120
+ * // { // InstancePortInfo
121
+ * // fromPort: Number("int"),
122
+ * // toPort: Number("int"),
123
+ * // protocol: "tcp" || "all" || "udp" || "icmp",
124
+ * // accessFrom: "STRING_VALUE",
125
+ * // accessType: "Public" || "Private",
126
+ * // commonName: "STRING_VALUE",
127
+ * // accessDirection: "inbound" || "outbound",
128
+ * // cidrs: [ // StringList
129
+ * // "STRING_VALUE",
130
+ * // ],
131
+ * // ipv6Cidrs: [
132
+ * // "STRING_VALUE",
133
+ * // ],
134
+ * // cidrListAliases: [
135
+ * // "STRING_VALUE",
136
+ * // ],
137
+ * // },
138
+ * // ],
139
+ * // },
140
+ * // state: { // InstanceState
141
+ * // code: Number("int"),
142
+ * // name: "STRING_VALUE",
143
+ * // },
144
+ * // username: "STRING_VALUE",
145
+ * // sshKeyName: "STRING_VALUE",
146
+ * // metadataOptions: { // InstanceMetadataOptions
147
+ * // state: "pending" || "applied",
148
+ * // httpTokens: "optional" || "required",
149
+ * // httpEndpoint: "disabled" || "enabled",
150
+ * // httpPutResponseHopLimit: Number("int"),
151
+ * // httpProtocolIpv6: "disabled" || "enabled",
152
+ * // },
153
+ * // },
154
+ * // };
155
+ *
35
156
  * ```
36
157
  *
37
158
  * @param GetInstanceCommandInput - {@link GetInstanceCommandInput}
@@ -70,6 +191,8 @@ export interface GetInstanceCommandOutput extends GetInstanceResult, __MetadataB
70
191
  * @throws {@link UnauthenticatedException} (client fault)
71
192
  * <p>Lightsail throws this exception when the user has not been authenticated.</p>
72
193
  *
194
+ * @throws {@link LightsailServiceException}
195
+ * <p>Base exception class for all service exceptions from Lightsail service.</p>
73
196
  *
74
197
  */
75
198
  export declare class GetInstanceCommand extends $Command<GetInstanceCommandInput, GetInstanceCommandOutput, LightsailClientResolvedConfig> {
@@ -43,6 +43,21 @@ export interface GetInstanceMetricDataCommandOutput extends GetInstanceMetricDat
43
43
  * };
44
44
  * const command = new GetInstanceMetricDataCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // GetInstanceMetricDataResult
47
+ * // metricName: "CPUUtilization" || "NetworkIn" || "NetworkOut" || "StatusCheckFailed" || "StatusCheckFailed_Instance" || "StatusCheckFailed_System" || "BurstCapacityTime" || "BurstCapacityPercentage" || "MetadataNoToken",
48
+ * // metricData: [ // MetricDatapointList
49
+ * // { // MetricDatapoint
50
+ * // average: Number("double"),
51
+ * // maximum: Number("double"),
52
+ * // minimum: Number("double"),
53
+ * // sampleCount: Number("double"),
54
+ * // sum: Number("double"),
55
+ * // timestamp: new Date("TIMESTAMP"),
56
+ * // unit: "Seconds" || "Microseconds" || "Milliseconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
57
+ * // },
58
+ * // ],
59
+ * // };
60
+ *
46
61
  * ```
47
62
  *
48
63
  * @param GetInstanceMetricDataCommandInput - {@link GetInstanceMetricDataCommandInput}
@@ -81,6 +96,8 @@ export interface GetInstanceMetricDataCommandOutput extends GetInstanceMetricDat
81
96
  * @throws {@link UnauthenticatedException} (client fault)
82
97
  * <p>Lightsail throws this exception when the user has not been authenticated.</p>
83
98
  *
99
+ * @throws {@link LightsailServiceException}
100
+ * <p>Base exception class for all service exceptions from Lightsail service.</p>
84
101
  *
85
102
  */
86
103
  export declare class GetInstanceMetricDataCommand extends $Command<GetInstanceMetricDataCommandInput, GetInstanceMetricDataCommandOutput, LightsailClientResolvedConfig> {
@@ -32,6 +32,26 @@ export interface GetInstancePortStatesCommandOutput extends GetInstancePortState
32
32
  * };
33
33
  * const command = new GetInstancePortStatesCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetInstancePortStatesResult
36
+ * // portStates: [ // InstancePortStateList
37
+ * // { // InstancePortState
38
+ * // fromPort: Number("int"),
39
+ * // toPort: Number("int"),
40
+ * // protocol: "tcp" || "all" || "udp" || "icmp",
41
+ * // state: "open" || "closed",
42
+ * // cidrs: [ // StringList
43
+ * // "STRING_VALUE",
44
+ * // ],
45
+ * // ipv6Cidrs: [
46
+ * // "STRING_VALUE",
47
+ * // ],
48
+ * // cidrListAliases: [
49
+ * // "STRING_VALUE",
50
+ * // ],
51
+ * // },
52
+ * // ],
53
+ * // };
54
+ *
35
55
  * ```
36
56
  *
37
57
  * @param GetInstancePortStatesCommandInput - {@link GetInstancePortStatesCommandInput}
@@ -70,6 +90,8 @@ export interface GetInstancePortStatesCommandOutput extends GetInstancePortState
70
90
  * @throws {@link UnauthenticatedException} (client fault)
71
91
  * <p>Lightsail throws this exception when the user has not been authenticated.</p>
72
92
  *
93
+ * @throws {@link LightsailServiceException}
94
+ * <p>Base exception class for all service exceptions from Lightsail service.</p>
73
95
  *
74
96
  */
75
97
  export declare class GetInstancePortStatesCommand extends $Command<GetInstancePortStatesCommandInput, GetInstancePortStatesCommandOutput, LightsailClientResolvedConfig> {
@@ -31,6 +31,73 @@ export interface GetInstanceSnapshotCommandOutput extends GetInstanceSnapshotRes
31
31
  * };
32
32
  * const command = new GetInstanceSnapshotCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetInstanceSnapshotResult
35
+ * // instanceSnapshot: { // InstanceSnapshot
36
+ * // name: "STRING_VALUE",
37
+ * // arn: "STRING_VALUE",
38
+ * // supportCode: "STRING_VALUE",
39
+ * // createdAt: new Date("TIMESTAMP"),
40
+ * // location: { // ResourceLocation
41
+ * // availabilityZone: "STRING_VALUE",
42
+ * // regionName: "us-east-1" || "us-east-2" || "us-west-1" || "us-west-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "eu-central-1" || "ca-central-1" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-northeast-1" || "ap-northeast-2" || "eu-north-1",
43
+ * // },
44
+ * // resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket",
45
+ * // tags: [ // TagList
46
+ * // { // Tag
47
+ * // key: "STRING_VALUE",
48
+ * // value: "STRING_VALUE",
49
+ * // },
50
+ * // ],
51
+ * // state: "pending" || "error" || "available",
52
+ * // progress: "STRING_VALUE",
53
+ * // fromAttachedDisks: [ // DiskList
54
+ * // { // Disk
55
+ * // name: "STRING_VALUE",
56
+ * // arn: "STRING_VALUE",
57
+ * // supportCode: "STRING_VALUE",
58
+ * // createdAt: new Date("TIMESTAMP"),
59
+ * // location: {
60
+ * // availabilityZone: "STRING_VALUE",
61
+ * // regionName: "us-east-1" || "us-east-2" || "us-west-1" || "us-west-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "eu-central-1" || "ca-central-1" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-northeast-1" || "ap-northeast-2" || "eu-north-1",
62
+ * // },
63
+ * // resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket",
64
+ * // tags: [
65
+ * // {
66
+ * // key: "STRING_VALUE",
67
+ * // value: "STRING_VALUE",
68
+ * // },
69
+ * // ],
70
+ * // addOns: [ // AddOnList
71
+ * // { // AddOn
72
+ * // name: "STRING_VALUE",
73
+ * // status: "STRING_VALUE",
74
+ * // snapshotTimeOfDay: "STRING_VALUE",
75
+ * // nextSnapshotTimeOfDay: "STRING_VALUE",
76
+ * // threshold: "STRING_VALUE",
77
+ * // duration: "STRING_VALUE",
78
+ * // },
79
+ * // ],
80
+ * // sizeInGb: Number("int"),
81
+ * // isSystemDisk: true || false,
82
+ * // iops: Number("int"),
83
+ * // path: "STRING_VALUE",
84
+ * // state: "pending" || "error" || "available" || "in-use" || "unknown",
85
+ * // attachedTo: "STRING_VALUE",
86
+ * // isAttached: true || false,
87
+ * // attachmentState: "STRING_VALUE",
88
+ * // gbInUse: Number("int"),
89
+ * // autoMountStatus: "Failed" || "Pending" || "Mounted" || "NotMounted",
90
+ * // },
91
+ * // ],
92
+ * // fromInstanceName: "STRING_VALUE",
93
+ * // fromInstanceArn: "STRING_VALUE",
94
+ * // fromBlueprintId: "STRING_VALUE",
95
+ * // fromBundleId: "STRING_VALUE",
96
+ * // isFromAutoSnapshot: true || false,
97
+ * // sizeInGb: Number("int"),
98
+ * // },
99
+ * // };
100
+ *
34
101
  * ```
35
102
  *
36
103
  * @param GetInstanceSnapshotCommandInput - {@link GetInstanceSnapshotCommandInput}
@@ -69,6 +136,8 @@ export interface GetInstanceSnapshotCommandOutput extends GetInstanceSnapshotRes
69
136
  * @throws {@link UnauthenticatedException} (client fault)
70
137
  * <p>Lightsail throws this exception when the user has not been authenticated.</p>
71
138
  *
139
+ * @throws {@link LightsailServiceException}
140
+ * <p>Base exception class for all service exceptions from Lightsail service.</p>
72
141
  *
73
142
  */
74
143
  export declare class GetInstanceSnapshotCommand extends $Command<GetInstanceSnapshotCommandInput, GetInstanceSnapshotCommandOutput, LightsailClientResolvedConfig> {
@@ -31,6 +31,76 @@ export interface GetInstanceSnapshotsCommandOutput extends GetInstanceSnapshotsR
31
31
  * };
32
32
  * const command = new GetInstanceSnapshotsCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetInstanceSnapshotsResult
35
+ * // instanceSnapshots: [ // InstanceSnapshotList
36
+ * // { // InstanceSnapshot
37
+ * // name: "STRING_VALUE",
38
+ * // arn: "STRING_VALUE",
39
+ * // supportCode: "STRING_VALUE",
40
+ * // createdAt: new Date("TIMESTAMP"),
41
+ * // location: { // ResourceLocation
42
+ * // availabilityZone: "STRING_VALUE",
43
+ * // regionName: "us-east-1" || "us-east-2" || "us-west-1" || "us-west-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "eu-central-1" || "ca-central-1" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-northeast-1" || "ap-northeast-2" || "eu-north-1",
44
+ * // },
45
+ * // resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket",
46
+ * // tags: [ // TagList
47
+ * // { // Tag
48
+ * // key: "STRING_VALUE",
49
+ * // value: "STRING_VALUE",
50
+ * // },
51
+ * // ],
52
+ * // state: "pending" || "error" || "available",
53
+ * // progress: "STRING_VALUE",
54
+ * // fromAttachedDisks: [ // DiskList
55
+ * // { // Disk
56
+ * // name: "STRING_VALUE",
57
+ * // arn: "STRING_VALUE",
58
+ * // supportCode: "STRING_VALUE",
59
+ * // createdAt: new Date("TIMESTAMP"),
60
+ * // location: {
61
+ * // availabilityZone: "STRING_VALUE",
62
+ * // regionName: "us-east-1" || "us-east-2" || "us-west-1" || "us-west-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "eu-central-1" || "ca-central-1" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-northeast-1" || "ap-northeast-2" || "eu-north-1",
63
+ * // },
64
+ * // resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket",
65
+ * // tags: [
66
+ * // {
67
+ * // key: "STRING_VALUE",
68
+ * // value: "STRING_VALUE",
69
+ * // },
70
+ * // ],
71
+ * // addOns: [ // AddOnList
72
+ * // { // AddOn
73
+ * // name: "STRING_VALUE",
74
+ * // status: "STRING_VALUE",
75
+ * // snapshotTimeOfDay: "STRING_VALUE",
76
+ * // nextSnapshotTimeOfDay: "STRING_VALUE",
77
+ * // threshold: "STRING_VALUE",
78
+ * // duration: "STRING_VALUE",
79
+ * // },
80
+ * // ],
81
+ * // sizeInGb: Number("int"),
82
+ * // isSystemDisk: true || false,
83
+ * // iops: Number("int"),
84
+ * // path: "STRING_VALUE",
85
+ * // state: "pending" || "error" || "available" || "in-use" || "unknown",
86
+ * // attachedTo: "STRING_VALUE",
87
+ * // isAttached: true || false,
88
+ * // attachmentState: "STRING_VALUE",
89
+ * // gbInUse: Number("int"),
90
+ * // autoMountStatus: "Failed" || "Pending" || "Mounted" || "NotMounted",
91
+ * // },
92
+ * // ],
93
+ * // fromInstanceName: "STRING_VALUE",
94
+ * // fromInstanceArn: "STRING_VALUE",
95
+ * // fromBlueprintId: "STRING_VALUE",
96
+ * // fromBundleId: "STRING_VALUE",
97
+ * // isFromAutoSnapshot: true || false,
98
+ * // sizeInGb: Number("int"),
99
+ * // },
100
+ * // ],
101
+ * // nextPageToken: "STRING_VALUE",
102
+ * // };
103
+ *
34
104
  * ```
35
105
  *
36
106
  * @param GetInstanceSnapshotsCommandInput - {@link GetInstanceSnapshotsCommandInput}
@@ -69,6 +139,8 @@ export interface GetInstanceSnapshotsCommandOutput extends GetInstanceSnapshotsR
69
139
  * @throws {@link UnauthenticatedException} (client fault)
70
140
  * <p>Lightsail throws this exception when the user has not been authenticated.</p>
71
141
  *
142
+ * @throws {@link LightsailServiceException}
143
+ * <p>Base exception class for all service exceptions from Lightsail service.</p>
72
144
  *
73
145
  */
74
146
  export declare class GetInstanceSnapshotsCommand extends $Command<GetInstanceSnapshotsCommandInput, GetInstanceSnapshotsCommandOutput, LightsailClientResolvedConfig> {
@@ -31,6 +31,13 @@ export interface GetInstanceStateCommandOutput extends GetInstanceStateResult, _
31
31
  * };
32
32
  * const command = new GetInstanceStateCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetInstanceStateResult
35
+ * // state: { // InstanceState
36
+ * // code: Number("int"),
37
+ * // name: "STRING_VALUE",
38
+ * // },
39
+ * // };
40
+ *
34
41
  * ```
35
42
  *
36
43
  * @param GetInstanceStateCommandInput - {@link GetInstanceStateCommandInput}
@@ -69,6 +76,8 @@ export interface GetInstanceStateCommandOutput extends GetInstanceStateResult, _
69
76
  * @throws {@link UnauthenticatedException} (client fault)
70
77
  * <p>Lightsail throws this exception when the user has not been authenticated.</p>
71
78
  *
79
+ * @throws {@link LightsailServiceException}
80
+ * <p>Base exception class for all service exceptions from Lightsail service.</p>
72
81
  *
73
82
  */
74
83
  export declare class GetInstanceStateCommand extends $Command<GetInstanceStateCommandInput, GetInstanceStateCommandOutput, LightsailClientResolvedConfig> {