@aws-sdk/client-lightsail 3.934.0 → 3.936.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/dist-cjs/index.js +643 -643
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +639 -0
  4. package/dist-es/models/errors.js +145 -0
  5. package/dist-es/models/models_0.js +1 -617
  6. package/dist-es/models/models_1.js +1 -167
  7. package/dist-es/schemas/schemas_0.js +1 -1
  8. package/dist-types/commands/GetContainerServiceMetricDataCommand.d.ts +1 -1
  9. package/dist-types/commands/GetContainerServicePowersCommand.d.ts +1 -1
  10. package/dist-types/commands/GetContainerServicesCommand.d.ts +1 -2
  11. package/dist-types/commands/GetCostEstimateCommand.d.ts +1 -1
  12. package/dist-types/commands/GetDiskCommand.d.ts +1 -1
  13. package/dist-types/commands/GetDiskSnapshotCommand.d.ts +1 -1
  14. package/dist-types/commands/GetDiskSnapshotsCommand.d.ts +1 -1
  15. package/dist-types/commands/GetDisksCommand.d.ts +1 -1
  16. package/dist-types/commands/GetDistributionBundlesCommand.d.ts +1 -1
  17. package/dist-types/commands/GetDistributionLatestCacheResetCommand.d.ts +1 -1
  18. package/dist-types/commands/GetDistributionMetricDataCommand.d.ts +1 -1
  19. package/dist-types/commands/GetDistributionsCommand.d.ts +1 -1
  20. package/dist-types/commands/GetDomainCommand.d.ts +1 -1
  21. package/dist-types/commands/GetDomainsCommand.d.ts +1 -1
  22. package/dist-types/commands/GetExportSnapshotRecordsCommand.d.ts +1 -1
  23. package/dist-types/commands/GetInstanceAccessDetailsCommand.d.ts +1 -1
  24. package/dist-types/commands/GetInstanceCommand.d.ts +1 -1
  25. package/dist-types/commands/GetInstanceMetricDataCommand.d.ts +1 -1
  26. package/dist-types/commands/GetInstancePortStatesCommand.d.ts +1 -1
  27. package/dist-types/commands/GetInstanceSnapshotCommand.d.ts +1 -1
  28. package/dist-types/commands/GetInstanceSnapshotsCommand.d.ts +1 -1
  29. package/dist-types/commands/GetInstanceStateCommand.d.ts +1 -1
  30. package/dist-types/commands/GetInstancesCommand.d.ts +1 -1
  31. package/dist-types/commands/GetKeyPairCommand.d.ts +1 -1
  32. package/dist-types/commands/GetKeyPairsCommand.d.ts +1 -1
  33. package/dist-types/commands/GetLoadBalancerCommand.d.ts +2 -1
  34. package/dist-types/index.d.ts +4 -1
  35. package/dist-types/models/enums.d.ts +1287 -0
  36. package/dist-types/models/errors.d.ts +143 -0
  37. package/dist-types/models/models_0.d.ts +1969 -1055
  38. package/dist-types/models/models_1.d.ts +2 -2344
  39. package/dist-types/ts3.4/commands/GetContainerServiceMetricDataCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/GetContainerServicePowersCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/GetContainerServicesCommand.d.ts +4 -2
  42. package/dist-types/ts3.4/commands/GetCostEstimateCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/GetDiskCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/GetDiskSnapshotCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/GetDiskSnapshotsCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/GetDisksCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/GetDistributionBundlesCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/GetDistributionLatestCacheResetCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/GetDistributionMetricDataCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/GetDistributionsCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/GetDomainCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/GetDomainsCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/GetExportSnapshotRecordsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/GetInstanceAccessDetailsCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/GetInstanceCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/GetInstanceMetricDataCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/GetInstancePortStatesCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/GetInstanceSnapshotCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/GetInstanceSnapshotsCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/GetInstanceStateCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/GetInstancesCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/GetKeyPairCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/GetKeyPairsCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/GetLoadBalancerCommand.d.ts +2 -4
  65. package/dist-types/ts3.4/index.d.ts +4 -1
  66. package/dist-types/ts3.4/models/enums.d.ts +776 -0
  67. package/dist-types/ts3.4/models/errors.d.ts +81 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +363 -642
  69. package/dist-types/ts3.4/models/models_1.d.ts +36 -542
  70. package/package.json +19 -19
  71. package/dist-es/models/index.js +0 -2
  72. package/dist-types/models/index.d.ts +0 -2
  73. package/dist-types/ts3.4/models/index.d.ts +0 -2
