@aws-sdk/client-snowball 3.933.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.
package/dist-cjs/index.js CHANGED
@@ -117,10 +117,6 @@ let SnowballServiceException$1 = class SnowballServiceException extends smithyCl
117
117
  }
118
118
  };
119
119
 
120
- const AddressType = {
121
- AWS_SHIP: "AWS_SHIP",
122
- CUST_PICKUP: "CUST_PICKUP",
123
- };
124
120
  let InvalidJobStateException$1 = class InvalidJobStateException extends SnowballServiceException$1 {
125
121
  name = "InvalidJobStateException";
126
122
  $fault = "client";
@@ -193,74 +189,6 @@ let UnsupportedAddressException$1 = class UnsupportedAddressException extends Sn
193
189
  this.Message = opts.Message;
194
190
  }
195
191
  };
196
- const JobType = {
197
- EXPORT: "EXPORT",
198
- IMPORT: "IMPORT",
199
- LOCAL_USE: "LOCAL_USE",
200
- };
201
- const JobState = {
202
- CANCELLED: "Cancelled",
203
- COMPLETE: "Complete",
204
- IN_PROGRESS: "InProgress",
205
- IN_TRANSIT_TO_AWS: "InTransitToAWS",
206
- IN_TRANSIT_TO_CUSTOMER: "InTransitToCustomer",
207
- LISTING: "Listing",
208
- NEW: "New",
209
- PENDING: "Pending",
210
- PREPARING_APPLIANCE: "PreparingAppliance",
211
- PREPARING_SHIPMENT: "PreparingShipment",
212
- WITH_AWS: "WithAWS",
213
- WITH_AWS_SORTING_FACILITY: "WithAWSSortingFacility",
214
- WITH_CUSTOMER: "WithCustomer",
215
- };
216
- const StorageUnit = {
217
- TB: "TB",
218
- };
219
- const RemoteManagement = {
220
- INSTALLED_AUTOSTART: "INSTALLED_AUTOSTART",
221
- INSTALLED_ONLY: "INSTALLED_ONLY",
222
- NOT_INSTALLED: "NOT_INSTALLED",
223
- };
224
- const DeviceServiceName = {
225
- NFS_ON_DEVICE_SERVICE: "NFS_ON_DEVICE_SERVICE",
226
- S3_ON_DEVICE_SERVICE: "S3_ON_DEVICE_SERVICE",
227
- };
228
- const TransferOption = {
229
- EXPORT: "EXPORT",
230
- IMPORT: "IMPORT",
231
- LOCAL_USE: "LOCAL_USE",
232
- };
233
- const ShippingOption = {
234
- EXPRESS: "EXPRESS",
235
- NEXT_DAY: "NEXT_DAY",
236
- SECOND_DAY: "SECOND_DAY",
237
- STANDARD: "STANDARD",
238
- };
239
- const SnowballCapacity = {
240
- NO_PREFERENCE: "NoPreference",
241
- T100: "T100",
242
- T13: "T13",
243
- T14: "T14",
244
- T240: "T240",
245
- T32: "T32",
246
- T42: "T42",
247
- T50: "T50",
248
- T8: "T8",
249
- T80: "T80",
250
- T98: "T98",
251
- };
252
- const SnowballType = {
253
- EDGE: "EDGE",
254
- EDGE_C: "EDGE_C",
255
- EDGE_CG: "EDGE_CG",
256
- EDGE_S: "EDGE_S",
257
- RACK_5U_C: "RACK_5U_C",
258
- SNC1_HDD: "SNC1_HDD",
259
- SNC1_SSD: "SNC1_SSD",
260
- STANDARD: "STANDARD",
261
- V3_5C: "V3_5C",
262
- V3_5S: "V3_5S",
263
- };
264
192
  let Ec2RequestFailedException$1 = class Ec2RequestFailedException extends SnowballServiceException$1 {
265
193
  name = "Ec2RequestFailedException";
266
194
  $fault = "client";
@@ -303,18 +231,6 @@ let ClusterLimitExceededException$1 = class ClusterLimitExceededException extend
303
231
  this.Message = opts.Message;
304
232
  }
305
233
  };
