@aws-sdk/client-snowball 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.
@@ -0,0 +1,96 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { SnowballServiceException as __BaseException } from "./SnowballServiceException";
3
+ export declare class InvalidJobStateException extends __BaseException {
4
+ readonly name: "InvalidJobStateException";
5
+ readonly $fault: "client";
6
+ Message?: string | undefined;
7
+ constructor(
8
+ opts: __ExceptionOptionType<InvalidJobStateException, __BaseException>
9
+ );
10
+ }
11
+ export declare class InvalidResourceException extends __BaseException {
12
+ readonly name: "InvalidResourceException";
13
+ readonly $fault: "client";
14
+ Message?: string | undefined;
15
+ ResourceType?: string | undefined;
16
+ constructor(
17
+ opts: __ExceptionOptionType<InvalidResourceException, __BaseException>
18
+ );
19
+ }
20
+ export declare class KMSRequestFailedException extends __BaseException {
21
+ readonly name: "KMSRequestFailedException";
22
+ readonly $fault: "client";
23
+ Message?: string | undefined;
24
+ constructor(
25
+ opts: __ExceptionOptionType<KMSRequestFailedException, __BaseException>
26
+ );
27
+ }
28
+ export declare class InvalidAddressException extends __BaseException {
29
+ readonly name: "InvalidAddressException";
30
+ readonly $fault: "client";
31
+ Message?: string | undefined;
32
+ constructor(
33
+ opts: __ExceptionOptionType<InvalidAddressException, __BaseException>
34
+ );
35
+ }
36
+ export declare class UnsupportedAddressException extends __BaseException {
37
+ readonly name: "UnsupportedAddressException";
38
+ readonly $fault: "client";
39
+ Message?: string | undefined;
40
+ constructor(
41
+ opts: __ExceptionOptionType<UnsupportedAddressException, __BaseException>
42
+ );
43
+ }
44
+ export declare class Ec2RequestFailedException extends __BaseException {
45
+ readonly name: "Ec2RequestFailedException";
46
+ readonly $fault: "client";
47
+ Message?: string | undefined;
48
+ constructor(
49
+ opts: __ExceptionOptionType<Ec2RequestFailedException, __BaseException>
50
+ );
51
+ }
52
+ export declare class InvalidInputCombinationException extends __BaseException {
53
+ readonly name: "InvalidInputCombinationException";
54
+ readonly $fault: "client";
55
+ Message?: string | undefined;
56
+ constructor(
57
+ opts: __ExceptionOptionType<
58
+ InvalidInputCombinationException,
59
+ __BaseException
60
+ >
61
+ );
62
+ }
63
+ export declare class ClusterLimitExceededException extends __BaseException {
64
+ readonly name: "ClusterLimitExceededException";
65
+ readonly $fault: "client";
66
+ Message?: string | undefined;
67
+ constructor(
68
+ opts: __ExceptionOptionType<ClusterLimitExceededException, __BaseException>
69
+ );
70
+ }
71
+ export declare class ConflictException extends __BaseException {
72
+ readonly name: "ConflictException";
73
+ readonly $fault: "client";
74
+ ConflictResource?: string | undefined;
75
+ Message?: string | undefined;
76
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
77
+ }
78
+ export declare class ReturnShippingLabelAlreadyExistsException extends __BaseException {
79
+ readonly name: "ReturnShippingLabelAlreadyExistsException";
80
+ readonly $fault: "client";
81
+ Message?: string | undefined;
82
+ constructor(
83
+ opts: __ExceptionOptionType<
84
+ ReturnShippingLabelAlreadyExistsException,
85
+ __BaseException
86
+ >
87
+ );
88
+ }
89
+ export declare class InvalidNextTokenException extends __BaseException {
90
+ readonly name: "InvalidNextTokenException";
91
+ readonly $fault: "client";
92
+ Message?: string | undefined;
93
+ constructor(
94
+ opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
95
+ );
96
+ }
@@ -1,10 +1,21 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { SnowballServiceException as __BaseException } from "./SnowballServiceException";
3
- export declare const AddressType: {
4
- readonly AWS_SHIP: "AWS_SHIP";
5
- readonly CUST_PICKUP: "CUST_PICKUP";
6
- };
7
- export type AddressType = (typeof AddressType)[keyof typeof AddressType];
1
+ import {
2
+ AddressType,
3
+ ClusterState,
4
+ DeviceServiceName,
5
+ ImpactLevel,
6
+ JobState,
7
+ JobType,
8
+ LongTermPricingType,
9
+ RemoteManagement,
10
+ ServiceName,
11
+ ShipmentState,
12
+ ShippingLabelStatus,
13
+ ShippingOption,
14
+ SnowballCapacity,
15
+ SnowballType,
16
+ StorageUnit,
17
+ TransferOption,
18
+ } from "./enums";
8
19
  export interface Address {
9
20
  AddressId?: string | undefined;
10
21
  Name?: string | undefined;
@@ -26,31 +37,6 @@ export interface CancelClusterRequest {
26
37
  ClusterId: string | undefined;
27
38
  }
28
39
  export interface CancelClusterResult {}
29
- export declare class InvalidJobStateException extends __BaseException {
30
- readonly name: "InvalidJobStateException";
31
- readonly $fault: "client";
32
- Message?: string | undefined;
33
- constructor(
34
- opts: __ExceptionOptionType<InvalidJobStateException, __BaseException>
35
- );
36
- }
37
- export declare class InvalidResourceException extends __BaseException {
38
- readonly name: "InvalidResourceException";
39
- readonly $fault: "client";
40
- Message?: string | undefined;
41
- ResourceType?: string | undefined;
42
- constructor(
43
- opts: __ExceptionOptionType<InvalidResourceException, __BaseException>
44
- );
45
- }
46
- export declare class KMSRequestFailedException extends __BaseException {
47
- readonly name: "KMSRequestFailedException";
48
- readonly $fault: "client";
49
- Message?: string | undefined;
50
- constructor(
51
- opts: __ExceptionOptionType<KMSRequestFailedException, __BaseException>
52
- );
53
- }
54
40
  export interface CancelJobRequest {
55
41
  JobId: string | undefined;
56
42
  }
@@ -61,44 +47,6 @@ export interface CreateAddressRequest {
61
47
  export interface CreateAddressResult {
62
48
  AddressId?: string | undefined;
63
49
  }
64
- export declare class InvalidAddressException extends __BaseException {
65
- readonly name: "InvalidAddressException";
66
- readonly $fault: "client";
67
- Message?: string | undefined;
68
- constructor(
69
- opts: __ExceptionOptionType<InvalidAddressException, __BaseException>
70
- );
71
- }
72
- export declare class UnsupportedAddressException extends __BaseException {
73
- readonly name: "UnsupportedAddressException";
74
- readonly $fault: "client";
75
- Message?: string | undefined;
76
- constructor(
77
- opts: __ExceptionOptionType<UnsupportedAddressException, __BaseException>
78
- );
79
- }
80
- export declare const JobType: {
81
- readonly EXPORT: "EXPORT";
82
- readonly IMPORT: "IMPORT";
83
- readonly LOCAL_USE: "LOCAL_USE";
84
- };
85
- export type JobType = (typeof JobType)[keyof typeof JobType];
86
- export declare const JobState: {
87
- readonly CANCELLED: "Cancelled";
88
- readonly COMPLETE: "Complete";
89
- readonly IN_PROGRESS: "InProgress";
90
- readonly IN_TRANSIT_TO_AWS: "InTransitToAWS";
91
- readonly IN_TRANSIT_TO_CUSTOMER: "InTransitToCustomer";
92
- readonly LISTING: "Listing";
93
- readonly NEW: "New";
94
- readonly PENDING: "Pending";
95
- readonly PREPARING_APPLIANCE: "PreparingAppliance";
96
- readonly PREPARING_SHIPMENT: "PreparingShipment";
97
- readonly WITH_AWS: "WithAWS";
98
- readonly WITH_AWS_SORTING_FACILITY: "WithAWSSortingFacility";
99
- readonly WITH_CUSTOMER: "WithCustomer";
100
- };
101
- export type JobState = (typeof JobState)[keyof typeof JobState];
102
50
  export interface Notification {
103
51
  SnsTopicARN?: string | undefined;
104
52
  JobStatesToNotify?: JobState[] | undefined;
@@ -109,10 +57,6 @@ export interface EKSOnDeviceServiceConfiguration {
109
57
  KubernetesVersion?: string | undefined;
110
58
  EKSAnywhereVersion?: string | undefined;
111
59
  }
112
- export declare const StorageUnit: {
113
- readonly TB: "TB";
114
- };
115
- export type StorageUnit = (typeof StorageUnit)[keyof typeof StorageUnit];
116
60
  export interface NFSOnDeviceServiceConfiguration {
117
61
  StorageLimit?: number | undefined;
118
62
  StorageUnit?: StorageUnit | undefined;
@@ -133,13 +77,6 @@ export interface OnDeviceServiceConfiguration {
133
77
  EKSOnDeviceService?: EKSOnDeviceServiceConfiguration | undefined;
134
78
  S3OnDeviceService?: S3OnDeviceServiceConfiguration | undefined;
135
79
  }
136
- export declare const RemoteManagement: {
137
- readonly INSTALLED_AUTOSTART: "INSTALLED_AUTOSTART";
138
- readonly INSTALLED_ONLY: "INSTALLED_ONLY";
139
- readonly NOT_INSTALLED: "NOT_INSTALLED";
140
- };
141
- export type RemoteManagement =
142
- (typeof RemoteManagement)[keyof typeof RemoteManagement];
143
80
  export interface Ec2AmiResource {
144
81
  AmiId: string | undefined;
145
82
  SnowballAmiId?: string | undefined;
@@ -155,19 +92,6 @@ export interface KeyRange {
155
92
  BeginMarker?: string | undefined;
156
93
  EndMarker?: string | undefined;
157
94
  }
158
- export declare const DeviceServiceName: {
159
- readonly NFS_ON_DEVICE_SERVICE: "NFS_ON_DEVICE_SERVICE";
160
- readonly S3_ON_DEVICE_SERVICE: "S3_ON_DEVICE_SERVICE";
161
- };
162
- export type DeviceServiceName =
163
- (typeof DeviceServiceName)[keyof typeof DeviceServiceName];
164
- export declare const TransferOption: {
165
- readonly EXPORT: "EXPORT";
166
- readonly IMPORT: "IMPORT";
167
- readonly LOCAL_USE: "LOCAL_USE";
168
- };
169
- export type TransferOption =
170
- (typeof TransferOption)[keyof typeof TransferOption];
171
95
  export interface TargetOnDeviceService {
172
96
  ServiceName?: DeviceServiceName | undefined;
173
97
  TransferOption?: TransferOption | undefined;
@@ -182,42 +106,6 @@ export interface JobResource {
182
106
  LambdaResources?: LambdaResource[] | undefined;
183
107
  Ec2AmiResources?: Ec2AmiResource[] | undefined;
184
108
  }
185
- export declare const ShippingOption: {
186
- readonly EXPRESS: "EXPRESS";
187
- readonly NEXT_DAY: "NEXT_DAY";
188
- readonly SECOND_DAY: "SECOND_DAY";
189
- readonly STANDARD: "STANDARD";
190
- };
191
- export type ShippingOption =
192
- (typeof ShippingOption)[keyof typeof ShippingOption];
193
- export declare const SnowballCapacity: {
194
- readonly NO_PREFERENCE: "NoPreference";
195
- readonly T100: "T100";
196
- readonly T13: "T13";
197
- readonly T14: "T14";
198
- readonly T240: "T240";
199
- readonly T32: "T32";
200
- readonly T42: "T42";
201
- readonly T50: "T50";
202
- readonly T8: "T8";
203
- readonly T80: "T80";
204
- readonly T98: "T98";
205
- };
206
- export type SnowballCapacity =
207
- (typeof SnowballCapacity)[keyof typeof SnowballCapacity];
208
- export declare const SnowballType: {
209
- readonly EDGE: "EDGE";
210
- readonly EDGE_C: "EDGE_C";
211
- readonly EDGE_CG: "EDGE_CG";
212
- readonly EDGE_S: "EDGE_S";
213
- readonly RACK_5U_C: "RACK_5U_C";
214
- readonly SNC1_HDD: "SNC1_HDD";
215
- readonly SNC1_SSD: "SNC1_SSD";
216
- readonly STANDARD: "STANDARD";
217
- readonly V3_5C: "V3_5C";
218
- readonly V3_5S: "V3_5S";
219
- };
220
- export type SnowballType = (typeof SnowballType)[keyof typeof SnowballType];
221
109
  export interface INDTaxDocuments {
222
110
  GSTIN?: string | undefined;
223
111
  }
@@ -256,33 +144,6 @@ export interface CreateClusterResult {
256
144
  ClusterId?: string | undefined;
257
145
  JobListEntries?: JobListEntry[] | undefined;
258
146
  }
259
- export declare class Ec2RequestFailedException extends __BaseException {
260
- readonly name: "Ec2RequestFailedException";
261
- readonly $fault: "client";
262
- Message?: string | undefined;
263
- constructor(
264
- opts: __ExceptionOptionType<Ec2RequestFailedException, __BaseException>
265
- );
266
- }
267
- export declare class InvalidInputCombinationException extends __BaseException {
268
- readonly name: "InvalidInputCombinationException";
269
- readonly $fault: "client";
270
- Message?: string | undefined;
271
- constructor(
272
- opts: __ExceptionOptionType<
273
- InvalidInputCombinationException,
274
- __BaseException
275
- >
276
- );
277
- }
278
- export declare class ClusterLimitExceededException extends __BaseException {
279
- readonly name: "ClusterLimitExceededException";
280
- readonly $fault: "client";
281
- Message?: string | undefined;
282
- constructor(
283
- opts: __ExceptionOptionType<ClusterLimitExceededException, __BaseException>
284
- );
285
- }
286
147
  export interface WirelessConnection {
287
148
  IsWifiEnabled?: boolean | undefined;
288
149
  }
@@ -292,14 +153,6 @@ export interface SnowconeDeviceConfiguration {
292
153
  export interface DeviceConfiguration {
293
154
  SnowconeDeviceConfiguration?: SnowconeDeviceConfiguration | undefined;
294
155
  }
295
- export declare const ImpactLevel: {
296
- readonly IL2: "IL2";
297
- readonly IL4: "IL4";
298
- readonly IL5: "IL5";
299
- readonly IL6: "IL6";
300
- readonly IL99: "IL99";
301
- };
302
- export type ImpactLevel = (typeof ImpactLevel)[keyof typeof ImpactLevel];
303
156
  export interface PickupDetails {
304
157
  Name?: string | undefined;
305
158
  PhoneNumber?: string | undefined;
@@ -333,13 +186,6 @@ export interface CreateJobRequest {
333
186
  export interface CreateJobResult {
334
187
  JobId?: string | undefined;
335
188
  }
336
- export declare const LongTermPricingType: {
337
- readonly ONE_MONTH: "OneMonth";
338
- readonly ONE_YEAR: "OneYear";
339
- readonly THREE_YEAR: "ThreeYear";
340
- };
341
- export type LongTermPricingType =
342
- (typeof LongTermPricingType)[keyof typeof LongTermPricingType];
343
189
  export interface CreateLongTermPricingRequest {
344
190
  LongTermPricingType: LongTermPricingType | undefined;
345
191
  IsLongTermPricingAutoRenew?: boolean | undefined;
@@ -348,39 +194,13 @@ export interface CreateLongTermPricingRequest {
348
194
  export interface CreateLongTermPricingResult {
349
195
  LongTermPricingId?: string | undefined;
350
196
  }
351
- export declare class ConflictException extends __BaseException {
352
- readonly name: "ConflictException";
353
- readonly $fault: "client";
354
- ConflictResource?: string | undefined;
355
- Message?: string | undefined;
356
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
357
- }
358
197
  export interface CreateReturnShippingLabelRequest {
359
198
  JobId: string | undefined;
360
199
  ShippingOption?: ShippingOption | undefined;
361
200
  }
362
- export declare const ShippingLabelStatus: {
363
- readonly FAILED: "Failed";
364
- readonly IN_PROGRESS: "InProgress";
365
- readonly SUCCEEDED: "Succeeded";
366
- readonly TIMED_OUT: "TimedOut";
367
- };
368
- export type ShippingLabelStatus =
369
- (typeof ShippingLabelStatus)[keyof typeof ShippingLabelStatus];
370
201
  export interface CreateReturnShippingLabelResult {
371
202
  Status?: ShippingLabelStatus | undefined;
372
203
  }
373
- export declare class ReturnShippingLabelAlreadyExistsException extends __BaseException {
374
- readonly name: "ReturnShippingLabelAlreadyExistsException";
375
- readonly $fault: "client";
376
- Message?: string | undefined;
377
- constructor(
378
- opts: __ExceptionOptionType<
379
- ReturnShippingLabelAlreadyExistsException,
380
- __BaseException
381
- >
382
- );
383
- }
384
204
  export interface DescribeAddressRequest {
385
205
  AddressId: string | undefined;
386
206
  }
@@ -395,25 +215,9 @@ export interface DescribeAddressesResult {
395
215
  Addresses?: Address[] | undefined;
396
216
  NextToken?: string | undefined;
397
217
  }
398
- export declare class InvalidNextTokenException extends __BaseException {
399
- readonly name: "InvalidNextTokenException";
400
- readonly $fault: "client";
401
- Message?: string | undefined;
402
- constructor(
403
- opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
404
- );
405
- }
406
218
  export interface DescribeClusterRequest {
407
219
  ClusterId: string | undefined;
408
220
  }
409
- export declare const ClusterState: {
410
- readonly AWAITING_QUORUM: "AwaitingQuorum";
411
- readonly CANCELLED: "Cancelled";
412
- readonly COMPLETE: "Complete";
413
- readonly IN_USE: "InUse";
414
- readonly PENDING: "Pending";
415
- };
416
- export type ClusterState = (typeof ClusterState)[keyof typeof ClusterState];
417
221
  export interface ClusterMetadata {
418
222
  ClusterId?: string | undefined;
419
223
  Description?: string | undefined;
@@ -590,11 +394,6 @@ export interface ListPickupLocationsResult {
590
394
  Addresses?: Address[] | undefined;
591
395
  NextToken?: string | undefined;
592
396
  }
593
- export declare const ServiceName: {
594
- readonly EKS_ANYWHERE: "EKS_ANYWHERE";
595
- readonly KUBERNETES: "KUBERNETES";
596
- };
597
- export type ServiceName = (typeof ServiceName)[keyof typeof ServiceName];
598
397
  export interface ServiceVersion {
599
398
  Version?: string | undefined;
600
399
  }
@@ -640,11 +439,6 @@ export interface UpdateJobRequest {
640
439
  PickupDetails?: PickupDetails | undefined;
641
440
  }
642
441
  export interface UpdateJobResult {}
643
- export declare const ShipmentState: {
644
- readonly RECEIVED: "RECEIVED";
645
- readonly RETURNED: "RETURNED";
646
- };
647
- export type ShipmentState = (typeof ShipmentState)[keyof typeof ShipmentState];
648
442
  export interface UpdateJobShipmentStateRequest {
649
443
  JobId: string | undefined;
650
444
  ShipmentState: ShipmentState | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-snowball",
3
3
  "description": "AWS SDK for JavaScript Snowball Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-snowball",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";