@aws-sdk/client-snowball 3.490.0 → 3.495.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.
Files changed (48) hide show
  1. package/dist-cjs/Snowball.js +1 -65
  2. package/dist-cjs/SnowballClient.js +1 -43
  3. package/dist-cjs/commands/CancelClusterCommand.js +1 -28
  4. package/dist-cjs/commands/CancelJobCommand.js +1 -28
  5. package/dist-cjs/commands/CreateAddressCommand.js +1 -28
  6. package/dist-cjs/commands/CreateClusterCommand.js +1 -28
  7. package/dist-cjs/commands/CreateJobCommand.js +1 -29
  8. package/dist-cjs/commands/CreateLongTermPricingCommand.js +1 -28
  9. package/dist-cjs/commands/CreateReturnShippingLabelCommand.js +1 -28
  10. package/dist-cjs/commands/DescribeAddressCommand.js +1 -28
  11. package/dist-cjs/commands/DescribeAddressesCommand.js +1 -28
  12. package/dist-cjs/commands/DescribeClusterCommand.js +1 -28
  13. package/dist-cjs/commands/DescribeJobCommand.js +1 -29
  14. package/dist-cjs/commands/DescribeReturnShippingLabelCommand.js +1 -28
  15. package/dist-cjs/commands/GetJobManifestCommand.js +1 -28
  16. package/dist-cjs/commands/GetJobUnlockCodeCommand.js +1 -28
  17. package/dist-cjs/commands/GetSnowballUsageCommand.js +1 -28
  18. package/dist-cjs/commands/GetSoftwareUpdatesCommand.js +1 -28
  19. package/dist-cjs/commands/ListClusterJobsCommand.js +1 -28
  20. package/dist-cjs/commands/ListClustersCommand.js +1 -28
  21. package/dist-cjs/commands/ListCompatibleImagesCommand.js +1 -28
  22. package/dist-cjs/commands/ListJobsCommand.js +1 -28
  23. package/dist-cjs/commands/ListLongTermPricingCommand.js +1 -28
  24. package/dist-cjs/commands/ListPickupLocationsCommand.js +1 -28
  25. package/dist-cjs/commands/ListServiceVersionsCommand.js +1 -28
  26. package/dist-cjs/commands/UpdateClusterCommand.js +1 -28
  27. package/dist-cjs/commands/UpdateJobCommand.js +1 -29
  28. package/dist-cjs/commands/UpdateJobShipmentStateCommand.js +1 -28
  29. package/dist-cjs/commands/UpdateLongTermPricingCommand.js +1 -28
  30. package/dist-cjs/commands/index.js +1 -30
  31. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  32. package/dist-cjs/extensionConfiguration.js +1 -2
  33. package/dist-cjs/index.js +2714 -11
  34. package/dist-cjs/models/SnowballServiceException.js +1 -12
  35. package/dist-cjs/models/index.js +1 -4
  36. package/dist-cjs/models/models_0.js +1 -293
  37. package/dist-cjs/pagination/DescribeAddressesPaginator.js +1 -7
  38. package/dist-cjs/pagination/Interfaces.js +1 -2
  39. package/dist-cjs/pagination/ListClusterJobsPaginator.js +1 -7
  40. package/dist-cjs/pagination/ListClustersPaginator.js +1 -7
  41. package/dist-cjs/pagination/ListCompatibleImagesPaginator.js +1 -7
  42. package/dist-cjs/pagination/ListJobsPaginator.js +1 -7
  43. package/dist-cjs/pagination/ListLongTermPricingPaginator.js +1 -7
  44. package/dist-cjs/pagination/ListPickupLocationsPaginator.js +1 -7
  45. package/dist-cjs/pagination/index.js +1 -11
  46. package/dist-cjs/protocols/Aws_json1_1.js +1 -1648
  47. package/dist-cjs/runtimeExtensions.js +1 -22
  48. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SnowballServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class SnowballServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, SnowballServiceException.prototype);
