@aws-sdk/client-lightsail 3.934.0 → 3.935.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 +12 -12
  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,143 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { LightsailServiceException as __BaseException } from "./LightsailServiceException";
3
+ /**
4
+ * <p>Lightsail throws this exception when the user cannot be authenticated or uses invalid
5
+ * credentials to access a resource.</p>
6
+ * @public
7
+ */
8
+ export declare class AccessDeniedException extends __BaseException {
9
+ readonly name: "AccessDeniedException";
10
+ readonly $fault: "client";
11
+ code?: string | undefined;
12
+ docs?: string | undefined;
13
+ tip?: string | undefined;
14
+ /**
15
+ * @internal
16
+ */
17
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
18
+ }
19
+ /**
20
+ * <p>Lightsail throws this exception when an account is still in the setup in progress
21
+ * state.</p>
22
+ * @public
23
+ */
24
+ export declare class AccountSetupInProgressException extends __BaseException {
25
+ readonly name: "AccountSetupInProgressException";
26
+ readonly $fault: "client";
27
+ code?: string | undefined;
28
+ docs?: string | undefined;
29
+ tip?: string | undefined;
30
+ /**
31
+ * @internal
32
+ */
33
+ constructor(opts: __ExceptionOptionType<AccountSetupInProgressException, __BaseException>);
34
+ }
35
+ /**
36
+ * <p>Lightsail throws this exception when user input does not conform to the validation rules
37
+ * of an input field.</p>
38
+ * <note>
39
+ * <p>Domain and distribution APIs are only available in the N. Virginia
40
+ * (<code>us-east-1</code>) Amazon Web Services Region. Please set your Amazon Web Services
41
+ * Region configuration to <code>us-east-1</code> to create, view, or edit these
42
+ * resources.</p>
43
+ * </note>
44
+ * @public
45
+ */
46
+ export declare class InvalidInputException extends __BaseException {
47
+ readonly name: "InvalidInputException";
48
+ readonly $fault: "client";
49
+ code?: string | undefined;
50
+ docs?: string | undefined;
51
+ tip?: string | undefined;
52
+ /**
53
+ * @internal
54
+ */
55
+ constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
56
+ }
57
+ /**
58
+ * <p>Lightsail throws this exception when it cannot find a resource.</p>
59
+ * @public
60
+ */
61
+ export declare class NotFoundException extends __BaseException {
62
+ readonly name: "NotFoundException";
63
+ readonly $fault: "client";
64
+ code?: string | undefined;
65
+ docs?: string | undefined;
66
+ tip?: string | undefined;
67
+ /**
68
+ * @internal
69
+ */
70
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
71
+ }
72
+ /**
73
+ * <p>Lightsail throws this exception when an operation fails to execute.</p>
74
+ * @public
75
+ */
76
+ export declare class OperationFailureException extends __BaseException {
77
+ readonly name: "OperationFailureException";
78
+ readonly $fault: "client";
79
+ code?: string | undefined;
80
+ docs?: string | undefined;
81
+ tip?: string | undefined;
82
+ /**
83
+ * @internal
84
+ */
85
+ constructor(opts: __ExceptionOptionType<OperationFailureException, __BaseException>);
86
+ }
87
+ /**
88
+ * <p>Lightsail throws this exception when an operation is performed on resources in an opt-in
89
+ * Region that is currently being set up.</p>
90
+ * @public
91
+ */
92
+ export declare class RegionSetupInProgressException extends __BaseException {
93
+ readonly name: "RegionSetupInProgressException";
94
+ readonly $fault: "client";
95
+ code?: string | undefined;
96
+ /**
97
+ * <p>
98
+ * <a href="https://docs.aws.amazon.com/lightsail/latest/userguide/understanding-regions-and-availability-zones-in-amazon-lightsail.html">Regions
99
+ * and Availability Zones for Lightsail</a>
100
+ * </p>
101
+ * @public
102
+ */
103
+ docs?: string | undefined;
104
+ /**
105
+ * <p>Opt-in Regions typically take a few minutes to finish setting up before you can work with them. Wait a few minutes and try again.</p>
106
+ * @public
107
+ */
108
+ tip?: string | undefined;
109
+ /**
110
+ * @internal
111
+ */
112
+ constructor(opts: __ExceptionOptionType<RegionSetupInProgressException, __BaseException>);
113
+ }
114
+ /**
115
+ * <p>A general service exception.</p>
116
+ * @public
117
+ */
118
+ export declare class ServiceException extends __BaseException {
119
+ readonly name: "ServiceException";
120
+ readonly $fault: "server";
121
+ code?: string | undefined;
122
+ docs?: string | undefined;
123
+ tip?: string | undefined;
124
+ /**
125
+ * @internal
126
+ */
127
+ constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
128
+ }
129
+ /**
130
+ * <p>Lightsail throws this exception when the user has not been authenticated.</p>
131
+ * @public
132
+ */
133
+ export declare class UnauthenticatedException extends __BaseException {
134
+ readonly name: "UnauthenticatedException";
135
+ readonly $fault: "client";
136
+ code?: string | undefined;
137
+ docs?: string | undefined;
138
+ tip?: string | undefined;
139
+ /**
140
+ * @internal
141
+ */
142
+ constructor(opts: __ExceptionOptionType<UnauthenticatedException, __BaseException>);
143
+ }