@aws-sdk/client-snowball 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 +106 -105
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +105 -0
- package/dist-es/models/errors.js +159 -0
- package/dist-es/models/models_0.js +1 -264
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +233 -0
- package/dist-types/models/errors.d.ts +169 -0
- package/dist-types/models/models_0.d.ts +1 -402
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +128 -0
- package/dist-types/ts3.4/models/errors.d.ts +96 -0
- package/dist-types/ts3.4/models/models_0.d.ts +18 -224
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,264 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const AddressType = {
|
|
3
|
-
AWS_SHIP: "AWS_SHIP",
|
|
4
|
-
CUST_PICKUP: "CUST_PICKUP",
|
|
5
|
-
};
|
|
6
|
-
export class InvalidJobStateException extends __BaseException {
|
|
7
|
-
name = "InvalidJobStateException";
|
|
8
|
-
$fault = "client";
|
|
9
|
-
Message;
|
|
10
|
-
constructor(opts) {
|
|
11
|
-
super({
|
|
12
|
-
name: "InvalidJobStateException",
|
|
13
|
-
$fault: "client",
|
|
14
|
-
...opts,
|
|
15
|
-
});
|
|
16
|
-
Object.setPrototypeOf(this, InvalidJobStateException.prototype);
|
|
17
|
-
this.Message = opts.Message;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
export class InvalidResourceException extends __BaseException {
|
|
21
|
-
name = "InvalidResourceException";
|
|
22
|
-
$fault = "client";
|
|
23
|
-
Message;
|
|
24
|
-
ResourceType;
|
|
25
|
-
constructor(opts) {
|
|
26
|
-
super({
|
|
27
|
-
name: "InvalidResourceException",
|
|
28
|
-
$fault: "client",
|
|
29
|
-
...opts,
|
|
30
|
-
});
|
|
31
|
-
Object.setPrototypeOf(this, InvalidResourceException.prototype);
|
|
32
|
-
this.Message = opts.Message;
|
|
33
|
-
this.ResourceType = opts.ResourceType;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
export class KMSRequestFailedException extends __BaseException {
|
|
37
|
-
name = "KMSRequestFailedException";
|
|
38
|
-
$fault = "client";
|
|
39
|
-
Message;
|
|
40
|
-
constructor(opts) {
|
|
41
|
-
super({
|
|
42
|
-
name: "KMSRequestFailedException",
|
|
43
|
-
$fault: "client",
|
|
44
|
-
...opts,
|
|
45
|
-
});
|
|
46
|
-
Object.setPrototypeOf(this, KMSRequestFailedException.prototype);
|
|
47
|
-
this.Message = opts.Message;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
export class InvalidAddressException extends __BaseException {
|
|
51
|
-
name = "InvalidAddressException";
|
|
52
|
-
$fault = "client";
|
|
53
|
-
Message;
|
|
54
|
-
constructor(opts) {
|
|
55
|
-
super({
|
|
56
|
-
name: "InvalidAddressException",
|
|
57
|
-
$fault: "client",
|
|
58
|
-
...opts,
|
|
59
|
-
});
|
|
60
|
-
Object.setPrototypeOf(this, InvalidAddressException.prototype);
|
|
61
|
-
this.Message = opts.Message;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
export class UnsupportedAddressException extends __BaseException {
|
|
65
|
-
name = "UnsupportedAddressException";
|
|
66
|
-
$fault = "client";
|
|
67
|
-
Message;
|
|
68
|
-
constructor(opts) {
|
|
69
|
-
super({
|
|
70
|
-
name: "UnsupportedAddressException",
|
|
71
|
-
$fault: "client",
|
|
72
|
-
...opts,
|
|
73
|
-
});
|
|
74
|
-
Object.setPrototypeOf(this, UnsupportedAddressException.prototype);
|
|
75
|
-
this.Message = opts.Message;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
export const JobType = {
|
|
79
|
-
EXPORT: "EXPORT",
|
|
80
|
-
IMPORT: "IMPORT",
|
|
81
|
-
LOCAL_USE: "LOCAL_USE",
|
|
82
|
-
};
|
|
83
|
-
export const JobState = {
|
|
84
|
-
CANCELLED: "Cancelled",
|
|
85
|
-
COMPLETE: "Complete",
|
|
86
|
-
IN_PROGRESS: "InProgress",
|
|
87
|
-
IN_TRANSIT_TO_AWS: "InTransitToAWS",
|
|
88
|
-
IN_TRANSIT_TO_CUSTOMER: "InTransitToCustomer",
|
|
89
|
-
LISTING: "Listing",
|
|
90
|
-
NEW: "New",
|
|
91
|
-
PENDING: "Pending",
|
|
92
|
-
PREPARING_APPLIANCE: "PreparingAppliance",
|
|
93
|
-
PREPARING_SHIPMENT: "PreparingShipment",
|
|
94
|
-
WITH_AWS: "WithAWS",
|
|
95
|
-
WITH_AWS_SORTING_FACILITY: "WithAWSSortingFacility",
|
|
96
|
-
WITH_CUSTOMER: "WithCustomer",
|
|
97
|
-
};
|
|
98
|
-
export const StorageUnit = {
|
|
99
|
-
TB: "TB",
|
|
100
|
-
};
|
|
101
|
-
export const RemoteManagement = {
|
|
102
|
-
INSTALLED_AUTOSTART: "INSTALLED_AUTOSTART",
|
|
103
|
-
INSTALLED_ONLY: "INSTALLED_ONLY",
|
|
104
|
-
NOT_INSTALLED: "NOT_INSTALLED",
|
|
105
|
-
};
|
|
106
|
-
export const DeviceServiceName = {
|
|
107
|
-
NFS_ON_DEVICE_SERVICE: "NFS_ON_DEVICE_SERVICE",
|
|
108
|
-
S3_ON_DEVICE_SERVICE: "S3_ON_DEVICE_SERVICE",
|
|
109
|
-
};
|
|
110
|
-
export const TransferOption = {
|
|
111
|
-
EXPORT: "EXPORT",
|
|
112
|
-
IMPORT: "IMPORT",
|
|
113
|
-
LOCAL_USE: "LOCAL_USE",
|
|
114
|
-
};
|
|
115
|
-
export const ShippingOption = {
|
|
116
|
-
EXPRESS: "EXPRESS",
|
|
117
|
-
NEXT_DAY: "NEXT_DAY",
|
|
118
|
-
SECOND_DAY: "SECOND_DAY",
|
|
119
|
-
STANDARD: "STANDARD",
|
|
120
|
-
};
|
|
121
|
-
export const SnowballCapacity = {
|
|
122
|
-
NO_PREFERENCE: "NoPreference",
|
|
123
|
-
T100: "T100",
|
|
124
|
-
T13: "T13",
|
|
125
|
-
T14: "T14",
|
|
126
|
-
T240: "T240",
|
|
127
|
-
T32: "T32",
|
|
128
|
-
T42: "T42",
|
|
129
|
-
T50: "T50",
|
|
130
|
-
T8: "T8",
|
|
131
|
-
T80: "T80",
|
|
132
|
-
T98: "T98",
|
|
133
|
-
};
|
|
134
|
-
export const SnowballType = {
|
|
135
|
-
EDGE: "EDGE",
|
|
136
|
-
EDGE_C: "EDGE_C",
|
|
137
|
-
EDGE_CG: "EDGE_CG",
|
|
138
|
-
EDGE_S: "EDGE_S",
|
|
139
|
-
RACK_5U_C: "RACK_5U_C",
|
|
140
|
-
SNC1_HDD: "SNC1_HDD",
|
|
141
|
-
SNC1_SSD: "SNC1_SSD",
|
|
142
|
-
STANDARD: "STANDARD",
|
|
143
|
-
V3_5C: "V3_5C",
|
|
144
|
-
V3_5S: "V3_5S",
|
|
145
|
-
};
|
|
146
|
-
export class Ec2RequestFailedException extends __BaseException {
|
|
147
|
-
name = "Ec2RequestFailedException";
|
|
148
|
-
$fault = "client";
|
|
149
|
-
Message;
|
|
150
|
-
constructor(opts) {
|
|
151
|
-
super({
|
|
152
|
-
name: "Ec2RequestFailedException",
|
|
153
|
-
$fault: "client",
|
|
154
|
-
...opts,
|
|
155
|
-
});
|
|
156
|
-
Object.setPrototypeOf(this, Ec2RequestFailedException.prototype);
|
|
157
|
-
this.Message = opts.Message;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
export class InvalidInputCombinationException extends __BaseException {
|
|
161
|
-
name = "InvalidInputCombinationException";
|
|
162
|
-
$fault = "client";
|
|
163
|
-
Message;
|
|
164
|
-
constructor(opts) {
|
|
165
|
-
super({
|
|
166
|
-
name: "InvalidInputCombinationException",
|
|
167
|
-
$fault: "client",
|
|
168
|
-
...opts,
|
|
169
|
-
});
|
|
170
|
-
Object.setPrototypeOf(this, InvalidInputCombinationException.prototype);
|
|
171
|
-
this.Message = opts.Message;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
export class ClusterLimitExceededException extends __BaseException {
|
|
175
|
-
name = "ClusterLimitExceededException";
|
|
176
|
-
$fault = "client";
|
|
177
|
-
Message;
|
|
178
|
-
constructor(opts) {
|
|
179
|
-
super({
|
|
180
|
-
name: "ClusterLimitExceededException",
|
|
181
|
-
$fault: "client",
|
|
182
|
-
...opts,
|
|
183
|
-
});
|
|
184
|
-
Object.setPrototypeOf(this, ClusterLimitExceededException.prototype);
|
|
185
|
-
this.Message = opts.Message;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
export const ImpactLevel = {
|
|
189
|
-
IL2: "IL2",
|
|
190
|
-
IL4: "IL4",
|
|
191
|
-
IL5: "IL5",
|
|
192
|
-
IL6: "IL6",
|
|
193
|
-
IL99: "IL99",
|
|
194
|
-
};
|
|
195
|
-
export const LongTermPricingType = {
|
|
196
|
-
ONE_MONTH: "OneMonth",
|
|
197
|
-
ONE_YEAR: "OneYear",
|
|
198
|
-
THREE_YEAR: "ThreeYear",
|
|
199
|
-
};
|
|
200
|
-
export class ConflictException extends __BaseException {
|
|
201
|
-
name = "ConflictException";
|
|
202
|
-
$fault = "client";
|
|
203
|
-
ConflictResource;
|
|
204
|
-
Message;
|
|
205
|
-
constructor(opts) {
|
|
206
|
-
super({
|
|
207
|
-
name: "ConflictException",
|
|
208
|
-
$fault: "client",
|
|
209
|
-
...opts,
|
|
210
|
-
});
|
|
211
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
212
|
-
this.ConflictResource = opts.ConflictResource;
|
|
213
|
-
this.Message = opts.Message;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
export const ShippingLabelStatus = {
|
|
217
|
-
FAILED: "Failed",
|
|
218
|
-
IN_PROGRESS: "InProgress",
|
|
219
|
-
SUCCEEDED: "Succeeded",
|
|
220
|
-
TIMED_OUT: "TimedOut",
|
|
221
|
-
};
|
|
222
|
-
export class ReturnShippingLabelAlreadyExistsException extends __BaseException {
|
|
223
|
-
name = "ReturnShippingLabelAlreadyExistsException";
|
|
224
|
-
$fault = "client";
|
|
225
|
-
Message;
|
|
226
|
-
constructor(opts) {
|
|
227
|
-
super({
|
|
228
|
-
name: "ReturnShippingLabelAlreadyExistsException",
|
|
229
|
-
$fault: "client",
|
|
230
|
-
...opts,
|
|
231
|
-
});
|
|
232
|
-
Object.setPrototypeOf(this, ReturnShippingLabelAlreadyExistsException.prototype);
|
|
233
|
-
this.Message = opts.Message;
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
export class InvalidNextTokenException extends __BaseException {
|
|
237
|
-
name = "InvalidNextTokenException";
|
|
238
|
-
$fault = "client";
|
|
239
|
-
Message;
|
|
240
|
-
constructor(opts) {
|
|
241
|
-
super({
|
|
242
|
-
name: "InvalidNextTokenException",
|
|
243
|
-
$fault: "client",
|
|
244
|
-
...opts,
|
|
245
|
-
});
|
|
246
|
-
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
247
|
-
this.Message = opts.Message;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
export const ClusterState = {
|
|
251
|
-
AWAITING_QUORUM: "AwaitingQuorum",
|
|
252
|
-
CANCELLED: "Cancelled",
|
|
253
|
-
COMPLETE: "Complete",
|
|
254
|
-
IN_USE: "InUse",
|
|
255
|
-
PENDING: "Pending",
|
|
256
|
-
};
|
|
257
|
-
export const ServiceName = {
|
|
258
|
-
EKS_ANYWHERE: "EKS_ANYWHERE",
|
|
259
|
-
KUBERNETES: "KUBERNETES",
|
|
260
|
-
};
|
|
261
|
-
export const ShipmentState = {
|
|
262
|
-
RECEIVED: "RECEIVED",
|
|
263
|
-
RETURNED: "RETURNED",
|
|
264
|
-
};
|
|
1
|
+
export {};
|
|
@@ -256,7 +256,7 @@ const _e = "error";
|
|
|
256
256
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.snowball";
|
|
257
257
|
const n0 = "com.amazonaws.snowball";
|
|
258
258
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
259
|
-
import { ClusterLimitExceededException as __ClusterLimitExceededException, ConflictException as __ConflictException, Ec2RequestFailedException as __Ec2RequestFailedException, InvalidAddressException as __InvalidAddressException, InvalidInputCombinationException as __InvalidInputCombinationException, InvalidJobStateException as __InvalidJobStateException, InvalidNextTokenException as __InvalidNextTokenException, InvalidResourceException as __InvalidResourceException, KMSRequestFailedException as __KMSRequestFailedException, ReturnShippingLabelAlreadyExistsException as __ReturnShippingLabelAlreadyExistsException, UnsupportedAddressException as __UnsupportedAddressException, } from "../models/
|
|
259
|
+
import { ClusterLimitExceededException as __ClusterLimitExceededException, ConflictException as __ConflictException, Ec2RequestFailedException as __Ec2RequestFailedException, InvalidAddressException as __InvalidAddressException, InvalidInputCombinationException as __InvalidInputCombinationException, InvalidJobStateException as __InvalidJobStateException, InvalidNextTokenException as __InvalidNextTokenException, InvalidResourceException as __InvalidResourceException, KMSRequestFailedException as __KMSRequestFailedException, ReturnShippingLabelAlreadyExistsException as __ReturnShippingLabelAlreadyExistsException, UnsupportedAddressException as __UnsupportedAddressException, } from "../models/errors";
|
|
260
260
|
import { SnowballServiceException as __SnowballServiceException } from "../models/SnowballServiceException";
|
|
261
261
|
export var Email = [0, n0, _E, 8, 0];
|
|
262
262
|
export var PhoneNumber = [0, n0, _PN, 8, 0];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -15,5 +15,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
15
15
|
export type { SnowballExtensionConfiguration } from "./extensionConfiguration";
|
|
16
16
|
export * from "./commands";
|
|
17
17
|
export * from "./pagination";
|
|
18
|
-
export * from "./models";
|
|
18
|
+
export * from "./models/enums";
|
|
19
|
+
export * from "./models/errors";
|
|
20
|
+
export type * from "./models/models_0";
|
|
19
21
|
export { SnowballServiceException } from "./models/SnowballServiceException";
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const AddressType: {
|
|
6
|
+
readonly AWS_SHIP: "AWS_SHIP";
|
|
7
|
+
readonly CUST_PICKUP: "CUST_PICKUP";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type AddressType = (typeof AddressType)[keyof typeof AddressType];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const JobType: {
|
|
18
|
+
readonly EXPORT: "EXPORT";
|
|
19
|
+
readonly IMPORT: "IMPORT";
|
|
20
|
+
readonly LOCAL_USE: "LOCAL_USE";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export type JobType = (typeof JobType)[keyof typeof JobType];
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
* @enum
|
|
29
|
+
*/
|
|
30
|
+
export declare const JobState: {
|
|
31
|
+
readonly CANCELLED: "Cancelled";
|
|
32
|
+
readonly COMPLETE: "Complete";
|
|
33
|
+
readonly IN_PROGRESS: "InProgress";
|
|
34
|
+
readonly IN_TRANSIT_TO_AWS: "InTransitToAWS";
|
|
35
|
+
readonly IN_TRANSIT_TO_CUSTOMER: "InTransitToCustomer";
|
|
36
|
+
readonly LISTING: "Listing";
|
|
37
|
+
readonly NEW: "New";
|
|
38
|
+
readonly PENDING: "Pending";
|
|
39
|
+
readonly PREPARING_APPLIANCE: "PreparingAppliance";
|
|
40
|
+
readonly PREPARING_SHIPMENT: "PreparingShipment";
|
|
41
|
+
readonly WITH_AWS: "WithAWS";
|
|
42
|
+
readonly WITH_AWS_SORTING_FACILITY: "WithAWSSortingFacility";
|
|
43
|
+
readonly WITH_CUSTOMER: "WithCustomer";
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
export type JobState = (typeof JobState)[keyof typeof JobState];
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
* @enum
|
|
52
|
+
*/
|
|
53
|
+
export declare const StorageUnit: {
|
|
54
|
+
readonly TB: "TB";
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
export type StorageUnit = (typeof StorageUnit)[keyof typeof StorageUnit];
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
* @enum
|
|
63
|
+
*/
|
|
64
|
+
export declare const RemoteManagement: {
|
|
65
|
+
readonly INSTALLED_AUTOSTART: "INSTALLED_AUTOSTART";
|
|
66
|
+
readonly INSTALLED_ONLY: "INSTALLED_ONLY";
|
|
67
|
+
readonly NOT_INSTALLED: "NOT_INSTALLED";
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export type RemoteManagement = (typeof RemoteManagement)[keyof typeof RemoteManagement];
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
* @enum
|
|
76
|
+
*/
|
|
77
|
+
export declare const DeviceServiceName: {
|
|
78
|
+
readonly NFS_ON_DEVICE_SERVICE: "NFS_ON_DEVICE_SERVICE";
|
|
79
|
+
readonly S3_ON_DEVICE_SERVICE: "S3_ON_DEVICE_SERVICE";
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export type DeviceServiceName = (typeof DeviceServiceName)[keyof typeof DeviceServiceName];
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
* @enum
|
|
88
|
+
*/
|
|
89
|
+
export declare const TransferOption: {
|
|
90
|
+
readonly EXPORT: "EXPORT";
|
|
91
|
+
readonly IMPORT: "IMPORT";
|
|
92
|
+
readonly LOCAL_USE: "LOCAL_USE";
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export type TransferOption = (typeof TransferOption)[keyof typeof TransferOption];
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
* @enum
|
|
101
|
+
*/
|
|
102
|
+
export declare const ShippingOption: {
|
|
103
|
+
readonly EXPRESS: "EXPRESS";
|
|
104
|
+
readonly NEXT_DAY: "NEXT_DAY";
|
|
105
|
+
readonly SECOND_DAY: "SECOND_DAY";
|
|
106
|
+
readonly STANDARD: "STANDARD";
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export type ShippingOption = (typeof ShippingOption)[keyof typeof ShippingOption];
|
|
112
|
+
/**
|
|
113
|
+
* @public
|
|
114
|
+
* @enum
|
|
115
|
+
*/
|
|
116
|
+
export declare const SnowballCapacity: {
|
|
117
|
+
readonly NO_PREFERENCE: "NoPreference";
|
|
118
|
+
readonly T100: "T100";
|
|
119
|
+
readonly T13: "T13";
|
|
120
|
+
readonly T14: "T14";
|
|
121
|
+
readonly T240: "T240";
|
|
122
|
+
readonly T32: "T32";
|
|
123
|
+
readonly T42: "T42";
|
|
124
|
+
readonly T50: "T50";
|
|
125
|
+
readonly T8: "T8";
|
|
126
|
+
readonly T80: "T80";
|
|
127
|
+
readonly T98: "T98";
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
export type SnowballCapacity = (typeof SnowballCapacity)[keyof typeof SnowballCapacity];
|
|
133
|
+
/**
|
|
134
|
+
* @public
|
|
135
|
+
* @enum
|
|
136
|
+
*/
|
|
137
|
+
export declare const SnowballType: {
|
|
138
|
+
readonly EDGE: "EDGE";
|
|
139
|
+
readonly EDGE_C: "EDGE_C";
|
|
140
|
+
readonly EDGE_CG: "EDGE_CG";
|
|
141
|
+
readonly EDGE_S: "EDGE_S";
|
|
142
|
+
readonly RACK_5U_C: "RACK_5U_C";
|
|
143
|
+
readonly SNC1_HDD: "SNC1_HDD";
|
|
144
|
+
readonly SNC1_SSD: "SNC1_SSD";
|
|
145
|
+
readonly STANDARD: "STANDARD";
|
|
146
|
+
readonly V3_5C: "V3_5C";
|
|
147
|
+
readonly V3_5S: "V3_5S";
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
export type SnowballType = (typeof SnowballType)[keyof typeof SnowballType];
|
|
153
|
+
/**
|
|
154
|
+
* @public
|
|
155
|
+
* @enum
|
|
156
|
+
*/
|
|
157
|
+
export declare const ImpactLevel: {
|
|
158
|
+
readonly IL2: "IL2";
|
|
159
|
+
readonly IL4: "IL4";
|
|
160
|
+
readonly IL5: "IL5";
|
|
161
|
+
readonly IL6: "IL6";
|
|
162
|
+
readonly IL99: "IL99";
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
export type ImpactLevel = (typeof ImpactLevel)[keyof typeof ImpactLevel];
|
|
168
|
+
/**
|
|
169
|
+
* @public
|
|
170
|
+
* @enum
|
|
171
|
+
*/
|
|
172
|
+
export declare const LongTermPricingType: {
|
|
173
|
+
readonly ONE_MONTH: "OneMonth";
|
|
174
|
+
readonly ONE_YEAR: "OneYear";
|
|
175
|
+
readonly THREE_YEAR: "ThreeYear";
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
180
|
+
export type LongTermPricingType = (typeof LongTermPricingType)[keyof typeof LongTermPricingType];
|
|
181
|
+
/**
|
|
182
|
+
* @public
|
|
183
|
+
* @enum
|
|
184
|
+
*/
|
|
185
|
+
export declare const ShippingLabelStatus: {
|
|
186
|
+
readonly FAILED: "Failed";
|
|
187
|
+
readonly IN_PROGRESS: "InProgress";
|
|
188
|
+
readonly SUCCEEDED: "Succeeded";
|
|
189
|
+
readonly TIMED_OUT: "TimedOut";
|
|
190
|
+
};
|
|
191
|
+
/**
|
|
192
|
+
* @public
|
|
193
|
+
*/
|
|
194
|
+
export type ShippingLabelStatus = (typeof ShippingLabelStatus)[keyof typeof ShippingLabelStatus];
|
|
195
|
+
/**
|
|
196
|
+
* @public
|
|
197
|
+
* @enum
|
|
198
|
+
*/
|
|
199
|
+
export declare const ClusterState: {
|
|
200
|
+
readonly AWAITING_QUORUM: "AwaitingQuorum";
|
|
201
|
+
readonly CANCELLED: "Cancelled";
|
|
202
|
+
readonly COMPLETE: "Complete";
|
|
203
|
+
readonly IN_USE: "InUse";
|
|
204
|
+
readonly PENDING: "Pending";
|
|
205
|
+
};
|
|
206
|
+
/**
|
|
207
|
+
* @public
|
|
208
|
+
*/
|
|
209
|
+
export type ClusterState = (typeof ClusterState)[keyof typeof ClusterState];
|
|
210
|
+
/**
|
|
211
|
+
* @public
|
|
212
|
+
* @enum
|
|
213
|
+
*/
|
|
214
|
+
export declare const ServiceName: {
|
|
215
|
+
readonly EKS_ANYWHERE: "EKS_ANYWHERE";
|
|
216
|
+
readonly KUBERNETES: "KUBERNETES";
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
export type ServiceName = (typeof ServiceName)[keyof typeof ServiceName];
|
|
222
|
+
/**
|
|
223
|
+
* @public
|
|
224
|
+
* @enum
|
|
225
|
+
*/
|
|
226
|
+
export declare const ShipmentState: {
|
|
227
|
+
readonly RECEIVED: "RECEIVED";
|
|
228
|
+
readonly RETURNED: "RETURNED";
|
|
229
|
+
};
|
|
230
|
+
/**
|
|
231
|
+
* @public
|
|
232
|
+
*/
|
|
233
|
+
export type ShipmentState = (typeof ShipmentState)[keyof typeof ShipmentState];
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SnowballServiceException as __BaseException } from "./SnowballServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The action can't be performed because the job's current state doesn't allow that action
|
|
5
|
+
* to be performed.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class InvalidJobStateException extends __BaseException {
|
|
9
|
+
readonly name: "InvalidJobStateException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
Message?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<InvalidJobStateException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* <p>The specified resource can't be found. Check the information you provided in your last
|
|
19
|
+
* request, and try again.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export declare class InvalidResourceException extends __BaseException {
|
|
23
|
+
readonly name: "InvalidResourceException";
|
|
24
|
+
readonly $fault: "client";
|
|
25
|
+
Message?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* <p>The provided resource value is invalid.</p>
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
ResourceType?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
constructor(opts: __ExceptionOptionType<InvalidResourceException, __BaseException>);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* <p>The provided Key Management Service key lacks the permissions to perform the specified
|
|
38
|
+
* <a>CreateJob</a> or <a>UpdateJob</a> action.</p>
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export declare class KMSRequestFailedException extends __BaseException {
|
|
42
|
+
readonly name: "KMSRequestFailedException";
|
|
43
|
+
readonly $fault: "client";
|
|
44
|
+
Message?: string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
constructor(opts: __ExceptionOptionType<KMSRequestFailedException, __BaseException>);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* <p>The address provided was invalid. Check the address with your region's carrier, and try
|
|
52
|
+
* again.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
export declare class InvalidAddressException extends __BaseException {
|
|
56
|
+
readonly name: "InvalidAddressException";
|
|
57
|
+
readonly $fault: "client";
|
|
58
|
+
Message?: string | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
constructor(opts: __ExceptionOptionType<InvalidAddressException, __BaseException>);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* <p>The address is either outside the serviceable area for your region, or an error
|
|
66
|
+
* occurred. Check the address with your region's carrier and try again. If the issue persists,
|
|
67
|
+
* contact Amazon Web Services Support.</p>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class UnsupportedAddressException extends __BaseException {
|
|
71
|
+
readonly name: "UnsupportedAddressException";
|
|
72
|
+
readonly $fault: "client";
|
|
73
|
+
Message?: string | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
constructor(opts: __ExceptionOptionType<UnsupportedAddressException, __BaseException>);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* <p>Your user lacks the necessary Amazon EC2 permissions to perform the attempted
|
|
81
|
+
* action.</p>
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class Ec2RequestFailedException extends __BaseException {
|
|
85
|
+
readonly name: "Ec2RequestFailedException";
|
|
86
|
+
readonly $fault: "client";
|
|
87
|
+
Message?: string | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
constructor(opts: __ExceptionOptionType<Ec2RequestFailedException, __BaseException>);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* <p>Job or cluster creation failed. One or more inputs were invalid. Confirm that the <a>CreateClusterRequest$SnowballType</a> value supports your <a>CreateJobRequest$JobType</a>, and try again.</p>
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class InvalidInputCombinationException extends __BaseException {
|
|
98
|
+
readonly name: "InvalidInputCombinationException";
|
|
99
|
+
readonly $fault: "client";
|
|
100
|
+
Message?: string | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
constructor(opts: __ExceptionOptionType<InvalidInputCombinationException, __BaseException>);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* <p>Job creation failed. Currently, clusters support five nodes. If you have fewer than
|
|
108
|
+
* five nodes for your cluster and you have more nodes to create for this cluster, try again and
|
|
109
|
+
* create jobs until your cluster has exactly five nodes.</p>
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export declare class ClusterLimitExceededException extends __BaseException {
|
|
113
|
+
readonly name: "ClusterLimitExceededException";
|
|
114
|
+
readonly $fault: "client";
|
|
115
|
+
Message?: string | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
constructor(opts: __ExceptionOptionType<ClusterLimitExceededException, __BaseException>);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* <p>You get this exception when you call <code>CreateReturnShippingLabel</code> more than once
|
|
123
|
+
* when other requests are not completed.</p>
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
export declare class ConflictException extends __BaseException {
|
|
127
|
+
readonly name: "ConflictException";
|
|
128
|
+
readonly $fault: "client";
|
|
129
|
+
/**
|
|
130
|
+
* <p>You get this resource when you call <code>CreateReturnShippingLabel</code> more than once when other requests are not completed. .</p>
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
ConflictResource?: string | undefined;
|
|
134
|
+
Message?: string | undefined;
|
|
135
|
+
/**
|
|
136
|
+
* @internal
|
|
137
|
+
*/
|
|
138
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* <p>You get this exception if you call <code>CreateReturnShippingLabel</code> and a valid
|
|
142
|
+
* return shipping label already exists. In this case, use
|
|
143
|
+
* <code>DescribeReturnShippingLabel</code> to get the URL.</p>
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
export declare class ReturnShippingLabelAlreadyExistsException extends __BaseException {
|
|
147
|
+
readonly name: "ReturnShippingLabelAlreadyExistsException";
|
|
148
|
+
readonly $fault: "client";
|
|
149
|
+
Message?: string | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* @internal
|
|
152
|
+
*/
|
|
153
|
+
constructor(opts: __ExceptionOptionType<ReturnShippingLabelAlreadyExistsException, __BaseException>);
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* <p>The <code>NextToken</code> string was altered unexpectedly, and the operation has
|
|
157
|
+
* stopped. Run the operation without changing the <code>NextToken</code> string, and try
|
|
158
|
+
* again.</p>
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
162
|
+
readonly name: "InvalidNextTokenException";
|
|
163
|
+
readonly $fault: "client";
|
|
164
|
+
Message?: string | undefined;
|
|
165
|
+
/**
|
|
166
|
+
* @internal
|
|
167
|
+
*/
|
|
168
|
+
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
169
|
+
}
|