@@ -0,0 +1,145 @@
1
+ import { LightsailServiceException as __BaseException } from "./LightsailServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ code;
6
+ docs;
7
+ tip;
8
+ constructor(opts) {
9
+ super({
10
+ name: "AccessDeniedException",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
+ this.code = opts.code;
16
+ this.docs = opts.docs;
17
+ this.tip = opts.tip;
18
+ }
19
+ }
20
+ export class AccountSetupInProgressException extends __BaseException {
21
+ name = "AccountSetupInProgressException";
22
+ $fault = "client";
23
+ code;
24
+ docs;
25
+ tip;
26
+ constructor(opts) {
27
+ super({
28
+ name: "AccountSetupInProgressException",
29
+ $fault: "client",
30
+ ...opts,
31
+ });
32
+ Object.setPrototypeOf(this, AccountSetupInProgressException.prototype);
33
+ this.code = opts.code;
34
+ this.docs = opts.docs;
35
+ this.tip = opts.tip;
36
+ }
37
+ }
38
+ export class InvalidInputException extends __BaseException {
39
+ name = "InvalidInputException";
40
+ $fault = "client";
41
+ code;
42
+ docs;
43
+ tip;
44
+ constructor(opts) {
45
+ super({
46
+ name: "InvalidInputException",
47
+ $fault: "client",
48
+ ...opts,
49
+ });
50
+ Object.setPrototypeOf(this, InvalidInputException.prototype);
51
+ this.code = opts.code;
52
+ this.docs = opts.docs;
53
+ this.tip = opts.tip;
54
+ }
55
+ }
56
+ export class NotFoundException extends __BaseException {
57
+ name = "NotFoundException";
58
+ $fault = "client";
59
+ code;
60
+ docs;
61
+ tip;
62
+ constructor(opts) {
63
+ super({
64
+ name: "NotFoundException",
65
+ $fault: "client",
66
+ ...opts,
67
+ });
68
+ Object.setPrototypeOf(this, NotFoundException.prototype);
69
+ this.code = opts.code;
70
+ this.docs = opts.docs;
71
+ this.tip = opts.tip;
72
+ }
73
+ }
74
+ export class OperationFailureException extends __BaseException {
75
+ name = "OperationFailureException";
76
+ $fault = "client";
77
+ code;
78
+ docs;
79
+ tip;
80
+ constructor(opts) {
81
+ super({
82
+ name: "OperationFailureException",
83
+ $fault: "client",
84
+ ...opts,
85
+ });
86
+ Object.setPrototypeOf(this, OperationFailureException.prototype);
87
+ this.code = opts.code;
88
+ this.docs = opts.docs;
89
+ this.tip = opts.tip;
90
+ }
91
+ }
92
+ export class RegionSetupInProgressException extends __BaseException {
93
+ name = "RegionSetupInProgressException";
94
+ $fault = "client";
95
+ code;
96
+ docs;
97
+ tip;
98
+ constructor(opts) {
99
+ super({
100
+ name: "RegionSetupInProgressException",
101
+ $fault: "client",
102
+ ...opts,
103
+ });
104
+ Object.setPrototypeOf(this, RegionSetupInProgressException.prototype);
105
+ this.code = opts.code;
106
+ this.docs = opts.docs;
107
+ this.tip = opts.tip;
108
+ }
109
+ }
110
+ export class ServiceException extends __BaseException {
111
+ name = "ServiceException";
112
+ $fault = "server";
113
+ code;
114
+ docs;
115
+ tip;
116
+ constructor(opts) {
117
+ super({
118
+ name: "ServiceException",
119
+ $fault: "server",
120
+ ...opts,
121
+ });
122
+ Object.setPrototypeOf(this, ServiceException.prototype);
123
+ this.code = opts.code;
124
+ this.docs = opts.docs;
125
+ this.tip = opts.tip;
126
+ }
127
+ }
128
+ export class UnauthenticatedException extends __BaseException {
129
+ name = "UnauthenticatedException";
130
+ $fault = "client";
131
+ code;
132
+ docs;
133
+ tip;
134
+ constructor(opts) {
135
+ super({
136
+ name: "UnauthenticatedException",
137
+ $fault: "client",
138
+ ...opts,
139
+ });
140
+ Object.setPrototypeOf(this, UnauthenticatedException.prototype);
141
+ this.code = opts.code;
142
+ this.docs = opts.docs;
143
+ this.tip = opts.tip;
144
+ }
145
+ }