@aws-sdk/client-snowball 3.316.0 → 3.317.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/models/models_0.js +15 -12
- package/dist-cjs/protocols/Aws_json1_1.js +114 -7
- package/dist-es/models/models_0.js +14 -11
- package/dist-es/protocols/Aws_json1_1.js +115 -8
- package/dist-types/commands/CreateClusterCommand.d.ts +15 -3
- package/dist-types/commands/CreateJobCommand.d.ts +37 -5
- package/dist-types/commands/CreateLongTermPricingCommand.d.ts +2 -2
- package/dist-types/commands/ListCompatibleImagesCommand.d.ts +3 -4
- package/dist-types/commands/UpdateClusterCommand.d.ts +7 -1
- package/dist-types/commands/UpdateJobCommand.d.ts +8 -2
- package/dist-types/models/models_0.d.ts +122 -63
- package/dist-types/ts3.4/models/models_0.d.ts +39 -24
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ShipmentState = exports.ServiceName = exports.ClusterState = exports.InvalidNextTokenException = exports.ReturnShippingLabelAlreadyExistsException = exports.ShippingLabelStatus = exports.ConflictException = exports.LongTermPricingType = exports.
|
|
3
|
+
exports.ShipmentState = exports.ServiceName = exports.ClusterState = exports.InvalidNextTokenException = exports.ReturnShippingLabelAlreadyExistsException = exports.ShippingLabelStatus = exports.ConflictException = exports.LongTermPricingType = 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 = void 0;
|
|
4
4
|
const SnowballServiceException_1 = require("./SnowballServiceException");
|
|
5
5
|
class InvalidJobStateException extends SnowballServiceException_1.SnowballServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -115,6 +115,18 @@ exports.ShippingOption = {
|
|
|
115
115
|
SECOND_DAY: "SECOND_DAY",
|
|
116
116
|
STANDARD: "STANDARD",
|
|
117
117
|
};
|
|
118
|
+
exports.SnowballCapacity = {
|
|
119
|
+
NO_PREFERENCE: "NoPreference",
|
|
120
|
+
T100: "T100",
|
|
121
|
+
T14: "T14",
|
|
122
|
+
T240: "T240",
|
|
123
|
+
T32: "T32",
|
|
124
|
+
T42: "T42",
|
|
125
|
+
T50: "T50",
|
|
126
|
+
T8: "T8",
|
|
127
|
+
T80: "T80",
|
|
128
|
+
T98: "T98",
|
|
129
|
+
};
|
|
118
130
|
exports.SnowballType = {
|
|
119
131
|
EDGE: "EDGE",
|
|
120
132
|
EDGE_C: "EDGE_C",
|
|
@@ -124,6 +136,7 @@ exports.SnowballType = {
|
|
|
124
136
|
SNC1_SSD: "SNC1_SSD",
|
|
125
137
|
STANDARD: "STANDARD",
|
|
126
138
|
V3_5C: "V3_5C",
|
|
139
|
+
V3_5S: "V3_5S",
|
|
127
140
|
};
|
|
128
141
|
class Ec2RequestFailedException extends SnowballServiceException_1.SnowballServiceException {
|
|
129
142
|
constructor(opts) {
|
|
@@ -167,18 +180,8 @@ class ClusterLimitExceededException extends SnowballServiceException_1.SnowballS
|
|
|
167
180
|
}
|
|
168
181
|
}
|
|
169
182
|
exports.ClusterLimitExceededException = ClusterLimitExceededException;
|
|
170
|
-
exports.SnowballCapacity = {
|
|
171
|
-
NO_PREFERENCE: "NoPreference",
|
|
172
|
-
T100: "T100",
|
|
173
|
-
T14: "T14",
|
|
174
|
-
T32: "T32",
|
|
175
|
-
T42: "T42",
|
|
176
|
-
T50: "T50",
|
|
177
|
-
T8: "T8",
|
|
178
|
-
T80: "T80",
|
|
179
|
-
T98: "T98",
|
|
180
|
-
};
|
|
181
183
|
exports.LongTermPricingType = {
|
|
184
|
+
ONE_MONTH: "OneMonth",
|
|
182
185
|
ONE_YEAR: "OneYear",
|
|
183
186
|
THREE_YEAR: "ThreeYear",
|
|
184
187
|
};
|
|
@@ -30,14 +30,14 @@ exports.se_CreateAddressCommand = se_CreateAddressCommand;
|
|
|
30
30
|
const se_CreateClusterCommand = async (input, context) => {
|
|
31
31
|
const headers = sharedHeaders("CreateCluster");
|
|
32
32
|
let body;
|
|
33
|
-
body = JSON.stringify((
|
|
33
|
+
body = JSON.stringify(se_CreateClusterRequest(input, context));
|
|
34
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
35
|
};
|
|
36
36
|
exports.se_CreateClusterCommand = se_CreateClusterCommand;
|
|
37
37
|
const se_CreateJobCommand = async (input, context) => {
|
|
38
38
|
const headers = sharedHeaders("CreateJob");
|
|
39
39
|
let body;
|
|
40
|
-
body = JSON.stringify((
|
|
40
|
+
body = JSON.stringify(se_CreateJobRequest(input, context));
|
|
41
41
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
42
42
|
};
|
|
43
43
|
exports.se_CreateJobCommand = se_CreateJobCommand;
|
|
@@ -163,14 +163,14 @@ exports.se_ListServiceVersionsCommand = se_ListServiceVersionsCommand;
|
|
|
163
163
|
const se_UpdateClusterCommand = async (input, context) => {
|
|
164
164
|
const headers = sharedHeaders("UpdateCluster");
|
|
165
165
|
let body;
|
|
166
|
-
body = JSON.stringify((
|
|
166
|
+
body = JSON.stringify(se_UpdateClusterRequest(input, context));
|
|
167
167
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
168
|
};
|
|
169
169
|
exports.se_UpdateClusterCommand = se_UpdateClusterCommand;
|
|
170
170
|
const se_UpdateJobCommand = async (input, context) => {
|
|
171
171
|
const headers = sharedHeaders("UpdateJob");
|
|
172
172
|
let body;
|
|
173
|
-
body = JSON.stringify((
|
|
173
|
+
body = JSON.stringify(se_UpdateJobRequest(input, context));
|
|
174
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
175
|
};
|
|
176
176
|
exports.se_UpdateJobCommand = se_UpdateJobCommand;
|
|
@@ -308,7 +308,7 @@ const de_CreateClusterCommand = async (output, context) => {
|
|
|
308
308
|
}
|
|
309
309
|
const data = await parseBody(output.body, context);
|
|
310
310
|
let contents = {};
|
|
311
|
-
contents = (
|
|
311
|
+
contents = de_CreateClusterResult(data, context);
|
|
312
312
|
const response = {
|
|
313
313
|
$metadata: deserializeMetadata(output),
|
|
314
314
|
...contents,
|
|
@@ -1247,6 +1247,91 @@ const de_UnsupportedAddressExceptionRes = async (parsedOutput, context) => {
|
|
|
1247
1247
|
});
|
|
1248
1248
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1249
1249
|
};
|
|
1250
|
+
const se_CreateClusterRequest = (input, context) => {
|
|
1251
|
+
return (0, smithy_client_1.take)(input, {
|
|
1252
|
+
AddressId: [],
|
|
1253
|
+
Description: [],
|
|
1254
|
+
ForceCreateJobs: [],
|
|
1255
|
+
ForwardingAddressId: [],
|
|
1256
|
+
InitialClusterSize: [],
|
|
1257
|
+
JobType: [],
|
|
1258
|
+
KmsKeyARN: [],
|
|
1259
|
+
LongTermPricingIds: smithy_client_1._json,
|
|
1260
|
+
Notification: smithy_client_1._json,
|
|
1261
|
+
OnDeviceServiceConfiguration: (_) => se_OnDeviceServiceConfiguration(_, context),
|
|
1262
|
+
RemoteManagement: [],
|
|
1263
|
+
Resources: smithy_client_1._json,
|
|
1264
|
+
RoleARN: [],
|
|
1265
|
+
ShippingOption: [],
|
|
1266
|
+
SnowballCapacityPreference: [],
|
|
1267
|
+
SnowballType: [],
|
|
1268
|
+
TaxDocuments: smithy_client_1._json,
|
|
1269
|
+
});
|
|
1270
|
+
};
|
|
1271
|
+
const se_CreateJobRequest = (input, context) => {
|
|
1272
|
+
return (0, smithy_client_1.take)(input, {
|
|
1273
|
+
AddressId: [],
|
|
1274
|
+
ClusterId: [],
|
|
1275
|
+
Description: [],
|
|
1276
|
+
DeviceConfiguration: smithy_client_1._json,
|
|
1277
|
+
ForwardingAddressId: [],
|
|
1278
|
+
JobType: [],
|
|
1279
|
+
KmsKeyARN: [],
|
|
1280
|
+
LongTermPricingId: [],
|
|
1281
|
+
Notification: smithy_client_1._json,
|
|
1282
|
+
OnDeviceServiceConfiguration: (_) => se_OnDeviceServiceConfiguration(_, context),
|
|
1283
|
+
RemoteManagement: [],
|
|
1284
|
+
Resources: smithy_client_1._json,
|
|
1285
|
+
RoleARN: [],
|
|
1286
|
+
ShippingOption: [],
|
|
1287
|
+
SnowballCapacityPreference: [],
|
|
1288
|
+
SnowballType: [],
|
|
1289
|
+
TaxDocuments: smithy_client_1._json,
|
|
1290
|
+
});
|
|
1291
|
+
};
|
|
1292
|
+
const se_OnDeviceServiceConfiguration = (input, context) => {
|
|
1293
|
+
return (0, smithy_client_1.take)(input, {
|
|
1294
|
+
EKSOnDeviceService: smithy_client_1._json,
|
|
1295
|
+
NFSOnDeviceService: smithy_client_1._json,
|
|
1296
|
+
S3OnDeviceService: (_) => se_S3OnDeviceServiceConfiguration(_, context),
|
|
1297
|
+
TGWOnDeviceService: smithy_client_1._json,
|
|
1298
|
+
});
|
|
1299
|
+
};
|
|
1300
|
+
const se_S3OnDeviceServiceConfiguration = (input, context) => {
|
|
1301
|
+
return (0, smithy_client_1.take)(input, {
|
|
1302
|
+
FaultTolerance: [],
|
|
1303
|
+
ServiceSize: [],
|
|
1304
|
+
StorageLimit: smithy_client_1.serializeFloat,
|
|
1305
|
+
StorageUnit: [],
|
|
1306
|
+
});
|
|
1307
|
+
};
|
|
1308
|
+
const se_UpdateClusterRequest = (input, context) => {
|
|
1309
|
+
return (0, smithy_client_1.take)(input, {
|
|
1310
|
+
AddressId: [],
|
|
1311
|
+
ClusterId: [],
|
|
1312
|
+
Description: [],
|
|
1313
|
+
ForwardingAddressId: [],
|
|
1314
|
+
Notification: smithy_client_1._json,
|
|
1315
|
+
OnDeviceServiceConfiguration: (_) => se_OnDeviceServiceConfiguration(_, context),
|
|
1316
|
+
Resources: smithy_client_1._json,
|
|
1317
|
+
RoleARN: [],
|
|
1318
|
+
ShippingOption: [],
|
|
1319
|
+
});
|
|
1320
|
+
};
|
|
1321
|
+
const se_UpdateJobRequest = (input, context) => {
|
|
1322
|
+
return (0, smithy_client_1.take)(input, {
|
|
1323
|
+
AddressId: [],
|
|
1324
|
+
Description: [],
|
|
1325
|
+
ForwardingAddressId: [],
|
|
1326
|
+
JobId: [],
|
|
1327
|
+
Notification: smithy_client_1._json,
|
|
1328
|
+
OnDeviceServiceConfiguration: (_) => se_OnDeviceServiceConfiguration(_, context),
|
|
1329
|
+
Resources: smithy_client_1._json,
|
|
1330
|
+
RoleARN: [],
|
|
1331
|
+
ShippingOption: [],
|
|
1332
|
+
SnowballCapacityPreference: [],
|
|
1333
|
+
});
|
|
1334
|
+
};
|
|
1250
1335
|
const de_ClusterListEntry = (output, context) => {
|
|
1251
1336
|
return (0, smithy_client_1.take)(output, {
|
|
1252
1337
|
ClusterId: smithy_client_1.expectString,
|
|
@@ -1274,7 +1359,7 @@ const de_ClusterMetadata = (output, context) => {
|
|
|
1274
1359
|
JobType: smithy_client_1.expectString,
|
|
1275
1360
|
KmsKeyARN: smithy_client_1.expectString,
|
|
1276
1361
|
Notification: smithy_client_1._json,
|
|
1277
|
-
OnDeviceServiceConfiguration:
|
|
1362
|
+
OnDeviceServiceConfiguration: (_) => de_OnDeviceServiceConfiguration(_, context),
|
|
1278
1363
|
Resources: smithy_client_1._json,
|
|
1279
1364
|
RoleARN: smithy_client_1.expectString,
|
|
1280
1365
|
ShippingOption: smithy_client_1.expectString,
|
|
@@ -1282,6 +1367,12 @@ const de_ClusterMetadata = (output, context) => {
|
|
|
1282
1367
|
TaxDocuments: smithy_client_1._json,
|
|
1283
1368
|
});
|
|
1284
1369
|
};
|
|
1370
|
+
const de_CreateClusterResult = (output, context) => {
|
|
1371
|
+
return (0, smithy_client_1.take)(output, {
|
|
1372
|
+
ClusterId: smithy_client_1.expectString,
|
|
1373
|
+
JobListEntries: (_) => de_JobListEntryList(_, context),
|
|
1374
|
+
});
|
|
1375
|
+
};
|
|
1285
1376
|
const de_DescribeClusterResult = (output, context) => {
|
|
1286
1377
|
return (0, smithy_client_1.take)(output, {
|
|
1287
1378
|
ClusterMetadata: (_) => de_ClusterMetadata(_, context),
|
|
@@ -1335,7 +1426,7 @@ const de_JobMetadata = (output, context) => {
|
|
|
1335
1426
|
KmsKeyARN: smithy_client_1.expectString,
|
|
1336
1427
|
LongTermPricingId: smithy_client_1.expectString,
|
|
1337
1428
|
Notification: smithy_client_1._json,
|
|
1338
|
-
OnDeviceServiceConfiguration:
|
|
1429
|
+
OnDeviceServiceConfiguration: (_) => de_OnDeviceServiceConfiguration(_, context),
|
|
1339
1430
|
RemoteManagement: smithy_client_1.expectString,
|
|
1340
1431
|
Resources: smithy_client_1._json,
|
|
1341
1432
|
RoleARN: smithy_client_1.expectString,
|
|
@@ -1399,6 +1490,22 @@ const de_LongTermPricingListEntry = (output, context) => {
|
|
|
1399
1490
|
SnowballType: smithy_client_1.expectString,
|
|
1400
1491
|
});
|
|
1401
1492
|
};
|
|
1493
|
+
const de_OnDeviceServiceConfiguration = (output, context) => {
|
|
1494
|
+
return (0, smithy_client_1.take)(output, {
|
|
1495
|
+
EKSOnDeviceService: smithy_client_1._json,
|
|
1496
|
+
NFSOnDeviceService: smithy_client_1._json,
|
|
1497
|
+
S3OnDeviceService: (_) => de_S3OnDeviceServiceConfiguration(_, context),
|
|
1498
|
+
TGWOnDeviceService: smithy_client_1._json,
|
|
1499
|
+
});
|
|
1500
|
+
};
|
|
1501
|
+
const de_S3OnDeviceServiceConfiguration = (output, context) => {
|
|
1502
|
+
return (0, smithy_client_1.take)(output, {
|
|
1503
|
+
FaultTolerance: smithy_client_1.expectInt32,
|
|
1504
|
+
ServiceSize: smithy_client_1.expectInt32,
|
|
1505
|
+
StorageLimit: smithy_client_1.limitedParseDouble,
|
|
1506
|
+
StorageUnit: smithy_client_1.expectString,
|
|
1507
|
+
});
|
|
1508
|
+
};
|
|
1402
1509
|
const deserializeMetadata = (output) => ({
|
|
1403
1510
|
httpStatusCode: output.statusCode,
|
|
1404
1511
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -107,6 +107,18 @@ export const ShippingOption = {
|
|
|
107
107
|
SECOND_DAY: "SECOND_DAY",
|
|
108
108
|
STANDARD: "STANDARD",
|
|
109
109
|
};
|
|
110
|
+
export const SnowballCapacity = {
|
|
111
|
+
NO_PREFERENCE: "NoPreference",
|
|
112
|
+
T100: "T100",
|
|
113
|
+
T14: "T14",
|
|
114
|
+
T240: "T240",
|
|
115
|
+
T32: "T32",
|
|
116
|
+
T42: "T42",
|
|
117
|
+
T50: "T50",
|
|
118
|
+
T8: "T8",
|
|
119
|
+
T80: "T80",
|
|
120
|
+
T98: "T98",
|
|
121
|
+
};
|
|
110
122
|
export const SnowballType = {
|
|
111
123
|
EDGE: "EDGE",
|
|
112
124
|
EDGE_C: "EDGE_C",
|
|
@@ -116,6 +128,7 @@ export const SnowballType = {
|
|
|
116
128
|
SNC1_SSD: "SNC1_SSD",
|
|
117
129
|
STANDARD: "STANDARD",
|
|
118
130
|
V3_5C: "V3_5C",
|
|
131
|
+
V3_5S: "V3_5S",
|
|
119
132
|
};
|
|
120
133
|
export class Ec2RequestFailedException extends __BaseException {
|
|
121
134
|
constructor(opts) {
|
|
@@ -156,18 +169,8 @@ export class ClusterLimitExceededException extends __BaseException {
|
|
|
156
169
|
this.Message = opts.Message;
|
|
157
170
|
}
|
|
158
171
|
}
|
|
159
|
-
export const SnowballCapacity = {
|
|
160
|
-
NO_PREFERENCE: "NoPreference",
|
|
161
|
-
T100: "T100",
|
|
162
|
-
T14: "T14",
|
|
163
|
-
T32: "T32",
|
|
164
|
-
T42: "T42",
|
|
165
|
-
T50: "T50",
|
|
166
|
-
T8: "T8",
|
|
167
|
-
T80: "T80",
|
|
168
|
-
T98: "T98",
|
|
169
|
-
};
|
|
170
172
|
export const LongTermPricingType = {
|
|
173
|
+
ONE_MONTH: "OneMonth",
|
|
171
174
|
ONE_YEAR: "OneYear",
|
|
172
175
|
THREE_YEAR: "ThreeYear",
|
|
173
176
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { ClusterLimitExceededException, ConflictException, Ec2RequestFailedException, InvalidAddressException, InvalidInputCombinationException, InvalidJobStateException, InvalidNextTokenException, InvalidResourceException, KMSRequestFailedException, ReturnShippingLabelAlreadyExistsException, UnsupportedAddressException, } from "../models/models_0";
|
|
4
4
|
import { SnowballServiceException as __BaseException } from "../models/SnowballServiceException";
|
|
5
5
|
export const se_CancelClusterCommand = async (input, context) => {
|
|
@@ -23,13 +23,13 @@ export const se_CreateAddressCommand = async (input, context) => {
|
|
|
23
23
|
export const se_CreateClusterCommand = async (input, context) => {
|
|
24
24
|
const headers = sharedHeaders("CreateCluster");
|
|
25
25
|
let body;
|
|
26
|
-
body = JSON.stringify(
|
|
26
|
+
body = JSON.stringify(se_CreateClusterRequest(input, context));
|
|
27
27
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
28
|
};
|
|
29
29
|
export const se_CreateJobCommand = async (input, context) => {
|
|
30
30
|
const headers = sharedHeaders("CreateJob");
|
|
31
31
|
let body;
|
|
32
|
-
body = JSON.stringify(
|
|
32
|
+
body = JSON.stringify(se_CreateJobRequest(input, context));
|
|
33
33
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
34
34
|
};
|
|
35
35
|
export const se_CreateLongTermPricingCommand = async (input, context) => {
|
|
@@ -137,13 +137,13 @@ export const se_ListServiceVersionsCommand = async (input, context) => {
|
|
|
137
137
|
export const se_UpdateClusterCommand = async (input, context) => {
|
|
138
138
|
const headers = sharedHeaders("UpdateCluster");
|
|
139
139
|
let body;
|
|
140
|
-
body = JSON.stringify(
|
|
140
|
+
body = JSON.stringify(se_UpdateClusterRequest(input, context));
|
|
141
141
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
142
142
|
};
|
|
143
143
|
export const se_UpdateJobCommand = async (input, context) => {
|
|
144
144
|
const headers = sharedHeaders("UpdateJob");
|
|
145
145
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify(se_UpdateJobRequest(input, context));
|
|
147
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
148
|
};
|
|
149
149
|
export const se_UpdateJobShipmentStateCommand = async (input, context) => {
|
|
@@ -275,7 +275,7 @@ export const de_CreateClusterCommand = async (output, context) => {
|
|
|
275
275
|
}
|
|
276
276
|
const data = await parseBody(output.body, context);
|
|
277
277
|
let contents = {};
|
|
278
|
-
contents =
|
|
278
|
+
contents = de_CreateClusterResult(data, context);
|
|
279
279
|
const response = {
|
|
280
280
|
$metadata: deserializeMetadata(output),
|
|
281
281
|
...contents,
|
|
@@ -1191,6 +1191,91 @@ const de_UnsupportedAddressExceptionRes = async (parsedOutput, context) => {
|
|
|
1191
1191
|
});
|
|
1192
1192
|
return __decorateServiceException(exception, body);
|
|
1193
1193
|
};
|
|
1194
|
+
const se_CreateClusterRequest = (input, context) => {
|
|
1195
|
+
return take(input, {
|
|
1196
|
+
AddressId: [],
|
|
1197
|
+
Description: [],
|
|
1198
|
+
ForceCreateJobs: [],
|
|
1199
|
+
ForwardingAddressId: [],
|
|
1200
|
+
InitialClusterSize: [],
|
|
1201
|
+
JobType: [],
|
|
1202
|
+
KmsKeyARN: [],
|
|
1203
|
+
LongTermPricingIds: _json,
|
|
1204
|
+
Notification: _json,
|
|
1205
|
+
OnDeviceServiceConfiguration: (_) => se_OnDeviceServiceConfiguration(_, context),
|
|
1206
|
+
RemoteManagement: [],
|
|
1207
|
+
Resources: _json,
|
|
1208
|
+
RoleARN: [],
|
|
1209
|
+
ShippingOption: [],
|
|
1210
|
+
SnowballCapacityPreference: [],
|
|
1211
|
+
SnowballType: [],
|
|
1212
|
+
TaxDocuments: _json,
|
|
1213
|
+
});
|
|
1214
|
+
};
|
|
1215
|
+
const se_CreateJobRequest = (input, context) => {
|
|
1216
|
+
return take(input, {
|
|
1217
|
+
AddressId: [],
|
|
1218
|
+
ClusterId: [],
|
|
1219
|
+
Description: [],
|
|
1220
|
+
DeviceConfiguration: _json,
|
|
1221
|
+
ForwardingAddressId: [],
|
|
1222
|
+
JobType: [],
|
|
1223
|
+
KmsKeyARN: [],
|
|
1224
|
+
LongTermPricingId: [],
|
|
1225
|
+
Notification: _json,
|
|
1226
|
+
OnDeviceServiceConfiguration: (_) => se_OnDeviceServiceConfiguration(_, context),
|
|
1227
|
+
RemoteManagement: [],
|
|
1228
|
+
Resources: _json,
|
|
1229
|
+
RoleARN: [],
|
|
1230
|
+
ShippingOption: [],
|
|
1231
|
+
SnowballCapacityPreference: [],
|
|
1232
|
+
SnowballType: [],
|
|
1233
|
+
TaxDocuments: _json,
|
|
1234
|
+
});
|
|
1235
|
+
};
|
|
1236
|
+
const se_OnDeviceServiceConfiguration = (input, context) => {
|
|
1237
|
+
return take(input, {
|
|
1238
|
+
EKSOnDeviceService: _json,
|
|
1239
|
+
NFSOnDeviceService: _json,
|
|
1240
|
+
S3OnDeviceService: (_) => se_S3OnDeviceServiceConfiguration(_, context),
|
|
1241
|
+
TGWOnDeviceService: _json,
|
|
1242
|
+
});
|
|
1243
|
+
};
|
|
1244
|
+
const se_S3OnDeviceServiceConfiguration = (input, context) => {
|
|
1245
|
+
return take(input, {
|
|
1246
|
+
FaultTolerance: [],
|
|
1247
|
+
ServiceSize: [],
|
|
1248
|
+
StorageLimit: __serializeFloat,
|
|
1249
|
+
StorageUnit: [],
|
|
1250
|
+
});
|
|
1251
|
+
};
|
|
1252
|
+
const se_UpdateClusterRequest = (input, context) => {
|
|
1253
|
+
return take(input, {
|
|
1254
|
+
AddressId: [],
|
|
1255
|
+
ClusterId: [],
|
|
1256
|
+
Description: [],
|
|
1257
|
+
ForwardingAddressId: [],
|
|
1258
|
+
Notification: _json,
|
|
1259
|
+
OnDeviceServiceConfiguration: (_) => se_OnDeviceServiceConfiguration(_, context),
|
|
1260
|
+
Resources: _json,
|
|
1261
|
+
RoleARN: [],
|
|
1262
|
+
ShippingOption: [],
|
|
1263
|
+
});
|
|
1264
|
+
};
|
|
1265
|
+
const se_UpdateJobRequest = (input, context) => {
|
|
1266
|
+
return take(input, {
|
|
1267
|
+
AddressId: [],
|
|
1268
|
+
Description: [],
|
|
1269
|
+
ForwardingAddressId: [],
|
|
1270
|
+
JobId: [],
|
|
1271
|
+
Notification: _json,
|
|
1272
|
+
OnDeviceServiceConfiguration: (_) => se_OnDeviceServiceConfiguration(_, context),
|
|
1273
|
+
Resources: _json,
|
|
1274
|
+
RoleARN: [],
|
|
1275
|
+
ShippingOption: [],
|
|
1276
|
+
SnowballCapacityPreference: [],
|
|
1277
|
+
});
|
|
1278
|
+
};
|
|
1194
1279
|
const de_ClusterListEntry = (output, context) => {
|
|
1195
1280
|
return take(output, {
|
|
1196
1281
|
ClusterId: __expectString,
|
|
@@ -1218,7 +1303,7 @@ const de_ClusterMetadata = (output, context) => {
|
|
|
1218
1303
|
JobType: __expectString,
|
|
1219
1304
|
KmsKeyARN: __expectString,
|
|
1220
1305
|
Notification: _json,
|
|
1221
|
-
OnDeviceServiceConfiguration:
|
|
1306
|
+
OnDeviceServiceConfiguration: (_) => de_OnDeviceServiceConfiguration(_, context),
|
|
1222
1307
|
Resources: _json,
|
|
1223
1308
|
RoleARN: __expectString,
|
|
1224
1309
|
ShippingOption: __expectString,
|
|
@@ -1226,6 +1311,12 @@ const de_ClusterMetadata = (output, context) => {
|
|
|
1226
1311
|
TaxDocuments: _json,
|
|
1227
1312
|
});
|
|
1228
1313
|
};
|
|
1314
|
+
const de_CreateClusterResult = (output, context) => {
|
|
1315
|
+
return take(output, {
|
|
1316
|
+
ClusterId: __expectString,
|
|
1317
|
+
JobListEntries: (_) => de_JobListEntryList(_, context),
|
|
1318
|
+
});
|
|
1319
|
+
};
|
|
1229
1320
|
const de_DescribeClusterResult = (output, context) => {
|
|
1230
1321
|
return take(output, {
|
|
1231
1322
|
ClusterMetadata: (_) => de_ClusterMetadata(_, context),
|
|
@@ -1279,7 +1370,7 @@ const de_JobMetadata = (output, context) => {
|
|
|
1279
1370
|
KmsKeyARN: __expectString,
|
|
1280
1371
|
LongTermPricingId: __expectString,
|
|
1281
1372
|
Notification: _json,
|
|
1282
|
-
OnDeviceServiceConfiguration:
|
|
1373
|
+
OnDeviceServiceConfiguration: (_) => de_OnDeviceServiceConfiguration(_, context),
|
|
1283
1374
|
RemoteManagement: __expectString,
|
|
1284
1375
|
Resources: _json,
|
|
1285
1376
|
RoleARN: __expectString,
|
|
@@ -1343,6 +1434,22 @@ const de_LongTermPricingListEntry = (output, context) => {
|
|
|
1343
1434
|
SnowballType: __expectString,
|
|
1344
1435
|
});
|
|
1345
1436
|
};
|
|
1437
|
+
const de_OnDeviceServiceConfiguration = (output, context) => {
|
|
1438
|
+
return take(output, {
|
|
1439
|
+
EKSOnDeviceService: _json,
|
|
1440
|
+
NFSOnDeviceService: _json,
|
|
1441
|
+
S3OnDeviceService: (_) => de_S3OnDeviceServiceConfiguration(_, context),
|
|
1442
|
+
TGWOnDeviceService: _json,
|
|
1443
|
+
});
|
|
1444
|
+
};
|
|
1445
|
+
const de_S3OnDeviceServiceConfiguration = (output, context) => {
|
|
1446
|
+
return take(output, {
|
|
1447
|
+
FaultTolerance: __expectInt32,
|
|
1448
|
+
ServiceSize: __expectInt32,
|
|
1449
|
+
StorageLimit: __limitedParseDouble,
|
|
1450
|
+
StorageUnit: __expectString,
|
|
1451
|
+
});
|
|
1452
|
+
};
|
|
1346
1453
|
const deserializeMetadata = (output) => ({
|
|
1347
1454
|
httpStatusCode: output.statusCode,
|
|
1348
1455
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -75,12 +75,18 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
|
|
|
75
75
|
* KubernetesVersion: "STRING_VALUE",
|
|
76
76
|
* EKSAnywhereVersion: "STRING_VALUE",
|
|
77
77
|
* },
|
|
78
|
+
* S3OnDeviceService: { // S3OnDeviceServiceConfiguration
|
|
79
|
+
* StorageLimit: Number("double"),
|
|
80
|
+
* StorageUnit: "TB",
|
|
81
|
+
* ServiceSize: Number("int"),
|
|
82
|
+
* FaultTolerance: Number("int"),
|
|
83
|
+
* },
|
|
78
84
|
* },
|
|
79
85
|
* Description: "STRING_VALUE",
|
|
80
86
|
* AddressId: "STRING_VALUE", // required
|
|
81
87
|
* KmsKeyARN: "STRING_VALUE",
|
|
82
|
-
* RoleARN: "STRING_VALUE",
|
|
83
|
-
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C", // required
|
|
88
|
+
* RoleARN: "STRING_VALUE",
|
|
89
|
+
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S", // required
|
|
84
90
|
* ShippingOption: "SECOND_DAY" || "NEXT_DAY" || "EXPRESS" || "STANDARD", // required
|
|
85
91
|
* Notification: { // Notification
|
|
86
92
|
* SnsTopicARN: "STRING_VALUE",
|
|
@@ -96,6 +102,12 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
|
|
|
96
102
|
* },
|
|
97
103
|
* },
|
|
98
104
|
* RemoteManagement: "INSTALLED_ONLY" || "INSTALLED_AUTOSTART",
|
|
105
|
+
* InitialClusterSize: Number("int"),
|
|
106
|
+
* ForceCreateJobs: true || false,
|
|
107
|
+
* LongTermPricingIds: [ // LongTermPricingIdList
|
|
108
|
+
* "STRING_VALUE",
|
|
109
|
+
* ],
|
|
110
|
+
* SnowballCapacityPreference: "T50" || "T80" || "T100" || "T42" || "T98" || "T8" || "T14" || "T32" || "NoPreference" || "T240",
|
|
99
111
|
* };
|
|
100
112
|
* const command = new CreateClusterCommand(input);
|
|
101
113
|
* const response = await client.send(command);
|
|
@@ -108,7 +120,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
|
|
|
108
120
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
109
121
|
*
|
|
110
122
|
* @throws {@link Ec2RequestFailedException} (client fault)
|
|
111
|
-
* <p>Your
|
|
123
|
+
* <p>Your user lacks the necessary Amazon EC2 permissions to perform the attempted
|
|
112
124
|
* action.</p>
|
|
113
125
|
*
|
|
114
126
|
* @throws {@link InvalidInputCombinationException} (client fault)
|
|
@@ -36,7 +36,7 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
|
|
|
36
36
|
* </p>
|
|
37
37
|
* <ul>
|
|
38
38
|
* <li>
|
|
39
|
-
* <p>
|
|
39
|
+
* <p>Device type: <b>SNC1_SSD</b>
|
|
40
40
|
* </p>
|
|
41
41
|
* <ul>
|
|
42
42
|
* <li>
|
|
@@ -49,7 +49,7 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
|
|
|
49
49
|
* <p></p>
|
|
50
50
|
* </li>
|
|
51
51
|
* <li>
|
|
52
|
-
* <p>
|
|
52
|
+
* <p>Device type: <b>SNC1_HDD</b>
|
|
53
53
|
* </p>
|
|
54
54
|
* <ul>
|
|
55
55
|
* <li>
|
|
@@ -146,6 +146,32 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
|
|
|
146
146
|
* </ul>
|
|
147
147
|
* <p></p>
|
|
148
148
|
* </li>
|
|
149
|
+
* <li>
|
|
150
|
+
* <p>Device type: <b>V3_5C</b>
|
|
151
|
+
* </p>
|
|
152
|
+
* <ul>
|
|
153
|
+
* <li>
|
|
154
|
+
* <p>Capacity: T32</p>
|
|
155
|
+
* </li>
|
|
156
|
+
* <li>
|
|
157
|
+
* <p>Description: Snowball Edge Compute Optimized without GPU</p>
|
|
158
|
+
* </li>
|
|
159
|
+
* </ul>
|
|
160
|
+
* <p></p>
|
|
161
|
+
* </li>
|
|
162
|
+
* <li>
|
|
163
|
+
* <p>Device type: <b>V3_5S</b>
|
|
164
|
+
* </p>
|
|
165
|
+
* <ul>
|
|
166
|
+
* <li>
|
|
167
|
+
* <p>Capacity: T240</p>
|
|
168
|
+
* </li>
|
|
169
|
+
* <li>
|
|
170
|
+
* <p>Description: Snowball Edge Storage Optimized 210TB</p>
|
|
171
|
+
* </li>
|
|
172
|
+
* </ul>
|
|
173
|
+
* <p></p>
|
|
174
|
+
* </li>
|
|
149
175
|
* </ul>
|
|
150
176
|
* @example
|
|
151
177
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -201,12 +227,18 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
|
|
|
201
227
|
* KubernetesVersion: "STRING_VALUE",
|
|
202
228
|
* EKSAnywhereVersion: "STRING_VALUE",
|
|
203
229
|
* },
|
|
230
|
+
* S3OnDeviceService: { // S3OnDeviceServiceConfiguration
|
|
231
|
+
* StorageLimit: Number("double"),
|
|
232
|
+
* StorageUnit: "TB",
|
|
233
|
+
* ServiceSize: Number("int"),
|
|
234
|
+
* FaultTolerance: Number("int"),
|
|
235
|
+
* },
|
|
204
236
|
* },
|
|
205
237
|
* Description: "STRING_VALUE",
|
|
206
238
|
* AddressId: "STRING_VALUE",
|
|
207
239
|
* KmsKeyARN: "STRING_VALUE",
|
|
208
240
|
* RoleARN: "STRING_VALUE",
|
|
209
|
-
* SnowballCapacityPreference: "T50" || "T80" || "T100" || "T42" || "T98" || "T8" || "T14" || "T32" || "NoPreference",
|
|
241
|
+
* SnowballCapacityPreference: "T50" || "T80" || "T100" || "T42" || "T98" || "T8" || "T14" || "T32" || "NoPreference" || "T240",
|
|
210
242
|
* ShippingOption: "SECOND_DAY" || "NEXT_DAY" || "EXPRESS" || "STANDARD",
|
|
211
243
|
* Notification: { // Notification
|
|
212
244
|
* SnsTopicARN: "STRING_VALUE",
|
|
@@ -216,7 +248,7 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
|
|
|
216
248
|
* NotifyAll: true || false,
|
|
217
249
|
* },
|
|
218
250
|
* ClusterId: "STRING_VALUE",
|
|
219
|
-
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C",
|
|
251
|
+
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S",
|
|
220
252
|
* ForwardingAddressId: "STRING_VALUE",
|
|
221
253
|
* TaxDocuments: { // TaxDocuments
|
|
222
254
|
* IND: { // INDTaxDocuments
|
|
@@ -249,7 +281,7 @@ export interface CreateJobCommandOutput extends CreateJobResult, __MetadataBeare
|
|
|
249
281
|
* create jobs until your cluster has exactly five nodes.</p>
|
|
250
282
|
*
|
|
251
283
|
* @throws {@link Ec2RequestFailedException} (client fault)
|
|
252
|
-
* <p>Your
|
|
284
|
+
* <p>Your user lacks the necessary Amazon EC2 permissions to perform the attempted
|
|
253
285
|
* action.</p>
|
|
254
286
|
*
|
|
255
287
|
* @throws {@link InvalidInputCombinationException} (client fault)
|
|
@@ -29,9 +29,9 @@ export interface CreateLongTermPricingCommandOutput extends CreateLongTermPricin
|
|
|
29
29
|
* // const { SnowballClient, CreateLongTermPricingCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
30
30
|
* const client = new SnowballClient(config);
|
|
31
31
|
* const input = { // CreateLongTermPricingRequest
|
|
32
|
-
* LongTermPricingType: "OneYear" || "ThreeYear", // required
|
|
32
|
+
* LongTermPricingType: "OneYear" || "ThreeYear" || "OneMonth", // required
|
|
33
33
|
* IsLongTermPricingAutoRenew: true || false,
|
|
34
|
-
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C",
|
|
34
|
+
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S",
|
|
35
35
|
* };
|
|
36
36
|
* const command = new CreateLongTermPricingCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
@@ -21,9 +21,8 @@ export interface ListCompatibleImagesCommandOutput extends ListCompatibleImagesR
|
|
|
21
21
|
* @public
|
|
22
22
|
* <p>This action returns a list of the different Amazon EC2 Amazon Machine Images (AMIs)
|
|
23
23
|
* that are owned by your Amazon Web Services accountthat would be supported for use on a Snow
|
|
24
|
-
* device. Currently, supported AMIs are based on the
|
|
25
|
-
*
|
|
26
|
-
* Amazon Web Services Marketplace.</p>
|
|
24
|
+
* device. Currently, supported AMIs are based on the Amazon Linux-2, Ubuntu 20.04 LTS - Focal, or Ubuntu 22.04 LTS - Jammy images, available on the
|
|
25
|
+
* Amazon Web Services Marketplace. Ubuntu 16.04 LTS - Xenial (HVM) images are no longer supported in the Market, but still supported for use on devices through Amazon EC2 VM Import/Export and running locally in AMIs.</p>
|
|
27
26
|
* @example
|
|
28
27
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
28
|
* ```javascript
|
|
@@ -45,7 +44,7 @@ export interface ListCompatibleImagesCommandOutput extends ListCompatibleImagesR
|
|
|
45
44
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
46
45
|
*
|
|
47
46
|
* @throws {@link Ec2RequestFailedException} (client fault)
|
|
48
|
-
* <p>Your
|
|
47
|
+
* <p>Your user lacks the necessary Amazon EC2 permissions to perform the attempted
|
|
49
48
|
* action.</p>
|
|
50
49
|
*
|
|
51
50
|
* @throws {@link InvalidNextTokenException} (client fault)
|
|
@@ -79,6 +79,12 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResult, __Metad
|
|
|
79
79
|
* KubernetesVersion: "STRING_VALUE",
|
|
80
80
|
* EKSAnywhereVersion: "STRING_VALUE",
|
|
81
81
|
* },
|
|
82
|
+
* S3OnDeviceService: { // S3OnDeviceServiceConfiguration
|
|
83
|
+
* StorageLimit: Number("double"),
|
|
84
|
+
* StorageUnit: "TB",
|
|
85
|
+
* ServiceSize: Number("int"),
|
|
86
|
+
* FaultTolerance: Number("int"),
|
|
87
|
+
* },
|
|
82
88
|
* },
|
|
83
89
|
* AddressId: "STRING_VALUE",
|
|
84
90
|
* ShippingOption: "SECOND_DAY" || "NEXT_DAY" || "EXPRESS" || "STANDARD",
|
|
@@ -102,7 +108,7 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResult, __Metad
|
|
|
102
108
|
* @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape.
|
|
103
109
|
*
|
|
104
110
|
* @throws {@link Ec2RequestFailedException} (client fault)
|
|
105
|
-
* <p>Your
|
|
111
|
+
* <p>Your user lacks the necessary Amazon EC2 permissions to perform the attempted
|
|
106
112
|
* action.</p>
|
|
107
113
|
*
|
|
108
114
|
* @throws {@link InvalidInputCombinationException} (client fault)
|
|
@@ -84,11 +84,17 @@ export interface UpdateJobCommandOutput extends UpdateJobResult, __MetadataBeare
|
|
|
84
84
|
* KubernetesVersion: "STRING_VALUE",
|
|
85
85
|
* EKSAnywhereVersion: "STRING_VALUE",
|
|
86
86
|
* },
|
|
87
|
+
* S3OnDeviceService: { // S3OnDeviceServiceConfiguration
|
|
88
|
+
* StorageLimit: Number("double"),
|
|
89
|
+
* StorageUnit: "TB",
|
|
90
|
+
* ServiceSize: Number("int"),
|
|
91
|
+
* FaultTolerance: Number("int"),
|
|
92
|
+
* },
|
|
87
93
|
* },
|
|
88
94
|
* AddressId: "STRING_VALUE",
|
|
89
95
|
* ShippingOption: "SECOND_DAY" || "NEXT_DAY" || "EXPRESS" || "STANDARD",
|
|
90
96
|
* Description: "STRING_VALUE",
|
|
91
|
-
* SnowballCapacityPreference: "T50" || "T80" || "T100" || "T42" || "T98" || "T8" || "T14" || "T32" || "NoPreference",
|
|
97
|
+
* SnowballCapacityPreference: "T50" || "T80" || "T100" || "T42" || "T98" || "T8" || "T14" || "T32" || "NoPreference" || "T240",
|
|
92
98
|
* ForwardingAddressId: "STRING_VALUE",
|
|
93
99
|
* };
|
|
94
100
|
* const command = new UpdateJobCommand(input);
|
|
@@ -107,7 +113,7 @@ export interface UpdateJobCommandOutput extends UpdateJobResult, __MetadataBeare
|
|
|
107
113
|
* create jobs until your cluster has exactly five nodes.</p>
|
|
108
114
|
*
|
|
109
115
|
* @throws {@link Ec2RequestFailedException} (client fault)
|
|
110
|
-
* <p>Your
|
|
116
|
+
* <p>Your user lacks the necessary Amazon EC2 permissions to perform the attempted
|
|
111
117
|
* action.</p>
|
|
112
118
|
*
|
|
113
119
|
* @throws {@link InvalidInputCombinationException} (client fault)
|
|
@@ -302,6 +302,30 @@ export interface NFSOnDeviceServiceConfiguration {
|
|
|
302
302
|
*/
|
|
303
303
|
StorageUnit?: StorageUnit | string;
|
|
304
304
|
}
|
|
305
|
+
/**
|
|
306
|
+
* @public
|
|
307
|
+
* <p>Amazon S3 compatible storage on Snow family devices configuration items.</p>
|
|
308
|
+
*/
|
|
309
|
+
export interface S3OnDeviceServiceConfiguration {
|
|
310
|
+
/**
|
|
311
|
+
* <p>If the specified storage limit value matches storage limit of one of the defined configurations, that configuration will be used.
|
|
312
|
+
* If the specified storage limit value does not match any defined configuration, the request will fail. If more than one configuration has
|
|
313
|
+
* the same storage limit as specified, the other input need to be provided.</p>
|
|
314
|
+
*/
|
|
315
|
+
StorageLimit?: number;
|
|
316
|
+
/**
|
|
317
|
+
* <p>Storage unit. Currently the only supported unit is TB.</p>
|
|
318
|
+
*/
|
|
319
|
+
StorageUnit?: StorageUnit | string;
|
|
320
|
+
/**
|
|
321
|
+
* <p>Applicable when creating a cluster. Specifies how many nodes are needed for Amazon S3 compatible storage on Snow family devices. If specified, the other input can be omitted.</p>
|
|
322
|
+
*/
|
|
323
|
+
ServiceSize?: number;
|
|
324
|
+
/**
|
|
325
|
+
* <p>>Fault tolerance level of the cluster. This indicates the number of nodes that can go down without degrading the performance of the cluster. This additional input helps when the specified <code>StorageLimit</code> matches more than one Amazon S3 compatible storage on Snow family devices service configuration.</p>
|
|
326
|
+
*/
|
|
327
|
+
FaultTolerance?: number;
|
|
328
|
+
}
|
|
305
329
|
/**
|
|
306
330
|
* @public
|
|
307
331
|
* <p>An object that represents the metadata and configuration settings for the Storage Gateway
|
|
@@ -336,6 +360,10 @@ export interface OnDeviceServiceConfiguration {
|
|
|
336
360
|
* <p>The configuration of EKS Anywhere on the Snow Family device.</p>
|
|
337
361
|
*/
|
|
338
362
|
EKSOnDeviceService?: EKSOnDeviceServiceConfiguration;
|
|
363
|
+
/**
|
|
364
|
+
* <p>Configuration for Amazon S3 compatible storage on Snow family devices.</p>
|
|
365
|
+
*/
|
|
366
|
+
S3OnDeviceService?: S3OnDeviceServiceConfiguration;
|
|
339
367
|
}
|
|
340
368
|
/**
|
|
341
369
|
* @public
|
|
@@ -513,6 +541,26 @@ export declare const ShippingOption: {
|
|
|
513
541
|
* @public
|
|
514
542
|
*/
|
|
515
543
|
export type ShippingOption = (typeof ShippingOption)[keyof typeof ShippingOption];
|
|
544
|
+
/**
|
|
545
|
+
* @public
|
|
546
|
+
* @enum
|
|
547
|
+
*/
|
|
548
|
+
export declare const SnowballCapacity: {
|
|
549
|
+
readonly NO_PREFERENCE: "NoPreference";
|
|
550
|
+
readonly T100: "T100";
|
|
551
|
+
readonly T14: "T14";
|
|
552
|
+
readonly T240: "T240";
|
|
553
|
+
readonly T32: "T32";
|
|
554
|
+
readonly T42: "T42";
|
|
555
|
+
readonly T50: "T50";
|
|
556
|
+
readonly T8: "T8";
|
|
557
|
+
readonly T80: "T80";
|
|
558
|
+
readonly T98: "T98";
|
|
559
|
+
};
|
|
560
|
+
/**
|
|
561
|
+
* @public
|
|
562
|
+
*/
|
|
563
|
+
export type SnowballCapacity = (typeof SnowballCapacity)[keyof typeof SnowballCapacity];
|
|
516
564
|
/**
|
|
517
565
|
* @public
|
|
518
566
|
* @enum
|
|
@@ -526,6 +574,7 @@ export declare const SnowballType: {
|
|
|
526
574
|
readonly SNC1_SSD: "SNC1_SSD";
|
|
527
575
|
readonly STANDARD: "STANDARD";
|
|
528
576
|
readonly V3_5C: "V3_5C";
|
|
577
|
+
readonly V3_5S: "V3_5S";
|
|
529
578
|
};
|
|
530
579
|
/**
|
|
531
580
|
* @public
|
|
@@ -571,7 +620,7 @@ export interface CreateClusterRequest {
|
|
|
571
620
|
* buckets and optional Lambda functions written in the Python language.
|
|
572
621
|
* </p>
|
|
573
622
|
*/
|
|
574
|
-
Resources
|
|
623
|
+
Resources?: JobResource;
|
|
575
624
|
/**
|
|
576
625
|
* <p>Specifies the service or services on the Snow Family device that your transferred data
|
|
577
626
|
* will be exported from or imported into. Amazon Web Services Snow Family device clusters support Amazon S3 and NFS
|
|
@@ -596,7 +645,7 @@ export interface CreateClusterRequest {
|
|
|
596
645
|
* <p>The <code>RoleARN</code> that you want to associate with this cluster.
|
|
597
646
|
* <code>RoleArn</code> values are created by using the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html">CreateRole</a> API action in Identity and Access Management (IAM).</p>
|
|
598
647
|
*/
|
|
599
|
-
RoleARN
|
|
648
|
+
RoleARN?: string;
|
|
600
649
|
/**
|
|
601
650
|
* <p>The type of Snow Family devices to use for this cluster. </p>
|
|
602
651
|
* <note>
|
|
@@ -674,6 +723,71 @@ export interface CreateClusterRequest {
|
|
|
674
723
|
* use the Snowball Client to manage the device.</p>
|
|
675
724
|
*/
|
|
676
725
|
RemoteManagement?: RemoteManagement | string;
|
|
726
|
+
/**
|
|
727
|
+
* <p>If provided, each job will be automatically created and associated with the new cluster. If not provided, will be treated as 0.</p>
|
|
728
|
+
*/
|
|
729
|
+
InitialClusterSize?: number;
|
|
730
|
+
/**
|
|
731
|
+
* <p>Force to create cluster when user attempts to overprovision or underprovision a cluster. A cluster is overprovisioned or underprovisioned if the initial size of the cluster is more (overprovisioned) or less (underprovisioned) than what
|
|
732
|
+
* needed to meet capacity requirement specified with <code>OnDeviceServiceConfiguration</code>.</p>
|
|
733
|
+
*/
|
|
734
|
+
ForceCreateJobs?: boolean;
|
|
735
|
+
/**
|
|
736
|
+
* <p>Lists long-term pricing id that will be used to associate with jobs automatically created for the new cluster.</p>
|
|
737
|
+
*/
|
|
738
|
+
LongTermPricingIds?: string[];
|
|
739
|
+
/**
|
|
740
|
+
* <p>If your job is being created in one of the US regions, you have the option of
|
|
741
|
+
* specifying what size Snow device you'd like for this job. In all other regions, Snowballs come
|
|
742
|
+
* with 80 TB in storage capacity.</p>
|
|
743
|
+
* <p>For more information, see
|
|
744
|
+
* "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow
|
|
745
|
+
* Family Devices and Capacity) in the <i>Snowcone User Guide</i> or
|
|
746
|
+
* "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow
|
|
747
|
+
* Family Devices and Capacity) in the <i>Snowcone User Guide</i>.</p>
|
|
748
|
+
*/
|
|
749
|
+
SnowballCapacityPreference?: SnowballCapacity | string;
|
|
750
|
+
}
|
|
751
|
+
/**
|
|
752
|
+
* @public
|
|
753
|
+
* <p>Each <code>JobListEntry</code> object contains a job's state, a job's ID, and a value
|
|
754
|
+
* that indicates whether the job is a job part, in the case of an export job.</p>
|
|
755
|
+
*/
|
|
756
|
+
export interface JobListEntry {
|
|
757
|
+
/**
|
|
758
|
+
* <p>The automatically generated ID for a job, for example
|
|
759
|
+
* <code>JID123e4567-e89b-12d3-a456-426655440000</code>.</p>
|
|
760
|
+
*/
|
|
761
|
+
JobId?: string;
|
|
762
|
+
/**
|
|
763
|
+
* <p>The current state of this job.</p>
|
|
764
|
+
*/
|
|
765
|
+
JobState?: JobState | string;
|
|
766
|
+
/**
|
|
767
|
+
* <p>A value that indicates that this job is a main job. A main job represents a successful
|
|
768
|
+
* request to create an export job. Main jobs aren't associated with any Snowballs. Instead, each
|
|
769
|
+
* main job will have at least one job part, and each job part is associated with a Snowball. It
|
|
770
|
+
* might take some time before the job parts associated with a particular main job are listed,
|
|
771
|
+
* because they are created after the main job is created.</p>
|
|
772
|
+
*/
|
|
773
|
+
IsMaster?: boolean;
|
|
774
|
+
/**
|
|
775
|
+
* <p>The type of job.</p>
|
|
776
|
+
*/
|
|
777
|
+
JobType?: JobType | string;
|
|
778
|
+
/**
|
|
779
|
+
* <p>The type of device used with this job.</p>
|
|
780
|
+
*/
|
|
781
|
+
SnowballType?: SnowballType | string;
|
|
782
|
+
/**
|
|
783
|
+
* <p>The creation date for this job.</p>
|
|
784
|
+
*/
|
|
785
|
+
CreationDate?: Date;
|
|
786
|
+
/**
|
|
787
|
+
* <p>The optional description of this specific job, for example <code>Important Photos
|
|
788
|
+
* 2016-08-11</code>.</p>
|
|
789
|
+
*/
|
|
790
|
+
Description?: string;
|
|
677
791
|
}
|
|
678
792
|
/**
|
|
679
793
|
* @public
|
|
@@ -683,10 +797,14 @@ export interface CreateClusterResult {
|
|
|
683
797
|
* <p>The automatically generated ID for a cluster.</p>
|
|
684
798
|
*/
|
|
685
799
|
ClusterId?: string;
|
|
800
|
+
/**
|
|
801
|
+
* <p>List of jobs created for this cluster. For syntax, see <a href="https://docs.aws.amazon.com/snowball/latest/api-reference/API_ListJobs.html#API_ListJobs_ResponseSyntax">ListJobsResult$JobListEntries</a> in this guide.</p>
|
|
802
|
+
*/
|
|
803
|
+
JobListEntries?: JobListEntry[];
|
|
686
804
|
}
|
|
687
805
|
/**
|
|
688
806
|
* @public
|
|
689
|
-
* <p>Your
|
|
807
|
+
* <p>Your user lacks the necessary Amazon EC2 permissions to perform the attempted
|
|
690
808
|
* action.</p>
|
|
691
809
|
*/
|
|
692
810
|
export declare class Ec2RequestFailedException extends __BaseException {
|
|
@@ -757,25 +875,6 @@ export interface DeviceConfiguration {
|
|
|
757
875
|
*/
|
|
758
876
|
SnowconeDeviceConfiguration?: SnowconeDeviceConfiguration;
|
|
759
877
|
}
|
|
760
|
-
/**
|
|
761
|
-
* @public
|
|
762
|
-
* @enum
|
|
763
|
-
*/
|
|
764
|
-
export declare const SnowballCapacity: {
|
|
765
|
-
readonly NO_PREFERENCE: "NoPreference";
|
|
766
|
-
readonly T100: "T100";
|
|
767
|
-
readonly T14: "T14";
|
|
768
|
-
readonly T32: "T32";
|
|
769
|
-
readonly T42: "T42";
|
|
770
|
-
readonly T50: "T50";
|
|
771
|
-
readonly T8: "T8";
|
|
772
|
-
readonly T80: "T80";
|
|
773
|
-
readonly T98: "T98";
|
|
774
|
-
};
|
|
775
|
-
/**
|
|
776
|
-
* @public
|
|
777
|
-
*/
|
|
778
|
-
export type SnowballCapacity = (typeof SnowballCapacity)[keyof typeof SnowballCapacity];
|
|
779
878
|
/**
|
|
780
879
|
* @public
|
|
781
880
|
*/
|
|
@@ -932,6 +1031,7 @@ export interface CreateJobResult {
|
|
|
932
1031
|
* @enum
|
|
933
1032
|
*/
|
|
934
1033
|
export declare const LongTermPricingType: {
|
|
1034
|
+
readonly ONE_MONTH: "OneMonth";
|
|
935
1035
|
readonly ONE_YEAR: "OneYear";
|
|
936
1036
|
readonly THREE_YEAR: "ThreeYear";
|
|
937
1037
|
};
|
|
@@ -1631,47 +1731,6 @@ export interface ListClusterJobsRequest {
|
|
|
1631
1731
|
*/
|
|
1632
1732
|
NextToken?: string;
|
|
1633
1733
|
}
|
|
1634
|
-
/**
|
|
1635
|
-
* @public
|
|
1636
|
-
* <p>Each <code>JobListEntry</code> object contains a job's state, a job's ID, and a value
|
|
1637
|
-
* that indicates whether the job is a job part, in the case of an export job.</p>
|
|
1638
|
-
*/
|
|
1639
|
-
export interface JobListEntry {
|
|
1640
|
-
/**
|
|
1641
|
-
* <p>The automatically generated ID for a job, for example
|
|
1642
|
-
* <code>JID123e4567-e89b-12d3-a456-426655440000</code>.</p>
|
|
1643
|
-
*/
|
|
1644
|
-
JobId?: string;
|
|
1645
|
-
/**
|
|
1646
|
-
* <p>The current state of this job.</p>
|
|
1647
|
-
*/
|
|
1648
|
-
JobState?: JobState | string;
|
|
1649
|
-
/**
|
|
1650
|
-
* <p>A value that indicates that this job is a main job. A main job represents a successful
|
|
1651
|
-
* request to create an export job. Main jobs aren't associated with any Snowballs. Instead, each
|
|
1652
|
-
* main job will have at least one job part, and each job part is associated with a Snowball. It
|
|
1653
|
-
* might take some time before the job parts associated with a particular main job are listed,
|
|
1654
|
-
* because they are created after the main job is created.</p>
|
|
1655
|
-
*/
|
|
1656
|
-
IsMaster?: boolean;
|
|
1657
|
-
/**
|
|
1658
|
-
* <p>The type of job.</p>
|
|
1659
|
-
*/
|
|
1660
|
-
JobType?: JobType | string;
|
|
1661
|
-
/**
|
|
1662
|
-
* <p>The type of device used with this job.</p>
|
|
1663
|
-
*/
|
|
1664
|
-
SnowballType?: SnowballType | string;
|
|
1665
|
-
/**
|
|
1666
|
-
* <p>The creation date for this job.</p>
|
|
1667
|
-
*/
|
|
1668
|
-
CreationDate?: Date;
|
|
1669
|
-
/**
|
|
1670
|
-
* <p>The optional description of this specific job, for example <code>Important Photos
|
|
1671
|
-
* 2016-08-11</code>.</p>
|
|
1672
|
-
*/
|
|
1673
|
-
Description?: string;
|
|
1674
|
-
}
|
|
1675
1734
|
/**
|
|
1676
1735
|
* @public
|
|
1677
1736
|
*/
|
|
@@ -110,6 +110,12 @@ export interface NFSOnDeviceServiceConfiguration {
|
|
|
110
110
|
StorageLimit?: number;
|
|
111
111
|
StorageUnit?: StorageUnit | string;
|
|
112
112
|
}
|
|
113
|
+
export interface S3OnDeviceServiceConfiguration {
|
|
114
|
+
StorageLimit?: number;
|
|
115
|
+
StorageUnit?: StorageUnit | string;
|
|
116
|
+
ServiceSize?: number;
|
|
117
|
+
FaultTolerance?: number;
|
|
118
|
+
}
|
|
113
119
|
export interface TGWOnDeviceServiceConfiguration {
|
|
114
120
|
StorageLimit?: number;
|
|
115
121
|
StorageUnit?: StorageUnit | string;
|
|
@@ -118,6 +124,7 @@ export interface OnDeviceServiceConfiguration {
|
|
|
118
124
|
NFSOnDeviceService?: NFSOnDeviceServiceConfiguration;
|
|
119
125
|
TGWOnDeviceService?: TGWOnDeviceServiceConfiguration;
|
|
120
126
|
EKSOnDeviceService?: EKSOnDeviceServiceConfiguration;
|
|
127
|
+
S3OnDeviceService?: S3OnDeviceServiceConfiguration;
|
|
121
128
|
}
|
|
122
129
|
export declare const RemoteManagement: {
|
|
123
130
|
readonly INSTALLED_AUTOSTART: "INSTALLED_AUTOSTART";
|
|
@@ -175,6 +182,20 @@ export declare const ShippingOption: {
|
|
|
175
182
|
};
|
|
176
183
|
export type ShippingOption =
|
|
177
184
|
(typeof ShippingOption)[keyof typeof ShippingOption];
|
|
185
|
+
export declare const SnowballCapacity: {
|
|
186
|
+
readonly NO_PREFERENCE: "NoPreference";
|
|
187
|
+
readonly T100: "T100";
|
|
188
|
+
readonly T14: "T14";
|
|
189
|
+
readonly T240: "T240";
|
|
190
|
+
readonly T32: "T32";
|
|
191
|
+
readonly T42: "T42";
|
|
192
|
+
readonly T50: "T50";
|
|
193
|
+
readonly T8: "T8";
|
|
194
|
+
readonly T80: "T80";
|
|
195
|
+
readonly T98: "T98";
|
|
196
|
+
};
|
|
197
|
+
export type SnowballCapacity =
|
|
198
|
+
(typeof SnowballCapacity)[keyof typeof SnowballCapacity];
|
|
178
199
|
export declare const SnowballType: {
|
|
179
200
|
readonly EDGE: "EDGE";
|
|
180
201
|
readonly EDGE_C: "EDGE_C";
|
|
@@ -184,6 +205,7 @@ export declare const SnowballType: {
|
|
|
184
205
|
readonly SNC1_SSD: "SNC1_SSD";
|
|
185
206
|
readonly STANDARD: "STANDARD";
|
|
186
207
|
readonly V3_5C: "V3_5C";
|
|
208
|
+
readonly V3_5S: "V3_5S";
|
|
187
209
|
};
|
|
188
210
|
export type SnowballType = (typeof SnowballType)[keyof typeof SnowballType];
|
|
189
211
|
export interface INDTaxDocuments {
|
|
@@ -194,21 +216,35 @@ export interface TaxDocuments {
|
|
|
194
216
|
}
|
|
195
217
|
export interface CreateClusterRequest {
|
|
196
218
|
JobType: JobType | string | undefined;
|
|
197
|
-
Resources
|
|
219
|
+
Resources?: JobResource;
|
|
198
220
|
OnDeviceServiceConfiguration?: OnDeviceServiceConfiguration;
|
|
199
221
|
Description?: string;
|
|
200
222
|
AddressId: string | undefined;
|
|
201
223
|
KmsKeyARN?: string;
|
|
202
|
-
RoleARN
|
|
224
|
+
RoleARN?: string;
|
|
203
225
|
SnowballType: SnowballType | string | undefined;
|
|
204
226
|
ShippingOption: ShippingOption | string | undefined;
|
|
205
227
|
Notification?: Notification;
|
|
206
228
|
ForwardingAddressId?: string;
|
|
207
229
|
TaxDocuments?: TaxDocuments;
|
|
208
230
|
RemoteManagement?: RemoteManagement | string;
|
|
231
|
+
InitialClusterSize?: number;
|
|
232
|
+
ForceCreateJobs?: boolean;
|
|
233
|
+
LongTermPricingIds?: string[];
|
|
234
|
+
SnowballCapacityPreference?: SnowballCapacity | string;
|
|
235
|
+
}
|
|
236
|
+
export interface JobListEntry {
|
|
237
|
+
JobId?: string;
|
|
238
|
+
JobState?: JobState | string;
|
|
239
|
+
IsMaster?: boolean;
|
|
240
|
+
JobType?: JobType | string;
|
|
241
|
+
SnowballType?: SnowballType | string;
|
|
242
|
+
CreationDate?: Date;
|
|
243
|
+
Description?: string;
|
|
209
244
|
}
|
|
210
245
|
export interface CreateClusterResult {
|
|
211
246
|
ClusterId?: string;
|
|
247
|
+
JobListEntries?: JobListEntry[];
|
|
212
248
|
}
|
|
213
249
|
export declare class Ec2RequestFailedException extends __BaseException {
|
|
214
250
|
readonly name: "Ec2RequestFailedException";
|
|
@@ -246,19 +282,6 @@ export interface SnowconeDeviceConfiguration {
|
|
|
246
282
|
export interface DeviceConfiguration {
|
|
247
283
|
SnowconeDeviceConfiguration?: SnowconeDeviceConfiguration;
|
|
248
284
|
}
|
|
249
|
-
export declare const SnowballCapacity: {
|
|
250
|
-
readonly NO_PREFERENCE: "NoPreference";
|
|
251
|
-
readonly T100: "T100";
|
|
252
|
-
readonly T14: "T14";
|
|
253
|
-
readonly T32: "T32";
|
|
254
|
-
readonly T42: "T42";
|
|
255
|
-
readonly T50: "T50";
|
|
256
|
-
readonly T8: "T8";
|
|
257
|
-
readonly T80: "T80";
|
|
258
|
-
readonly T98: "T98";
|
|
259
|
-
};
|
|
260
|
-
export type SnowballCapacity =
|
|
261
|
-
(typeof SnowballCapacity)[keyof typeof SnowballCapacity];
|
|
262
285
|
export interface CreateJobRequest {
|
|
263
286
|
JobType?: JobType | string;
|
|
264
287
|
Resources?: JobResource;
|
|
@@ -282,6 +305,7 @@ export interface CreateJobResult {
|
|
|
282
305
|
JobId?: string;
|
|
283
306
|
}
|
|
284
307
|
export declare const LongTermPricingType: {
|
|
308
|
+
readonly ONE_MONTH: "OneMonth";
|
|
285
309
|
readonly ONE_YEAR: "OneYear";
|
|
286
310
|
readonly THREE_YEAR: "ThreeYear";
|
|
287
311
|
};
|
|
@@ -468,15 +492,6 @@ export interface ListClusterJobsRequest {
|
|
|
468
492
|
MaxResults?: number;
|
|
469
493
|
NextToken?: string;
|
|
470
494
|
}
|
|
471
|
-
export interface JobListEntry {
|
|
472
|
-
JobId?: string;
|
|
473
|
-
JobState?: JobState | string;
|
|
474
|
-
IsMaster?: boolean;
|
|
475
|
-
JobType?: JobType | string;
|
|
476
|
-
SnowballType?: SnowballType | string;
|
|
477
|
-
CreationDate?: Date;
|
|
478
|
-
Description?: string;
|
|
479
|
-
}
|
|
480
495
|
export interface ListClusterJobsResult {
|
|
481
496
|
JobListEntries?: JobListEntry[];
|
|
482
497
|
NextToken?: string;
|
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.
|
|
4
|
+
"version": "3.317.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|