@aws-sdk/client-snowball 3.758.0 → 3.774.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 (2) hide show
  1. package/dist-cjs/index.js +33 -33
  2. package/package.json +7 -7
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AddressType: () => AddressType,
25
25
  CancelClusterCommand: () => CancelClusterCommand,
26
26
  CancelJobCommand: () => CancelJobCommand,
@@ -92,7 +92,7 @@ __export(src_exports, {
92
92
  paginateListLongTermPricing: () => paginateListLongTermPricing,
93
93
  paginateListPickupLocations: () => paginateListPickupLocations
94
94
  });
95
- module.exports = __toCommonJS(src_exports);
95
+ module.exports = __toCommonJS(index_exports);
96
96
 
97
97
  // src/SnowballClient.ts
98
98
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -219,9 +219,9 @@ var SnowballClient = class extends import_smithy_client.Client {
219
219
  this.middlewareStack.use(
220
220
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
221
221
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSnowballHttpAuthSchemeParametersProvider,
222
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
222
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
223
223
  "aws.auth#sigv4": config.credentials
224
- })
224
+ }), "identityProviderConfigProvider")
225
225
  })
226
226
  );
227
227
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -1301,7 +1301,7 @@ var se_CreateClusterRequest = /* @__PURE__ */ __name((input, context) => {
1301
1301
  KmsKeyARN: [],
1302
1302
  LongTermPricingIds: import_smithy_client._json,
1303
1303
  Notification: import_smithy_client._json,
1304
- OnDeviceServiceConfiguration: (_) => se_OnDeviceServiceConfiguration(_, context),
1304
+ OnDeviceServiceConfiguration: /* @__PURE__ */ __name((_) => se_OnDeviceServiceConfiguration(_, context), "OnDeviceServiceConfiguration"),
1305
1305
  RemoteManagement: [],
1306
1306
  Resources: import_smithy_client._json,
1307
1307
  RoleARN: [],
@@ -1323,8 +1323,8 @@ var se_CreateJobRequest = /* @__PURE__ */ __name((input, context) => {
1323
1323
  KmsKeyARN: [],
1324
1324
  LongTermPricingId: [],
1325
1325
  Notification: import_smithy_client._json,
1326
- OnDeviceServiceConfiguration: (_) => se_OnDeviceServiceConfiguration(_, context),
1327
- PickupDetails: (_) => se_PickupDetails(_, context),
1326
+ OnDeviceServiceConfiguration: /* @__PURE__ */ __name((_) => se_OnDeviceServiceConfiguration(_, context), "OnDeviceServiceConfiguration"),
1327
+ PickupDetails: /* @__PURE__ */ __name((_) => se_PickupDetails(_, context), "PickupDetails"),
1328
1328
  RemoteManagement: [],
1329
1329
  Resources: import_smithy_client._json,
1330
1330
  RoleARN: [],
@@ -1338,7 +1338,7 @@ var se_OnDeviceServiceConfiguration = /* @__PURE__ */ __name((input, context) =>
1338
1338
  return (0, import_smithy_client.take)(input, {
1339
1339
  EKSOnDeviceService: import_smithy_client._json,
1340
1340
  NFSOnDeviceService: import_smithy_client._json,
1341
- S3OnDeviceService: (_) => se_S3OnDeviceServiceConfiguration(_, context),
1341
+ S3OnDeviceService: /* @__PURE__ */ __name((_) => se_S3OnDeviceServiceConfiguration(_, context), "S3OnDeviceService"),
1342
1342
  TGWOnDeviceService: import_smithy_client._json
1343
1343
  });
1344
1344
  }, "se_OnDeviceServiceConfiguration");
@@ -1346,7 +1346,7 @@ var se_PickupDetails = /* @__PURE__ */ __name((input, context) => {
1346
1346
  return (0, import_smithy_client.take)(input, {
1347
1347
  DevicePickupId: [],
1348
1348
  Email: [],
1349
- IdentificationExpirationDate: (_) => _.getTime() / 1e3,
1349
+ IdentificationExpirationDate: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "IdentificationExpirationDate"),
1350
1350
  IdentificationIssuingOrg: [],
1351
1351
  IdentificationNumber: [],
1352
1352
  Name: [],
@@ -1368,7 +1368,7 @@ var se_UpdateClusterRequest = /* @__PURE__ */ __name((input, context) => {
1368
1368
  Description: [],
1369
1369
  ForwardingAddressId: [],
1370
1370
  Notification: import_smithy_client._json,
1371
- OnDeviceServiceConfiguration: (_) => se_OnDeviceServiceConfiguration(_, context),
1371
+ OnDeviceServiceConfiguration: /* @__PURE__ */ __name((_) => se_OnDeviceServiceConfiguration(_, context), "OnDeviceServiceConfiguration"),
1372
1372
  Resources: import_smithy_client._json,
1373
1373
  RoleARN: [],
1374
1374
  ShippingOption: []
@@ -1381,8 +1381,8 @@ var se_UpdateJobRequest = /* @__PURE__ */ __name((input, context) => {
1381
1381
  ForwardingAddressId: [],
1382
1382
  JobId: [],
1383
1383
  Notification: import_smithy_client._json,
1384
- OnDeviceServiceConfiguration: (_) => se_OnDeviceServiceConfiguration(_, context),
1385
- PickupDetails: (_) => se_PickupDetails(_, context),
1384
+ OnDeviceServiceConfiguration: /* @__PURE__ */ __name((_) => se_OnDeviceServiceConfiguration(_, context), "OnDeviceServiceConfiguration"),
1385
+ PickupDetails: /* @__PURE__ */ __name((_) => se_PickupDetails(_, context), "PickupDetails"),
1386
1386
  Resources: import_smithy_client._json,
1387
1387
  RoleARN: [],
1388
1388
  ShippingOption: [],
@@ -1393,7 +1393,7 @@ var de_ClusterListEntry = /* @__PURE__ */ __name((output, context) => {
1393
1393
  return (0, import_smithy_client.take)(output, {
1394
1394
  ClusterId: import_smithy_client.expectString,
1395
1395
  ClusterState: import_smithy_client.expectString,
1396
- CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1396
+ CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
1397
1397
  Description: import_smithy_client.expectString
1398
1398
  });
1399
1399
  }, "de_ClusterListEntry");
@@ -1408,13 +1408,13 @@ var de_ClusterMetadata = /* @__PURE__ */ __name((output, context) => {
1408
1408
  AddressId: import_smithy_client.expectString,
1409
1409
  ClusterId: import_smithy_client.expectString,
1410
1410
  ClusterState: import_smithy_client.expectString,
1411
- CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1411
+ CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
1412
1412
  Description: import_smithy_client.expectString,
1413
1413
  ForwardingAddressId: import_smithy_client.expectString,
1414
1414
  JobType: import_smithy_client.expectString,
1415
1415
  KmsKeyARN: import_smithy_client.expectString,
1416
1416
  Notification: import_smithy_client._json,
1417
- OnDeviceServiceConfiguration: (_) => de_OnDeviceServiceConfiguration(_, context),
1417
+ OnDeviceServiceConfiguration: /* @__PURE__ */ __name((_) => de_OnDeviceServiceConfiguration(_, context), "OnDeviceServiceConfiguration"),
1418
1418
  Resources: import_smithy_client._json,
1419
1419
  RoleARN: import_smithy_client.expectString,
1420
1420
  ShippingOption: import_smithy_client.expectString,
@@ -1425,30 +1425,30 @@ var de_ClusterMetadata = /* @__PURE__ */ __name((output, context) => {
1425
1425
  var de_CreateClusterResult = /* @__PURE__ */ __name((output, context) => {
1426
1426
  return (0, import_smithy_client.take)(output, {
1427
1427
  ClusterId: import_smithy_client.expectString,
1428
- JobListEntries: (_) => de_JobListEntryList(_, context)
1428
+ JobListEntries: /* @__PURE__ */ __name((_) => de_JobListEntryList(_, context), "JobListEntries")
1429
1429
  });
1430
1430
  }, "de_CreateClusterResult");
1431
1431
  var de_DescribeClusterResult = /* @__PURE__ */ __name((output, context) => {
1432
1432
  return (0, import_smithy_client.take)(output, {
1433
- ClusterMetadata: (_) => de_ClusterMetadata(_, context)
1433
+ ClusterMetadata: /* @__PURE__ */ __name((_) => de_ClusterMetadata(_, context), "ClusterMetadata")
1434
1434
  });
1435
1435
  }, "de_DescribeClusterResult");
1436
1436
  var de_DescribeJobResult = /* @__PURE__ */ __name((output, context) => {
1437
1437
  return (0, import_smithy_client.take)(output, {
1438
- JobMetadata: (_) => de_JobMetadata(_, context),
1439
- SubJobMetadata: (_) => de_JobMetadataList(_, context)
1438
+ JobMetadata: /* @__PURE__ */ __name((_) => de_JobMetadata(_, context), "JobMetadata"),
1439
+ SubJobMetadata: /* @__PURE__ */ __name((_) => de_JobMetadataList(_, context), "SubJobMetadata")
1440
1440
  });
1441
1441
  }, "de_DescribeJobResult");
1442
1442
  var de_DescribeReturnShippingLabelResult = /* @__PURE__ */ __name((output, context) => {
1443
1443
  return (0, import_smithy_client.take)(output, {
1444
- ExpirationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1444
+ ExpirationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ExpirationDate"),
1445
1445
  ReturnShippingLabelURI: import_smithy_client.expectString,
1446
1446
  Status: import_smithy_client.expectString
1447
1447
  });
1448
1448
  }, "de_DescribeReturnShippingLabelResult");
1449
1449
  var de_JobListEntry = /* @__PURE__ */ __name((output, context) => {
1450
1450
  return (0, import_smithy_client.take)(output, {
1451
- CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1451
+ CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
1452
1452
  Description: import_smithy_client.expectString,
1453
1453
  IsMaster: import_smithy_client.expectBoolean,
1454
1454
  JobId: import_smithy_client.expectString,
@@ -1467,7 +1467,7 @@ var de_JobMetadata = /* @__PURE__ */ __name((output, context) => {
1467
1467
  return (0, import_smithy_client.take)(output, {
1468
1468
  AddressId: import_smithy_client.expectString,
1469
1469
  ClusterId: import_smithy_client.expectString,
1470
- CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1470
+ CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
1471
1471
  DataTransferProgress: import_smithy_client._json,
1472
1472
  Description: import_smithy_client.expectString,
1473
1473
  DeviceConfiguration: import_smithy_client._json,
@@ -1480,8 +1480,8 @@ var de_JobMetadata = /* @__PURE__ */ __name((output, context) => {
1480
1480
  KmsKeyARN: import_smithy_client.expectString,
1481
1481
  LongTermPricingId: import_smithy_client.expectString,
1482
1482
  Notification: import_smithy_client._json,
1483
- OnDeviceServiceConfiguration: (_) => de_OnDeviceServiceConfiguration(_, context),
1484
- PickupDetails: (_) => de_PickupDetails(_, context),
1483
+ OnDeviceServiceConfiguration: /* @__PURE__ */ __name((_) => de_OnDeviceServiceConfiguration(_, context), "OnDeviceServiceConfiguration"),
1484
+ PickupDetails: /* @__PURE__ */ __name((_) => de_PickupDetails(_, context), "PickupDetails"),
1485
1485
  RemoteManagement: import_smithy_client.expectString,
1486
1486
  Resources: import_smithy_client._json,
1487
1487
  RoleARN: import_smithy_client.expectString,
@@ -1500,25 +1500,25 @@ var de_JobMetadataList = /* @__PURE__ */ __name((output, context) => {
1500
1500
  }, "de_JobMetadataList");
1501
1501
  var de_ListClusterJobsResult = /* @__PURE__ */ __name((output, context) => {
1502
1502
  return (0, import_smithy_client.take)(output, {
1503
- JobListEntries: (_) => de_JobListEntryList(_, context),
1503
+ JobListEntries: /* @__PURE__ */ __name((_) => de_JobListEntryList(_, context), "JobListEntries"),
1504
1504
  NextToken: import_smithy_client.expectString
1505
1505
  });
1506
1506
  }, "de_ListClusterJobsResult");
1507
1507
  var de_ListClustersResult = /* @__PURE__ */ __name((output, context) => {
1508
1508
  return (0, import_smithy_client.take)(output, {
1509
- ClusterListEntries: (_) => de_ClusterListEntryList(_, context),
1509
+ ClusterListEntries: /* @__PURE__ */ __name((_) => de_ClusterListEntryList(_, context), "ClusterListEntries"),
1510
1510
  NextToken: import_smithy_client.expectString
1511
1511
  });
1512
1512
  }, "de_ListClustersResult");
1513
1513
  var de_ListJobsResult = /* @__PURE__ */ __name((output, context) => {
1514
1514
  return (0, import_smithy_client.take)(output, {
1515
- JobListEntries: (_) => de_JobListEntryList(_, context),
1515
+ JobListEntries: /* @__PURE__ */ __name((_) => de_JobListEntryList(_, context), "JobListEntries"),
1516
1516
  NextToken: import_smithy_client.expectString
1517
1517
  });
1518
1518
  }, "de_ListJobsResult");
1519
1519
  var de_ListLongTermPricingResult = /* @__PURE__ */ __name((output, context) => {
1520
1520
  return (0, import_smithy_client.take)(output, {
1521
- LongTermPricingEntries: (_) => de_LongTermPricingEntryList(_, context),
1521
+ LongTermPricingEntries: /* @__PURE__ */ __name((_) => de_LongTermPricingEntryList(_, context), "LongTermPricingEntries"),
1522
1522
  NextToken: import_smithy_client.expectString
1523
1523
  });
1524
1524
  }, "de_ListLongTermPricingResult");
@@ -1533,9 +1533,9 @@ var de_LongTermPricingListEntry = /* @__PURE__ */ __name((output, context) => {
1533
1533
  CurrentActiveJob: import_smithy_client.expectString,
1534
1534
  IsLongTermPricingAutoRenew: import_smithy_client.expectBoolean,
1535
1535
  JobIds: import_smithy_client._json,
1536
- LongTermPricingEndDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1536
+ LongTermPricingEndDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LongTermPricingEndDate"),
1537
1537
  LongTermPricingId: import_smithy_client.expectString,
1538
- LongTermPricingStartDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1538
+ LongTermPricingStartDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LongTermPricingStartDate"),
1539
1539
  LongTermPricingStatus: import_smithy_client.expectString,
1540
1540
  LongTermPricingType: import_smithy_client.expectString,
1541
1541
  ReplacementJob: import_smithy_client.expectString,
@@ -1546,7 +1546,7 @@ var de_OnDeviceServiceConfiguration = /* @__PURE__ */ __name((output, context) =
1546
1546
  return (0, import_smithy_client.take)(output, {
1547
1547
  EKSOnDeviceService: import_smithy_client._json,
1548
1548
  NFSOnDeviceService: import_smithy_client._json,
1549
- S3OnDeviceService: (_) => de_S3OnDeviceServiceConfiguration(_, context),
1549
+ S3OnDeviceService: /* @__PURE__ */ __name((_) => de_S3OnDeviceServiceConfiguration(_, context), "S3OnDeviceService"),
1550
1550
  TGWOnDeviceService: import_smithy_client._json
1551
1551
  });
1552
1552
  }, "de_OnDeviceServiceConfiguration");
@@ -1554,7 +1554,7 @@ var de_PickupDetails = /* @__PURE__ */ __name((output, context) => {
1554
1554
  return (0, import_smithy_client.take)(output, {
1555
1555
  DevicePickupId: import_smithy_client.expectString,
1556
1556
  Email: import_smithy_client.expectString,
1557
- IdentificationExpirationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1557
+ IdentificationExpirationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "IdentificationExpirationDate"),
1558
1558
  IdentificationIssuingOrg: import_smithy_client.expectString,
1559
1559
  IdentificationNumber: import_smithy_client.expectString,
1560
1560
  Name: import_smithy_client.expectString,
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.758.0",
4
+ "version": "3.774.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,17 +20,17 @@
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.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
25
- "@aws-sdk/middleware-host-header": "3.734.0",
23
+ "@aws-sdk/core": "3.774.0",
24
+ "@aws-sdk/credential-provider-node": "3.774.0",
25
+ "@aws-sdk/middleware-host-header": "3.774.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
28
- "@aws-sdk/middleware-user-agent": "3.758.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
+ "@aws-sdk/middleware-user-agent": "3.774.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",
31
31
  "@aws-sdk/util-endpoints": "3.743.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.758.0",
33
+ "@aws-sdk/util-user-agent-node": "3.774.0",
34
34
  "@smithy/config-resolver": "^4.0.1",
35
35
  "@smithy/core": "^3.1.5",
36
36
  "@smithy/fetch-http-handler": "^5.0.1",