@aws-sdk/client-neptune-graph 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 (122) hide show
  1. package/dist-cjs/index.js +49 -446
  2. package/dist-es/commandBuilder.js +11 -0
  3. package/dist-es/commands/CancelExportTaskCommand.js +2 -17
  4. package/dist-es/commands/CancelImportTaskCommand.js +2 -17
  5. package/dist-es/commands/CancelQueryCommand.js +2 -17
  6. package/dist-es/commands/CreateGraphCommand.js +2 -17
  7. package/dist-es/commands/CreateGraphSnapshotCommand.js +2 -17
  8. package/dist-es/commands/CreateGraphUsingImportTaskCommand.js +2 -17
  9. package/dist-es/commands/CreatePrivateGraphEndpointCommand.js +2 -17
  10. package/dist-es/commands/DeleteGraphCommand.js +2 -17
  11. package/dist-es/commands/DeleteGraphSnapshotCommand.js +2 -17
  12. package/dist-es/commands/DeletePrivateGraphEndpointCommand.js +2 -17
  13. package/dist-es/commands/ExecuteQueryCommand.js +2 -17
  14. package/dist-es/commands/GetExportTaskCommand.js +2 -17
  15. package/dist-es/commands/GetGraphCommand.js +2 -17
  16. package/dist-es/commands/GetGraphSnapshotCommand.js +2 -17
  17. package/dist-es/commands/GetGraphSummaryCommand.js +2 -17
  18. package/dist-es/commands/GetImportTaskCommand.js +2 -17
  19. package/dist-es/commands/GetPrivateGraphEndpointCommand.js +2 -17
  20. package/dist-es/commands/GetQueryCommand.js +2 -17
  21. package/dist-es/commands/ListExportTasksCommand.js +2 -17
  22. package/dist-es/commands/ListGraphSnapshotsCommand.js +2 -17
  23. package/dist-es/commands/ListGraphsCommand.js +2 -17
  24. package/dist-es/commands/ListImportTasksCommand.js +2 -17
  25. package/dist-es/commands/ListPrivateGraphEndpointsCommand.js +2 -17
  26. package/dist-es/commands/ListQueriesCommand.js +2 -17
  27. package/dist-es/commands/ListTagsForResourceCommand.js +2 -17
  28. package/dist-es/commands/ResetGraphCommand.js +2 -17
  29. package/dist-es/commands/RestoreGraphFromSnapshotCommand.js +2 -17
  30. package/dist-es/commands/StartExportTaskCommand.js +2 -17
  31. package/dist-es/commands/StartGraphCommand.js +2 -17
  32. package/dist-es/commands/StartImportTaskCommand.js +2 -17
  33. package/dist-es/commands/StopGraphCommand.js +2 -17
  34. package/dist-es/commands/TagResourceCommand.js +2 -17
  35. package/dist-es/commands/UntagResourceCommand.js +2 -17
  36. package/dist-es/commands/UpdateGraphCommand.js +2 -17
  37. package/dist-es/index.js +1 -0
  38. package/dist-es/runtimeConfig.browser.js +0 -2
  39. package/dist-es/runtimeConfig.js +1 -2
  40. package/dist-es/runtimeConfig.native.js +0 -2
  41. package/dist-es/runtimeConfig.shared.js +2 -0
  42. package/dist-types/commandBuilder.d.ts +22 -0
  43. package/dist-types/commands/CancelExportTaskCommand.d.ts +3 -8
  44. package/dist-types/commands/CancelImportTaskCommand.d.ts +3 -8
  45. package/dist-types/commands/CancelQueryCommand.d.ts +3 -8
  46. package/dist-types/commands/CreateGraphCommand.d.ts +3 -8
  47. package/dist-types/commands/CreateGraphSnapshotCommand.d.ts +3 -8
  48. package/dist-types/commands/CreateGraphUsingImportTaskCommand.d.ts +3 -8
  49. package/dist-types/commands/CreatePrivateGraphEndpointCommand.d.ts +3 -8
  50. package/dist-types/commands/DeleteGraphCommand.d.ts +3 -8
  51. package/dist-types/commands/DeleteGraphSnapshotCommand.d.ts +3 -8
  52. package/dist-types/commands/DeletePrivateGraphEndpointCommand.d.ts +3 -8
  53. package/dist-types/commands/ExecuteQueryCommand.d.ts +3 -8
  54. package/dist-types/commands/GetExportTaskCommand.d.ts +3 -8
  55. package/dist-types/commands/GetGraphCommand.d.ts +3 -8
  56. package/dist-types/commands/GetGraphSnapshotCommand.d.ts +3 -8
  57. package/dist-types/commands/GetGraphSummaryCommand.d.ts +3 -8
  58. package/dist-types/commands/GetImportTaskCommand.d.ts +3 -8
  59. package/dist-types/commands/GetPrivateGraphEndpointCommand.d.ts +3 -8
  60. package/dist-types/commands/GetQueryCommand.d.ts +3 -8
  61. package/dist-types/commands/ListExportTasksCommand.d.ts +3 -8
  62. package/dist-types/commands/ListGraphSnapshotsCommand.d.ts +3 -8
  63. package/dist-types/commands/ListGraphsCommand.d.ts +3 -8
  64. package/dist-types/commands/ListImportTasksCommand.d.ts +3 -8
  65. package/dist-types/commands/ListPrivateGraphEndpointsCommand.d.ts +3 -8
  66. package/dist-types/commands/ListQueriesCommand.d.ts +3 -8
  67. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  68. package/dist-types/commands/ResetGraphCommand.d.ts +3 -8
  69. package/dist-types/commands/RestoreGraphFromSnapshotCommand.d.ts +3 -8
  70. package/dist-types/commands/StartExportTaskCommand.d.ts +3 -8
  71. package/dist-types/commands/StartGraphCommand.d.ts +3 -8
  72. package/dist-types/commands/StartImportTaskCommand.d.ts +3 -8
  73. package/dist-types/commands/StopGraphCommand.d.ts +3 -8
  74. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  75. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  76. package/dist-types/commands/UpdateGraphCommand.d.ts +3 -8
  77. package/dist-types/index.d.ts +1 -0
  78. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  79. package/dist-types/runtimeConfig.d.ts +1 -1
  80. package/dist-types/runtimeConfig.native.d.ts +1 -1
  81. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  82. package/dist-types/ts3.4/commandBuilder.d.ts +47 -0
  83. package/dist-types/ts3.4/commands/CancelExportTaskCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/CancelImportTaskCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/CreateGraphCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/CreateGraphSnapshotCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/CreateGraphUsingImportTaskCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/CreatePrivateGraphEndpointCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/DeleteGraphCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/DeleteGraphSnapshotCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/DeletePrivateGraphEndpointCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/ExecuteQueryCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/GetExportTaskCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/GetGraphCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/GetGraphSnapshotCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/GetGraphSummaryCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/GetImportTaskCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/GetPrivateGraphEndpointCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/GetQueryCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/ListExportTasksCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/ListGraphSnapshotsCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/ListGraphsCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/ListImportTasksCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/ListPrivateGraphEndpointsCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/ListQueriesCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/ResetGraphCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/RestoreGraphFromSnapshotCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/StartExportTaskCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/StartGraphCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/StartImportTaskCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/StopGraphCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/UpdateGraphCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/index.d.ts +1 -0
  118. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  119. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  120. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  121. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  122. 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, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, 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 defaultNeptuneGraphHttpAuthSchemeParametersProvider = 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
 
