@aws-sdk/client-sagemaker-geospatial 3.1076.0 → 3.1078.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 (77) hide show
  1. package/dist-cjs/index.js +30 -195
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/DeleteEarthObservationJobCommand.js +2 -14
  4. package/dist-es/commands/DeleteVectorEnrichmentJobCommand.js +2 -14
  5. package/dist-es/commands/ExportEarthObservationJobCommand.js +2 -14
  6. package/dist-es/commands/ExportVectorEnrichmentJobCommand.js +2 -14
  7. package/dist-es/commands/GetEarthObservationJobCommand.js +2 -14
  8. package/dist-es/commands/GetRasterDataCollectionCommand.js +2 -14
  9. package/dist-es/commands/GetTileCommand.js +2 -14
  10. package/dist-es/commands/GetVectorEnrichmentJobCommand.js +2 -14
  11. package/dist-es/commands/ListEarthObservationJobsCommand.js +2 -14
  12. package/dist-es/commands/ListRasterDataCollectionsCommand.js +2 -14
  13. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  14. package/dist-es/commands/ListVectorEnrichmentJobsCommand.js +2 -14
  15. package/dist-es/commands/SearchRasterDataCollectionCommand.js +2 -14
  16. package/dist-es/commands/StartEarthObservationJobCommand.js +2 -14
  17. package/dist-es/commands/StartVectorEnrichmentJobCommand.js +2 -14
  18. package/dist-es/commands/StopEarthObservationJobCommand.js +2 -14
  19. package/dist-es/commands/StopVectorEnrichmentJobCommand.js +2 -14
  20. package/dist-es/commands/TagResourceCommand.js +2 -14
  21. package/dist-es/commands/UntagResourceCommand.js +2 -14
  22. package/dist-es/index.js +1 -0
  23. package/dist-es/runtimeConfig.browser.js +0 -2
  24. package/dist-es/runtimeConfig.js +1 -2
  25. package/dist-es/runtimeConfig.native.js +0 -2
  26. package/dist-es/runtimeConfig.shared.js +2 -0
  27. package/dist-types/commandBuilder.d.ts +18 -0
  28. package/dist-types/commands/DeleteEarthObservationJobCommand.d.ts +3 -8
  29. package/dist-types/commands/DeleteVectorEnrichmentJobCommand.d.ts +3 -8
  30. package/dist-types/commands/ExportEarthObservationJobCommand.d.ts +3 -8
  31. package/dist-types/commands/ExportVectorEnrichmentJobCommand.d.ts +3 -8
  32. package/dist-types/commands/GetEarthObservationJobCommand.d.ts +3 -8
  33. package/dist-types/commands/GetRasterDataCollectionCommand.d.ts +3 -8
  34. package/dist-types/commands/GetTileCommand.d.ts +3 -8
  35. package/dist-types/commands/GetVectorEnrichmentJobCommand.d.ts +3 -8
  36. package/dist-types/commands/ListEarthObservationJobsCommand.d.ts +3 -8
  37. package/dist-types/commands/ListRasterDataCollectionsCommand.d.ts +3 -8
  38. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  39. package/dist-types/commands/ListVectorEnrichmentJobsCommand.d.ts +3 -8
  40. package/dist-types/commands/SearchRasterDataCollectionCommand.d.ts +3 -8
  41. package/dist-types/commands/StartEarthObservationJobCommand.d.ts +3 -8
  42. package/dist-types/commands/StartVectorEnrichmentJobCommand.d.ts +3 -8
  43. package/dist-types/commands/StopEarthObservationJobCommand.d.ts +3 -8
  44. package/dist-types/commands/StopVectorEnrichmentJobCommand.d.ts +3 -8
  45. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  46. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  47. package/dist-types/index.d.ts +1 -0
  48. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  49. package/dist-types/runtimeConfig.d.ts +1 -1
  50. package/dist-types/runtimeConfig.native.d.ts +1 -1
  51. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  52. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  53. package/dist-types/ts3.4/commands/DeleteEarthObservationJobCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/DeleteVectorEnrichmentJobCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/ExportEarthObservationJobCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/ExportVectorEnrichmentJobCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/GetEarthObservationJobCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/GetRasterDataCollectionCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/GetTileCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/GetVectorEnrichmentJobCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/ListEarthObservationJobsCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/ListRasterDataCollectionsCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/ListVectorEnrichmentJobsCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/SearchRasterDataCollectionCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/StartEarthObservationJobCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/StartVectorEnrichmentJobCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/StopEarthObservationJobCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/StopVectorEnrichmentJobCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/index.d.ts +1 -0
  73. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  74. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  75. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  76. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  77. package/package.json +8 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, sdkStreamMixin, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, sdkStreamMixin, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultSageMakerGeospatialHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -1162,6 +1164,7 @@ const getRuntimeConfig$1 = (config) => {
1162
1164
  },
