@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.
- package/dist-cjs/index.js +643 -643
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +639 -0
- package/dist-es/models/errors.js +145 -0
- package/dist-es/models/models_0.js +1 -617
- package/dist-es/models/models_1.js +1 -167
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/GetContainerServiceMetricDataCommand.d.ts +1 -1
- package/dist-types/commands/GetContainerServicePowersCommand.d.ts +1 -1
- package/dist-types/commands/GetContainerServicesCommand.d.ts +1 -2
- package/dist-types/commands/GetCostEstimateCommand.d.ts +1 -1
- package/dist-types/commands/GetDiskCommand.d.ts +1 -1
- package/dist-types/commands/GetDiskSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/GetDiskSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/GetDisksCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionBundlesCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionLatestCacheResetCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionMetricDataCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionsCommand.d.ts +1 -1
- package/dist-types/commands/GetDomainCommand.d.ts +1 -1
- package/dist-types/commands/GetDomainsCommand.d.ts +1 -1
- package/dist-types/commands/GetExportSnapshotRecordsCommand.d.ts +1 -1
- package/dist-types/commands/GetInstanceAccessDetailsCommand.d.ts +1 -1
- package/dist-types/commands/GetInstanceCommand.d.ts +1 -1
- package/dist-types/commands/GetInstanceMetricDataCommand.d.ts +1 -1
- package/dist-types/commands/GetInstancePortStatesCommand.d.ts +1 -1
- package/dist-types/commands/GetInstanceSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/GetInstanceSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/GetInstanceStateCommand.d.ts +1 -1
- package/dist-types/commands/GetInstancesCommand.d.ts +1 -1
- package/dist-types/commands/GetKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/GetKeyPairsCommand.d.ts +1 -1
- package/dist-types/commands/GetLoadBalancerCommand.d.ts +2 -1
- package/dist-types/index.d.ts +4 -1
- package/dist-types/models/enums.d.ts +1287 -0
- package/dist-types/models/errors.d.ts +143 -0
- package/dist-types/models/models_0.d.ts +1969 -1055
- package/dist-types/models/models_1.d.ts +2 -2344
- package/dist-types/ts3.4/commands/GetContainerServiceMetricDataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetContainerServicePowersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetContainerServicesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetCostEstimateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDiskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDiskSnapshotCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDiskSnapshotsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDisksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDistributionBundlesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDistributionLatestCacheResetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDistributionMetricDataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDistributionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDomainsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetExportSnapshotRecordsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInstanceAccessDetailsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInstanceMetricDataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInstancePortStatesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInstanceSnapshotCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInstanceSnapshotsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInstanceStateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetKeyPairCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetKeyPairsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetLoadBalancerCommand.d.ts +2 -4
- package/dist-types/ts3.4/index.d.ts +4 -1
- package/dist-types/ts3.4/models/enums.d.ts +776 -0
- package/dist-types/ts3.4/models/errors.d.ts +81 -0
- package/dist-types/ts3.4/models/models_0.d.ts +363 -642
- package/dist-types/ts3.4/models/models_1.d.ts +36 -542
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -2
- package/dist-types/models/index.d.ts +0 -2
- 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
|
+
}
|