306
- const ImpactLevel = {
307
- IL2: "IL2",
308
- IL4: "IL4",
309
- IL5: "IL5",
310
- IL6: "IL6",
311
- IL99: "IL99",
312
- };
313
- const LongTermPricingType = {
314
- ONE_MONTH: "OneMonth",
315
- ONE_YEAR: "OneYear",
316
- THREE_YEAR: "ThreeYear",
317
- };
318
234
  let ConflictException$1 = class ConflictException extends SnowballServiceException$1 {
319
235
  name = "ConflictException";
320
236
  $fault = "client";
@@ -331,12 +247,6 @@ let ConflictException$1 = class ConflictException extends SnowballServiceExcepti
331
247
  this.Message = opts.Message;
332
248
  }
333
249
  };
334
- const ShippingLabelStatus = {
335
- FAILED: "Failed",
336
- IN_PROGRESS: "InProgress",
337
- SUCCEEDED: "Succeeded",
338
- TIMED_OUT: "TimedOut",
339
- };
340
250
  let ReturnShippingLabelAlreadyExistsException$1 = class ReturnShippingLabelAlreadyExistsException extends SnowballServiceException$1 {
341
251
  name = "ReturnShippingLabelAlreadyExistsException";
342
252
  $fault = "client";
@@ -365,21 +275,6 @@ let InvalidNextTokenException$1 = class InvalidNextTokenException extends Snowba
365
275
  this.Message = opts.Message;
366
276
  }
367
277
  };
368
- const ClusterState = {
369
- AWAITING_QUORUM: "AwaitingQuorum",
370
- CANCELLED: "Cancelled",
371
- COMPLETE: "Complete",
372
- IN_USE: "InUse",
373
- PENDING: "Pending",
374
- };
375
- const ServiceName = {
376
- EKS_ANYWHERE: "EKS_ANYWHERE",
377
- KUBERNETES: "KUBERNETES",
378
- };
379
- const ShipmentState = {
380
- RECEIVED: "RECEIVED",
381
- RETURNED: "RETURNED",
382
- };
383
278
 
384
279
  const _A = "Address";
385
280
  const _AI = "AddressId";
