@aws-sdk/client-neptune-graph 3.1077.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.
- package/dist-cjs/index.js +46 -444
- package/dist-es/commandBuilder.js +11 -0
- package/dist-es/commands/CancelExportTaskCommand.js +2 -17
- package/dist-es/commands/CancelImportTaskCommand.js +2 -17
- package/dist-es/commands/CancelQueryCommand.js +2 -17
- package/dist-es/commands/CreateGraphCommand.js +2 -17
- package/dist-es/commands/CreateGraphSnapshotCommand.js +2 -17
- package/dist-es/commands/CreateGraphUsingImportTaskCommand.js +2 -17
- package/dist-es/commands/CreatePrivateGraphEndpointCommand.js +2 -17
- package/dist-es/commands/DeleteGraphCommand.js +2 -17
- package/dist-es/commands/DeleteGraphSnapshotCommand.js +2 -17
- package/dist-es/commands/DeletePrivateGraphEndpointCommand.js +2 -17
- package/dist-es/commands/ExecuteQueryCommand.js +2 -17
- package/dist-es/commands/GetExportTaskCommand.js +2 -17
- package/dist-es/commands/GetGraphCommand.js +2 -17
- package/dist-es/commands/GetGraphSnapshotCommand.js +2 -17
- package/dist-es/commands/GetGraphSummaryCommand.js +2 -17
- package/dist-es/commands/GetImportTaskCommand.js +2 -17
- package/dist-es/commands/GetPrivateGraphEndpointCommand.js +2 -17
- package/dist-es/commands/GetQueryCommand.js +2 -17
- package/dist-es/commands/ListExportTasksCommand.js +2 -17
- package/dist-es/commands/ListGraphSnapshotsCommand.js +2 -17
- package/dist-es/commands/ListGraphsCommand.js +2 -17
- package/dist-es/commands/ListImportTasksCommand.js +2 -17
- package/dist-es/commands/ListPrivateGraphEndpointsCommand.js +2 -17
- package/dist-es/commands/ListQueriesCommand.js +2 -17
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -17
- package/dist-es/commands/ResetGraphCommand.js +2 -17
- package/dist-es/commands/RestoreGraphFromSnapshotCommand.js +2 -17
- package/dist-es/commands/StartExportTaskCommand.js +2 -17
- package/dist-es/commands/StartGraphCommand.js +2 -17
- package/dist-es/commands/StartImportTaskCommand.js +2 -17
- package/dist-es/commands/StopGraphCommand.js +2 -17
- package/dist-es/commands/TagResourceCommand.js +2 -17
- package/dist-es/commands/UntagResourceCommand.js +2 -17
- package/dist-es/commands/UpdateGraphCommand.js +2 -17
- package/dist-es/index.js +1 -0
- package/dist-types/commandBuilder.d.ts +22 -0
- package/dist-types/commands/CancelExportTaskCommand.d.ts +3 -8
- package/dist-types/commands/CancelImportTaskCommand.d.ts +3 -8
- package/dist-types/commands/CancelQueryCommand.d.ts +3 -8
- package/dist-types/commands/CreateGraphCommand.d.ts +3 -8
- package/dist-types/commands/CreateGraphSnapshotCommand.d.ts +3 -8
- package/dist-types/commands/CreateGraphUsingImportTaskCommand.d.ts +3 -8
- package/dist-types/commands/CreatePrivateGraphEndpointCommand.d.ts +3 -8
- package/dist-types/commands/DeleteGraphCommand.d.ts +3 -8
- package/dist-types/commands/DeleteGraphSnapshotCommand.d.ts +3 -8
- package/dist-types/commands/DeletePrivateGraphEndpointCommand.d.ts +3 -8
- package/dist-types/commands/ExecuteQueryCommand.d.ts +3 -8
- package/dist-types/commands/GetExportTaskCommand.d.ts +3 -8
- package/dist-types/commands/GetGraphCommand.d.ts +3 -8
- package/dist-types/commands/GetGraphSnapshotCommand.d.ts +3 -8
- package/dist-types/commands/GetGraphSummaryCommand.d.ts +3 -8
- package/dist-types/commands/GetImportTaskCommand.d.ts +3 -8
- package/dist-types/commands/GetPrivateGraphEndpointCommand.d.ts +3 -8
- package/dist-types/commands/GetQueryCommand.d.ts +3 -8
- package/dist-types/commands/ListExportTasksCommand.d.ts +3 -8
- package/dist-types/commands/ListGraphSnapshotsCommand.d.ts +3 -8
- package/dist-types/commands/ListGraphsCommand.d.ts +3 -8
- package/dist-types/commands/ListImportTasksCommand.d.ts +3 -8
- package/dist-types/commands/ListPrivateGraphEndpointsCommand.d.ts +3 -8
- package/dist-types/commands/ListQueriesCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/ResetGraphCommand.d.ts +3 -8
- package/dist-types/commands/RestoreGraphFromSnapshotCommand.d.ts +3 -8
- package/dist-types/commands/StartExportTaskCommand.d.ts +3 -8
- package/dist-types/commands/StartGraphCommand.d.ts +3 -8
- package/dist-types/commands/StartImportTaskCommand.d.ts +3 -8
- package/dist-types/commands/StopGraphCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateGraphCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +47 -0
- package/dist-types/ts3.4/commands/CancelExportTaskCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CancelImportTaskCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateGraphCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateGraphSnapshotCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateGraphUsingImportTaskCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreatePrivateGraphEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteGraphCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteGraphSnapshotCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeletePrivateGraphEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ExecuteQueryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetExportTaskCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetGraphCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetGraphSnapshotCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetGraphSummaryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetImportTaskCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetPrivateGraphEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetQueryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListExportTasksCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListGraphSnapshotsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListGraphsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListImportTasksCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListPrivateGraphEndpointsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListQueriesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ResetGraphCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RestoreGraphFromSnapshotCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartExportTaskCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartGraphCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartImportTaskCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StopGraphCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateGraphCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/package.json +8 -8
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,
|
|
4
|
-
|
|
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");
|
|
@@ -68,7 +69,7 @@ const commonParams = {
|
|
|
68
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
69
70
|
};
|
|
70
71
|
|
|
71
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
72
73
|
var packageInfo = {
|
|
73
74
|
version: version};
|
|
74
75
|
|
|
@@ -1286,514 +1287,115 @@ class NeptuneGraphClient extends Client {
|
|
|
1286
1287
|
}
|
|
1287
1288
|
}
|
|
1288
1289
|
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
.ep({
|
|
1292
|
-
...commonParams,
|
|
1290
|
+
const command = makeBuilder(commonParams, "AmazonNeptuneGraph", "NeptuneGraphClient", getEndpointPlugin);
|
|
1291
|
+
const _ep0 = {
|
|
1293
1292
|
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1294
|
-
}
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
.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$) {
|
|
1302
1300
|
}
|
|
1303
1301
|
|
|
1304
|
-
class CancelImportTaskCommand extends
|
|
1305
|
-
.classBuilder()
|
|
1306
|
-
.ep({
|
|
1307
|
-
...commonParams,
|
|
1308
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1309
|
-
})
|
|
1310
|
-
.m(function (Command, cs, config, o) {
|
|
1311
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1312
|
-
})
|
|
1313
|
-
.s("AmazonNeptuneGraph", "CancelImportTask", {})
|
|
1314
|
-
.n("NeptuneGraphClient", "CancelImportTaskCommand")
|
|
1315
|
-
.sc(CancelImportTask$)
|
|
1316
|
-
.build() {
|
|
1302
|
+
class CancelImportTaskCommand extends command(_ep0, _mw0, "CancelImportTask", CancelImportTask$) {
|
|
1317
1303
|
}
|
|
1318
1304
|
|
|
1319
|
-
class CancelQueryCommand extends
|
|
1320
|
-
.classBuilder()
|
|
1321
|
-
.ep({
|
|
1322
|
-
...commonParams,
|
|
1323
|
-
ApiType: { type: "staticContextParams", value: `DataPlane` },
|
|
1324
|
-
})
|
|
1325
|
-
.m(function (Command, cs, config, o) {
|
|
1326
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1327
|
-
})
|
|
1328
|
-
.s("AmazonNeptuneGraph", "CancelQuery", {})
|
|
1329
|
-
.n("NeptuneGraphClient", "CancelQueryCommand")
|
|
1330
|
-
.sc(CancelQuery$)
|
|
1331
|
-
.build() {
|
|
1305
|
+
class CancelQueryCommand extends command(_ep1, _mw0, "CancelQuery", CancelQuery$) {
|
|
1332
1306
|
}
|
|
1333
1307
|
|
|
1334
|
-
class CreateGraphCommand extends
|
|
1335
|
-
.classBuilder()
|
|
1336
|
-
.ep({
|
|
1337
|
-
...commonParams,
|
|
1338
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1339
|
-
})
|
|
1340
|
-
.m(function (Command, cs, config, o) {
|
|
1341
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1342
|
-
})
|
|
1343
|
-
.s("AmazonNeptuneGraph", "CreateGraph", {})
|
|
1344
|
-
.n("NeptuneGraphClient", "CreateGraphCommand")
|
|
1345
|
-
.sc(CreateGraph$)
|
|
1346
|
-
.build() {
|
|
1308
|
+
class CreateGraphCommand extends command(_ep0, _mw0, "CreateGraph", CreateGraph$) {
|
|
1347
1309
|
}
|
|
1348
1310
|
|
|
1349
|
-
class CreateGraphSnapshotCommand extends
|
|
1350
|
-
.classBuilder()
|
|
1351
|
-
.ep({
|
|
1352
|
-
...commonParams,
|
|
1353
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1354
|
-
})
|
|
1355
|
-
.m(function (Command, cs, config, o) {
|
|
1356
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1357
|
-
})
|
|
1358
|
-
.s("AmazonNeptuneGraph", "CreateGraphSnapshot", {})
|
|
1359
|
-
.n("NeptuneGraphClient", "CreateGraphSnapshotCommand")
|
|
1360
|
-
.sc(CreateGraphSnapshot$)
|
|
1361
|
-
.build() {
|
|
1311
|
+
class CreateGraphSnapshotCommand extends command(_ep0, _mw0, "CreateGraphSnapshot", CreateGraphSnapshot$) {
|
|
1362
1312
|
}
|
|
1363
1313
|
|
|
1364
|
-
class CreateGraphUsingImportTaskCommand extends
|
|
1365
|
-
.classBuilder()
|
|
1366
|
-
.ep({
|
|
1367
|
-
...commonParams,
|
|
1368
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1369
|
-
})
|
|
1370
|
-
.m(function (Command, cs, config, o) {
|
|
1371
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1372
|
-
})
|
|
1373
|
-
.s("AmazonNeptuneGraph", "CreateGraphUsingImportTask", {})
|
|
1374
|
-
.n("NeptuneGraphClient", "CreateGraphUsingImportTaskCommand")
|
|
1375
|
-
.sc(CreateGraphUsingImportTask$)
|
|
1376
|
-
.build() {
|
|
1314
|
+
class CreateGraphUsingImportTaskCommand extends command(_ep0, _mw0, "CreateGraphUsingImportTask", CreateGraphUsingImportTask$) {
|
|
1377
1315
|
}
|
|
1378
1316
|
|
|
1379
|
-
class CreatePrivateGraphEndpointCommand extends
|
|
1380
|
-
.classBuilder()
|
|
1381
|
-
.ep({
|
|
1382
|
-
...commonParams,
|
|
1383
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1384
|
-
})
|
|
1385
|
-
.m(function (Command, cs, config, o) {
|
|
1386
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1387
|
-
})
|
|
1388
|
-
.s("AmazonNeptuneGraph", "CreatePrivateGraphEndpoint", {})
|
|
1389
|
-
.n("NeptuneGraphClient", "CreatePrivateGraphEndpointCommand")
|
|
1390
|
-
.sc(CreatePrivateGraphEndpoint$)
|
|
1391
|
-
.build() {
|
|
1317
|
+
class CreatePrivateGraphEndpointCommand extends command(_ep0, _mw0, "CreatePrivateGraphEndpoint", CreatePrivateGraphEndpoint$) {
|
|
1392
1318
|
}
|
|
1393
1319
|
|
|
1394
|
-
class DeleteGraphCommand extends
|
|
1395
|
-
.classBuilder()
|
|
1396
|
-
.ep({
|
|
1397
|
-
...commonParams,
|
|
1398
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1399
|
-
})
|
|
1400
|
-
.m(function (Command, cs, config, o) {
|
|
1401
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1402
|
-
})
|
|
1403
|
-
.s("AmazonNeptuneGraph", "DeleteGraph", {})
|
|
1404
|
-
.n("NeptuneGraphClient", "DeleteGraphCommand")
|
|
1405
|
-
.sc(DeleteGraph$)
|
|
1406
|
-
.build() {
|
|
1320
|
+
class DeleteGraphCommand extends command(_ep0, _mw0, "DeleteGraph", DeleteGraph$) {
|
|
1407
1321
|
}
|
|
1408
1322
|
|
|
1409
|
-
class DeleteGraphSnapshotCommand extends
|
|
1410
|
-
.classBuilder()
|
|
1411
|
-
.ep({
|
|
1412
|
-
...commonParams,
|
|
1413
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1414
|
-
})
|
|
1415
|
-
.m(function (Command, cs, config, o) {
|
|
1416
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1417
|
-
})
|
|
1418
|
-
.s("AmazonNeptuneGraph", "DeleteGraphSnapshot", {})
|
|
1419
|
-
.n("NeptuneGraphClient", "DeleteGraphSnapshotCommand")
|
|
1420
|
-
.sc(DeleteGraphSnapshot$)
|
|
1421
|
-
.build() {
|
|
1323
|
+
class DeleteGraphSnapshotCommand extends command(_ep0, _mw0, "DeleteGraphSnapshot", DeleteGraphSnapshot$) {
|
|
1422
1324
|
}
|
|
1423
1325
|
|
|
1424
|
-
class DeletePrivateGraphEndpointCommand extends
|
|
1425
|
-
.classBuilder()
|
|
1426
|
-
.ep({
|
|
1427
|
-
...commonParams,
|
|
1428
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1429
|
-
})
|
|
1430
|
-
.m(function (Command, cs, config, o) {
|
|
1431
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1432
|
-
})
|
|
1433
|
-
.s("AmazonNeptuneGraph", "DeletePrivateGraphEndpoint", {})
|
|
1434
|
-
.n("NeptuneGraphClient", "DeletePrivateGraphEndpointCommand")
|
|
1435
|
-
.sc(DeletePrivateGraphEndpoint$)
|
|
1436
|
-
.build() {
|
|
1326
|
+
class DeletePrivateGraphEndpointCommand extends command(_ep0, _mw0, "DeletePrivateGraphEndpoint", DeletePrivateGraphEndpoint$) {
|
|
1437
1327
|
}
|
|
1438
1328
|
|
|
1439
|
-
class ExecuteQueryCommand extends
|
|
1440
|
-
.classBuilder()
|
|
1441
|
-
.ep({
|
|
1442
|
-
...commonParams,
|
|
1443
|
-
ApiType: { type: "staticContextParams", value: `DataPlane` },
|
|
1444
|
-
})
|
|
1445
|
-
.m(function (Command, cs, config, o) {
|
|
1446
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1447
|
-
})
|
|
1448
|
-
.s("AmazonNeptuneGraph", "ExecuteQuery", {})
|
|
1449
|
-
.n("NeptuneGraphClient", "ExecuteQueryCommand")
|
|
1450
|
-
.sc(ExecuteQuery$)
|
|
1451
|
-
.build() {
|
|
1329
|
+
class ExecuteQueryCommand extends command(_ep1, _mw0, "ExecuteQuery", ExecuteQuery$) {
|
|
1452
1330
|
}
|
|
1453
1331
|
|
|
1454
|
-
class GetExportTaskCommand extends
|
|
1455
|
-
.classBuilder()
|
|
1456
|
-
.ep({
|
|
1457
|
-
...commonParams,
|
|
1458
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1459
|
-
})
|
|
1460
|
-
.m(function (Command, cs, config, o) {
|
|
1461
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1462
|
-
})
|
|
1463
|
-
.s("AmazonNeptuneGraph", "GetExportTask", {})
|
|
1464
|
-
.n("NeptuneGraphClient", "GetExportTaskCommand")
|
|
1465
|
-
.sc(GetExportTask$)
|
|
1466
|
-
.build() {
|
|
1332
|
+
class GetExportTaskCommand extends command(_ep0, _mw0, "GetExportTask", GetExportTask$) {
|
|
1467
1333
|
}
|
|
1468
1334
|
|
|
1469
|
-
class GetGraphCommand extends
|
|
1470
|
-
.classBuilder()
|
|
1471
|
-
.ep({
|
|
1472
|
-
...commonParams,
|
|
1473
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1474
|
-
})
|
|
1475
|
-
.m(function (Command, cs, config, o) {
|
|
1476
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1477
|
-
})
|
|
1478
|
-
.s("AmazonNeptuneGraph", "GetGraph", {})
|
|
1479
|
-
.n("NeptuneGraphClient", "GetGraphCommand")
|
|
1480
|
-
.sc(GetGraph$)
|
|
1481
|
-
.build() {
|
|
1335
|
+
class GetGraphCommand extends command(_ep0, _mw0, "GetGraph", GetGraph$) {
|
|
1482
1336
|
}
|
|
1483
1337
|
|
|
1484
|
-
class GetGraphSnapshotCommand extends
|
|
1485
|
-
.classBuilder()
|
|
1486
|
-
.ep({
|
|
1487
|
-
...commonParams,
|
|
1488
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1489
|
-
})
|
|
1490
|
-
.m(function (Command, cs, config, o) {
|
|
1491
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1492
|
-
})
|
|
1493
|
-
.s("AmazonNeptuneGraph", "GetGraphSnapshot", {})
|
|
1494
|
-
.n("NeptuneGraphClient", "GetGraphSnapshotCommand")
|
|
1495
|
-
.sc(GetGraphSnapshot$)
|
|
1496
|
-
.build() {
|
|
1338
|
+
class GetGraphSnapshotCommand extends command(_ep0, _mw0, "GetGraphSnapshot", GetGraphSnapshot$) {
|
|
1497
1339
|
}
|
|
1498
1340
|
|
|
1499
|
-
class GetGraphSummaryCommand extends
|
|
1500
|
-
.classBuilder()
|
|
1501
|
-
.ep({
|
|
1502
|
-
...commonParams,
|
|
1503
|
-
ApiType: { type: "staticContextParams", value: `DataPlane` },
|
|
1504
|
-
})
|
|
1505
|
-
.m(function (Command, cs, config, o) {
|
|
1506
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1507
|
-
})
|
|
1508
|
-
.s("AmazonNeptuneGraph", "GetGraphSummary", {})
|
|
1509
|
-
.n("NeptuneGraphClient", "GetGraphSummaryCommand")
|
|
1510
|
-
.sc(GetGraphSummary$)
|
|
1511
|
-
.build() {
|
|
1341
|
+
class GetGraphSummaryCommand extends command(_ep1, _mw0, "GetGraphSummary", GetGraphSummary$) {
|
|
1512
1342
|
}
|
|
1513
1343
|
|
|
1514
|
-
class GetImportTaskCommand extends
|
|
1515
|
-
.classBuilder()
|
|
1516
|
-
.ep({
|
|
1517
|
-
...commonParams,
|
|
1518
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1519
|
-
})
|
|
1520
|
-
.m(function (Command, cs, config, o) {
|
|
1521
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1522
|
-
})
|
|
1523
|
-
.s("AmazonNeptuneGraph", "GetImportTask", {})
|
|
1524
|
-
.n("NeptuneGraphClient", "GetImportTaskCommand")
|
|
1525
|
-
.sc(GetImportTask$)
|
|
1526
|
-
.build() {
|
|
1344
|
+
class GetImportTaskCommand extends command(_ep0, _mw0, "GetImportTask", GetImportTask$) {
|
|
1527
1345
|
}
|
|
1528
1346
|
|
|
1529
|
-
class GetPrivateGraphEndpointCommand extends
|
|
1530
|
-
.classBuilder()
|
|
1531
|
-
.ep({
|
|
1532
|
-
...commonParams,
|
|
1533
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1534
|
-
})
|
|
1535
|
-
.m(function (Command, cs, config, o) {
|
|
1536
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1537
|
-
})
|
|
1538
|
-
.s("AmazonNeptuneGraph", "GetPrivateGraphEndpoint", {})
|
|
1539
|
-
.n("NeptuneGraphClient", "GetPrivateGraphEndpointCommand")
|
|
1540
|
-
.sc(GetPrivateGraphEndpoint$)
|
|
1541
|
-
.build() {
|
|
1347
|
+
class GetPrivateGraphEndpointCommand extends command(_ep0, _mw0, "GetPrivateGraphEndpoint", GetPrivateGraphEndpoint$) {
|
|
1542
1348
|
}
|
|
1543
1349
|
|
|
1544
|
-
class GetQueryCommand extends
|
|
1545
|
-
.classBuilder()
|
|
1546
|
-
.ep({
|
|
1547
|
-
...commonParams,
|
|
1548
|
-
ApiType: { type: "staticContextParams", value: `DataPlane` },
|
|
1549
|
-
})
|
|
1550
|
-
.m(function (Command, cs, config, o) {
|
|
1551
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1552
|
-
})
|
|
1553
|
-
.s("AmazonNeptuneGraph", "GetQuery", {})
|
|
1554
|
-
.n("NeptuneGraphClient", "GetQueryCommand")
|
|
1555
|
-
.sc(GetQuery$)
|
|
1556
|
-
.build() {
|
|
1350
|
+
class GetQueryCommand extends command(_ep1, _mw0, "GetQuery", GetQuery$) {
|
|
1557
1351
|
}
|
|
1558
1352
|
|
|
1559
|
-
class ListExportTasksCommand extends
|
|
1560
|
-
.classBuilder()
|
|
1561
|
-
.ep({
|
|
1562
|
-
...commonParams,
|
|
1563
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1564
|
-
})
|
|
1565
|
-
.m(function (Command, cs, config, o) {
|
|
1566
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1567
|
-
})
|
|
1568
|
-
.s("AmazonNeptuneGraph", "ListExportTasks", {})
|
|
1569
|
-
.n("NeptuneGraphClient", "ListExportTasksCommand")
|
|
1570
|
-
.sc(ListExportTasks$)
|
|
1571
|
-
.build() {
|
|
1353
|
+
class ListExportTasksCommand extends command(_ep0, _mw0, "ListExportTasks", ListExportTasks$) {
|
|
1572
1354
|
}
|
|
1573
1355
|
|
|
1574
|
-
class ListGraphsCommand extends
|
|
1575
|
-
.classBuilder()
|
|
1576
|
-
.ep({
|
|
1577
|
-
...commonParams,
|
|
1578
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1579
|
-
})
|
|
1580
|
-
.m(function (Command, cs, config, o) {
|
|
1581
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1582
|
-
})
|
|
1583
|
-
.s("AmazonNeptuneGraph", "ListGraphs", {})
|
|
1584
|
-
.n("NeptuneGraphClient", "ListGraphsCommand")
|
|
1585
|
-
.sc(ListGraphs$)
|
|
1586
|
-
.build() {
|
|
1356
|
+
class ListGraphsCommand extends command(_ep0, _mw0, "ListGraphs", ListGraphs$) {
|
|
1587
1357
|
}
|
|
1588
1358
|
|
|
1589
|
-
class ListGraphSnapshotsCommand extends
|
|
1590
|
-
.classBuilder()
|
|
1591
|
-
.ep({
|
|
1592
|
-
...commonParams,
|
|
1593
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1594
|
-
})
|
|
1595
|
-
.m(function (Command, cs, config, o) {
|
|
1596
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1597
|
-
})
|
|
1598
|
-
.s("AmazonNeptuneGraph", "ListGraphSnapshots", {})
|
|
1599
|
-
.n("NeptuneGraphClient", "ListGraphSnapshotsCommand")
|
|
1600
|
-
.sc(ListGraphSnapshots$)
|
|
1601
|
-
.build() {
|
|
1359
|
+
class ListGraphSnapshotsCommand extends command(_ep0, _mw0, "ListGraphSnapshots", ListGraphSnapshots$) {
|
|
1602
1360
|
}
|
|
1603
1361
|
|
|
1604
|
-
class ListImportTasksCommand extends
|
|
1605
|
-
.classBuilder()
|
|
1606
|
-
.ep({
|
|
1607
|
-
...commonParams,
|
|
1608
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1609
|
-
})
|
|
1610
|
-
.m(function (Command, cs, config, o) {
|
|
1611
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1612
|
-
})
|
|
1613
|
-
.s("AmazonNeptuneGraph", "ListImportTasks", {})
|
|
1614
|
-
.n("NeptuneGraphClient", "ListImportTasksCommand")
|
|
1615
|
-
.sc(ListImportTasks$)
|
|
1616
|
-
.build() {
|
|
1362
|
+
class ListImportTasksCommand extends command(_ep0, _mw0, "ListImportTasks", ListImportTasks$) {
|
|
1617
1363
|
}
|
|
1618
1364
|
|
|
1619
|
-
class ListPrivateGraphEndpointsCommand extends
|
|
1620
|
-
.classBuilder()
|
|
1621
|
-
.ep({
|
|
1622
|
-
...commonParams,
|
|
1623
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1624
|
-
})
|
|
1625
|
-
.m(function (Command, cs, config, o) {
|
|
1626
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1627
|
-
})
|
|
1628
|
-
.s("AmazonNeptuneGraph", "ListPrivateGraphEndpoints", {})
|
|
1629
|
-
.n("NeptuneGraphClient", "ListPrivateGraphEndpointsCommand")
|
|
1630
|
-
.sc(ListPrivateGraphEndpoints$)
|
|
1631
|
-
.build() {
|
|
1365
|
+
class ListPrivateGraphEndpointsCommand extends command(_ep0, _mw0, "ListPrivateGraphEndpoints", ListPrivateGraphEndpoints$) {
|
|
1632
1366
|
}
|
|
1633
1367
|
|
|
1634
|
-
class ListQueriesCommand extends
|
|
1635
|
-
.classBuilder()
|
|
1636
|
-
.ep({
|
|
1637
|
-
...commonParams,
|
|
1638
|
-
ApiType: { type: "staticContextParams", value: `DataPlane` },
|
|
1639
|
-
})
|
|
1640
|
-
.m(function (Command, cs, config, o) {
|
|
1641
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1642
|
-
})
|
|
1643
|
-
.s("AmazonNeptuneGraph", "ListQueries", {})
|
|
1644
|
-
.n("NeptuneGraphClient", "ListQueriesCommand")
|
|
1645
|
-
.sc(ListQueries$)
|
|
1646
|
-
.build() {
|
|
1368
|
+
class ListQueriesCommand extends command(_ep1, _mw0, "ListQueries", ListQueries$) {
|
|
1647
1369
|
}
|
|
1648
1370
|
|
|
1649
|
-
class ListTagsForResourceCommand extends
|
|
1650
|
-
.classBuilder()
|
|
1651
|
-
.ep({
|
|
1652
|
-
...commonParams,
|
|
1653
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1654
|
-
})
|
|
1655
|
-
.m(function (Command, cs, config, o) {
|
|
1656
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1657
|
-
})
|
|
1658
|
-
.s("AmazonNeptuneGraph", "ListTagsForResource", {})
|
|
1659
|
-
.n("NeptuneGraphClient", "ListTagsForResourceCommand")
|
|
1660
|
-
.sc(ListTagsForResource$)
|
|
1661
|
-
.build() {
|
|
1371
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
1662
1372
|
}
|
|
1663
1373
|
|
|
1664
|
-
class ResetGraphCommand extends
|
|
1665
|
-
.classBuilder()
|
|
1666
|
-
.ep({
|
|
1667
|
-
...commonParams,
|
|
1668
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1669
|
-
})
|
|
1670
|
-
.m(function (Command, cs, config, o) {
|
|
1671
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1672
|
-
})
|
|
1673
|
-
.s("AmazonNeptuneGraph", "ResetGraph", {})
|
|
1674
|
-
.n("NeptuneGraphClient", "ResetGraphCommand")
|
|
1675
|
-
.sc(ResetGraph$)
|
|
1676
|
-
.build() {
|
|
1374
|
+
class ResetGraphCommand extends command(_ep0, _mw0, "ResetGraph", ResetGraph$) {
|
|
1677
1375
|
}
|
|
1678
1376
|
|
|
1679
|
-
class RestoreGraphFromSnapshotCommand extends
|
|
1680
|
-
.classBuilder()
|
|
1681
|
-
.ep({
|
|
1682
|
-
...commonParams,
|
|
1683
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1684
|
-
})
|
|
1685
|
-
.m(function (Command, cs, config, o) {
|
|
1686
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1687
|
-
})
|
|
1688
|
-
.s("AmazonNeptuneGraph", "RestoreGraphFromSnapshot", {})
|
|
1689
|
-
.n("NeptuneGraphClient", "RestoreGraphFromSnapshotCommand")
|
|
1690
|
-
.sc(RestoreGraphFromSnapshot$)
|
|
1691
|
-
.build() {
|
|
1377
|
+
class RestoreGraphFromSnapshotCommand extends command(_ep0, _mw0, "RestoreGraphFromSnapshot", RestoreGraphFromSnapshot$) {
|
|
1692
1378
|
}
|
|
1693
1379
|
|
|
1694
|
-
class StartExportTaskCommand extends
|
|
1695
|
-
.classBuilder()
|
|
1696
|
-
.ep({
|
|
1697
|
-
...commonParams,
|
|
1698
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1699
|
-
})
|
|
1700
|
-
.m(function (Command, cs, config, o) {
|
|
1701
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1702
|
-
})
|
|
1703
|
-
.s("AmazonNeptuneGraph", "StartExportTask", {})
|
|
1704
|
-
.n("NeptuneGraphClient", "StartExportTaskCommand")
|
|
1705
|
-
.sc(StartExportTask$)
|
|
1706
|
-
.build() {
|
|
1380
|
+
class StartExportTaskCommand extends command(_ep0, _mw0, "StartExportTask", StartExportTask$) {
|
|
1707
1381
|
}
|
|
1708
1382
|
|
|
1709
|
-
class StartGraphCommand extends
|
|
1710
|
-
.classBuilder()
|
|
1711
|
-
.ep({
|
|
1712
|
-
...commonParams,
|
|
1713
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1714
|
-
})
|
|
1715
|
-
.m(function (Command, cs, config, o) {
|
|
1716
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1717
|
-
})
|
|
1718
|
-
.s("AmazonNeptuneGraph", "StartGraph", {})
|
|
1719
|
-
.n("NeptuneGraphClient", "StartGraphCommand")
|
|
1720
|
-
.sc(StartGraph$)
|
|
1721
|
-
.build() {
|
|
1383
|
+
class StartGraphCommand extends command(_ep0, _mw0, "StartGraph", StartGraph$) {
|
|
1722
1384
|
}
|
|
1723
1385
|
|
|
1724
|
-
class StartImportTaskCommand extends
|
|
1725
|
-
.classBuilder()
|
|
1726
|
-
.ep({
|
|
1727
|
-
...commonParams,
|
|
1728
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1729
|
-
})
|
|
1730
|
-
.m(function (Command, cs, config, o) {
|
|
1731
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1732
|
-
})
|
|
1733
|
-
.s("AmazonNeptuneGraph", "StartImportTask", {})
|
|
1734
|
-
.n("NeptuneGraphClient", "StartImportTaskCommand")
|
|
1735
|
-
.sc(StartImportTask$)
|
|
1736
|
-
.build() {
|
|
1386
|
+
class StartImportTaskCommand extends command(_ep0, _mw0, "StartImportTask", StartImportTask$) {
|
|
1737
1387
|
}
|
|
1738
1388
|
|
|
1739
|
-
class StopGraphCommand extends
|
|
1740
|
-
.classBuilder()
|
|
1741
|
-
.ep({
|
|
1742
|
-
...commonParams,
|
|
1743
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1744
|
-
})
|
|
1745
|
-
.m(function (Command, cs, config, o) {
|
|
1746
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1747
|
-
})
|
|
1748
|
-
.s("AmazonNeptuneGraph", "StopGraph", {})
|
|
1749
|
-
.n("NeptuneGraphClient", "StopGraphCommand")
|
|
1750
|
-
.sc(StopGraph$)
|
|
1751
|
-
.build() {
|
|
1389
|
+
class StopGraphCommand extends command(_ep0, _mw0, "StopGraph", StopGraph$) {
|
|
1752
1390
|
}
|
|
1753
1391
|
|
|
1754
|
-
class TagResourceCommand extends
|
|
1755
|
-
.classBuilder()
|
|
1756
|
-
.ep({
|
|
1757
|
-
...commonParams,
|
|
1758
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1759
|
-
})
|
|
1760
|
-
.m(function (Command, cs, config, o) {
|
|
1761
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1762
|
-
})
|
|
1763
|
-
.s("AmazonNeptuneGraph", "TagResource", {})
|
|
1764
|
-
.n("NeptuneGraphClient", "TagResourceCommand")
|
|
1765
|
-
.sc(TagResource$)
|
|
1766
|
-
.build() {
|
|
1392
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
1767
1393
|
}
|
|
1768
1394
|
|
|
1769
|
-
class UntagResourceCommand extends
|
|
1770
|
-
.classBuilder()
|
|
1771
|
-
.ep({
|
|
1772
|
-
...commonParams,
|
|
1773
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1774
|
-
})
|
|
1775
|
-
.m(function (Command, cs, config, o) {
|
|
1776
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1777
|
-
})
|
|
1778
|
-
.s("AmazonNeptuneGraph", "UntagResource", {})
|
|
1779
|
-
.n("NeptuneGraphClient", "UntagResourceCommand")
|
|
1780
|
-
.sc(UntagResource$)
|
|
1781
|
-
.build() {
|
|
1395
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
1782
1396
|
}
|
|
1783
1397
|
|
|
1784
|
-
class UpdateGraphCommand extends
|
|
1785
|
-
.classBuilder()
|
|
1786
|
-
.ep({
|
|
1787
|
-
...commonParams,
|
|
1788
|
-
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
1789
|
-
})
|
|
1790
|
-
.m(function (Command, cs, config, o) {
|
|
1791
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1792
|
-
})
|
|
1793
|
-
.s("AmazonNeptuneGraph", "UpdateGraph", {})
|
|
1794
|
-
.n("NeptuneGraphClient", "UpdateGraphCommand")
|
|
1795
|
-
.sc(UpdateGraph$)
|
|
1796
|
-
.build() {
|
|
1398
|
+
class UpdateGraphCommand extends command(_ep0, _mw0, "UpdateGraph", UpdateGraph$) {
|
|
1797
1399
|
}
|
|
1798
1400
|
|
|
1799
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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
|
}
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateGraph$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateGraphCommand 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", "CreateGraph", {})
|
|
16
|
-
.n("NeptuneGraphClient", "CreateGraphCommand")
|
|
17
|
-
.sc(CreateGraph$)
|
|
18
|
-
.build() {
|
|
3
|
+
export class CreateGraphCommand extends command(_ep0, _mw0, "CreateGraph", CreateGraph$) {
|
|
19
4
|
}
|