10
- }
11
- }
12
- exports.SnowballServiceException = SnowballServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,293 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateJobRequestFilterSensitiveLog = exports.DescribeJobResultFilterSensitiveLog = exports.JobMetadataFilterSensitiveLog = exports.CreateJobRequestFilterSensitiveLog = exports.PickupDetailsFilterSensitiveLog = exports.ShipmentState = exports.ServiceName = exports.ClusterState = exports.InvalidNextTokenException = exports.ReturnShippingLabelAlreadyExistsException = exports.ShippingLabelStatus = exports.ConflictException = exports.LongTermPricingType = exports.ImpactLevel = exports.ClusterLimitExceededException = exports.InvalidInputCombinationException = exports.Ec2RequestFailedException = exports.SnowballType = exports.SnowballCapacity = exports.ShippingOption = exports.TransferOption = exports.DeviceServiceName = exports.RemoteManagement = exports.StorageUnit = exports.JobState = exports.JobType = exports.UnsupportedAddressException = exports.InvalidAddressException = exports.KMSRequestFailedException = exports.InvalidResourceException = exports.InvalidJobStateException = exports.AddressType = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const SnowballServiceException_1 = require("./SnowballServiceException");
6
- exports.AddressType = {
7
- AWS_SHIP: "AWS_SHIP",
8
- CUST_PICKUP: "CUST_PICKUP",
9
- };
10
- class InvalidJobStateException extends SnowballServiceException_1.SnowballServiceException {
11
- constructor(opts) {
12
- super({
13
- name: "InvalidJobStateException",
14
- $fault: "client",
15
- ...opts,
16
- });
17
- this.name = "InvalidJobStateException";
18
- this.$fault = "client";
19
- Object.setPrototypeOf(this, InvalidJobStateException.prototype);
20
- this.Message = opts.Message;
21
- }
22
- }
23
- exports.InvalidJobStateException = InvalidJobStateException;
24
- class InvalidResourceException extends SnowballServiceException_1.SnowballServiceException {
25
- constructor(opts) {
26
- super({
27
- name: "InvalidResourceException",
28
- $fault: "client",
29
- ...opts,
30
- });
31
- this.name = "InvalidResourceException";
32
- this.$fault = "client";
33
- Object.setPrototypeOf(this, InvalidResourceException.prototype);
34
- this.Message = opts.Message;
35
- this.ResourceType = opts.ResourceType;
36
- }
37
- }
38
- exports.InvalidResourceException = InvalidResourceException;
39
- class KMSRequestFailedException extends SnowballServiceException_1.SnowballServiceException {
40
- constructor(opts) {
41
- super({
42
- name: "KMSRequestFailedException",
43
- $fault: "client",
44
- ...opts,
45
- });
46
- this.name = "KMSRequestFailedException";
47
- this.$fault = "client";
48
- Object.setPrototypeOf(this, KMSRequestFailedException.prototype);
49
- this.Message = opts.Message;
50
- }
51
- }
52
- exports.KMSRequestFailedException = KMSRequestFailedException;
53
- class InvalidAddressException extends SnowballServiceException_1.SnowballServiceException {
54
- constructor(opts) {
55
- super({
56
- name: "InvalidAddressException",
57
- $fault: "client",
58
- ...opts,
59
- });
60
- this.name = "InvalidAddressException";
61
- this.$fault = "client";
62
- Object.setPrototypeOf(this, InvalidAddressException.prototype);
63
- this.Message = opts.Message;
64
- }
65
- }
66
- exports.InvalidAddressException = InvalidAddressException;
67
- class UnsupportedAddressException extends SnowballServiceException_1.SnowballServiceException {
68
- constructor(opts) {
69
- super({
70
- name: "UnsupportedAddressException",
71
- $fault: "client",
72
- ...opts,
73
- });
74
- this.name = "UnsupportedAddressException";
75
- this.$fault = "client";
76
- Object.setPrototypeOf(this, UnsupportedAddressException.prototype);
77
- this.Message = opts.Message;
78
- }
79
- }
80
- exports.UnsupportedAddressException = UnsupportedAddressException;
81
- exports.JobType = {
82
- EXPORT: "EXPORT",
83
- IMPORT: "IMPORT",
84
- LOCAL_USE: "LOCAL_USE",
85
- };
86
- exports.JobState = {
87
- CANCELLED: "Cancelled",
88
- COMPLETE: "Complete",
89
- IN_PROGRESS: "InProgress",
90
- IN_TRANSIT_TO_AWS: "InTransitToAWS",
91
- IN_TRANSIT_TO_CUSTOMER: "InTransitToCustomer",
92
- LISTING: "Listing",
93
- NEW: "New",
94
- PENDING: "Pending",
95
- PREPARING_APPLIANCE: "PreparingAppliance",
96
- PREPARING_SHIPMENT: "PreparingShipment",
97
- WITH_AWS: "WithAWS",
98
- WITH_AWS_SORTING_FACILITY: "WithAWSSortingFacility",
99
- WITH_CUSTOMER: "WithCustomer",
100
- };
101
- exports.StorageUnit = {
102
- TB: "TB",
103
- };
104
- exports.RemoteManagement = {
105
- INSTALLED_AUTOSTART: "INSTALLED_AUTOSTART",
106
- INSTALLED_ONLY: "INSTALLED_ONLY",
107
- NOT_INSTALLED: "NOT_INSTALLED",
108
- };
109
- exports.DeviceServiceName = {
110
- NFS_ON_DEVICE_SERVICE: "NFS_ON_DEVICE_SERVICE",
111
- S3_ON_DEVICE_SERVICE: "S3_ON_DEVICE_SERVICE",
112
- };
113
- exports.TransferOption = {
114
- EXPORT: "EXPORT",
115
- IMPORT: "IMPORT",
116
- LOCAL_USE: "LOCAL_USE",
117
- };
118
- exports.ShippingOption = {
119
- EXPRESS: "EXPRESS",
120
- NEXT_DAY: "NEXT_DAY",
121
- SECOND_DAY: "SECOND_DAY",
122
- STANDARD: "STANDARD",
123
- };
124
- exports.SnowballCapacity = {
125
- NO_PREFERENCE: "NoPreference",
126
- T100: "T100",
127
- T13: "T13",
128
- T14: "T14",
129
- T240: "T240",
130
- T32: "T32",
131
- T42: "T42",
132
- T50: "T50",
133
- T8: "T8",
134
- T80: "T80",
135
- T98: "T98",
136
- };
137
- exports.SnowballType = {
138
- EDGE: "EDGE",
139
- EDGE_C: "EDGE_C",
140
- EDGE_CG: "EDGE_CG",
141
- EDGE_S: "EDGE_S",
142
- RACK_5U_C: "RACK_5U_C",
143
- SNC1_HDD: "SNC1_HDD",
144
- SNC1_SSD: "SNC1_SSD",
145
- STANDARD: "STANDARD",
146
- V3_5C: "V3_5C",
147
- V3_5S: "V3_5S",
148
- };
149
- class Ec2RequestFailedException extends SnowballServiceException_1.SnowballServiceException {
150
- constructor(opts) {
151
- super({
152
- name: "Ec2RequestFailedException",
153
- $fault: "client",
154
- ...opts,
155
- });
156
- this.name = "Ec2RequestFailedException";
157
- this.$fault = "client";
158
- Object.setPrototypeOf(this, Ec2RequestFailedException.prototype);
159
- this.Message = opts.Message;
160
- }
161
- }
162
- exports.Ec2RequestFailedException = Ec2RequestFailedException;
163
- class InvalidInputCombinationException extends SnowballServiceException_1.SnowballServiceException {
164
- constructor(opts) {
165
- super({
166
- name: "InvalidInputCombinationException",
167
- $fault: "client",
168
- ...opts,
169
- });
170
- this.name = "InvalidInputCombinationException";
171
- this.$fault = "client";
172
- Object.setPrototypeOf(this, InvalidInputCombinationException.prototype);
173
- this.Message = opts.Message;
174
- }
175
- }
176
- exports.InvalidInputCombinationException = InvalidInputCombinationException;
177
- class ClusterLimitExceededException extends SnowballServiceException_1.SnowballServiceException {
178
- constructor(opts) {
179
- super({
180
- name: "ClusterLimitExceededException",
181
- $fault: "client",
182
- ...opts,
183
- });
184
- this.name = "ClusterLimitExceededException";
185
- this.$fault = "client";
186
- Object.setPrototypeOf(this, ClusterLimitExceededException.prototype);
187
- this.Message = opts.Message;
188
- }
189
- }
190
- exports.ClusterLimitExceededException = ClusterLimitExceededException;
191
- exports.ImpactLevel = {
192
- IL2: "IL2",
193
- IL4: "IL4",
194
- IL5: "IL5",
195
- IL6: "IL6",
196
- IL99: "IL99",
197
- };
198
- exports.LongTermPricingType = {
199
- ONE_MONTH: "OneMonth",
200
- ONE_YEAR: "OneYear",
201
- THREE_YEAR: "ThreeYear",
202
- };
203
- class ConflictException extends SnowballServiceException_1.SnowballServiceException {
204
- constructor(opts) {
205
- super({
206
- name: "ConflictException",
207
- $fault: "client",
208
- ...opts,
209
- });
210
- this.name = "ConflictException";
211
- this.$fault = "client";
212
- Object.setPrototypeOf(this, ConflictException.prototype);
213
- this.ConflictResource = opts.ConflictResource;
214
- this.Message = opts.Message;
215
- }
216
- }
217
- exports.ConflictException = ConflictException;
218
- exports.ShippingLabelStatus = {
219
- FAILED: "Failed",
220
- IN_PROGRESS: "InProgress",
221
- SUCCEEDED: "Succeeded",
222
- TIMED_OUT: "TimedOut",
223
- };
224
- class ReturnShippingLabelAlreadyExistsException extends SnowballServiceException_1.SnowballServiceException {
225
- constructor(opts) {
226
- super({
227
- name: "ReturnShippingLabelAlreadyExistsException",
228
- $fault: "client",
229
- ...opts,
230
- });
231
- this.name = "ReturnShippingLabelAlreadyExistsException";
232
- this.$fault = "client";
233
- Object.setPrototypeOf(this, ReturnShippingLabelAlreadyExistsException.prototype);
234
- this.Message = opts.Message;
235
- }
236
- }
237
- exports.ReturnShippingLabelAlreadyExistsException = ReturnShippingLabelAlreadyExistsException;
238
- class InvalidNextTokenException extends SnowballServiceException_1.SnowballServiceException {
239
- constructor(opts) {
240
- super({
241
- name: "InvalidNextTokenException",
242
- $fault: "client",
243
- ...opts,
244
- });
245
- this.name = "InvalidNextTokenException";
246
- this.$fault = "client";
247
- Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
248
- this.Message = opts.Message;
249
- }
250
- }
251
- exports.InvalidNextTokenException = InvalidNextTokenException;
252
- exports.ClusterState = {
253
- AWAITING_QUORUM: "AwaitingQuorum",
254
- CANCELLED: "Cancelled",
255
- COMPLETE: "Complete",
256
- IN_USE: "InUse",
257
- PENDING: "Pending",
258
- };
259
- exports.ServiceName = {
260
- EKS_ANYWHERE: "EKS_ANYWHERE",
261
- KUBERNETES: "KUBERNETES",
262
- };
263
- exports.ShipmentState = {
264
- RECEIVED: "RECEIVED",
265
- RETURNED: "RETURNED",
266
- };
267
- const PickupDetailsFilterSensitiveLog = (obj) => ({
268
- ...obj,
269
- ...(obj.PhoneNumber && { PhoneNumber: smithy_client_1.SENSITIVE_STRING }),
270
- ...(obj.Email && { Email: smithy_client_1.SENSITIVE_STRING }),
271
- });
272
- exports.PickupDetailsFilterSensitiveLog = PickupDetailsFilterSensitiveLog;
273
- const CreateJobRequestFilterSensitiveLog = (obj) => ({
274
- ...obj,
275
- ...(obj.PickupDetails && { PickupDetails: (0, exports.PickupDetailsFilterSensitiveLog)(obj.PickupDetails) }),
276
- });
277
- exports.CreateJobRequestFilterSensitiveLog = CreateJobRequestFilterSensitiveLog;
278
- const JobMetadataFilterSensitiveLog = (obj) => ({
279
- ...obj,
280
- ...(obj.PickupDetails && { PickupDetails: (0, exports.PickupDetailsFilterSensitiveLog)(obj.PickupDetails) }),
281
- });
282
- exports.JobMetadataFilterSensitiveLog = JobMetadataFilterSensitiveLog;
283
- const DescribeJobResultFilterSensitiveLog = (obj) => ({
284
- ...obj,
285
- ...(obj.JobMetadata && { JobMetadata: (0, exports.JobMetadataFilterSensitiveLog)(obj.JobMetadata) }),
286
- ...(obj.SubJobMetadata && { SubJobMetadata: obj.SubJobMetadata.map((item) => (0, exports.JobMetadataFilterSensitiveLog)(item)) }),
287
- });
288
- exports.DescribeJobResultFilterSensitiveLog = DescribeJobResultFilterSensitiveLog;
289
- const UpdateJobRequestFilterSensitiveLog = (obj) => ({
290
- ...obj,
291
- ...(obj.PickupDetails && { PickupDetails: (0, exports.PickupDetailsFilterSensitiveLog)(obj.PickupDetails) }),
292
- });
293
- exports.UpdateJobRequestFilterSensitiveLog = UpdateJobRequestFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeAddresses = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeAddressesCommand_1 = require("../commands/DescribeAddressesCommand");
6
- const SnowballClient_1 = require("../SnowballClient");
7
- exports.paginateDescribeAddresses = (0, core_1.createPaginator)(SnowballClient_1.SnowballClient, DescribeAddressesCommand_1.DescribeAddressesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListClusterJobs = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListClusterJobsCommand_1 = require("../commands/ListClusterJobsCommand");
6
- const SnowballClient_1 = require("../SnowballClient");
7
- exports.paginateListClusterJobs = (0, core_1.createPaginator)(SnowballClient_1.SnowballClient, ListClusterJobsCommand_1.ListClusterJobsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListClusters = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListClustersCommand_1 = require("../commands/ListClustersCommand");
6
- const SnowballClient_1 = require("../SnowballClient");
7
- exports.paginateListClusters = (0, core_1.createPaginator)(SnowballClient_1.SnowballClient, ListClustersCommand_1.ListClustersCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListCompatibleImages = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListCompatibleImagesCommand_1 = require("../commands/ListCompatibleImagesCommand");
6
- const SnowballClient_1 = require("../SnowballClient");
7
- exports.paginateListCompatibleImages = (0, core_1.createPaginator)(SnowballClient_1.SnowballClient, ListCompatibleImagesCommand_1.ListCompatibleImagesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListJobs = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListJobsCommand_1 = require("../commands/ListJobsCommand");
6
- const SnowballClient_1 = require("../SnowballClient");
7
- exports.paginateListJobs = (0, core_1.createPaginator)(SnowballClient_1.SnowballClient, ListJobsCommand_1.ListJobsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListLongTermPricing = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListLongTermPricingCommand_1 = require("../commands/ListLongTermPricingCommand");
6
- const SnowballClient_1 = require("../SnowballClient");
7
- exports.paginateListLongTermPricing = (0, core_1.createPaginator)(SnowballClient_1.SnowballClient, ListLongTermPricingCommand_1.ListLongTermPricingCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListPickupLocations = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListPickupLocationsCommand_1 = require("../commands/ListPickupLocationsCommand");
6
- const SnowballClient_1 = require("../SnowballClient");
7
- exports.paginateListPickupLocations = (0, core_1.createPaginator)(SnowballClient_1.SnowballClient, ListPickupLocationsCommand_1.ListPickupLocationsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,11 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./DescribeAddressesPaginator"), exports);
5
- tslib_1.__exportStar(require("./Interfaces"), exports);
6
- tslib_1.__exportStar(require("./ListClusterJobsPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListClustersPaginator"), exports);
8
- tslib_1.__exportStar(require("./ListCompatibleImagesPaginator"), exports);
9
- tslib_1.__exportStar(require("./ListJobsPaginator"), exports);
10
- tslib_1.__exportStar(require("./ListLongTermPricingPaginator"), exports);
11
- tslib_1.__exportStar(require("./ListPickupLocationsPaginator"), exports);
1
+ module.exports = require("../index.js");