@@ -1681,6 +1576,112 @@ const paginateListLongTermPricing = core.createPaginator(SnowballClient, ListLon
1681
1576
 
1682
1577
  const paginateListPickupLocations = core.createPaginator(SnowballClient, ListPickupLocationsCommand, "NextToken", "NextToken", "MaxResults");
1683
1578
 
1579
+ const AddressType = {
1580
+ AWS_SHIP: "AWS_SHIP",
1581
+ CUST_PICKUP: "CUST_PICKUP",
1582
+ };
1583
+ const JobType = {
1584
+ EXPORT: "EXPORT",
1585
+ IMPORT: "IMPORT",
1586
+ LOCAL_USE: "LOCAL_USE",
1587
+ };
1588
+ const JobState = {
1589
+ CANCELLED: "Cancelled",
1590
+ COMPLETE: "Complete",
1591
+ IN_PROGRESS: "InProgress",
1592
+ IN_TRANSIT_TO_AWS: "InTransitToAWS",
1593
+ IN_TRANSIT_TO_CUSTOMER: "InTransitToCustomer",
1594
+ LISTING: "Listing",
1595
+ NEW: "New",
1596
+ PENDING: "Pending",
1597
+ PREPARING_APPLIANCE: "PreparingAppliance",
1598
+ PREPARING_SHIPMENT: "PreparingShipment",
1599
+ WITH_AWS: "WithAWS",
1600
+ WITH_AWS_SORTING_FACILITY: "WithAWSSortingFacility",
1601
+ WITH_CUSTOMER: "WithCustomer",
1602
+ };
1603
+ const StorageUnit = {
1604
+ TB: "TB",
1605
+ };
1606
+ const RemoteManagement = {
1607
+ INSTALLED_AUTOSTART: "INSTALLED_AUTOSTART",
1608
+ INSTALLED_ONLY: "INSTALLED_ONLY",
1609
+ NOT_INSTALLED: "NOT_INSTALLED",
1610
+ };
1611
+ const DeviceServiceName = {
1612
+ NFS_ON_DEVICE_SERVICE: "NFS_ON_DEVICE_SERVICE",
1613
+ S3_ON_DEVICE_SERVICE: "S3_ON_DEVICE_SERVICE",
1614
+ };
1615
+ const TransferOption = {
1616
+ EXPORT: "EXPORT",
1617
+ IMPORT: "IMPORT",
1618
+ LOCAL_USE: "LOCAL_USE",
1619
+ };
1620
+ const ShippingOption = {
1621
+ EXPRESS: "EXPRESS",
1622
+ NEXT_DAY: "NEXT_DAY",
1623
+ SECOND_DAY: "SECOND_DAY",
1624
+ STANDARD: "STANDARD",
1625
+ };
1626
+ const SnowballCapacity = {
1627
+ NO_PREFERENCE: "NoPreference",
1628
+ T100: "T100",
1629
+ T13: "T13",
1630
+ T14: "T14",
1631
+ T240: "T240",
1632
+ T32: "T32",
1633
+ T42: "T42",
1634
+ T50: "T50",
1635
+ T8: "T8",
1636
+ T80: "T80",
1637
+ T98: "T98",
1638
+ };
1639
+ const SnowballType = {
1640
+ EDGE: "EDGE",
1641
+ EDGE_C: "EDGE_C",
1642
+ EDGE_CG: "EDGE_CG",
1643
+ EDGE_S: "EDGE_S",
1644
+ RACK_5U_C: "RACK_5U_C",
1645
+ SNC1_HDD: "SNC1_HDD",
1646
+ SNC1_SSD: "SNC1_SSD",
1647
+ STANDARD: "STANDARD",
1648
+ V3_5C: "V3_5C",
1649
+ V3_5S: "V3_5S",
1650
+ };
1651
+ const ImpactLevel = {
1652
+ IL2: "IL2",
1653
+ IL4: "IL4",
1654
+ IL5: "IL5",
1655
+ IL6: "IL6",
1656
+ IL99: "IL99",
1657
+ };
1658
+ const LongTermPricingType = {
1659
+ ONE_MONTH: "OneMonth",
1660
+ ONE_YEAR: "OneYear",
1661
+ THREE_YEAR: "ThreeYear",
1662
+ };
1663
+ const ShippingLabelStatus = {
1664
+ FAILED: "Failed",
1665
+ IN_PROGRESS: "InProgress",
1666
+ SUCCEEDED: "Succeeded",
1667
+ TIMED_OUT: "TimedOut",
1668
+ };
1669
+ const ClusterState = {
1670
+ AWAITING_QUORUM: "AwaitingQuorum",
1671
+ CANCELLED: "Cancelled",
1672
+ COMPLETE: "Complete",
1673
+ IN_USE: "InUse",
1674
+ PENDING: "Pending",
1675
+ };
1676
+ const ServiceName = {
1677
+ EKS_ANYWHERE: "EKS_ANYWHERE",
1678
+ KUBERNETES: "KUBERNETES",
1679
+ };
1680
+ const ShipmentState = {
1681
+ RECEIVED: "RECEIVED",
1682
+ RETURNED: "RETURNED",
1683
+ };
1684
+
1684
1685
  Object.defineProperty(exports, "$Command", {
1685
1686
  enumerable: true,
1686
1687
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./SnowballClient";
2
2
  export * from "./Snowball";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { SnowballServiceException } from "./models/SnowballServiceException";
@@ -0,0 +1,105 @@
1
+ export const AddressType = {
2
+ AWS_SHIP: "AWS_SHIP",
3
+ CUST_PICKUP: "CUST_PICKUP",
4
+ };
5
+ export const JobType = {
6
+ EXPORT: "EXPORT",
7
+ IMPORT: "IMPORT",
8
+ LOCAL_USE: "LOCAL_USE",
9
+ };
10
+ export const JobState = {
11
+ CANCELLED: "Cancelled",
12
+ COMPLETE: "Complete",
13
+ IN_PROGRESS: "InProgress",
14
+ IN_TRANSIT_TO_AWS: "InTransitToAWS",
15
+ IN_TRANSIT_TO_CUSTOMER: "InTransitToCustomer",
16
+ LISTING: "Listing",
17
+ NEW: "New",
18
+ PENDING: "Pending",
19
+ PREPARING_APPLIANCE: "PreparingAppliance",
20
+ PREPARING_SHIPMENT: "PreparingShipment",
21
+ WITH_AWS: "WithAWS",
22
+ WITH_AWS_SORTING_FACILITY: "WithAWSSortingFacility",
23
+ WITH_CUSTOMER: "WithCustomer",
24
+ };
25
+ export const StorageUnit = {
26
+ TB: "TB",
27
+ };
28
+ export const RemoteManagement = {
29
+ INSTALLED_AUTOSTART: "INSTALLED_AUTOSTART",
30
+ INSTALLED_ONLY: "INSTALLED_ONLY",
31
+ NOT_INSTALLED: "NOT_INSTALLED",
32
+ };
33
+ export const DeviceServiceName = {
34
+ NFS_ON_DEVICE_SERVICE: "NFS_ON_DEVICE_SERVICE",
35
+ S3_ON_DEVICE_SERVICE: "S3_ON_DEVICE_SERVICE",
36
+ };
37
+ export const TransferOption = {
38
+ EXPORT: "EXPORT",
39
+ IMPORT: "IMPORT",
40
+ LOCAL_USE: "LOCAL_USE",
41
+ };
42
+ export const ShippingOption = {
43
+ EXPRESS: "EXPRESS",
44
+ NEXT_DAY: "NEXT_DAY",
45
+ SECOND_DAY: "SECOND_DAY",
46
+ STANDARD: "STANDARD",
47
+ };
48
+ export const SnowballCapacity = {
49
+ NO_PREFERENCE: "NoPreference",
50
+ T100: "T100",
51
+ T13: "T13",
52
+ T14: "T14",
53
+ T240: "T240",
54
+ T32: "T32",
55
+ T42: "T42",
56
+ T50: "T50",
57
+ T8: "T8",
58
+ T80: "T80",
59
+ T98: "T98",
60
+ };
61
+ export const SnowballType = {
62
+ EDGE: "EDGE",
63
+ EDGE_C: "EDGE_C",
64
+ EDGE_CG: "EDGE_CG",
65
+ EDGE_S: "EDGE_S",
66
+ RACK_5U_C: "RACK_5U_C",
67
+ SNC1_HDD: "SNC1_HDD",
68
+ SNC1_SSD: "SNC1_SSD",
69
+ STANDARD: "STANDARD",
70
+ V3_5C: "V3_5C",
71
+ V3_5S: "V3_5S",
72
+ };
73
+ export const ImpactLevel = {
74
+ IL2: "IL2",
75
+ IL4: "IL4",
76
+ IL5: "IL5",
77
+ IL6: "IL6",
78
+ IL99: "IL99",
79
+ };
80
+ export const LongTermPricingType = {
81
+ ONE_MONTH: "OneMonth",
82
+ ONE_YEAR: "OneYear",
83
+ THREE_YEAR: "ThreeYear",
84
+ };
85
+ export const ShippingLabelStatus = {
86
+ FAILED: "Failed",
87
+ IN_PROGRESS: "InProgress",
88
+ SUCCEEDED: "Succeeded",
89
+ TIMED_OUT: "TimedOut",
90
+ };
91
+ export const ClusterState = {
92
+ AWAITING_QUORUM: "AwaitingQuorum",
93
+ CANCELLED: "Cancelled",
94
+ COMPLETE: "Complete",
95
+ IN_USE: "InUse",
96
+ PENDING: "Pending",
97
+ };
98
+ export const ServiceName = {
99
+ EKS_ANYWHERE: "EKS_ANYWHERE",
100
+ KUBERNETES: "KUBERNETES",
101
+ };
102
+ export const ShipmentState = {
103
+ RECEIVED: "RECEIVED",
104
+ RETURNED: "RETURNED",
105
+ };
@@ -0,0 +1,159 @@
1
+ import { SnowballServiceException as __BaseException } from "./SnowballServiceException";
2
+ export class InvalidJobStateException extends __BaseException {
3
+ name = "InvalidJobStateException";
4
+ $fault = "client";
5
+ Message;
6
+ constructor(opts) {
7
+ super({
8
+ name: "InvalidJobStateException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, InvalidJobStateException.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class InvalidResourceException extends __BaseException {
17
+ name = "InvalidResourceException";
18
+ $fault = "client";
19
+ Message;
20
+ ResourceType;
21
+ constructor(opts) {
22
+ super({
23
+ name: "InvalidResourceException",
24
+ $fault: "client",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, InvalidResourceException.prototype);
28
+ this.Message = opts.Message;
29
+ this.ResourceType = opts.ResourceType;
30
+ }
31
+ }
32
+ export class KMSRequestFailedException extends __BaseException {
33
+ name = "KMSRequestFailedException";
34
+ $fault = "client";
35
+ Message;
36
+ constructor(opts) {
37
+ super({
38
+ name: "KMSRequestFailedException",
39
+ $fault: "client",
40
+ ...opts,
41
+ });
42
+ Object.setPrototypeOf(this, KMSRequestFailedException.prototype);
43
+ this.Message = opts.Message;
44
+ }
45
+ }
46
+ export class InvalidAddressException extends __BaseException {
47
+ name = "InvalidAddressException";
48
+ $fault = "client";
49
+ Message;
50
+ constructor(opts) {
51
+ super({
52
+ name: "InvalidAddressException",
53
+ $fault: "client",
54
+ ...opts,
55
+ });
56
+ Object.setPrototypeOf(this, InvalidAddressException.prototype);
57
+ this.Message = opts.Message;
58
+ }
59
+ }
60
+ export class UnsupportedAddressException extends __BaseException {
61
+ name = "UnsupportedAddressException";
62
+ $fault = "client";
63
+ Message;
64
+ constructor(opts) {
65
+ super({
66
+ name: "UnsupportedAddressException",
67
+ $fault: "client",
68
+ ...opts,
69
+ });
70
+ Object.setPrototypeOf(this, UnsupportedAddressException.prototype);
71
+ this.Message = opts.Message;
72
+ }
73
+ }
74
+ export class Ec2RequestFailedException extends __BaseException {
75
+ name = "Ec2RequestFailedException";
76
+ $fault = "client";
77
+ Message;
78
+ constructor(opts) {
79
+ super({
80
+ name: "Ec2RequestFailedException",
81
+ $fault: "client",
82
+ ...opts,
83
+ });
84
+ Object.setPrototypeOf(this, Ec2RequestFailedException.prototype);
85
+ this.Message = opts.Message;
86
+ }
87
+ }
88
+ export class InvalidInputCombinationException extends __BaseException {
89
+ name = "InvalidInputCombinationException";
90
+ $fault = "client";
91
+ Message;
92
+ constructor(opts) {
93
+ super({
94
+ name: "InvalidInputCombinationException",
95
+ $fault: "client",
96
+ ...opts,
97
+ });
98
+ Object.setPrototypeOf(this, InvalidInputCombinationException.prototype);
99
+ this.Message = opts.Message;
100
+ }
101
+ }
102
+ export class ClusterLimitExceededException extends __BaseException {
103
+ name = "ClusterLimitExceededException";
104
+ $fault = "client";
105
+ Message;
106
+ constructor(opts) {
107
+ super({
108
+ name: "ClusterLimitExceededException",
109
+ $fault: "client",
110
+ ...opts,
111
+ });
112
+ Object.setPrototypeOf(this, ClusterLimitExceededException.prototype);
113
+ this.Message = opts.Message;
114
+ }
115
+ }
116
+ export class ConflictException extends __BaseException {
117
+ name = "ConflictException";
118
+ $fault = "client";
119
+ ConflictResource;
120
+ Message;
121
+ constructor(opts) {
122
+ super({
123
+ name: "ConflictException",
124
+ $fault: "client",
125
+ ...opts,
126
+ });
127
+ Object.setPrototypeOf(this, ConflictException.prototype);
128
+ this.ConflictResource = opts.ConflictResource;
129
+ this.Message = opts.Message;
130
+ }
131
+ }
132
+ export class ReturnShippingLabelAlreadyExistsException extends __BaseException {
133
+ name = "ReturnShippingLabelAlreadyExistsException";
134
+ $fault = "client";
135
+ Message;
136
+ constructor(opts) {
137
+ super({
138
+ name: "ReturnShippingLabelAlreadyExistsException",
139
+ $fault: "client",
140
+ ...opts,
141
+ });
142
+ Object.setPrototypeOf(this, ReturnShippingLabelAlreadyExistsException.prototype);
143
+ this.Message = opts.Message;
144
+ }
145
+ }
146
+ export class InvalidNextTokenException extends __BaseException {
147
+ name = "InvalidNextTokenException";
148
+ $fault = "client";
149
+ Message;
150
+ constructor(opts) {
151
+ super({
152
+ name: "InvalidNextTokenException",
153
+ $fault: "client",
154
+ ...opts,
155
+ });
156
+ Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
157
+ this.Message = opts.Message;
158
+ }
159
+ }