@aws-sdk/client-outposts 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.
@@ -0,0 +1,89 @@
1
+ import { OutpostsServiceException as __BaseException } from "./OutpostsServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ Message;
6
+ constructor(opts) {
7
+ super({
8
+ name: "AccessDeniedException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class ConflictException extends __BaseException {
17
+ name = "ConflictException";
18
+ $fault = "client";
19
+ Message;
20
+ ResourceId;
21
+ ResourceType;
22
+ constructor(opts) {
23
+ super({
24
+ name: "ConflictException",
25
+ $fault: "client",
26
+ ...opts,
27
+ });
28
+ Object.setPrototypeOf(this, ConflictException.prototype);
29
+ this.Message = opts.Message;
30
+ this.ResourceId = opts.ResourceId;
31
+ this.ResourceType = opts.ResourceType;
32
+ }
33
+ }
34
+ export class InternalServerException extends __BaseException {
35
+ name = "InternalServerException";
36
+ $fault = "server";
37
+ Message;
38
+ constructor(opts) {
39
+ super({
40
+ name: "InternalServerException",
41
+ $fault: "server",
42
+ ...opts,
43
+ });
44
+ Object.setPrototypeOf(this, InternalServerException.prototype);
45
+ this.Message = opts.Message;
46
+ }
47
+ }
48
+ export class NotFoundException extends __BaseException {
49
+ name = "NotFoundException";
50
+ $fault = "client";
51
+ Message;
52
+ constructor(opts) {
53
+ super({
54
+ name: "NotFoundException",
55
+ $fault: "client",
56
+ ...opts,
57
+ });
58
+ Object.setPrototypeOf(this, NotFoundException.prototype);
59
+ this.Message = opts.Message;
60
+ }
61
+ }
62
+ export class ValidationException extends __BaseException {
63
+ name = "ValidationException";
64
+ $fault = "client";
65
+ Message;
66
+ constructor(opts) {
67
+ super({
68
+ name: "ValidationException",
69
+ $fault: "client",
70
+ ...opts,
71
+ });
72
+ Object.setPrototypeOf(this, ValidationException.prototype);
73
+ this.Message = opts.Message;
74
+ }
75
+ }
76
+ export class ServiceQuotaExceededException extends __BaseException {
77
+ name = "ServiceQuotaExceededException";
78
+ $fault = "client";
79
+ Message;
80
+ constructor(opts) {
81
+ super({
82
+ name: "ServiceQuotaExceededException",
83
+ $fault: "client",
84
+ ...opts,
85
+ });
86
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
87
+ this.Message = opts.Message;
88
+ }
89
+ }
@@ -1,288 +1 @@
1
- import { OutpostsServiceException as __BaseException } from "./OutpostsServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- Message;
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
- this.Message = opts.Message;
14
- }
15
- }
16
- export const AddressType = {
17
- OPERATING_ADDRESS: "OPERATING_ADDRESS",
18
- SHIPPING_ADDRESS: "SHIPPING_ADDRESS",
19
- };
20
- export const AssetType = {
21
- COMPUTE: "COMPUTE",
22
- };
23
- export const ComputeAssetState = {
24
- ACTIVE: "ACTIVE",
25
- ISOLATED: "ISOLATED",
26
- RETIRING: "RETIRING",
27
- };
28
- export const AWSServiceName = {
29
- AWS: "AWS",
30
- EC2: "EC2",
31
- ELASTICACHE: "ELASTICACHE",
32
- ELB: "ELB",
33
- RDS: "RDS",
34
- ROUTE53: "ROUTE53",
35
- };
36
- export const AssetState = {
37
- ACTIVE: "ACTIVE",
38
- ISOLATED: "ISOLATED",
39
- RETIRING: "RETIRING",
40
- };
41
- export const BlockingResourceType = {
42
- EC2_INSTANCE: "EC2_INSTANCE",
43
- LGW_ROUTE_TABLE: "LGW_ROUTE_TABLE",
44
- LGW_ROUTING_DOMAIN: "LGW_ROUTING_DOMAIN",
45
- LGW_VIRTUAL_INTERFACE_GROUP: "LGW_VIRTUAL_INTERFACE_GROUP",
46
- OUTPOST_ORDER_CANCELLABLE: "OUTPOST_ORDER_CANCELLABLE",
47
- OUTPOST_ORDER_INTERVENTION_REQUIRED: "OUTPOST_ORDER_INTERVENTION_REQUIRED",
48
- OUTPOST_RAM_SHARE: "OUTPOST_RAM_SHARE",
49
- };
50
- export const ResourceType = {
51
- ORDER: "ORDER",
52
- OUTPOST: "OUTPOST",
53
- };
54
- export class ConflictException extends __BaseException {
55
- name = "ConflictException";
56
- $fault = "client";
57
- Message;
58
- ResourceId;
59
- ResourceType;
60
- constructor(opts) {
61
- super({
62
- name: "ConflictException",
63
- $fault: "client",
64
- ...opts,
65
- });
66
- Object.setPrototypeOf(this, ConflictException.prototype);
67
- this.Message = opts.Message;
68
- this.ResourceId = opts.ResourceId;
69
- this.ResourceType = opts.ResourceType;
70
- }
71
- }
72
- export class InternalServerException extends __BaseException {
73
- name = "InternalServerException";
74
- $fault = "server";
75
- Message;
76
- constructor(opts) {
77
- super({
78
- name: "InternalServerException",
79
- $fault: "server",
80
- ...opts,
81
- });
82
- Object.setPrototypeOf(this, InternalServerException.prototype);
83
- this.Message = opts.Message;
84
- }
85
- }
86
- export class NotFoundException extends __BaseException {
87
- name = "NotFoundException";
88
- $fault = "client";
89
- Message;
90
- constructor(opts) {
91
- super({
92
- name: "NotFoundException",
93
- $fault: "client",
94
- ...opts,
95
- });
96
- Object.setPrototypeOf(this, NotFoundException.prototype);
97
- this.Message = opts.Message;
98
- }
99
- }
100
- export class ValidationException extends __BaseException {
101
- name = "ValidationException";
102
- $fault = "client";
103
- Message;
104
- constructor(opts) {
105
- super({
106
- name: "ValidationException",
107
- $fault: "client",
108
- ...opts,
109
- });
110
- Object.setPrototypeOf(this, ValidationException.prototype);
111
- this.Message = opts.Message;
112
- }
113
- }
114
- export const CapacityTaskFailureType = {
115
- BLOCKING_INSTANCES_NOT_EVACUATED: "BLOCKING_INSTANCES_NOT_EVACUATED",
116
- INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
117
- RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
118
- UNEXPECTED_ASSET_STATE: "UNEXPECTED_ASSET_STATE",
119
- UNSUPPORTED_CAPACITY_CONFIGURATION: "UNSUPPORTED_CAPACITY_CONFIGURATION",
120
- };
121
- export const CapacityTaskStatus = {
122
- CANCELLATION_IN_PROGRESS: "CANCELLATION_IN_PROGRESS",
123
- CANCELLED: "CANCELLED",
124
- COMPLETED: "COMPLETED",
125
- FAILED: "FAILED",
126
- IN_PROGRESS: "IN_PROGRESS",
127
- REQUESTED: "REQUESTED",
128
- WAITING_FOR_EVACUATION: "WAITING_FOR_EVACUATION",
129
- };
130
- export const CatalogItemStatus = {
131
- AVAILABLE: "AVAILABLE",
132
- DISCONTINUED: "DISCONTINUED",
133
- };
134
- export const SupportedStorageEnum = {
135
- EBS: "EBS",
136
- S3: "S3",
137
- };
138
- export const CatalogItemClass = {
139
- RACK: "RACK",
140
- SERVER: "SERVER",
141
- };
142
- export const PaymentOption = {
143
- ALL_UPFRONT: "ALL_UPFRONT",
144
- NO_UPFRONT: "NO_UPFRONT",
145
- PARTIAL_UPFRONT: "PARTIAL_UPFRONT",
146
- };
147
- export const PaymentTerm = {
148
- FIVE_YEARS: "FIVE_YEARS",
149
- ONE_YEAR: "ONE_YEAR",
150
- THREE_YEARS: "THREE_YEARS",
151
- };
152
- export const ShipmentCarrier = {
153
- DBS: "DBS",
154
- DHL: "DHL",
155
- EXPEDITORS: "EXPEDITORS",
156
- FEDEX: "FEDEX",
157
- UPS: "UPS",
158
- };
159
- export const LineItemStatus = {
160
- BUILDING: "BUILDING",
161
- CANCELLED: "CANCELLED",
162
- DELIVERED: "DELIVERED",
163
- ERROR: "ERROR",
164
- INSTALLED: "INSTALLED",
165
- INSTALLING: "INSTALLING",
166
- PREPARING: "PREPARING",
167
- REPLACED: "REPLACED",
168
- SHIPPED: "SHIPPED",
169
- };
170
- export const OrderType = {
171
- OUTPOST: "OUTPOST",
172
- REPLACEMENT: "REPLACEMENT",
173
- };
174
- export const OrderStatus = {
175
- CANCELLED: "CANCELLED",
176
- COMPLETED: "COMPLETED",
177
- DELIVERED: "DELIVERED",
178
- ERROR: "ERROR",
179
- FULFILLED: "FULFILLED",
180
- INSTALLING: "INSTALLING",
181
- IN_PROGRESS: "IN_PROGRESS",
182
- PENDING: "PENDING",
183
- PREPARING: "PREPARING",
184
- PROCESSING: "PROCESSING",
185
- RECEIVED: "RECEIVED",
186
- };
187
- export class ServiceQuotaExceededException extends __BaseException {
188
- name = "ServiceQuotaExceededException";
189
- $fault = "client";
190
- Message;
191
- constructor(opts) {
192
- super({
193
- name: "ServiceQuotaExceededException",
194
- $fault: "client",
195
- ...opts,
196
- });
197
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
198
- this.Message = opts.Message;
199
- }
200
- }
201
- export const SupportedHardwareType = {
202
- RACK: "RACK",
203
- SERVER: "SERVER",
204
- };
205
- export const FiberOpticCableType = {
206
- MULTI_MODE: "MULTI_MODE",
207
- SINGLE_MODE: "SINGLE_MODE",
208
- };
209
- export const MaximumSupportedWeightLbs = {
210
- MAX_1400_LBS: "MAX_1400_LBS",
211
- MAX_1600_LBS: "MAX_1600_LBS",
212
- MAX_1800_LBS: "MAX_1800_LBS",
213
- MAX_2000_LBS: "MAX_2000_LBS",
214
- NO_LIMIT: "NO_LIMIT",
215
- };
216
- export const OpticalStandard = {
217
- OPTIC_1000BASE_LX: "OPTIC_1000BASE_LX",
218
- OPTIC_1000BASE_SX: "OPTIC_1000BASE_SX",
219
- OPTIC_100GBASE_CWDM4: "OPTIC_100GBASE_CWDM4",
220
- OPTIC_100GBASE_LR4: "OPTIC_100GBASE_LR4",
221
- OPTIC_100GBASE_SR4: "OPTIC_100GBASE_SR4",
222
- OPTIC_100G_PSM4_MSA: "OPTIC_100G_PSM4_MSA",
223
- OPTIC_10GBASE_IR: "OPTIC_10GBASE_IR",
224
- OPTIC_10GBASE_LR: "OPTIC_10GBASE_LR",
225
- OPTIC_10GBASE_SR: "OPTIC_10GBASE_SR",
226
- OPTIC_40GBASE_ESR: "OPTIC_40GBASE_ESR",
227
- OPTIC_40GBASE_IR4_LR4L: "OPTIC_40GBASE_IR4_LR4L",
228
- OPTIC_40GBASE_LR4: "OPTIC_40GBASE_LR4",
229
- OPTIC_40GBASE_SR: "OPTIC_40GBASE_SR",
230
- };
231
- export const PowerConnector = {
232
- AH530P7W: "AH530P7W",
233
- AH532P6W: "AH532P6W",
234
- CS8365C: "CS8365C",
235
- IEC309: "IEC309",
236
- L6_30P: "L6_30P",
237
- };
238
- export const PowerDrawKva = {
239
- POWER_10_KVA: "POWER_10_KVA",
240
- POWER_15_KVA: "POWER_15_KVA",
241
- POWER_30_KVA: "POWER_30_KVA",
242
- POWER_5_KVA: "POWER_5_KVA",
243
- };
244
- export const PowerFeedDrop = {
245
- ABOVE_RACK: "ABOVE_RACK",
246
- BELOW_RACK: "BELOW_RACK",
247
- };
248
- export const PowerPhase = {
249
- SINGLE_PHASE: "SINGLE_PHASE",
250
- THREE_PHASE: "THREE_PHASE",
251
- };
252
- export const UplinkCount = {
253
- UPLINK_COUNT_1: "UPLINK_COUNT_1",
254
- UPLINK_COUNT_12: "UPLINK_COUNT_12",
255
- UPLINK_COUNT_16: "UPLINK_COUNT_16",
256
- UPLINK_COUNT_2: "UPLINK_COUNT_2",
257
- UPLINK_COUNT_3: "UPLINK_COUNT_3",
258
- UPLINK_COUNT_4: "UPLINK_COUNT_4",
259
- UPLINK_COUNT_5: "UPLINK_COUNT_5",
260
- UPLINK_COUNT_6: "UPLINK_COUNT_6",
261
- UPLINK_COUNT_7: "UPLINK_COUNT_7",
262
- UPLINK_COUNT_8: "UPLINK_COUNT_8",
263
- };
264
- export const UplinkGbps = {
265
- UPLINK_100G: "UPLINK_100G",
266
- UPLINK_10G: "UPLINK_10G",
267
- UPLINK_1G: "UPLINK_1G",
268
- UPLINK_40G: "UPLINK_40G",
269
- };
270
- export const DecommissionRequestStatus = {
271
- BLOCKED: "BLOCKED",
272
- REQUESTED: "REQUESTED",
273
- SKIPPED: "SKIPPED",
274
- };
275
- export const TaskActionOnBlockingInstances = {
276
- FAIL_TASK: "FAIL_TASK",
277
- WAIT_FOR_EVACUATION: "WAIT_FOR_EVACUATION",
278
- };
279
- export const SubscriptionStatus = {
280
- ACTIVE: "ACTIVE",
281
- CANCELLED: "CANCELLED",
282
- INACTIVE: "INACTIVE",
283
- };
284
- export const SubscriptionType = {
285
- CAPACITY_INCREASE: "CAPACITY_INCREASE",
286
- ORIGINAL: "ORIGINAL",
287
- RENEWAL: "RENEWAL",
288
- };
1
+ export {};
@@ -310,7 +310,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.outposts";
310
310
  const _tK = "tagKeys";
311
311
  const n0 = "com.amazonaws.outposts";
312
312
  import { TypeRegistry } from "@smithy/core/schema";
313
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, NotFoundException as __NotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/index";
313
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, NotFoundException as __NotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/errors";
314
314
  import { OutpostsServiceException as __OutpostsServiceException } from "../models/OutpostsServiceException";
315
315
  export var AccessDeniedException = [
316
316
  -3,
@@ -14,5 +14,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
14
14
  export type { OutpostsExtensionConfiguration } from "./extensionConfiguration";
15
15
  export * from "./commands";
16
16
  export * from "./pagination";
17
- export * from "./models";
17
+ export * from "./models/enums";
18
+ export * from "./models/errors";
19
+ export type * from "./models/models_0";
18
20
  export { OutpostsServiceException } from "./models/OutpostsServiceException";