@@ -1164,6 +1166,7 @@ const getRuntimeConfig$1 = (config) => {
1164
1166
  },
1165
1167
  sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
1166
1168
  serviceId: config?.serviceId ?? "Neptune Graph",
1169
+ sha256: config?.sha256 ?? Sha256,
1167
1170
  urlParser: config?.urlParser ?? parseUrl,
1168
1171
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1169
1172
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1197,7 +1200,6 @@ const getRuntimeConfig = (config) => {
1197
1200
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1198
1201
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1199
1202
  }, config),
1200
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1201
1203
  streamCollector: config?.streamCollector ?? streamCollector,
1202
1204
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1203
1205
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1285,514 +1287,115 @@ class NeptuneGraphClient extends Client {
1285
1287
  }
1286
1288
  }
1287
1289
 
1288
- class CancelExportTaskCommand extends Command
1289
- .classBuilder()
1290
- .ep({
1291
- ...commonParams,
1290
+ const command = makeBuilder(commonParams, "AmazonNeptuneGraph", "NeptuneGraphClient", getEndpointPlugin);
1291
+ const _ep0 = {
1292
1292
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
1293
- })
1294
- .m(function (Command, cs, config, o) {
1295
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1296
- })
1297
- .s("AmazonNeptuneGraph", "CancelExportTask", {})
1298
- .n("NeptuneGraphClient", "CancelExportTaskCommand")
1299
- .sc(CancelExportTask$)
1300
- .build() {
1293
+ };
1294
+ const _ep1 = {
1295
+ ApiType: { type: "staticContextParams", value: `DataPlane` },
1296
+ };
1297
+ const _mw0 = (Command, cs, config, o) => [];
1298
+
1299
+ class CancelExportTaskCommand extends command(_ep0, _mw0, "CancelExportTask", CancelExportTask$) {
1301
1300
  }
1302
1301
 
1303
- class CancelImportTaskCommand extends Command
1304
- .classBuilder()
1305
- .ep({
1306
- ...commonParams,
1307
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1308
- })
1309
- .m(function (Command, cs, config, o) {
1310
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1311
- })
1312
- .s("AmazonNeptuneGraph", "CancelImportTask", {})
1313
- .n("NeptuneGraphClient", "CancelImportTaskCommand")
1314
- .sc(CancelImportTask$)
1315
- .build() {
1302
+ class CancelImportTaskCommand extends command(_ep0, _mw0, "CancelImportTask", CancelImportTask$) {
1316
1303
  }
1317
1304
 
1318
- class CancelQueryCommand extends Command
1319
- .classBuilder()
1320
- .ep({
1321
- ...commonParams,
1322
- ApiType: { type: "staticContextParams", value: `DataPlane` },
1323
- })
1324
- .m(function (Command, cs, config, o) {
1325
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1326
- })
1327
- .s("AmazonNeptuneGraph", "CancelQuery", {})
1328
- .n("NeptuneGraphClient", "CancelQueryCommand")
1329
- .sc(CancelQuery$)
1330
- .build() {
1305
+ class CancelQueryCommand extends command(_ep1, _mw0, "CancelQuery", CancelQuery$) {
1331
1306
  }
1332
1307
 
1333
- class CreateGraphCommand extends Command
1334
- .classBuilder()
1335
- .ep({
1336
- ...commonParams,
1337
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1338
- })
1339
- .m(function (Command, cs, config, o) {
1340
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1341
- })
1342
- .s("AmazonNeptuneGraph", "CreateGraph", {})
1343
- .n("NeptuneGraphClient", "CreateGraphCommand")
1344
- .sc(CreateGraph$)
1345
- .build() {
1308
+ class CreateGraphCommand extends command(_ep0, _mw0, "CreateGraph", CreateGraph$) {
1346
1309
  }
1347
1310
 
1348
- class CreateGraphSnapshotCommand extends Command
1349
- .classBuilder()
1350
- .ep({
1351
- ...commonParams,
1352
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1353
- })
1354
- .m(function (Command, cs, config, o) {
1355
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1356
- })
1357
- .s("AmazonNeptuneGraph", "CreateGraphSnapshot", {})
1358
- .n("NeptuneGraphClient", "CreateGraphSnapshotCommand")
1359
- .sc(CreateGraphSnapshot$)
1360
- .build() {
1311
+ class CreateGraphSnapshotCommand extends command(_ep0, _mw0, "CreateGraphSnapshot", CreateGraphSnapshot$) {
1361
1312
  }
1362
1313
 
1363
- class CreateGraphUsingImportTaskCommand extends Command
1364
- .classBuilder()
1365
- .ep({
1366
- ...commonParams,
1367
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1368
- })
1369
- .m(function (Command, cs, config, o) {
1370
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1371
- })
1372
- .s("AmazonNeptuneGraph", "CreateGraphUsingImportTask", {})
1373
- .n("NeptuneGraphClient", "CreateGraphUsingImportTaskCommand")
1374
- .sc(CreateGraphUsingImportTask$)
1375
- .build() {
1314
+ class CreateGraphUsingImportTaskCommand extends command(_ep0, _mw0, "CreateGraphUsingImportTask", CreateGraphUsingImportTask$) {
1376
1315
  }
1377
1316
 
1378
- class CreatePrivateGraphEndpointCommand extends Command
1379
- .classBuilder()
1380
- .ep({
1381
- ...commonParams,
1382
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1383
- })
1384
- .m(function (Command, cs, config, o) {
1385
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1386
- })
1387
- .s("AmazonNeptuneGraph", "CreatePrivateGraphEndpoint", {})
1388
- .n("NeptuneGraphClient", "CreatePrivateGraphEndpointCommand")
1389
- .sc(CreatePrivateGraphEndpoint$)
1390
- .build() {
1317
+ class CreatePrivateGraphEndpointCommand extends command(_ep0, _mw0, "CreatePrivateGraphEndpoint", CreatePrivateGraphEndpoint$) {
1391
1318
  }
1392
1319
 
1393
- class DeleteGraphCommand extends Command
1394
- .classBuilder()
1395
- .ep({
1396
- ...commonParams,
1397
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1398
- })
1399
- .m(function (Command, cs, config, o) {
1400
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1401
- })
1402
- .s("AmazonNeptuneGraph", "DeleteGraph", {})
1403
- .n("NeptuneGraphClient", "DeleteGraphCommand")
1404
- .sc(DeleteGraph$)
1405
- .build() {
1320
+ class DeleteGraphCommand extends command(_ep0, _mw0, "DeleteGraph", DeleteGraph$) {
1406
1321
  }
1407
1322
 
1408
- class DeleteGraphSnapshotCommand extends Command
1409
- .classBuilder()
1410
- .ep({
1411
- ...commonParams,
1412
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1413
- })
1414
- .m(function (Command, cs, config, o) {
1415
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1416
- })
1417
- .s("AmazonNeptuneGraph", "DeleteGraphSnapshot", {})
1418
- .n("NeptuneGraphClient", "DeleteGraphSnapshotCommand")
1419
- .sc(DeleteGraphSnapshot$)
1420
- .build() {
1323
+ class DeleteGraphSnapshotCommand extends command(_ep0, _mw0, "DeleteGraphSnapshot", DeleteGraphSnapshot$) {
1421
1324
  }
1422
1325
 
1423
- class DeletePrivateGraphEndpointCommand extends Command
1424
- .classBuilder()
1425
- .ep({
1426
- ...commonParams,
1427
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1428
- })
1429
- .m(function (Command, cs, config, o) {
1430
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1431
- })
1432
- .s("AmazonNeptuneGraph", "DeletePrivateGraphEndpoint", {})
1433
- .n("NeptuneGraphClient", "DeletePrivateGraphEndpointCommand")
1434
- .sc(DeletePrivateGraphEndpoint$)
1435
- .build() {
1326
+ class DeletePrivateGraphEndpointCommand extends command(_ep0, _mw0, "DeletePrivateGraphEndpoint", DeletePrivateGraphEndpoint$) {
1436
1327
  }
1437
1328
 
1438
- class ExecuteQueryCommand extends Command
1439
- .classBuilder()
1440
- .ep({
1441
- ...commonParams,
1442
- ApiType: { type: "staticContextParams", value: `DataPlane` },
1443
- })
1444
- .m(function (Command, cs, config, o) {
1445
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1446
- })
1447
- .s("AmazonNeptuneGraph", "ExecuteQuery", {})
1448
- .n("NeptuneGraphClient", "ExecuteQueryCommand")
1449
- .sc(ExecuteQuery$)
1450
- .build() {
1329
+ class ExecuteQueryCommand extends command(_ep1, _mw0, "ExecuteQuery", ExecuteQuery$) {
1451
1330
  }
1452
1331
 
1453
- class GetExportTaskCommand extends Command
1454
- .classBuilder()
1455
- .ep({
1456
- ...commonParams,
1457
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1458
- })
1459
- .m(function (Command, cs, config, o) {
1460
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1461
- })
1462
- .s("AmazonNeptuneGraph", "GetExportTask", {})
1463
- .n("NeptuneGraphClient", "GetExportTaskCommand")
1464
- .sc(GetExportTask$)
1465
- .build() {
1332
+ class GetExportTaskCommand extends command(_ep0, _mw0, "GetExportTask", GetExportTask$) {
1466
1333
  }
1467
1334
 
1468
- class GetGraphCommand extends Command
1469
- .classBuilder()
1470
- .ep({
1471
- ...commonParams,
1472
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1473
- })
1474
- .m(function (Command, cs, config, o) {
1475
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1476
- })
1477
- .s("AmazonNeptuneGraph", "GetGraph", {})
1478
- .n("NeptuneGraphClient", "GetGraphCommand")
1479
- .sc(GetGraph$)
1480
- .build() {
1335
+ class GetGraphCommand extends command(_ep0, _mw0, "GetGraph", GetGraph$) {
1481
1336
  }
1482
1337
 
1483
- class GetGraphSnapshotCommand extends Command
1484
- .classBuilder()
1485
- .ep({
1486
- ...commonParams,
1487
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1488
- })
1489
- .m(function (Command, cs, config, o) {
1490
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1491
- })
1492
- .s("AmazonNeptuneGraph", "GetGraphSnapshot", {})
1493
- .n("NeptuneGraphClient", "GetGraphSnapshotCommand")
1494
- .sc(GetGraphSnapshot$)
1495
- .build() {
1338
+ class GetGraphSnapshotCommand extends command(_ep0, _mw0, "GetGraphSnapshot", GetGraphSnapshot$) {
1496
1339
  }
1497
1340
 
1498
- class GetGraphSummaryCommand extends Command
1499
- .classBuilder()
1500
- .ep({
1501
- ...commonParams,
1502
- ApiType: { type: "staticContextParams", value: `DataPlane` },
1503
- })
1504
- .m(function (Command, cs, config, o) {
1505
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1506
- })
1507
- .s("AmazonNeptuneGraph", "GetGraphSummary", {})
1508
- .n("NeptuneGraphClient", "GetGraphSummaryCommand")
1509
- .sc(GetGraphSummary$)
1510
- .build() {
1341
+ class GetGraphSummaryCommand extends command(_ep1, _mw0, "GetGraphSummary", GetGraphSummary$) {
1511
1342
  }
1512
1343
 
1513
- class GetImportTaskCommand extends Command
1514
- .classBuilder()
1515
- .ep({
1516
- ...commonParams,
1517
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1518
- })
1519
- .m(function (Command, cs, config, o) {
1520
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1521
- })
1522
- .s("AmazonNeptuneGraph", "GetImportTask", {})
1523
- .n("NeptuneGraphClient", "GetImportTaskCommand")
1524
- .sc(GetImportTask$)
1525
- .build() {
1344
+ class GetImportTaskCommand extends command(_ep0, _mw0, "GetImportTask", GetImportTask$) {
1526
1345
  }
1527
1346
 
1528
- class GetPrivateGraphEndpointCommand extends Command
1529
- .classBuilder()
1530
- .ep({
1531
- ...commonParams,
1532
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1533
- })
1534
- .m(function (Command, cs, config, o) {
1535
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1536
- })
1537
- .s("AmazonNeptuneGraph", "GetPrivateGraphEndpoint", {})
1538
- .n("NeptuneGraphClient", "GetPrivateGraphEndpointCommand")
1539
- .sc(GetPrivateGraphEndpoint$)
1540
- .build() {
1347
+ class GetPrivateGraphEndpointCommand extends command(_ep0, _mw0, "GetPrivateGraphEndpoint", GetPrivateGraphEndpoint$) {
1541
1348
  }
1542
1349
 
1543
- class GetQueryCommand extends Command
1544
- .classBuilder()
1545
- .ep({
1546
- ...commonParams,
1547
- ApiType: { type: "staticContextParams", value: `DataPlane` },
1548
- })
1549
- .m(function (Command, cs, config, o) {
1550
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1551
- })
1552
- .s("AmazonNeptuneGraph", "GetQuery", {})
1553
- .n("NeptuneGraphClient", "GetQueryCommand")
1554
- .sc(GetQuery$)
1555
- .build() {
1350
+ class GetQueryCommand extends command(_ep1, _mw0, "GetQuery", GetQuery$) {
1556
1351
  }
1557
1352
 
1558
- class ListExportTasksCommand extends Command
1559
- .classBuilder()
1560
- .ep({
1561
- ...commonParams,
1562
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1563
- })
1564
- .m(function (Command, cs, config, o) {
1565
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1566
- })
1567
- .s("AmazonNeptuneGraph", "ListExportTasks", {})
1568
- .n("NeptuneGraphClient", "ListExportTasksCommand")
1569
- .sc(ListExportTasks$)
1570
- .build() {
1353
+ class ListExportTasksCommand extends command(_ep0, _mw0, "ListExportTasks", ListExportTasks$) {
1571
1354
  }
1572
1355
 
1573
- class ListGraphsCommand extends Command
1574
- .classBuilder()
1575
- .ep({
1576
- ...commonParams,
1577
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1578
- })
1579
- .m(function (Command, cs, config, o) {
1580
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1581
- })
1582
- .s("AmazonNeptuneGraph", "ListGraphs", {})
1583
- .n("NeptuneGraphClient", "ListGraphsCommand")
1584
- .sc(ListGraphs$)
1585
- .build() {
1356
+ class ListGraphsCommand extends command(_ep0, _mw0, "ListGraphs", ListGraphs$) {
1586
1357
  }
1587
1358
 
1588
- class ListGraphSnapshotsCommand extends Command
1589
- .classBuilder()
1590
- .ep({
1591
- ...commonParams,
1592
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1593
- })
1594
- .m(function (Command, cs, config, o) {
1595
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1596
- })
1597
- .s("AmazonNeptuneGraph", "ListGraphSnapshots", {})
1598
- .n("NeptuneGraphClient", "ListGraphSnapshotsCommand")
1599
- .sc(ListGraphSnapshots$)
1600
- .build() {
1359
+ class ListGraphSnapshotsCommand extends command(_ep0, _mw0, "ListGraphSnapshots", ListGraphSnapshots$) {
1601
1360
  }
1602
1361
 
1603
- class ListImportTasksCommand extends Command
1604
- .classBuilder()
1605
- .ep({
1606
- ...commonParams,
1607
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1608
- })
1609
- .m(function (Command, cs, config, o) {
1610
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1611
- })
1612
- .s("AmazonNeptuneGraph", "ListImportTasks", {})
1613
- .n("NeptuneGraphClient", "ListImportTasksCommand")
1614
- .sc(ListImportTasks$)
1615
- .build() {
1362
+ class ListImportTasksCommand extends command(_ep0, _mw0, "ListImportTasks", ListImportTasks$) {
1616
1363
  }
1617
1364
 
1618
- class ListPrivateGraphEndpointsCommand extends Command
1619
- .classBuilder()
1620
- .ep({
1621
- ...commonParams,
1622
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1623
- })
1624
- .m(function (Command, cs, config, o) {
1625
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1626
- })
1627
- .s("AmazonNeptuneGraph", "ListPrivateGraphEndpoints", {})
1628
- .n("NeptuneGraphClient", "ListPrivateGraphEndpointsCommand")
1629
- .sc(ListPrivateGraphEndpoints$)
1630
- .build() {
1365
+ class ListPrivateGraphEndpointsCommand extends command(_ep0, _mw0, "ListPrivateGraphEndpoints", ListPrivateGraphEndpoints$) {
1631
1366
  }
1632
1367
 
1633
- class ListQueriesCommand extends Command
1634
- .classBuilder()
1635
- .ep({
1636
- ...commonParams,
1637
- ApiType: { type: "staticContextParams", value: `DataPlane` },
1638
- })
1639
- .m(function (Command, cs, config, o) {
1640
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1641
- })
1642
- .s("AmazonNeptuneGraph", "ListQueries", {})
1643
- .n("NeptuneGraphClient", "ListQueriesCommand")
1644
- .sc(ListQueries$)
1645
- .build() {
1368
+ class ListQueriesCommand extends command(_ep1, _mw0, "ListQueries", ListQueries$) {
1646
1369
  }
1647
1370
 
1648
- class ListTagsForResourceCommand extends Command
1649
- .classBuilder()
1650
- .ep({
1651
- ...commonParams,
1652
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1653
- })
1654
- .m(function (Command, cs, config, o) {
1655
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1656
- })
1657
- .s("AmazonNeptuneGraph", "ListTagsForResource", {})
1658
- .n("NeptuneGraphClient", "ListTagsForResourceCommand")
1659
- .sc(ListTagsForResource$)
1660
- .build() {
1371
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1661
1372
  }
1662
1373
 
1663
- class ResetGraphCommand extends Command
1664
- .classBuilder()
1665
- .ep({
1666
- ...commonParams,
1667
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1668
- })
1669
- .m(function (Command, cs, config, o) {
1670
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1671
- })
1672
- .s("AmazonNeptuneGraph", "ResetGraph", {})
1673
- .n("NeptuneGraphClient", "ResetGraphCommand")
1674
- .sc(ResetGraph$)
1675
- .build() {
1374
+ class ResetGraphCommand extends command(_ep0, _mw0, "ResetGraph", ResetGraph$) {
1676
1375
  }
1677
1376
 
1678
- class RestoreGraphFromSnapshotCommand extends Command
1679
- .classBuilder()
1680
- .ep({
1681
- ...commonParams,
1682
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1683
- })
1684
- .m(function (Command, cs, config, o) {
1685
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1686
- })
1687
- .s("AmazonNeptuneGraph", "RestoreGraphFromSnapshot", {})
1688
- .n("NeptuneGraphClient", "RestoreGraphFromSnapshotCommand")
1689
- .sc(RestoreGraphFromSnapshot$)
1690
- .build() {
1377
+ class RestoreGraphFromSnapshotCommand extends command(_ep0, _mw0, "RestoreGraphFromSnapshot", RestoreGraphFromSnapshot$) {
1691
1378
  }
1692
1379
 
1693
- class StartExportTaskCommand extends Command
1694
- .classBuilder()
1695
- .ep({
1696
- ...commonParams,
1697
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1698
- })
1699
- .m(function (Command, cs, config, o) {
1700
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1701
- })
1702
- .s("AmazonNeptuneGraph", "StartExportTask", {})
1703
- .n("NeptuneGraphClient", "StartExportTaskCommand")
1704
- .sc(StartExportTask$)
1705
- .build() {
1380
+ class StartExportTaskCommand extends command(_ep0, _mw0, "StartExportTask", StartExportTask$) {
1706
1381
  }
1707
1382
 
1708
- class StartGraphCommand extends Command
1709
- .classBuilder()
1710
- .ep({
1711
- ...commonParams,
1712
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1713
- })
1714
- .m(function (Command, cs, config, o) {
1715
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1716
- })
1717
- .s("AmazonNeptuneGraph", "StartGraph", {})
1718
- .n("NeptuneGraphClient", "StartGraphCommand")
1719
- .sc(StartGraph$)
1720
- .build() {
1383
+ class StartGraphCommand extends command(_ep0, _mw0, "StartGraph", StartGraph$) {
1721
1384
  }
1722
1385
 
1723
- class StartImportTaskCommand extends Command
1724
- .classBuilder()
1725
- .ep({
1726
- ...commonParams,
1727
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1728
- })
1729
- .m(function (Command, cs, config, o) {
1730
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1731
- })
1732
- .s("AmazonNeptuneGraph", "StartImportTask", {})
1733
- .n("NeptuneGraphClient", "StartImportTaskCommand")
1734
- .sc(StartImportTask$)
1735
- .build() {
1386
+ class StartImportTaskCommand extends command(_ep0, _mw0, "StartImportTask", StartImportTask$) {
1736
1387
  }
1737
1388
 
1738
- class StopGraphCommand extends Command
1739
- .classBuilder()
1740
- .ep({
1741
- ...commonParams,
1742
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1743
- })
1744
- .m(function (Command, cs, config, o) {
1745
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1746
- })
1747
- .s("AmazonNeptuneGraph", "StopGraph", {})
1748
- .n("NeptuneGraphClient", "StopGraphCommand")
1749
- .sc(StopGraph$)
1750
- .build() {
1389
+ class StopGraphCommand extends command(_ep0, _mw0, "StopGraph", StopGraph$) {
1751
1390
  }
1752
1391
 
1753
- class TagResourceCommand extends Command
1754
- .classBuilder()
1755
- .ep({
1756
- ...commonParams,
1757
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1758
- })
1759
- .m(function (Command, cs, config, o) {
1760
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1761
- })
1762
- .s("AmazonNeptuneGraph", "TagResource", {})
1763
- .n("NeptuneGraphClient", "TagResourceCommand")
1764
- .sc(TagResource$)
1765
- .build() {
1392
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1766
1393
  }
1767
1394
 
1768
- class UntagResourceCommand extends Command
1769
- .classBuilder()
1770
- .ep({
1771
- ...commonParams,
1772
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1773
- })
1774
- .m(function (Command, cs, config, o) {
1775
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1776
- })
1777
- .s("AmazonNeptuneGraph", "UntagResource", {})
1778
- .n("NeptuneGraphClient", "UntagResourceCommand")
1779
- .sc(UntagResource$)
1780
- .build() {
1395
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1781
1396
  }
1782
1397
 
1783
- class UpdateGraphCommand extends Command
1784
- .classBuilder()
1785
- .ep({
1786
- ...commonParams,
1787
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
1788
- })
1789
- .m(function (Command, cs, config, o) {
1790
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1791
- })
1792
- .s("AmazonNeptuneGraph", "UpdateGraph", {})
1793
- .n("NeptuneGraphClient", "UpdateGraphCommand")
1794
- .sc(UpdateGraph$)
1795
- .build() {
1398
+ class UpdateGraphCommand extends command(_ep0, _mw0, "UpdateGraph", UpdateGraph$) {
1796
1399
  }
1797
1400
 
1798
1401
  const paginateListExportTasks = createPaginator(NeptuneGraphClient, ListExportTasksCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,11 @@
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, "AmazonNeptuneGraph", "NeptuneGraphClient", getEndpointPlugin);
5
+ export const _ep0 = {
6
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
7
+ };
8
+ export const _ep1 = {
9
+ ApiType: { type: "staticContextParams", value: `DataPlane` },
10
+ };
11
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,19 +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 { CancelExportTask$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelExportTaskCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("AmazonNeptuneGraph", "CancelExportTask", {})
16
- .n("NeptuneGraphClient", "CancelExportTaskCommand")
17
- .sc(CancelExportTask$)
18
- .build() {
3
+ export class CancelExportTaskCommand extends command(_ep0, _mw0, "CancelExportTask", CancelExportTask$) {
19
4
  }
@@ -1,19 +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 { CancelImportTask$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelImportTaskCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("AmazonNeptuneGraph", "CancelImportTask", {})
16
- .n("NeptuneGraphClient", "CancelImportTaskCommand")
17
- .sc(CancelImportTask$)
18
- .build() {
3
+ export class CancelImportTaskCommand extends command(_ep0, _mw0, "CancelImportTask", CancelImportTask$) {
19
4
  }
@@ -1,19 +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 { _ep1, _mw0, command } from "../commandBuilder";
4
2
  import { CancelQuery$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelQueryCommand extends $Command
7
- .classBuilder()
8
- .ep({
9
- ...commonParams,
10
- ApiType: { type: "staticContextParams", value: `DataPlane` },
11
- })
12
- .m(function (Command, cs, config, o) {
13
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14
- })
15
- .s("AmazonNeptuneGraph", "CancelQuery", {})
16
- .n("NeptuneGraphClient", "CancelQueryCommand")
17
- .sc(CancelQuery$)
18
- .build() {
3
+ export class CancelQueryCommand extends command(_ep1, _mw0, "CancelQuery", CancelQuery$) {
19
4
  }