1163
1165
  sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
1164
1166
  serviceId: config?.serviceId ?? "SageMaker Geospatial",
1167
+ sha256: config?.sha256 ?? Sha256,
1165
1168
  urlParser: config?.urlParser ?? parseUrl,
1166
1169
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1167
1170
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1195,7 +1198,6 @@ const getRuntimeConfig = (config) => {
1195
1198
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1196
1199
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1197
1200
  }, config),
1198
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1199
1201
  streamCollector: config?.streamCollector ?? streamCollector,
1200
1202
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1201
1203
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1283,232 +1285,65 @@ class SageMakerGeospatialClient extends Client {
1283
1285
  }
1284
1286
  }
1285
1287
 
1286
- class DeleteEarthObservationJobCommand extends Command
1287
- .classBuilder()
1288
- .ep(commonParams)
1289
- .m(function (Command, cs, config, o) {
1290
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1291
- })
1292
- .s("SageMakerGeospatial", "DeleteEarthObservationJob", {})
1293
- .n("SageMakerGeospatialClient", "DeleteEarthObservationJobCommand")
1294
- .sc(DeleteEarthObservationJob$)
1295
- .build() {
1288
+ const command = makeBuilder(commonParams, "SageMakerGeospatial", "SageMakerGeospatialClient", getEndpointPlugin);
1289
+ const _ep0 = {};
1290
+ const _mw0 = (Command, cs, config, o) => [];
1291
+
1292
+ class DeleteEarthObservationJobCommand extends command(_ep0, _mw0, "DeleteEarthObservationJob", DeleteEarthObservationJob$) {
1296
1293
  }
1297
1294
 
1298
- class DeleteVectorEnrichmentJobCommand extends Command
1299
- .classBuilder()
1300
- .ep(commonParams)
1301
- .m(function (Command, cs, config, o) {
1302
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1303
- })
1304
- .s("SageMakerGeospatial", "DeleteVectorEnrichmentJob", {})
1305
- .n("SageMakerGeospatialClient", "DeleteVectorEnrichmentJobCommand")
1306
- .sc(DeleteVectorEnrichmentJob$)
1307
- .build() {
1295
+ class DeleteVectorEnrichmentJobCommand extends command(_ep0, _mw0, "DeleteVectorEnrichmentJob", DeleteVectorEnrichmentJob$) {
1308
1296
  }
1309
1297
 
1310
- class ExportEarthObservationJobCommand extends Command
1311
- .classBuilder()
1312
- .ep(commonParams)
1313
- .m(function (Command, cs, config, o) {
1314
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1315
- })
1316
- .s("SageMakerGeospatial", "ExportEarthObservationJob", {})
1317
- .n("SageMakerGeospatialClient", "ExportEarthObservationJobCommand")
1318
- .sc(ExportEarthObservationJob$)
1319
- .build() {
1298
+ class ExportEarthObservationJobCommand extends command(_ep0, _mw0, "ExportEarthObservationJob", ExportEarthObservationJob$) {
1320
1299
  }
1321
1300
 
1322
- class ExportVectorEnrichmentJobCommand extends Command
1323
- .classBuilder()
1324
- .ep(commonParams)
1325
- .m(function (Command, cs, config, o) {
1326
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1327
- })
1328
- .s("SageMakerGeospatial", "ExportVectorEnrichmentJob", {})
1329
- .n("SageMakerGeospatialClient", "ExportVectorEnrichmentJobCommand")
1330
- .sc(ExportVectorEnrichmentJob$)
1331
- .build() {
1301
+ class ExportVectorEnrichmentJobCommand extends command(_ep0, _mw0, "ExportVectorEnrichmentJob", ExportVectorEnrichmentJob$) {
1332
1302
  }
1333
1303
 
1334
- class GetEarthObservationJobCommand extends Command
1335
- .classBuilder()
1336
- .ep(commonParams)
1337
- .m(function (Command, cs, config, o) {
1338
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1339
- })
1340
- .s("SageMakerGeospatial", "GetEarthObservationJob", {})
1341
- .n("SageMakerGeospatialClient", "GetEarthObservationJobCommand")
1342
- .sc(GetEarthObservationJob$)
1343
- .build() {
1304
+ class GetEarthObservationJobCommand extends command(_ep0, _mw0, "GetEarthObservationJob", GetEarthObservationJob$) {
1344
1305
  }
1345
1306
 
1346
- class GetRasterDataCollectionCommand extends Command
1347
- .classBuilder()
1348
- .ep(commonParams)
1349
- .m(function (Command, cs, config, o) {
1350
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1351
- })
1352
- .s("SageMakerGeospatial", "GetRasterDataCollection", {})
1353
- .n("SageMakerGeospatialClient", "GetRasterDataCollectionCommand")
1354
- .sc(GetRasterDataCollection$)
1355
- .build() {
1307
+ class GetRasterDataCollectionCommand extends command(_ep0, _mw0, "GetRasterDataCollection", GetRasterDataCollection$) {
1356
1308
  }
1357
1309
 
1358
- class GetTileCommand extends Command
1359
- .classBuilder()
1360
- .ep(commonParams)
1361
- .m(function (Command, cs, config, o) {
1362
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1363
- })
1364
- .s("SageMakerGeospatial", "GetTile", {})
1365
- .n("SageMakerGeospatialClient", "GetTileCommand")
1366
- .sc(GetTile$)
1367
- .build() {
1310
+ class GetTileCommand extends command(_ep0, _mw0, "GetTile", GetTile$) {
1368
1311
  }
1369
1312
 
1370
- class GetVectorEnrichmentJobCommand extends Command
1371
- .classBuilder()
1372
- .ep(commonParams)
1373
- .m(function (Command, cs, config, o) {
1374
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1375
- })
1376
- .s("SageMakerGeospatial", "GetVectorEnrichmentJob", {})
1377
- .n("SageMakerGeospatialClient", "GetVectorEnrichmentJobCommand")
1378
- .sc(GetVectorEnrichmentJob$)
1379
- .build() {
1313
+ class GetVectorEnrichmentJobCommand extends command(_ep0, _mw0, "GetVectorEnrichmentJob", GetVectorEnrichmentJob$) {
1380
1314
  }
1381
1315
 
1382
- class ListEarthObservationJobsCommand extends Command
1383
- .classBuilder()
1384
- .ep(commonParams)
1385
- .m(function (Command, cs, config, o) {
1386
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1387
- })
1388
- .s("SageMakerGeospatial", "ListEarthObservationJobs", {})
1389
- .n("SageMakerGeospatialClient", "ListEarthObservationJobsCommand")
1390
- .sc(ListEarthObservationJobs$)
1391
- .build() {
1316
+ class ListEarthObservationJobsCommand extends command(_ep0, _mw0, "ListEarthObservationJobs", ListEarthObservationJobs$) {
1392
1317
  }
1393
1318
 
1394
- class ListRasterDataCollectionsCommand extends Command
1395
- .classBuilder()
1396
- .ep(commonParams)
1397
- .m(function (Command, cs, config, o) {
1398
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1399
- })
1400
- .s("SageMakerGeospatial", "ListRasterDataCollections", {})
1401
- .n("SageMakerGeospatialClient", "ListRasterDataCollectionsCommand")
1402
- .sc(ListRasterDataCollections$)
1403
- .build() {
1319
+ class ListRasterDataCollectionsCommand extends command(_ep0, _mw0, "ListRasterDataCollections", ListRasterDataCollections$) {
1404
1320
  }
1405
1321
 
1406
- class ListTagsForResourceCommand extends Command
1407
- .classBuilder()
1408
- .ep(commonParams)
1409
- .m(function (Command, cs, config, o) {
1410
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1411
- })
1412
- .s("SageMakerGeospatial", "ListTagsForResource", {})
1413
- .n("SageMakerGeospatialClient", "ListTagsForResourceCommand")
1414
- .sc(ListTagsForResource$)
1415
- .build() {
1322
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1416
1323
  }
1417
1324
 
1418
- class ListVectorEnrichmentJobsCommand extends Command
1419
- .classBuilder()
1420
- .ep(commonParams)
1421
- .m(function (Command, cs, config, o) {
1422
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1423
- })
1424
- .s("SageMakerGeospatial", "ListVectorEnrichmentJobs", {})
1425
- .n("SageMakerGeospatialClient", "ListVectorEnrichmentJobsCommand")
1426
- .sc(ListVectorEnrichmentJobs$)
1427
- .build() {
1325
+ class ListVectorEnrichmentJobsCommand extends command(_ep0, _mw0, "ListVectorEnrichmentJobs", ListVectorEnrichmentJobs$) {
1428
1326
  }
1429
1327
 
1430
- class SearchRasterDataCollectionCommand extends Command
1431
- .classBuilder()
1432
- .ep(commonParams)
1433
- .m(function (Command, cs, config, o) {
1434
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1435
- })
1436
- .s("SageMakerGeospatial", "SearchRasterDataCollection", {})
1437
- .n("SageMakerGeospatialClient", "SearchRasterDataCollectionCommand")
1438
- .sc(SearchRasterDataCollection$)
1439
- .build() {
1328
+ class SearchRasterDataCollectionCommand extends command(_ep0, _mw0, "SearchRasterDataCollection", SearchRasterDataCollection$) {
1440
1329
  }
1441
1330
 
1442
- class StartEarthObservationJobCommand extends Command
1443
- .classBuilder()
1444
- .ep(commonParams)
1445
- .m(function (Command, cs, config, o) {
1446
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1447
- })
1448
- .s("SageMakerGeospatial", "StartEarthObservationJob", {})
1449
- .n("SageMakerGeospatialClient", "StartEarthObservationJobCommand")
1450
- .sc(StartEarthObservationJob$)
1451
- .build() {
1331
+ class StartEarthObservationJobCommand extends command(_ep0, _mw0, "StartEarthObservationJob", StartEarthObservationJob$) {
1452
1332
  }
1453
1333
 
1454
- class StartVectorEnrichmentJobCommand extends Command
1455
- .classBuilder()
1456
- .ep(commonParams)
1457
- .m(function (Command, cs, config, o) {
1458
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1459
- })
1460
- .s("SageMakerGeospatial", "StartVectorEnrichmentJob", {})
1461
- .n("SageMakerGeospatialClient", "StartVectorEnrichmentJobCommand")
1462
- .sc(StartVectorEnrichmentJob$)
1463
- .build() {
1334
+ class StartVectorEnrichmentJobCommand extends command(_ep0, _mw0, "StartVectorEnrichmentJob", StartVectorEnrichmentJob$) {
1464
1335
  }
1465
1336
 
1466
- class StopEarthObservationJobCommand extends Command
1467
- .classBuilder()
1468
- .ep(commonParams)
1469
- .m(function (Command, cs, config, o) {
1470
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1471
- })
1472
- .s("SageMakerGeospatial", "StopEarthObservationJob", {})
1473
- .n("SageMakerGeospatialClient", "StopEarthObservationJobCommand")
1474
- .sc(StopEarthObservationJob$)
1475
- .build() {
1337
+ class StopEarthObservationJobCommand extends command(_ep0, _mw0, "StopEarthObservationJob", StopEarthObservationJob$) {
1476
1338
  }
1477
1339
 
1478
- class StopVectorEnrichmentJobCommand extends Command
1479
- .classBuilder()
1480
- .ep(commonParams)
1481
- .m(function (Command, cs, config, o) {
1482
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1483
- })
1484
- .s("SageMakerGeospatial", "StopVectorEnrichmentJob", {})
1485
- .n("SageMakerGeospatialClient", "StopVectorEnrichmentJobCommand")
1486
- .sc(StopVectorEnrichmentJob$)
1487
- .build() {
1340
+ class StopVectorEnrichmentJobCommand extends command(_ep0, _mw0, "StopVectorEnrichmentJob", StopVectorEnrichmentJob$) {
1488
1341
  }
1489
1342
 
1490
- class TagResourceCommand extends Command
1491
- .classBuilder()
1492
- .ep(commonParams)
1493
- .m(function (Command, cs, config, o) {
1494
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1495
- })
1496
- .s("SageMakerGeospatial", "TagResource", {})
1497
- .n("SageMakerGeospatialClient", "TagResourceCommand")
1498
- .sc(TagResource$)
1499
- .build() {
1343
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1500
1344
  }
1501
1345
 
1502
- class UntagResourceCommand extends Command
1503
- .classBuilder()
1504
- .ep(commonParams)
1505
- .m(function (Command, cs, config, o) {
1506
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1507
- })
1508
- .s("SageMakerGeospatial", "UntagResource", {})
1509
- .n("SageMakerGeospatialClient", "UntagResourceCommand")
1510
- .sc(UntagResource$)
1511
- .build() {
1346
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1512
1347
  }
1513
1348
 
1514
1349
  const paginateListEarthObservationJobs = createPaginator(SageMakerGeospatialClient, ListEarthObservationJobsCommand, "NextToken", "NextToken", "");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "SageMakerGeospatial", "SageMakerGeospatialClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteEarthObservationJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteEarthObservationJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SageMakerGeospatial", "DeleteEarthObservationJob", {})
13
- .n("SageMakerGeospatialClient", "DeleteEarthObservationJobCommand")
14
- .sc(DeleteEarthObservationJob$)
15
- .build() {
3
+ export class DeleteEarthObservationJobCommand extends command(_ep0, _mw0, "DeleteEarthObservationJob", DeleteEarthObservationJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteVectorEnrichmentJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteVectorEnrichmentJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SageMakerGeospatial", "DeleteVectorEnrichmentJob", {})
13
- .n("SageMakerGeospatialClient", "DeleteVectorEnrichmentJobCommand")
14
- .sc(DeleteVectorEnrichmentJob$)
15
- .build() {
3
+ export class DeleteVectorEnrichmentJobCommand extends command(_ep0, _mw0, "DeleteVectorEnrichmentJob", DeleteVectorEnrichmentJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ExportEarthObservationJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ExportEarthObservationJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SageMakerGeospatial", "ExportEarthObservationJob", {})
13
- .n("SageMakerGeospatialClient", "ExportEarthObservationJobCommand")
14
- .sc(ExportEarthObservationJob$)
15
- .build() {
3
+ export class ExportEarthObservationJobCommand extends command(_ep0, _mw0, "ExportEarthObservationJob", ExportEarthObservationJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ExportVectorEnrichmentJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ExportVectorEnrichmentJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SageMakerGeospatial", "ExportVectorEnrichmentJob", {})
13
- .n("SageMakerGeospatialClient", "ExportVectorEnrichmentJobCommand")
14
- .sc(ExportVectorEnrichmentJob$)
15
- .build() {
3
+ export class ExportVectorEnrichmentJobCommand extends command(_ep0, _mw0, "ExportVectorEnrichmentJob", ExportVectorEnrichmentJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetEarthObservationJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetEarthObservationJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SageMakerGeospatial", "GetEarthObservationJob", {})
13
- .n("SageMakerGeospatialClient", "GetEarthObservationJobCommand")
14
- .sc(GetEarthObservationJob$)
15
- .build() {
3
+ export class GetEarthObservationJobCommand extends command(_ep0, _mw0, "GetEarthObservationJob", GetEarthObservationJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetRasterDataCollection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetRasterDataCollectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SageMakerGeospatial", "GetRasterDataCollection", {})
13
- .n("SageMakerGeospatialClient", "GetRasterDataCollectionCommand")
14
- .sc(GetRasterDataCollection$)
15
- .build() {
3
+ export class GetRasterDataCollectionCommand extends command(_ep0, _mw0, "GetRasterDataCollection", GetRasterDataCollection$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetTile$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetTileCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SageMakerGeospatial", "GetTile", {})
13
- .n("SageMakerGeospatialClient", "GetTileCommand")
14
- .sc(GetTile$)
15
- .build() {
3
+ export class GetTileCommand extends command(_ep0, _mw0, "GetTile", GetTile$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetVectorEnrichmentJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetVectorEnrichmentJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SageMakerGeospatial", "GetVectorEnrichmentJob", {})
13
- .n("SageMakerGeospatialClient", "GetVectorEnrichmentJobCommand")
14
- .sc(GetVectorEnrichmentJob$)
15
- .build() {
3
+ export class GetVectorEnrichmentJobCommand extends command(_ep0, _mw0, "GetVectorEnrichmentJob", GetVectorEnrichmentJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListEarthObservationJobs$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListEarthObservationJobsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SageMakerGeospatial", "ListEarthObservationJobs", {})
13
- .n("SageMakerGeospatialClient", "ListEarthObservationJobsCommand")
14
- .sc(ListEarthObservationJobs$)
15
- .build() {
3
+ export class ListEarthObservationJobsCommand extends command(_ep0, _mw0, "ListEarthObservationJobs", ListEarthObservationJobs$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListRasterDataCollections$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListRasterDataCollectionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SageMakerGeospatial", "ListRasterDataCollections", {})
13
- .n("SageMakerGeospatialClient", "ListRasterDataCollectionsCommand")
14
- .sc(ListRasterDataCollections$)
15
- .build() {
3
+ export class ListRasterDataCollectionsCommand extends command(_ep0, _mw0, "ListRasterDataCollections", ListRasterDataCollections$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SageMakerGeospatial", "ListTagsForResource", {})
13
- .n("SageMakerGeospatialClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListVectorEnrichmentJobs$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListVectorEnrichmentJobsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SageMakerGeospatial", "ListVectorEnrichmentJobs", {})
13
- .n("SageMakerGeospatialClient", "ListVectorEnrichmentJobsCommand")
14
- .sc(ListVectorEnrichmentJobs$)
15
- .build() {
3
+ export class ListVectorEnrichmentJobsCommand extends command(_ep0, _mw0, "ListVectorEnrichmentJobs", ListVectorEnrichmentJobs$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { SearchRasterDataCollection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SearchRasterDataCollectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SageMakerGeospatial", "SearchRasterDataCollection", {})
13
- .n("SageMakerGeospatialClient", "SearchRasterDataCollectionCommand")
14
- .sc(SearchRasterDataCollection$)
15
- .build() {
3
+ export class SearchRasterDataCollectionCommand extends command(_ep0, _mw0, "SearchRasterDataCollection", SearchRasterDataCollection$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartEarthObservationJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartEarthObservationJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SageMakerGeospatial", "StartEarthObservationJob", {})
13
- .n("SageMakerGeospatialClient", "StartEarthObservationJobCommand")
14
- .sc(StartEarthObservationJob$)
15
- .build() {
3
+ export class StartEarthObservationJobCommand extends command(_ep0, _mw0, "StartEarthObservationJob", StartEarthObservationJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartVectorEnrichmentJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartVectorEnrichmentJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SageMakerGeospatial", "StartVectorEnrichmentJob", {})
13
- .n("SageMakerGeospatialClient", "StartVectorEnrichmentJobCommand")
14
- .sc(StartVectorEnrichmentJob$)
15
- .build() {
3
+ export class StartVectorEnrichmentJobCommand extends command(_ep0, _mw0, "StartVectorEnrichmentJob", StartVectorEnrichmentJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StopEarthObservationJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StopEarthObservationJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SageMakerGeospatial", "StopEarthObservationJob", {})
13
- .n("SageMakerGeospatialClient", "StopEarthObservationJobCommand")
14
- .sc(StopEarthObservationJob$)
15
- .build() {
3
+ export class StopEarthObservationJobCommand extends command(_ep0, _mw0, "StopEarthObservationJob", StopEarthObservationJob$) {
16
4
  }