@aws-sdk/client-neptune-graph 3.928.0 → 3.929.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 (58) hide show
  1. package/dist-cjs/index.js +1472 -1661
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/NeptuneGraphClient.js +2 -0
  4. package/dist-es/commands/CancelExportTaskCommand.js +3 -9
  5. package/dist-es/commands/CancelImportTaskCommand.js +3 -9
  6. package/dist-es/commands/CancelQueryCommand.js +3 -9
  7. package/dist-es/commands/CreateGraphCommand.js +3 -9
  8. package/dist-es/commands/CreateGraphSnapshotCommand.js +3 -9
  9. package/dist-es/commands/CreateGraphUsingImportTaskCommand.js +3 -9
  10. package/dist-es/commands/CreatePrivateGraphEndpointCommand.js +3 -9
  11. package/dist-es/commands/DeleteGraphCommand.js +3 -9
  12. package/dist-es/commands/DeleteGraphSnapshotCommand.js +3 -9
  13. package/dist-es/commands/DeletePrivateGraphEndpointCommand.js +3 -9
  14. package/dist-es/commands/ExecuteQueryCommand.js +3 -10
  15. package/dist-es/commands/GetExportTaskCommand.js +3 -9
  16. package/dist-es/commands/GetGraphCommand.js +3 -9
  17. package/dist-es/commands/GetGraphSnapshotCommand.js +3 -9
  18. package/dist-es/commands/GetGraphSummaryCommand.js +3 -9
  19. package/dist-es/commands/GetImportTaskCommand.js +3 -9
  20. package/dist-es/commands/GetPrivateGraphEndpointCommand.js +3 -9
  21. package/dist-es/commands/GetQueryCommand.js +3 -9
  22. package/dist-es/commands/ListExportTasksCommand.js +3 -9
  23. package/dist-es/commands/ListGraphSnapshotsCommand.js +3 -9
  24. package/dist-es/commands/ListGraphsCommand.js +3 -9
  25. package/dist-es/commands/ListImportTasksCommand.js +3 -9
  26. package/dist-es/commands/ListPrivateGraphEndpointsCommand.js +3 -9
  27. package/dist-es/commands/ListQueriesCommand.js +3 -9
  28. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  29. package/dist-es/commands/ResetGraphCommand.js +3 -9
  30. package/dist-es/commands/RestoreGraphFromSnapshotCommand.js +3 -9
  31. package/dist-es/commands/StartExportTaskCommand.js +3 -9
  32. package/dist-es/commands/StartGraphCommand.js +3 -9
  33. package/dist-es/commands/StartImportTaskCommand.js +3 -9
  34. package/dist-es/commands/StopGraphCommand.js +3 -9
  35. package/dist-es/commands/TagResourceCommand.js +3 -9
  36. package/dist-es/commands/UntagResourceCommand.js +3 -9
  37. package/dist-es/commands/UpdateGraphCommand.js +3 -9
  38. package/dist-es/models/models_0.js +0 -3
  39. package/dist-es/runtimeConfig.shared.js +2 -0
  40. package/dist-es/schemas/schemas_0.js +1394 -0
  41. package/dist-types/NeptuneGraphClient.d.ts +10 -1
  42. package/dist-types/models/models_0.d.ts +0 -4
  43. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  44. package/dist-types/runtimeConfig.d.ts +1 -0
  45. package/dist-types/runtimeConfig.native.d.ts +1 -0
  46. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  47. package/dist-types/schemas/schemas_0.d.ts +152 -0
  48. package/dist-types/ts3.4/NeptuneGraphClient.d.ts +4 -0
  49. package/dist-types/ts3.4/models/models_0.d.ts +0 -3
  50. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  51. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  52. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  53. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  54. package/dist-types/ts3.4/schemas/schemas_0.d.ts +159 -0
  55. package/package.json +2 -2
  56. package/dist-es/protocols/Aws_restJson1.js +0 -1401
  57. package/dist-types/protocols/Aws_restJson1.d.ts +0 -308
  58. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -416
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
  var utilWaiter = require('@smithy/util-waiter');
20
19
 
21
20
  const resolveClientEndpointParameters = (options) => {
@@ -92,6 +91,7 @@ class NeptuneGraphClient extends smithyClient.Client {
92
91
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
92
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
93
  this.config = _config_8;
94
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
95
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
97
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -111,14 +111,14 @@ class NeptuneGraphClient extends smithyClient.Client {
111
111
  }
112
112
  }
113
113
 
114
- class NeptuneGraphServiceException extends smithyClient.ServiceException {
114
+ let NeptuneGraphServiceException$1 = class NeptuneGraphServiceException extends smithyClient.ServiceException {
115
115
  constructor(options) {
116
116
  super(options);
117
117
  Object.setPrototypeOf(this, NeptuneGraphServiceException.prototype);
118
118
  }
119
- }
119
+ };
120
120
 
121
- class AccessDeniedException extends NeptuneGraphServiceException {
121
+ let AccessDeniedException$1 = class AccessDeniedException extends NeptuneGraphServiceException$1 {
122
122
  name = "AccessDeniedException";
123
123
  $fault = "client";
124
124
  constructor(opts) {
@@ -129,8 +129,8 @@ class AccessDeniedException extends NeptuneGraphServiceException {
129
129
  });
130
130
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
131
  }
132
- }
133
- class InternalServerException extends NeptuneGraphServiceException {
132
+ };
133
+ let InternalServerException$1 = class InternalServerException extends NeptuneGraphServiceException$1 {
134
134
  name = "InternalServerException";
135
135
  $fault = "server";
136
136
  $retryable = {};
@@ -142,8 +142,8 @@ class InternalServerException extends NeptuneGraphServiceException {
142
142
  });
143
143
  Object.setPrototypeOf(this, InternalServerException.prototype);
144
144
  }
145
- }
146
- class ResourceNotFoundException extends NeptuneGraphServiceException {
145
+ };
146
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends NeptuneGraphServiceException$1 {
147
147
  name = "ResourceNotFoundException";
148
148
  $fault = "client";
149
149
  constructor(opts) {
@@ -154,8 +154,8 @@ class ResourceNotFoundException extends NeptuneGraphServiceException {
154
154
  });
155
155
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
156
156
  }
157
- }
158
- class ThrottlingException extends NeptuneGraphServiceException {
157
+ };
158
+ let ThrottlingException$1 = class ThrottlingException extends NeptuneGraphServiceException$1 {
159
159
  name = "ThrottlingException";
160
160
  $fault = "client";
161
161
  $retryable = {
@@ -169,7 +169,7 @@ class ThrottlingException extends NeptuneGraphServiceException {
169
169
  });
170
170
  Object.setPrototypeOf(this, ThrottlingException.prototype);
171
171
  }
172
- }
172
+ };
173
173
  const ValidationExceptionReason = {
174
174
  BAD_REQUEST: "BAD_REQUEST",
175
175
  CONSTRAINT_VIOLATION: "CONSTRAINT_VIOLATION",
@@ -179,7 +179,7 @@ const ValidationExceptionReason = {
179
179
  QUERY_TOO_LARGE: "QUERY_TOO_LARGE",
180
180
  UNSUPPORTED_OPERATION: "UNSUPPORTED_OPERATION",
181
181
  };
182
- class ValidationException extends NeptuneGraphServiceException {
182
+ let ValidationException$1 = class ValidationException extends NeptuneGraphServiceException$1 {
183
183
  name = "ValidationException";
184
184
  $fault = "client";
185
185
  reason;
@@ -192,11 +192,11 @@ class ValidationException extends NeptuneGraphServiceException {
192
192
  Object.setPrototypeOf(this, ValidationException.prototype);
193
193
  this.reason = opts.reason;
194
194
  }
195
- }
195
+ };
196
196
  const ConflictExceptionReason = {
197
197
  CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION",
198
198
  };
199
- class ConflictException extends NeptuneGraphServiceException {
199
+ let ConflictException$1 = class ConflictException extends NeptuneGraphServiceException$1 {
200
200
  name = "ConflictException";
201
201
  $fault = "client";
202
202
  reason;
@@ -209,7 +209,7 @@ class ConflictException extends NeptuneGraphServiceException {
209
209
  Object.setPrototypeOf(this, ConflictException.prototype);
210
210
  this.reason = opts.reason;
211
211
  }
212
- }
212
+ };
213
213
  const ExplainMode = {
214
214
  DETAILS: "DETAILS",
215
215
  STATIC: "STATIC",
@@ -229,7 +229,7 @@ const UnprocessableExceptionReason = {
229
229
  QUERY_TIMEOUT: "QUERY_TIMEOUT",
230
230
  STORAGE_LIMIT_EXCEEDED: "STORAGE_LIMIT_EXCEEDED",
231
231
  };
232
- class UnprocessableException extends NeptuneGraphServiceException {
232
+ let UnprocessableException$1 = class UnprocessableException extends NeptuneGraphServiceException$1 {
233
233
  name = "UnprocessableException";
234
234
  $fault = "client";
235
235
  reason;
@@ -242,7 +242,7 @@ class UnprocessableException extends NeptuneGraphServiceException {
242
242
  Object.setPrototypeOf(this, UnprocessableException.prototype);
243
243
  this.reason = opts.reason;
244
244
  }
245
- }
245
+ };
246
246
  const GraphSummaryMode = {
247
247
  BASIC: "BASIC",
248
248
  DETAILED: "DETAILED",
@@ -265,7 +265,7 @@ const GraphStatus = {
265
265
  STOPPING: "STOPPING",
266
266
  UPDATING: "UPDATING",
267
267
  };
268
- class ServiceQuotaExceededException extends NeptuneGraphServiceException {
268
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends NeptuneGraphServiceException$1 {
269
269
  name = "ServiceQuotaExceededException";
270
270
  $fault = "client";
271
271
  resourceId;
@@ -284,7 +284,7 @@ class ServiceQuotaExceededException extends NeptuneGraphServiceException {
284
284
  this.serviceCode = opts.serviceCode;
285
285
  this.quotaCode = opts.quotaCode;
286
286
  }
287
- }
287
+ };
288
288
  const QueryStateInput = {
289
289
  ALL: "ALL",
290
290
  CANCELLING: "CANCELLING",
@@ -353,1404 +353,1386 @@ const MultiValueHandlingType = {
353
353
  PICK_FIRST: "PICK_FIRST",
354
354
  TO_LIST: "TO_LIST",
355
355
  };
356
- const ExecuteQueryOutputFilterSensitiveLog = (obj) => ({
357
- ...obj,
358
- });
359
356
 
360
- const se_CancelExportTaskCommand = async (input, context) => {
361
- const b = core.requestBuilder(input, context);
362
- const headers = {};
363
- b.bp("/exporttasks/{taskIdentifier}");
364
- b.p("taskIdentifier", () => input.taskIdentifier, "{taskIdentifier}", false);
365
- let body;
366
- b.m("DELETE").h(headers).b(body);
367
- return b.build();
368
- };
369
- const se_CancelImportTaskCommand = async (input, context) => {
370
- const b = core.requestBuilder(input, context);
371
- const headers = {};
372
- b.bp("/importtasks/{taskIdentifier}");
373
- b.p("taskIdentifier", () => input.taskIdentifier, "{taskIdentifier}", false);
374
- let body;
375
- b.m("DELETE").h(headers).b(body);
376
- return b.build();
377
- };
378
- const se_CancelQueryCommand = async (input, context) => {
379
- const b = core.requestBuilder(input, context);
380
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
381
- [_g]: input[_gI],
382
- });
383
- b.bp("/queries/{queryId}");
384
- b.p("queryId", () => input.queryId, "{queryId}", false);
385
- let body;
386
- let { hostname: resolvedHostname } = await context.endpoint();
387
- if (context.disableHostPrefix !== true) {
388
- resolvedHostname = "{graphIdentifier}." + resolvedHostname;
389
- if (input.graphIdentifier === undefined) {
390
- throw new Error("Empty value provided for input host prefix: graphIdentifier.");
391
- }
392
- resolvedHostname = resolvedHostname.replace("{graphIdentifier}", input.graphIdentifier);
393
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
394
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
395
- }
396
- }
397
- b.hn(resolvedHostname);
398
- b.m("DELETE").h(headers).b(body);
399
- return b.build();
400
- };
401
- const se_CreateGraphCommand = async (input, context) => {
402
- const b = core.requestBuilder(input, context);
403
- const headers = {
404
- "content-type": "application/json",
405
- };
406
- b.bp("/graphs");
407
- let body;
408
- body = JSON.stringify(smithyClient.take(input, {
409
- deletionProtection: [],
410
- graphName: [],
411
- kmsKeyIdentifier: [],
412
- provisionedMemory: [],
413
- publicConnectivity: [],
414
- replicaCount: [],
415
- tags: (_) => smithyClient._json(_),
416
- vectorSearchConfiguration: (_) => smithyClient._json(_),
417
- }));
418
- b.m("POST").h(headers).b(body);
419
- return b.build();
420
- };
421
- const se_CreateGraphSnapshotCommand = async (input, context) => {
422
- const b = core.requestBuilder(input, context);
423
- const headers = {
424
- "content-type": "application/json",
425
- };
426
- b.bp("/snapshots");
427
- let body;
428
- body = JSON.stringify(smithyClient.take(input, {
429
- graphIdentifier: [],
430
- snapshotName: [],
431
- tags: (_) => smithyClient._json(_),
432
- }));
433
- b.m("POST").h(headers).b(body);
434
- return b.build();
435
- };
436
- const se_CreateGraphUsingImportTaskCommand = async (input, context) => {
437
- const b = core.requestBuilder(input, context);
438
- const headers = {
439
- "content-type": "application/json",
440
- };
441
- b.bp("/importtasks");
442
- let body;
443
- body = JSON.stringify(smithyClient.take(input, {
444
- blankNodeHandling: [],
445
- deletionProtection: [],
446
- failOnError: [],
447
- format: [],
448
- graphName: [],
449
- importOptions: (_) => smithyClient._json(_),
450
- kmsKeyIdentifier: [],
451
- maxProvisionedMemory: [],
452
- minProvisionedMemory: [],
453
- parquetType: [],
454
- publicConnectivity: [],
455
- replicaCount: [],
456
- roleArn: [],
457
- source: [],
458
- tags: (_) => smithyClient._json(_),
459
- vectorSearchConfiguration: (_) => smithyClient._json(_),
460
- }));
461
- b.m("POST").h(headers).b(body);
462
- return b.build();
463
- };
464
- const se_CreatePrivateGraphEndpointCommand = async (input, context) => {
465
- const b = core.requestBuilder(input, context);
466
- const headers = {
467
- "content-type": "application/json",
468
- };
469
- b.bp("/graphs/{graphIdentifier}/endpoints");
470
- b.p("graphIdentifier", () => input.graphIdentifier, "{graphIdentifier}", false);
471
- let body;
472
- body = JSON.stringify(smithyClient.take(input, {
473
- subnetIds: (_) => smithyClient._json(_),
474
- vpcId: [],
475
- vpcSecurityGroupIds: (_) => smithyClient._json(_),
476
- }));
477
- b.m("POST").h(headers).b(body);
478
- return b.build();
479
- };
480
- const se_DeleteGraphCommand = async (input, context) => {
481
- const b = core.requestBuilder(input, context);
482
- const headers = {};
483
- b.bp("/graphs/{graphIdentifier}");
484
- b.p("graphIdentifier", () => input.graphIdentifier, "{graphIdentifier}", false);
485
- const query = smithyClient.map({
486
- [_sS]: [smithyClient.expectNonNull(input.skipSnapshot, `skipSnapshot`) != null, () => input[_sS].toString()],
487
- });
488
- let body;
489
- b.m("DELETE").h(headers).q(query).b(body);
490
- return b.build();
491
- };
492
- const se_DeleteGraphSnapshotCommand = async (input, context) => {
493
- const b = core.requestBuilder(input, context);
494
- const headers = {};
495
- b.bp("/snapshots/{snapshotIdentifier}");
496
- b.p("snapshotIdentifier", () => input.snapshotIdentifier, "{snapshotIdentifier}", false);
497
- let body;
498
- b.m("DELETE").h(headers).b(body);
499
- return b.build();
500
- };
501
- const se_DeletePrivateGraphEndpointCommand = async (input, context) => {
502
- const b = core.requestBuilder(input, context);
503
- const headers = {};
504
- b.bp("/graphs/{graphIdentifier}/endpoints/{vpcId}");
505
- b.p("graphIdentifier", () => input.graphIdentifier, "{graphIdentifier}", false);
506
- b.p("vpcId", () => input.vpcId, "{vpcId}", false);
507
- let body;
508
- b.m("DELETE").h(headers).b(body);
509
- return b.build();
510
- };
511
- const se_ExecuteQueryCommand = async (input, context) => {
512
- const b = core.requestBuilder(input, context);
513
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
514
- "content-type": "application/json",
515
- [_g]: input[_gI],
516
- });
517
- b.bp("/queries");
518
- let body;
519
- body = JSON.stringify(smithyClient.take(input, {
520
- explain: [, , `explainMode`],
521
- language: [],
522
- parameters: (_) => se_DocumentValuedMap(_),
523
- planCache: [],
524
- query: [, , `queryString`],
525
- queryTimeoutMilliseconds: [],
526
- }));
527
- let { hostname: resolvedHostname } = await context.endpoint();
528
- if (context.disableHostPrefix !== true) {
529
- resolvedHostname = "{graphIdentifier}." + resolvedHostname;
530
- if (input.graphIdentifier === undefined) {
531
- throw new Error("Empty value provided for input host prefix: graphIdentifier.");
532
- }
533
- resolvedHostname = resolvedHostname.replace("{graphIdentifier}", input.graphIdentifier);
534
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
535
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
536
- }
537
- }
538
- b.hn(resolvedHostname);
539
- b.m("POST").h(headers).b(body);
540
- return b.build();
541
- };
542
- const se_GetExportTaskCommand = async (input, context) => {
543
- const b = core.requestBuilder(input, context);
544
- const headers = {};
545
- b.bp("/exporttasks/{taskIdentifier}");
546
- b.p("taskIdentifier", () => input.taskIdentifier, "{taskIdentifier}", false);
547
- let body;
548
- b.m("GET").h(headers).b(body);
549
- return b.build();
550
- };
551
- const se_GetGraphCommand = async (input, context) => {
552
- const b = core.requestBuilder(input, context);
553
- const headers = {};
554
- b.bp("/graphs/{graphIdentifier}");
555
- b.p("graphIdentifier", () => input.graphIdentifier, "{graphIdentifier}", false);
556
- let body;
557
- b.m("GET").h(headers).b(body);
558
- return b.build();
559
- };
560
- const se_GetGraphSnapshotCommand = async (input, context) => {
561
- const b = core.requestBuilder(input, context);
562
- const headers = {};
563
- b.bp("/snapshots/{snapshotIdentifier}");
564
- b.p("snapshotIdentifier", () => input.snapshotIdentifier, "{snapshotIdentifier}", false);
565
- let body;
566
- b.m("GET").h(headers).b(body);
567
- return b.build();
568
- };
569
- const se_GetGraphSummaryCommand = async (input, context) => {
570
- const b = core.requestBuilder(input, context);
571
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
572
- [_g]: input[_gI],
573
- });
574
- b.bp("/summary");
575
- const query = smithyClient.map({
576
- [_m]: [, input[_m]],
577
- });
578
- let body;
579
- let { hostname: resolvedHostname } = await context.endpoint();
580
- if (context.disableHostPrefix !== true) {
581
- resolvedHostname = "{graphIdentifier}." + resolvedHostname;
582
- if (input.graphIdentifier === undefined) {
583
- throw new Error("Empty value provided for input host prefix: graphIdentifier.");
584
- }
585
- resolvedHostname = resolvedHostname.replace("{graphIdentifier}", input.graphIdentifier);
586
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
587
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
588
- }
589
- }
590
- b.hn(resolvedHostname);
591
- b.m("GET").h(headers).q(query).b(body);
592
- return b.build();
593
- };
594
- const se_GetImportTaskCommand = async (input, context) => {
595
- const b = core.requestBuilder(input, context);
596
- const headers = {};
597
- b.bp("/importtasks/{taskIdentifier}");
598
- b.p("taskIdentifier", () => input.taskIdentifier, "{taskIdentifier}", false);
599
- let body;
600
- b.m("GET").h(headers).b(body);
601
- return b.build();
602
- };
603
- const se_GetPrivateGraphEndpointCommand = async (input, context) => {
604
- const b = core.requestBuilder(input, context);
605
- const headers = {};
606
- b.bp("/graphs/{graphIdentifier}/endpoints/{vpcId}");
607
- b.p("graphIdentifier", () => input.graphIdentifier, "{graphIdentifier}", false);
608
- b.p("vpcId", () => input.vpcId, "{vpcId}", false);
609
- let body;
610
- b.m("GET").h(headers).b(body);
611
- return b.build();
612
- };
613
- const se_GetQueryCommand = async (input, context) => {
614
- const b = core.requestBuilder(input, context);
615
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
616
- [_g]: input[_gI],
617
- });
618
- b.bp("/queries/{queryId}");
619
- b.p("queryId", () => input.queryId, "{queryId}", false);
620
- let body;
621
- let { hostname: resolvedHostname } = await context.endpoint();
622
- if (context.disableHostPrefix !== true) {
623
- resolvedHostname = "{graphIdentifier}." + resolvedHostname;
624
- if (input.graphIdentifier === undefined) {
625
- throw new Error("Empty value provided for input host prefix: graphIdentifier.");
626
- }
627
- resolvedHostname = resolvedHostname.replace("{graphIdentifier}", input.graphIdentifier);
628
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
629
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
630
- }
631
- }
632
- b.hn(resolvedHostname);
633
- b.m("GET").h(headers).b(body);
634
- return b.build();
635
- };
636
- const se_ListExportTasksCommand = async (input, context) => {
637
- const b = core.requestBuilder(input, context);
638
- const headers = {};
639
- b.bp("/exporttasks");
640
- const query = smithyClient.map({
641
- [_gI]: [, input[_gI]],
642
- [_nT]: [, input[_nT]],
643
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
644
- });
645
- let body;
646
- b.m("GET").h(headers).q(query).b(body);
647
- return b.build();
648
- };
649
- const se_ListGraphsCommand = async (input, context) => {
650
- const b = core.requestBuilder(input, context);
651
- const headers = {};
652
- b.bp("/graphs");
653
- const query = smithyClient.map({
654
- [_nT]: [, input[_nT]],
655
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
656
- });
657
- let body;
658
- b.m("GET").h(headers).q(query).b(body);
659
- return b.build();
660
- };
661
- const se_ListGraphSnapshotsCommand = async (input, context) => {
662
- const b = core.requestBuilder(input, context);
663
- const headers = {};
664
- b.bp("/snapshots");
665
- const query = smithyClient.map({
666
- [_gI]: [, input[_gI]],
667
- [_nT]: [, input[_nT]],
668
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
669
- });
670
- let body;
671
- b.m("GET").h(headers).q(query).b(body);
672
- return b.build();
673
- };
674
- const se_ListImportTasksCommand = async (input, context) => {
675
- const b = core.requestBuilder(input, context);
676
- const headers = {};
677
- b.bp("/importtasks");
678
- const query = smithyClient.map({
679
- [_nT]: [, input[_nT]],
680
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
681
- });
682
- let body;
683
- b.m("GET").h(headers).q(query).b(body);
684
- return b.build();
685
- };
686
- const se_ListPrivateGraphEndpointsCommand = async (input, context) => {
687
- const b = core.requestBuilder(input, context);
688
- const headers = {};
689
- b.bp("/graphs/{graphIdentifier}/endpoints");
690
- b.p("graphIdentifier", () => input.graphIdentifier, "{graphIdentifier}", false);
691
- const query = smithyClient.map({
692
- [_nT]: [, input[_nT]],
693
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
694
- });
695
- let body;
696
- b.m("GET").h(headers).q(query).b(body);
697
- return b.build();
698
- };
699
- const se_ListQueriesCommand = async (input, context) => {
700
- const b = core.requestBuilder(input, context);
701
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
702
- [_g]: input[_gI],
703
- });
704
- b.bp("/queries");
705
- const query = smithyClient.map({
706
- [_mR]: [smithyClient.expectNonNull(input.maxResults, `maxResults`) != null, () => input[_mR].toString()],
707
- [_s]: [, input[_s]],
708
- });
709
- let body;
710
- let { hostname: resolvedHostname } = await context.endpoint();
711
- if (context.disableHostPrefix !== true) {
712
- resolvedHostname = "{graphIdentifier}." + resolvedHostname;
713
- if (input.graphIdentifier === undefined) {
714
- throw new Error("Empty value provided for input host prefix: graphIdentifier.");
715
- }
716
- resolvedHostname = resolvedHostname.replace("{graphIdentifier}", input.graphIdentifier);
717
- if (!protocolHttp.isValidHostname(resolvedHostname)) {
718
- throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
719
- }
720
- }
721
- b.hn(resolvedHostname);
722
- b.m("GET").h(headers).q(query).b(body);
723
- return b.build();
724
- };
725
- const se_ListTagsForResourceCommand = async (input, context) => {
726
- const b = core.requestBuilder(input, context);
727
- const headers = {};
728
- b.bp("/tags/{resourceArn}");
729
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
730
- let body;
731
- b.m("GET").h(headers).b(body);
732
- return b.build();
733
- };
734
- const se_ResetGraphCommand = async (input, context) => {
735
- const b = core.requestBuilder(input, context);
736
- const headers = {
737
- "content-type": "application/json",
738
- };
739
- b.bp("/graphs/{graphIdentifier}");
740
- b.p("graphIdentifier", () => input.graphIdentifier, "{graphIdentifier}", false);
741
- let body;
742
- body = JSON.stringify(smithyClient.take(input, {
743
- skipSnapshot: [],
744
- }));
745
- b.m("PUT").h(headers).b(body);
746
- return b.build();
747
- };
748
- const se_RestoreGraphFromSnapshotCommand = async (input, context) => {
749
- const b = core.requestBuilder(input, context);
750
- const headers = {
751
- "content-type": "application/json",
752
- };
753
- b.bp("/snapshots/{snapshotIdentifier}/restore");
754
- b.p("snapshotIdentifier", () => input.snapshotIdentifier, "{snapshotIdentifier}", false);
755
- let body;
756
- body = JSON.stringify(smithyClient.take(input, {
757
- deletionProtection: [],
758
- graphName: [],
759
- provisionedMemory: [],
760
- publicConnectivity: [],
761
- replicaCount: [],
762
- tags: (_) => smithyClient._json(_),
763
- }));
764
- b.m("POST").h(headers).b(body);
765
- return b.build();
766
- };
767
- const se_StartExportTaskCommand = async (input, context) => {
768
- const b = core.requestBuilder(input, context);
769
- const headers = {
770
- "content-type": "application/json",
771
- };
772
- b.bp("/exporttasks");
773
- let body;
774
- body = JSON.stringify(smithyClient.take(input, {
775
- destination: [],
776
- exportFilter: (_) => smithyClient._json(_),
777
- format: [],
778
- graphIdentifier: [],
779
- kmsKeyIdentifier: [],
780
- parquetType: [],
781
- roleArn: [],
782
- tags: (_) => smithyClient._json(_),
783
- }));
784
- b.m("POST").h(headers).b(body);
785
- return b.build();
786
- };
787
- const se_StartGraphCommand = async (input, context) => {
788
- const b = core.requestBuilder(input, context);
789
- const headers = {};
790
- b.bp("/graphs/{graphIdentifier}/start");
791
- b.p("graphIdentifier", () => input.graphIdentifier, "{graphIdentifier}", false);
792
- let body;
793
- b.m("POST").h(headers).b(body);
794
- return b.build();
795
- };
796
- const se_StartImportTaskCommand = async (input, context) => {
797
- const b = core.requestBuilder(input, context);
798
- const headers = {
799
- "content-type": "application/json",
800
- };
801
- b.bp("/graphs/{graphIdentifier}/importtasks");
802
- b.p("graphIdentifier", () => input.graphIdentifier, "{graphIdentifier}", false);
803
- let body;
804
- body = JSON.stringify(smithyClient.take(input, {
805
- blankNodeHandling: [],
806
- failOnError: [],
807
- format: [],
808
- importOptions: (_) => smithyClient._json(_),
809
- parquetType: [],
810
- roleArn: [],
811
- source: [],
812
- }));
813
- b.m("POST").h(headers).b(body);
814
- return b.build();
815
- };
816
- const se_StopGraphCommand = async (input, context) => {
817
- const b = core.requestBuilder(input, context);
818
- const headers = {};
819
- b.bp("/graphs/{graphIdentifier}/stop");
820
- b.p("graphIdentifier", () => input.graphIdentifier, "{graphIdentifier}", false);
821
- let body;
822
- b.m("POST").h(headers).b(body);
823
- return b.build();
824
- };
825
- const se_TagResourceCommand = async (input, context) => {
826
- const b = core.requestBuilder(input, context);
827
- const headers = {
828
- "content-type": "application/json",
829
- };
830
- b.bp("/tags/{resourceArn}");
831
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
832
- let body;
833
- body = JSON.stringify(smithyClient.take(input, {
834
- tags: (_) => smithyClient._json(_),
835
- }));
836
- b.m("POST").h(headers).b(body);
837
- return b.build();
838
- };
839
- const se_UntagResourceCommand = async (input, context) => {
840
- const b = core.requestBuilder(input, context);
841
- const headers = {};
842
- b.bp("/tags/{resourceArn}");
843
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
844
- const query = smithyClient.map({
845
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
846
- });
847
- let body;
848
- b.m("DELETE").h(headers).q(query).b(body);
849
- return b.build();
850
- };
851
- const se_UpdateGraphCommand = async (input, context) => {
852
- const b = core.requestBuilder(input, context);
853
- const headers = {
854
- "content-type": "application/json",
855
- };
856
- b.bp("/graphs/{graphIdentifier}");
857
- b.p("graphIdentifier", () => input.graphIdentifier, "{graphIdentifier}", false);
858
- let body;
859
- body = JSON.stringify(smithyClient.take(input, {
860
- deletionProtection: [],
861
- provisionedMemory: [],
862
- publicConnectivity: [],
863
- }));
864
- b.m("PATCH").h(headers).b(body);
865
- return b.build();
866
- };
867
- const de_CancelExportTaskCommand = async (output, context) => {
868
- if (output.statusCode !== 200 && output.statusCode >= 300) {
869
- return de_CommandError(output, context);
870
- }
871
- const contents = smithyClient.map({
872
- $metadata: deserializeMetadata(output),
873
- });
874
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
875
- const doc = smithyClient.take(data, {
876
- destination: smithyClient.expectString,
877
- format: smithyClient.expectString,
878
- graphId: smithyClient.expectString,
879
- kmsKeyIdentifier: smithyClient.expectString,
880
- parquetType: smithyClient.expectString,
881
- roleArn: smithyClient.expectString,
882
- status: smithyClient.expectString,
883
- statusReason: smithyClient.expectString,
884
- taskId: smithyClient.expectString,
885
- });
886
- Object.assign(contents, doc);
887
- return contents;
888
- };
889
- const de_CancelImportTaskCommand = async (output, context) => {
890
- if (output.statusCode !== 200 && output.statusCode >= 300) {
891
- return de_CommandError(output, context);
892
- }
893
- const contents = smithyClient.map({
894
- $metadata: deserializeMetadata(output),
895
- });
896
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
897
- const doc = smithyClient.take(data, {
898
- format: smithyClient.expectString,
899
- graphId: smithyClient.expectString,
900
- parquetType: smithyClient.expectString,
901
- roleArn: smithyClient.expectString,
902
- source: smithyClient.expectString,
903
- status: smithyClient.expectString,
904
- taskId: smithyClient.expectString,
905
- });
906
- Object.assign(contents, doc);
907
- return contents;
908
- };
909
- const de_CancelQueryCommand = async (output, context) => {
910
- if (output.statusCode !== 200 && output.statusCode >= 300) {
911
- return de_CommandError(output, context);
912
- }
913
- const contents = smithyClient.map({
914
- $metadata: deserializeMetadata(output),
915
- });
916
- await smithyClient.collectBody(output.body, context);
917
- return contents;
918
- };
919
- const de_CreateGraphCommand = async (output, context) => {
920
- if (output.statusCode !== 201 && output.statusCode >= 300) {
921
- return de_CommandError(output, context);
922
- }
923
- const contents = smithyClient.map({
924
- $metadata: deserializeMetadata(output),
925
- });
926
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
927
- const doc = smithyClient.take(data, {
928
- arn: smithyClient.expectString,
929
- buildNumber: smithyClient.expectString,
930
- createTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
931
- deletionProtection: smithyClient.expectBoolean,
932
- endpoint: smithyClient.expectString,
933
- id: smithyClient.expectString,
934
- kmsKeyIdentifier: smithyClient.expectString,
935
- name: smithyClient.expectString,
936
- provisionedMemory: smithyClient.expectInt32,
937
- publicConnectivity: smithyClient.expectBoolean,
938
- replicaCount: smithyClient.expectInt32,
939
- sourceSnapshotId: smithyClient.expectString,
940
- status: smithyClient.expectString,
941
- statusReason: smithyClient.expectString,
942
- vectorSearchConfiguration: smithyClient._json,
943
- });
944
- Object.assign(contents, doc);
945
- return contents;
946
- };
947
- const de_CreateGraphSnapshotCommand = async (output, context) => {
948
- if (output.statusCode !== 201 && output.statusCode >= 300) {
949
- return de_CommandError(output, context);
950
- }
951
- const contents = smithyClient.map({
952
- $metadata: deserializeMetadata(output),
953
- });
954
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
955
- const doc = smithyClient.take(data, {
956
- arn: smithyClient.expectString,
957
- id: smithyClient.expectString,
958
- kmsKeyIdentifier: smithyClient.expectString,
959
- name: smithyClient.expectString,
960
- snapshotCreateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
961
- sourceGraphId: smithyClient.expectString,
962
- status: smithyClient.expectString,
963
- });
964
- Object.assign(contents, doc);
965
- return contents;
966
- };
967
- const de_CreateGraphUsingImportTaskCommand = async (output, context) => {
968
- if (output.statusCode !== 201 && output.statusCode >= 300) {
969
- return de_CommandError(output, context);
970
- }
971
- const contents = smithyClient.map({
972
- $metadata: deserializeMetadata(output),
973
- });
974
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
975
- const doc = smithyClient.take(data, {
976
- format: smithyClient.expectString,
977
- graphId: smithyClient.expectString,
978
- importOptions: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
979
- parquetType: smithyClient.expectString,
980
- roleArn: smithyClient.expectString,
981
- source: smithyClient.expectString,
982
- status: smithyClient.expectString,
983
- taskId: smithyClient.expectString,
984
- });
985
- Object.assign(contents, doc);
986
- return contents;
987
- };
988
- const de_CreatePrivateGraphEndpointCommand = async (output, context) => {
989
- if (output.statusCode !== 201 && output.statusCode >= 300) {
990
- return de_CommandError(output, context);
991
- }
992
- const contents = smithyClient.map({
993
- $metadata: deserializeMetadata(output),
994
- });
995
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
996
- const doc = smithyClient.take(data, {
997
- status: smithyClient.expectString,
998
- subnetIds: smithyClient._json,
999
- vpcEndpointId: smithyClient.expectString,
1000
- vpcId: smithyClient.expectString,
1001
- });
1002
- Object.assign(contents, doc);
1003
- return contents;
1004
- };
1005
- const de_DeleteGraphCommand = async (output, context) => {
1006
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1007
- return de_CommandError(output, context);
1008
- }
1009
- const contents = smithyClient.map({
1010
- $metadata: deserializeMetadata(output),
1011
- });
1012
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1013
- const doc = smithyClient.take(data, {
1014
- arn: smithyClient.expectString,
1015
- buildNumber: smithyClient.expectString,
1016
- createTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1017
- deletionProtection: smithyClient.expectBoolean,
1018
- endpoint: smithyClient.expectString,
1019
- id: smithyClient.expectString,
1020
- kmsKeyIdentifier: smithyClient.expectString,
1021
- name: smithyClient.expectString,
1022
- provisionedMemory: smithyClient.expectInt32,
1023
- publicConnectivity: smithyClient.expectBoolean,
1024
- replicaCount: smithyClient.expectInt32,
1025
- sourceSnapshotId: smithyClient.expectString,
1026
- status: smithyClient.expectString,
1027
- statusReason: smithyClient.expectString,
1028
- vectorSearchConfiguration: smithyClient._json,
1029
- });
1030
- Object.assign(contents, doc);
1031
- return contents;
1032
- };
1033
- const de_DeleteGraphSnapshotCommand = async (output, context) => {
1034
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1035
- return de_CommandError(output, context);
1036
- }
1037
- const contents = smithyClient.map({
1038
- $metadata: deserializeMetadata(output),
1039
- });
1040
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1041
- const doc = smithyClient.take(data, {
1042
- arn: smithyClient.expectString,
1043
- id: smithyClient.expectString,
1044
- kmsKeyIdentifier: smithyClient.expectString,
1045
- name: smithyClient.expectString,
1046
- snapshotCreateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1047
- sourceGraphId: smithyClient.expectString,
1048
- status: smithyClient.expectString,
1049
- });
1050
- Object.assign(contents, doc);
1051
- return contents;
1052
- };
1053
- const de_DeletePrivateGraphEndpointCommand = async (output, context) => {
1054
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1055
- return de_CommandError(output, context);
1056
- }
1057
- const contents = smithyClient.map({
1058
- $metadata: deserializeMetadata(output),
1059
- });
1060
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1061
- const doc = smithyClient.take(data, {
1062
- status: smithyClient.expectString,
1063
- subnetIds: smithyClient._json,
1064
- vpcEndpointId: smithyClient.expectString,
1065
- vpcId: smithyClient.expectString,
1066
- });
1067
- Object.assign(contents, doc);
1068
- return contents;
1069
- };
1070
- const de_ExecuteQueryCommand = async (output, context) => {
1071
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1072
- return de_CommandError(output, context);
1073
- }
1074
- const contents = smithyClient.map({
1075
- $metadata: deserializeMetadata(output),
1076
- });
1077
- const data = output.body;
1078
- context.sdkStreamMixin(data);
1079
- contents.payload = data;
1080
- return contents;
1081
- };
1082
- const de_GetExportTaskCommand = async (output, context) => {
1083
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1084
- return de_CommandError(output, context);
1085
- }
1086
- const contents = smithyClient.map({
1087
- $metadata: deserializeMetadata(output),
1088
- });
1089
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1090
- const doc = smithyClient.take(data, {
1091
- destination: smithyClient.expectString,
1092
- exportFilter: smithyClient._json,
1093
- exportTaskDetails: (_) => de_ExportTaskDetails(_),
1094
- format: smithyClient.expectString,
1095
- graphId: smithyClient.expectString,
1096
- kmsKeyIdentifier: smithyClient.expectString,
1097
- parquetType: smithyClient.expectString,
1098
- roleArn: smithyClient.expectString,
1099
- status: smithyClient.expectString,
1100
- statusReason: smithyClient.expectString,
1101
- taskId: smithyClient.expectString,
1102
- });
1103
- Object.assign(contents, doc);
1104
- return contents;
1105
- };
1106
- const de_GetGraphCommand = async (output, context) => {
1107
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1108
- return de_CommandError(output, context);
1109
- }
1110
- const contents = smithyClient.map({
1111
- $metadata: deserializeMetadata(output),
1112
- });
1113
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1114
- const doc = smithyClient.take(data, {
1115
- arn: smithyClient.expectString,
1116
- buildNumber: smithyClient.expectString,
1117
- createTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1118
- deletionProtection: smithyClient.expectBoolean,
1119
- endpoint: smithyClient.expectString,
1120
- id: smithyClient.expectString,
1121
- kmsKeyIdentifier: smithyClient.expectString,
1122
- name: smithyClient.expectString,
1123
- provisionedMemory: smithyClient.expectInt32,
1124
- publicConnectivity: smithyClient.expectBoolean,
1125
- replicaCount: smithyClient.expectInt32,
1126
- sourceSnapshotId: smithyClient.expectString,
1127
- status: smithyClient.expectString,
1128
- statusReason: smithyClient.expectString,
1129
- vectorSearchConfiguration: smithyClient._json,
1130
- });
1131
- Object.assign(contents, doc);
1132
- return contents;
1133
- };
1134
- const de_GetGraphSnapshotCommand = async (output, context) => {
1135
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1136
- return de_CommandError(output, context);
1137
- }
1138
- const contents = smithyClient.map({
1139
- $metadata: deserializeMetadata(output),
1140
- });
1141
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1142
- const doc = smithyClient.take(data, {
1143
- arn: smithyClient.expectString,
1144
- id: smithyClient.expectString,
1145
- kmsKeyIdentifier: smithyClient.expectString,
1146
- name: smithyClient.expectString,
1147
- snapshotCreateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1148
- sourceGraphId: smithyClient.expectString,
1149
- status: smithyClient.expectString,
1150
- });
1151
- Object.assign(contents, doc);
1152
- return contents;
1153
- };
1154
- const de_GetGraphSummaryCommand = async (output, context) => {
1155
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1156
- return de_CommandError(output, context);
1157
- }
1158
- const contents = smithyClient.map({
1159
- $metadata: deserializeMetadata(output),
1160
- });
1161
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1162
- const doc = smithyClient.take(data, {
1163
- graphSummary: smithyClient._json,
1164
- lastStatisticsComputationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1165
- version: smithyClient.expectString,
1166
- });
1167
- Object.assign(contents, doc);
1168
- return contents;
1169
- };
1170
- const de_GetImportTaskCommand = async (output, context) => {
1171
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1172
- return de_CommandError(output, context);
1173
- }
1174
- const contents = smithyClient.map({
1175
- $metadata: deserializeMetadata(output),
1176
- });
1177
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1178
- const doc = smithyClient.take(data, {
1179
- attemptNumber: smithyClient.expectInt32,
1180
- format: smithyClient.expectString,
1181
- graphId: smithyClient.expectString,
1182
- importOptions: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1183
- importTaskDetails: (_) => de_ImportTaskDetails(_),
1184
- parquetType: smithyClient.expectString,
1185
- roleArn: smithyClient.expectString,
1186
- source: smithyClient.expectString,
1187
- status: smithyClient.expectString,
1188
- statusReason: smithyClient.expectString,
1189
- taskId: smithyClient.expectString,
1190
- });
1191
- Object.assign(contents, doc);
1192
- return contents;
1193
- };
1194
- const de_GetPrivateGraphEndpointCommand = async (output, context) => {
1195
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1196
- return de_CommandError(output, context);
1197
- }
1198
- const contents = smithyClient.map({
1199
- $metadata: deserializeMetadata(output),
1200
- });
1201
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1202
- const doc = smithyClient.take(data, {
1203
- status: smithyClient.expectString,
1204
- subnetIds: smithyClient._json,
1205
- vpcEndpointId: smithyClient.expectString,
1206
- vpcId: smithyClient.expectString,
1207
- });
1208
- Object.assign(contents, doc);
1209
- return contents;
1210
- };
1211
- const de_GetQueryCommand = async (output, context) => {
1212
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1213
- return de_CommandError(output, context);
1214
- }
1215
- const contents = smithyClient.map({
1216
- $metadata: deserializeMetadata(output),
1217
- });
1218
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1219
- const doc = smithyClient.take(data, {
1220
- elapsed: smithyClient.expectInt32,
1221
- id: smithyClient.expectString,
1222
- queryString: smithyClient.expectString,
1223
- state: smithyClient.expectString,
1224
- waited: smithyClient.expectInt32,
1225
- });
1226
- Object.assign(contents, doc);
1227
- return contents;
1228
- };
1229
- const de_ListExportTasksCommand = async (output, context) => {
1230
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1231
- return de_CommandError(output, context);
1232
- }
1233
- const contents = smithyClient.map({
1234
- $metadata: deserializeMetadata(output),
1235
- });
1236
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1237
- const doc = smithyClient.take(data, {
1238
- nextToken: smithyClient.expectString,
1239
- tasks: smithyClient._json,
1240
- });
1241
- Object.assign(contents, doc);
1242
- return contents;
1243
- };
1244
- const de_ListGraphsCommand = async (output, context) => {
1245
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1246
- return de_CommandError(output, context);
1247
- }
1248
- const contents = smithyClient.map({
1249
- $metadata: deserializeMetadata(output),
1250
- });
1251
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1252
- const doc = smithyClient.take(data, {
1253
- graphs: smithyClient._json,
1254
- nextToken: smithyClient.expectString,
1255
- });
1256
- Object.assign(contents, doc);
1257
- return contents;
1258
- };
1259
- const de_ListGraphSnapshotsCommand = async (output, context) => {
1260
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1261
- return de_CommandError(output, context);
1262
- }
1263
- const contents = smithyClient.map({
1264
- $metadata: deserializeMetadata(output),
1265
- });
1266
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1267
- const doc = smithyClient.take(data, {
1268
- graphSnapshots: (_) => de_GraphSnapshotSummaryList(_),
1269
- nextToken: smithyClient.expectString,
1270
- });
1271
- Object.assign(contents, doc);
1272
- return contents;
1273
- };
1274
- const de_ListImportTasksCommand = async (output, context) => {
1275
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1276
- return de_CommandError(output, context);
1277
- }
1278
- const contents = smithyClient.map({
1279
- $metadata: deserializeMetadata(output),
1280
- });
1281
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1282
- const doc = smithyClient.take(data, {
1283
- nextToken: smithyClient.expectString,
1284
- tasks: smithyClient._json,
1285
- });
1286
- Object.assign(contents, doc);
1287
- return contents;
1288
- };
1289
- const de_ListPrivateGraphEndpointsCommand = async (output, context) => {
1290
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1291
- return de_CommandError(output, context);
1292
- }
1293
- const contents = smithyClient.map({
1294
- $metadata: deserializeMetadata(output),
1295
- });
1296
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1297
- const doc = smithyClient.take(data, {
1298
- nextToken: smithyClient.expectString,
1299
- privateGraphEndpoints: smithyClient._json,
1300
- });
1301
- Object.assign(contents, doc);
1302
- return contents;
1303
- };
1304
- const de_ListQueriesCommand = async (output, context) => {
1305
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1306
- return de_CommandError(output, context);
1307
- }
1308
- const contents = smithyClient.map({
1309
- $metadata: deserializeMetadata(output),
1310
- });
1311
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1312
- const doc = smithyClient.take(data, {
1313
- queries: smithyClient._json,
1314
- });
1315
- Object.assign(contents, doc);
1316
- return contents;
1317
- };
1318
- const de_ListTagsForResourceCommand = async (output, context) => {
1319
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1320
- return de_CommandError(output, context);
1321
- }
1322
- const contents = smithyClient.map({
1323
- $metadata: deserializeMetadata(output),
1324
- });
1325
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1326
- const doc = smithyClient.take(data, {
1327
- tags: smithyClient._json,
1328
- });
1329
- Object.assign(contents, doc);
1330
- return contents;
1331
- };
1332
- const de_ResetGraphCommand = async (output, context) => {
1333
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1334
- return de_CommandError(output, context);
1335
- }
1336
- const contents = smithyClient.map({
1337
- $metadata: deserializeMetadata(output),
1338
- });
1339
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1340
- const doc = smithyClient.take(data, {
1341
- arn: smithyClient.expectString,
1342
- buildNumber: smithyClient.expectString,
1343
- createTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1344
- deletionProtection: smithyClient.expectBoolean,
1345
- endpoint: smithyClient.expectString,
1346
- id: smithyClient.expectString,
1347
- kmsKeyIdentifier: smithyClient.expectString,
1348
- name: smithyClient.expectString,
1349
- provisionedMemory: smithyClient.expectInt32,
1350
- publicConnectivity: smithyClient.expectBoolean,
1351
- replicaCount: smithyClient.expectInt32,
1352
- sourceSnapshotId: smithyClient.expectString,
1353
- status: smithyClient.expectString,
1354
- statusReason: smithyClient.expectString,
1355
- vectorSearchConfiguration: smithyClient._json,
1356
- });
1357
- Object.assign(contents, doc);
1358
- return contents;
1359
- };
1360
- const de_RestoreGraphFromSnapshotCommand = async (output, context) => {
1361
- if (output.statusCode !== 201 && output.statusCode >= 300) {
1362
- return de_CommandError(output, context);
1363
- }
1364
- const contents = smithyClient.map({
1365
- $metadata: deserializeMetadata(output),
1366
- });
1367
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1368
- const doc = smithyClient.take(data, {
1369
- arn: smithyClient.expectString,
1370
- buildNumber: smithyClient.expectString,
1371
- createTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1372
- deletionProtection: smithyClient.expectBoolean,
1373
- endpoint: smithyClient.expectString,
1374
- id: smithyClient.expectString,
1375
- kmsKeyIdentifier: smithyClient.expectString,
1376
- name: smithyClient.expectString,
1377
- provisionedMemory: smithyClient.expectInt32,
1378
- publicConnectivity: smithyClient.expectBoolean,
1379
- replicaCount: smithyClient.expectInt32,
1380
- sourceSnapshotId: smithyClient.expectString,
1381
- status: smithyClient.expectString,
1382
- statusReason: smithyClient.expectString,
1383
- vectorSearchConfiguration: smithyClient._json,
1384
- });
1385
- Object.assign(contents, doc);
1386
- return contents;
1387
- };
1388
- const de_StartExportTaskCommand = async (output, context) => {
1389
- if (output.statusCode !== 201 && output.statusCode >= 300) {
1390
- return de_CommandError(output, context);
1391
- }
1392
- const contents = smithyClient.map({
1393
- $metadata: deserializeMetadata(output),
1394
- });
1395
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1396
- const doc = smithyClient.take(data, {
1397
- destination: smithyClient.expectString,
1398
- exportFilter: smithyClient._json,
1399
- format: smithyClient.expectString,
1400
- graphId: smithyClient.expectString,
1401
- kmsKeyIdentifier: smithyClient.expectString,
1402
- parquetType: smithyClient.expectString,
1403
- roleArn: smithyClient.expectString,
1404
- status: smithyClient.expectString,
1405
- statusReason: smithyClient.expectString,
1406
- taskId: smithyClient.expectString,
1407
- });
1408
- Object.assign(contents, doc);
1409
- return contents;
1410
- };
1411
- const de_StartGraphCommand = async (output, context) => {
1412
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1413
- return de_CommandError(output, context);
1414
- }
1415
- const contents = smithyClient.map({
1416
- $metadata: deserializeMetadata(output),
1417
- });
1418
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1419
- const doc = smithyClient.take(data, {
1420
- arn: smithyClient.expectString,
1421
- buildNumber: smithyClient.expectString,
1422
- createTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1423
- deletionProtection: smithyClient.expectBoolean,
1424
- endpoint: smithyClient.expectString,
1425
- id: smithyClient.expectString,
1426
- kmsKeyIdentifier: smithyClient.expectString,
1427
- name: smithyClient.expectString,
1428
- provisionedMemory: smithyClient.expectInt32,
1429
- publicConnectivity: smithyClient.expectBoolean,
1430
- replicaCount: smithyClient.expectInt32,
1431
- sourceSnapshotId: smithyClient.expectString,
1432
- status: smithyClient.expectString,
1433
- statusReason: smithyClient.expectString,
1434
- vectorSearchConfiguration: smithyClient._json,
1435
- });
1436
- Object.assign(contents, doc);
1437
- return contents;
1438
- };
1439
- const de_StartImportTaskCommand = async (output, context) => {
1440
- if (output.statusCode !== 201 && output.statusCode >= 300) {
1441
- return de_CommandError(output, context);
1442
- }
1443
- const contents = smithyClient.map({
1444
- $metadata: deserializeMetadata(output),
1445
- });
1446
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1447
- const doc = smithyClient.take(data, {
1448
- format: smithyClient.expectString,
1449
- graphId: smithyClient.expectString,
1450
- importOptions: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1451
- parquetType: smithyClient.expectString,
1452
- roleArn: smithyClient.expectString,
1453
- source: smithyClient.expectString,
1454
- status: smithyClient.expectString,
1455
- taskId: smithyClient.expectString,
1456
- });
1457
- Object.assign(contents, doc);
1458
- return contents;
1459
- };
1460
- const de_StopGraphCommand = async (output, context) => {
1461
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1462
- return de_CommandError(output, context);
1463
- }
1464
- const contents = smithyClient.map({
1465
- $metadata: deserializeMetadata(output),
1466
- });
1467
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1468
- const doc = smithyClient.take(data, {
1469
- arn: smithyClient.expectString,
1470
- buildNumber: smithyClient.expectString,
1471
- createTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1472
- deletionProtection: smithyClient.expectBoolean,
1473
- endpoint: smithyClient.expectString,
1474
- id: smithyClient.expectString,
1475
- kmsKeyIdentifier: smithyClient.expectString,
1476
- name: smithyClient.expectString,
1477
- provisionedMemory: smithyClient.expectInt32,
1478
- publicConnectivity: smithyClient.expectBoolean,
1479
- replicaCount: smithyClient.expectInt32,
1480
- sourceSnapshotId: smithyClient.expectString,
1481
- status: smithyClient.expectString,
1482
- statusReason: smithyClient.expectString,
1483
- vectorSearchConfiguration: smithyClient._json,
1484
- });
1485
- Object.assign(contents, doc);
1486
- return contents;
1487
- };
1488
- const de_TagResourceCommand = async (output, context) => {
1489
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1490
- return de_CommandError(output, context);
1491
- }
1492
- const contents = smithyClient.map({
1493
- $metadata: deserializeMetadata(output),
1494
- });
1495
- await smithyClient.collectBody(output.body, context);
1496
- return contents;
1497
- };
1498
- const de_UntagResourceCommand = async (output, context) => {
1499
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1500
- return de_CommandError(output, context);
1501
- }
1502
- const contents = smithyClient.map({
1503
- $metadata: deserializeMetadata(output),
1504
- });
1505
- await smithyClient.collectBody(output.body, context);
1506
- return contents;
1507
- };
1508
- const de_UpdateGraphCommand = async (output, context) => {
1509
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1510
- return de_CommandError(output, context);
1511
- }
1512
- const contents = smithyClient.map({
1513
- $metadata: deserializeMetadata(output),
1514
- });
1515
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1516
- const doc = smithyClient.take(data, {
1517
- arn: smithyClient.expectString,
1518
- buildNumber: smithyClient.expectString,
1519
- createTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1520
- deletionProtection: smithyClient.expectBoolean,
1521
- endpoint: smithyClient.expectString,
1522
- id: smithyClient.expectString,
1523
- kmsKeyIdentifier: smithyClient.expectString,
1524
- name: smithyClient.expectString,
1525
- provisionedMemory: smithyClient.expectInt32,
1526
- publicConnectivity: smithyClient.expectBoolean,
1527
- replicaCount: smithyClient.expectInt32,
1528
- sourceSnapshotId: smithyClient.expectString,
1529
- status: smithyClient.expectString,
1530
- statusReason: smithyClient.expectString,
1531
- vectorSearchConfiguration: smithyClient._json,
1532
- });
1533
- Object.assign(contents, doc);
1534
- return contents;
1535
- };
1536
- const de_CommandError = async (output, context) => {
1537
- const parsedOutput = {
1538
- ...output,
1539
- body: await core$1.parseJsonErrorBody(output.body, context),
1540
- };
1541
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1542
- switch (errorCode) {
1543
- case "ConflictException":
1544
- case "com.amazonaws.neptunegraph#ConflictException":
1545
- throw await de_ConflictExceptionRes(parsedOutput);
1546
- case "InternalServerException":
1547
- case "com.amazonaws.neptunegraph#InternalServerException":
1548
- throw await de_InternalServerExceptionRes(parsedOutput);
1549
- case "ResourceNotFoundException":
1550
- case "com.amazonaws.neptunegraph#ResourceNotFoundException":
1551
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1552
- case "ThrottlingException":
1553
- case "com.amazonaws.neptunegraph#ThrottlingException":
1554
- throw await de_ThrottlingExceptionRes(parsedOutput);
1555
- case "ValidationException":
1556
- case "com.amazonaws.neptunegraph#ValidationException":
1557
- throw await de_ValidationExceptionRes(parsedOutput);
1558
- case "AccessDeniedException":
1559
- case "com.amazonaws.neptunegraph#AccessDeniedException":
1560
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1561
- case "ServiceQuotaExceededException":
1562
- case "com.amazonaws.neptunegraph#ServiceQuotaExceededException":
1563
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1564
- case "UnprocessableException":
1565
- case "com.amazonaws.neptunegraph#UnprocessableException":
1566
- throw await de_UnprocessableExceptionRes(parsedOutput);
1567
- default:
1568
- const parsedBody = parsedOutput.body;
1569
- return throwDefaultError({
1570
- output,
1571
- parsedBody,
1572
- errorCode,
1573
- });
1574
- }
1575
- };
1576
- const throwDefaultError = smithyClient.withBaseException(NeptuneGraphServiceException);
1577
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1578
- const contents = smithyClient.map({});
1579
- const data = parsedOutput.body;
1580
- const doc = smithyClient.take(data, {
1581
- message: smithyClient.expectString,
1582
- });
1583
- Object.assign(contents, doc);
1584
- const exception = new AccessDeniedException({
1585
- $metadata: deserializeMetadata(parsedOutput),
1586
- ...contents,
1587
- });
1588
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1589
- };
1590
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1591
- const contents = smithyClient.map({});
1592
- const data = parsedOutput.body;
1593
- const doc = smithyClient.take(data, {
1594
- message: smithyClient.expectString,
1595
- reason: smithyClient.expectString,
1596
- });
1597
- Object.assign(contents, doc);
1598
- const exception = new ConflictException({
1599
- $metadata: deserializeMetadata(parsedOutput),
1600
- ...contents,
1601
- });
1602
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1603
- };
1604
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1605
- const contents = smithyClient.map({});
1606
- const data = parsedOutput.body;
1607
- const doc = smithyClient.take(data, {
1608
- message: smithyClient.expectString,
1609
- });
1610
- Object.assign(contents, doc);
1611
- const exception = new InternalServerException({
1612
- $metadata: deserializeMetadata(parsedOutput),
1613
- ...contents,
1614
- });
1615
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1616
- };
1617
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1618
- const contents = smithyClient.map({});
1619
- const data = parsedOutput.body;
1620
- const doc = smithyClient.take(data, {
1621
- message: smithyClient.expectString,
1622
- });
1623
- Object.assign(contents, doc);
1624
- const exception = new ResourceNotFoundException({
1625
- $metadata: deserializeMetadata(parsedOutput),
1626
- ...contents,
1627
- });
1628
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1629
- };
1630
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1631
- const contents = smithyClient.map({});
1632
- const data = parsedOutput.body;
1633
- const doc = smithyClient.take(data, {
1634
- message: smithyClient.expectString,
1635
- quotaCode: smithyClient.expectString,
1636
- resourceId: smithyClient.expectString,
1637
- resourceType: smithyClient.expectString,
1638
- serviceCode: smithyClient.expectString,
1639
- });
1640
- Object.assign(contents, doc);
1641
- const exception = new ServiceQuotaExceededException({
1642
- $metadata: deserializeMetadata(parsedOutput),
1643
- ...contents,
1644
- });
1645
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1646
- };
1647
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1648
- const contents = smithyClient.map({});
1649
- const data = parsedOutput.body;
1650
- const doc = smithyClient.take(data, {
1651
- message: smithyClient.expectString,
1652
- });
1653
- Object.assign(contents, doc);
1654
- const exception = new ThrottlingException({
1655
- $metadata: deserializeMetadata(parsedOutput),
1656
- ...contents,
1657
- });
1658
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1659
- };
1660
- const de_UnprocessableExceptionRes = async (parsedOutput, context) => {
1661
- const contents = smithyClient.map({});
1662
- const data = parsedOutput.body;
1663
- const doc = smithyClient.take(data, {
1664
- message: smithyClient.expectString,
1665
- reason: smithyClient.expectString,
1666
- });
1667
- Object.assign(contents, doc);
1668
- const exception = new UnprocessableException({
1669
- $metadata: deserializeMetadata(parsedOutput),
1670
- ...contents,
1671
- });
1672
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1673
- };
1674
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1675
- const contents = smithyClient.map({});
1676
- const data = parsedOutput.body;
1677
- const doc = smithyClient.take(data, {
1678
- message: smithyClient.expectString,
1679
- reason: smithyClient.expectString,
1680
- });
1681
- Object.assign(contents, doc);
1682
- const exception = new ValidationException({
1683
- $metadata: deserializeMetadata(parsedOutput),
1684
- ...contents,
1685
- });
1686
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1687
- };
1688
- const se_DocumentValuedMap = (input, context) => {
1689
- return Object.entries(input).reduce((acc, [key, value]) => {
1690
- if (value === null) {
1691
- return acc;
1692
- }
1693
- acc[key] = se_Document(value);
1694
- return acc;
1695
- }, {});
1696
- };
1697
- const se_Document = (input, context) => {
1698
- return input;
1699
- };
1700
- const de_ExportTaskDetails = (output, context) => {
1701
- return smithyClient.take(output, {
1702
- numEdgesWritten: smithyClient.expectLong,
1703
- numVerticesWritten: smithyClient.expectLong,
1704
- progressPercentage: smithyClient.expectInt32,
1705
- startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1706
- timeElapsedSeconds: smithyClient.expectLong,
1707
- });
1708
- };
1709
- const de_GraphSnapshotSummary = (output, context) => {
1710
- return smithyClient.take(output, {
1711
- arn: smithyClient.expectString,
1712
- id: smithyClient.expectString,
1713
- kmsKeyIdentifier: smithyClient.expectString,
1714
- name: smithyClient.expectString,
1715
- snapshotCreateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1716
- sourceGraphId: smithyClient.expectString,
1717
- status: smithyClient.expectString,
1718
- });
1719
- };
1720
- const de_GraphSnapshotSummaryList = (output, context) => {
1721
- const retVal = (output || [])
1722
- .filter((e) => e != null)
1723
- .map((entry) => {
1724
- return de_GraphSnapshotSummary(entry);
1725
- });
1726
- return retVal;
1727
- };
1728
- const de_ImportTaskDetails = (output, context) => {
1729
- return smithyClient.take(output, {
1730
- dictionaryEntryCount: smithyClient.expectLong,
1731
- errorCount: smithyClient.expectInt32,
1732
- errorDetails: smithyClient.expectString,
1733
- progressPercentage: smithyClient.expectInt32,
1734
- startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1735
- statementCount: smithyClient.expectLong,
1736
- status: smithyClient.expectString,
1737
- timeElapsedSeconds: smithyClient.expectLong,
1738
- });
1739
- };
1740
- const deserializeMetadata = (output) => ({
1741
- httpStatusCode: output.statusCode,
1742
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1743
- extendedRequestId: output.headers["x-amz-id-2"],
1744
- cfId: output.headers["x-amz-cf-id"],
1745
- });
1746
- const _g = "graphidentifier";
1747
- const _gI = "graphIdentifier";
1748
- const _m = "mode";
357
+ const _ADE = "AccessDeniedException";
358
+ const _CE = "ConflictException";
359
+ const _CET = "CancelExportTask";
360
+ const _CETI = "CancelExportTaskInput";
361
+ const _CETO = "CancelExportTaskOutput";
362
+ const _CG = "CreateGraph";
363
+ const _CGI = "CreateGraphInput";
364
+ const _CGO = "CreateGraphOutput";
365
+ const _CGS = "CreateGraphSnapshot";
366
+ const _CGSI = "CreateGraphSnapshotInput";
367
+ const _CGSO = "CreateGraphSnapshotOutput";
368
+ const _CGUIT = "CreateGraphUsingImportTask";
369
+ const _CGUITI = "CreateGraphUsingImportTaskInput";
370
+ const _CGUITO = "CreateGraphUsingImportTaskOutput";
371
+ const _CIT = "CancelImportTask";
372
+ const _CITI = "CancelImportTaskInput";
373
+ const _CITO = "CancelImportTaskOutput";
374
+ const _CPGE = "CreatePrivateGraphEndpoint";
375
+ const _CPGEI = "CreatePrivateGraphEndpointInput";
376
+ const _CPGEO = "CreatePrivateGraphEndpointOutput";
377
+ const _CQ = "CancelQuery";
378
+ const _CQI = "CancelQueryInput";
379
+ const _DG = "DeleteGraph";
380
+ const _DGI = "DeleteGraphInput";
381
+ const _DGO = "DeleteGraphOutput";
382
+ const _DGS = "DeleteGraphSnapshot";
383
+ const _DGSI = "DeleteGraphSnapshotInput";
384
+ const _DGSO = "DeleteGraphSnapshotOutput";
385
+ const _DPGE = "DeletePrivateGraphEndpoint";
386
+ const _DPGEI = "DeletePrivateGraphEndpointInput";
387
+ const _DPGEO = "DeletePrivateGraphEndpointOutput";
388
+ const _EF = "ExportFilter";
389
+ const _EFE = "ExportFilterElement";
390
+ const _EFPA = "ExportFilterPropertyAttributes";
391
+ const _EFPLM = "ExportFilterPerLabelMap";
392
+ const _EFPM = "ExportFilterPropertyMap";
393
+ const _EQ = "ExecuteQuery";
394
+ const _EQI = "ExecuteQueryInput";
395
+ const _EQO = "ExecuteQueryOutput";
396
+ const _ES = "EdgeStructure";
397
+ const _ESd = "EdgeStructures";
398
+ const _ETD = "ExportTaskDetails";
399
+ const _ETS = "ExportTaskSummary";
400
+ const _ETSL = "ExportTaskSummaryList";
401
+ const _GDS = "GraphDataSummary";
402
+ const _GET = "GetExportTask";
403
+ const _GETI = "GetExportTaskInput";
404
+ const _GETO = "GetExportTaskOutput";
405
+ const _GG = "GetGraph";
406
+ const _GGI = "GetGraphInput";
407
+ const _GGO = "GetGraphOutput";
408
+ const _GGS = "GetGraphSnapshot";
409
+ const _GGSI = "GetGraphSnapshotInput";
410
+ const _GGSIe = "GetGraphSummaryInput";
411
+ const _GGSO = "GetGraphSnapshotOutput";
412
+ const _GGSOe = "GetGraphSummaryOutput";
413
+ const _GGSe = "GetGraphSummary";
414
+ const _GIT = "GetImportTask";
415
+ const _GITI = "GetImportTaskInput";
416
+ const _GITO = "GetImportTaskOutput";
417
+ const _GPGE = "GetPrivateGraphEndpoint";
418
+ const _GPGEI = "GetPrivateGraphEndpointInput";
419
+ const _GPGEO = "GetPrivateGraphEndpointOutput";
420
+ const _GQ = "GetQuery";
421
+ const _GQI = "GetQueryInput";
422
+ const _GQO = "GetQueryOutput";
423
+ const _GS = "GraphSummary";
424
+ const _GSL = "GraphSummaryList";
425
+ const _GSS = "GraphSnapshotSummary";
426
+ const _GSSL = "GraphSnapshotSummaryList";
427
+ const _IO = "ImportOptions";
428
+ const _ISE = "InternalServerException";
429
+ const _ITD = "ImportTaskDetails";
430
+ const _ITS = "ImportTaskSummary";
431
+ const _ITSL = "ImportTaskSummaryList";
432
+ const _LET = "ListExportTasks";
433
+ const _LETI = "ListExportTasksInput";
434
+ const _LETO = "ListExportTasksOutput";
435
+ const _LG = "ListGraphs";
436
+ const _LGI = "ListGraphsInput";
437
+ const _LGO = "ListGraphsOutput";
438
+ const _LGS = "ListGraphSnapshots";
439
+ const _LGSI = "ListGraphSnapshotsInput";
440
+ const _LGSO = "ListGraphSnapshotsOutput";
441
+ const _LIT = "ListImportTasks";
442
+ const _LITI = "ListImportTasksInput";
443
+ const _LITO = "ListImportTasksOutput";
444
+ const _LPGE = "ListPrivateGraphEndpoints";
445
+ const _LPGEI = "ListPrivateGraphEndpointsInput";
446
+ const _LPGEO = "ListPrivateGraphEndpointsOutput";
447
+ const _LQ = "ListQueries";
448
+ const _LQI = "ListQueriesInput";
449
+ const _LQO = "ListQueriesOutput";
450
+ const _LTFR = "ListTagsForResource";
451
+ const _LTFRI = "ListTagsForResourceInput";
452
+ const _LTFRO = "ListTagsForResourceOutput";
453
+ const _LVML = "LongValuedMapList";
454
+ const _NIO = "NeptuneImportOptions";
455
+ const _NS = "NodeStructure";
456
+ const _NSo = "NodeStructures";
457
+ const _PGES = "PrivateGraphEndpointSummary";
458
+ const _PGESL = "PrivateGraphEndpointSummaryList";
459
+ const _QRB = "QueryResponseBlob";
460
+ const _QS = "QuerySummary";
461
+ const _QSL = "QuerySummaryList";
462
+ const _RG = "ResetGraph";
463
+ const _RGFS = "RestoreGraphFromSnapshot";
464
+ const _RGFSI = "RestoreGraphFromSnapshotInput";
465
+ const _RGFSO = "RestoreGraphFromSnapshotOutput";
466
+ const _RGI = "ResetGraphInput";
467
+ const _RGO = "ResetGraphOutput";
468
+ const _RNFE = "ResourceNotFoundException";
469
+ const _SET = "StartExportTask";
470
+ const _SETI = "StartExportTaskInput";
471
+ const _SETO = "StartExportTaskOutput";
472
+ const _SG = "StartGraph";
473
+ const _SGI = "StartGraphInput";
474
+ const _SGIt = "StopGraphInput";
475
+ const _SGO = "StartGraphOutput";
476
+ const _SGOt = "StopGraphOutput";
477
+ const _SGt = "StopGraph";
478
+ const _SIT = "StartImportTask";
479
+ const _SITI = "StartImportTaskInput";
480
+ const _SITO = "StartImportTaskOutput";
481
+ const _SQEE = "ServiceQuotaExceededException";
482
+ const _TE = "ThrottlingException";
483
+ const _TR = "TagResource";
484
+ const _TRI = "TagResourceInput";
485
+ const _TRO = "TagResourceOutput";
486
+ const _UE = "UnprocessableException";
487
+ const _UG = "UpdateGraph";
488
+ const _UGI = "UpdateGraphInput";
489
+ const _UGO = "UpdateGraphOutput";
490
+ const _UR = "UntagResource";
491
+ const _URI = "UntagResourceInput";
492
+ const _URO = "UntagResourceOutput";
493
+ const _VE = "ValidationException";
494
+ const _VSC = "VectorSearchConfiguration";
495
+ const _a = "arn";
496
+ const _aN = "attemptNumber";
497
+ const _bN = "buildNumber";
498
+ const _bNH = "blankNodeHandling";
499
+ const _c = "client";
500
+ const _cT = "createTime";
501
+ const _co = "count";
502
+ const _d = "destination";
503
+ const _dEC = "dictionaryEntryCount";
504
+ const _dOEL = "distinctOutgoingEdgeLabels";
505
+ const _dP = "deletionProtection";
506
+ const _di = "dimension";
507
+ const _e = "error";
508
+ const _eC = "errorCount";
509
+ const _eD = "errorDetails";
510
+ const _eF = "edgeFilter";
511
+ const _eFx = "exportFilter";
512
+ const _eL = "edgeLabels";
513
+ const _eM = "explainMode";
514
+ const _eP = "edgeProperties";
515
+ const _eS = "edgeStructures";
516
+ const _eTD = "exportTaskDetails";
517
+ const _el = "elapsed";
518
+ const _en = "endpoint";
519
+ const _ex = "explain";
520
+ const _f = "format";
521
+ const _fOE = "failOnError";
522
+ const _g = "graphs";
523
+ const _gI = "graphId";
524
+ const _gIr = "graphIdentifier";
525
+ const _gN = "graphName";
526
+ const _gS = "graphSummary";
527
+ const _gSr = "graphSnapshots";
528
+ const _h = "http";
529
+ const _hE = "httpError";
530
+ const _hH = "httpHeader";
531
+ const _hL = "hostLabel";
532
+ const _hQ = "httpQuery";
533
+ const _i = "id";
534
+ const _iO = "importOptions";
535
+ const _iTD = "importTaskDetails";
536
+ const _jN = "jsonName";
537
+ const _kKI = "kmsKeyIdentifier";
538
+ const _l = "language";
539
+ const _lSCT = "lastStatisticsComputationTime";
540
+ const _m = "message";
541
+ const _mPM = "maxProvisionedMemory";
542
+ const _mPMi = "minProvisionedMemory";
1749
543
  const _mR = "maxResults";
544
+ const _mVH = "multiValueHandling";
545
+ const _mo = "mode";
546
+ const _n = "name";
547
+ const _nE = "numEdges";
548
+ const _nEL = "numEdgeLabels";
549
+ const _nEP = "numEdgeProperties";
550
+ const _nEW = "numEdgesWritten";
551
+ const _nL = "nodeLabels";
552
+ const _nN = "numNodes";
553
+ const _nNL = "numNodeLabels";
554
+ const _nNP = "numNodeProperties";
555
+ const _nP = "nodeProperties";
556
+ const _nS = "nodeStructures";
1750
557
  const _nT = "nextToken";
1751
- const _s = "state";
558
+ const _nVW = "numVerticesWritten";
559
+ const _ne = "neptune";
560
+ const _oT = "outputType";
561
+ const _p = "parameters";
562
+ const _pC = "publicConnectivity";
563
+ const _pCl = "planCache";
564
+ const _pDVL = "preserveDefaultVertexLabels";
565
+ const _pEI = "preserveEdgeIds";
566
+ const _pGE = "privateGraphEndpoints";
567
+ const _pM = "provisionedMemory";
568
+ const _pP = "progressPercentage";
569
+ const _pT = "parquetType";
570
+ const _pa = "payload";
571
+ const _pr = "properties";
572
+ const _q = "query";
573
+ const _qC = "quotaCode";
574
+ const _qI = "queryId";
575
+ const _qS = "queryString";
576
+ const _qTM = "queryTimeoutMilliseconds";
577
+ const _qu = "queries";
578
+ const _r = "reason";
579
+ const _rA = "roleArn";
580
+ const _rAe = "resourceArn";
581
+ const _rC = "replicaCount";
582
+ const _rI = "resourceId";
583
+ const _rT = "resourceType";
584
+ const _s = "streaming";
585
+ const _sC = "statementCount";
586
+ const _sCT = "snapshotCreateTime";
587
+ const _sCe = "serviceCode";
588
+ const _sEKKI = "s3ExportKmsKeyId";
589
+ const _sEP = "s3ExportPath";
590
+ const _sGI = "sourceGraphId";
591
+ const _sI = "subnetIds";
592
+ const _sIn = "snapshotIdentifier";
593
+ const _sN = "snapshotName";
594
+ const _sPN = "sourcePropertyName";
595
+ const _sR = "statusReason";
1752
596
  const _sS = "skipSnapshot";
597
+ const _sSI = "sourceSnapshotId";
598
+ const _sT = "startTime";
599
+ const _se = "server";
600
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.neptunegraph";
601
+ const _so = "source";
602
+ const _st = "status";
603
+ const _sta = "state";
604
+ const _t = "tags";
605
+ const _tEPV = "totalEdgePropertyValues";
606
+ const _tES = "timeElapsedSeconds";
607
+ const _tI = "taskIdentifier";
608
+ const _tIa = "taskId";
1753
609
  const _tK = "tagKeys";
610
+ const _tNPV = "totalNodePropertyValues";
611
+ const _ta = "tasks";
612
+ const _v = "version";
613
+ const _vEI = "vpcEndpointId";
614
+ const _vF = "vertexFilter";
615
+ const _vI = "vpcId";
616
+ const _vSC = "vectorSearchConfiguration";
617
+ const _vSGI = "vpcSecurityGroupIds";
618
+ const _w = "waited";
619
+ const n0 = "com.amazonaws.neptunegraph";
620
+ var QueryResponseBlob = [
621
+ 0,
622
+ n0,
623
+ _QRB,
624
+ {
625
+ [_s]: 1,
626
+ },
627
+ 42,
628
+ ];
629
+ var AccessDeniedException = [
630
+ -3,
631
+ n0,
632
+ _ADE,
633
+ {
634
+ [_e]: _c,
635
+ [_hE]: 403,
636
+ },
637
+ [_m],
638
+ [0],
639
+ ];
640
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
641
+ var CancelExportTaskInput = [3, n0, _CETI, 0, [_tI], [[0, 1]]];
642
+ var CancelExportTaskOutput = [
643
+ 3,
644
+ n0,
645
+ _CETO,
646
+ 0,
647
+ [_gI, _rA, _tIa, _st, _f, _d, _kKI, _pT, _sR],
648
+ [0, 0, 0, 0, 0, 0, 0, 0, 0],
649
+ ];
650
+ var CancelImportTaskInput = [3, n0, _CITI, 0, [_tI], [[0, 1]]];
651
+ var CancelImportTaskOutput = [
652
+ 3,
653
+ n0,
654
+ _CITO,
655
+ 0,
656
+ [_gI, _tIa, _so, _f, _pT, _rA, _st],
657
+ [0, 0, 0, 0, 0, 0, 0],
658
+ ];
659
+ var CancelQueryInput = [
660
+ 3,
661
+ n0,
662
+ _CQI,
663
+ 0,
664
+ [_gIr, _qI],
665
+ [
666
+ [
667
+ 0,
668
+ {
669
+ [_hL]: 1,
670
+ [_hH]: _gIr,
671
+ },
672
+ ],
673
+ [0, 1],
674
+ ],
675
+ ];
676
+ var ConflictException = [
677
+ -3,
678
+ n0,
679
+ _CE,
680
+ {
681
+ [_e]: _c,
682
+ [_hE]: 409,
683
+ },
684
+ [_m, _r],
685
+ [0, 0],
686
+ ];
687
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
688
+ var CreateGraphInput = [
689
+ 3,
690
+ n0,
691
+ _CGI,
692
+ 0,
693
+ [_gN, _t, _pC, _kKI, _vSC, _rC, _dP, _pM],
694
+ [0, 128 | 0, 2, 0, () => VectorSearchConfiguration, 1, 2, 1],
695
+ ];
696
+ var CreateGraphOutput = [
697
+ 3,
698
+ n0,
699
+ _CGO,
700
+ 0,
701
+ [_i, _n, _a, _st, _sR, _cT, _pM, _en, _pC, _vSC, _rC, _kKI, _sSI, _dP, _bN],
702
+ [0, 0, 0, 0, 0, 4, 1, 0, 2, () => VectorSearchConfiguration, 1, 0, 0, 2, 0],
703
+ ];
704
+ var CreateGraphSnapshotInput = [3, n0, _CGSI, 0, [_gIr, _sN, _t], [0, 0, 128 | 0]];
705
+ var CreateGraphSnapshotOutput = [
706
+ 3,
707
+ n0,
708
+ _CGSO,
709
+ 0,
710
+ [_i, _n, _a, _sGI, _sCT, _st, _kKI],
711
+ [0, 0, 0, 0, 4, 0, 0],
712
+ ];
713
+ var CreateGraphUsingImportTaskInput = [
714
+ 3,
715
+ n0,
716
+ _CGUITI,
717
+ 0,
718
+ [_gN, _t, _pC, _kKI, _vSC, _rC, _dP, _iO, _mPM, _mPMi, _fOE, _so, _f, _pT, _bNH, _rA],
719
+ [0, 128 | 0, 2, 0, () => VectorSearchConfiguration, 1, 2, () => ImportOptions, 1, 1, 2, 0, 0, 0, 0, 0],
720
+ ];
721
+ var CreateGraphUsingImportTaskOutput = [
722
+ 3,
723
+ n0,
724
+ _CGUITO,
725
+ 0,
726
+ [_gI, _tIa, _so, _f, _pT, _rA, _st, _iO],
727
+ [0, 0, 0, 0, 0, 0, 0, () => ImportOptions],
728
+ ];
729
+ var CreatePrivateGraphEndpointInput = [
730
+ 3,
731
+ n0,
732
+ _CPGEI,
733
+ 0,
734
+ [_gIr, _vI, _sI, _vSGI],
735
+ [[0, 1], 0, 64 | 0, 64 | 0],
736
+ ];
737
+ var CreatePrivateGraphEndpointOutput = [
738
+ 3,
739
+ n0,
740
+ _CPGEO,
741
+ 0,
742
+ [_vI, _sI, _st, _vEI],
743
+ [0, 64 | 0, 0, 0],
744
+ ];
745
+ var DeleteGraphInput = [
746
+ 3,
747
+ n0,
748
+ _DGI,
749
+ 0,
750
+ [_gIr, _sS],
751
+ [
752
+ [0, 1],
753
+ [
754
+ 2,
755
+ {
756
+ [_hQ]: _sS,
757
+ },
758
+ ],
759
+ ],
760
+ ];
761
+ var DeleteGraphOutput = [
762
+ 3,
763
+ n0,
764
+ _DGO,
765
+ 0,
766
+ [_i, _n, _a, _st, _sR, _cT, _pM, _en, _pC, _vSC, _rC, _kKI, _sSI, _dP, _bN],
767
+ [0, 0, 0, 0, 0, 4, 1, 0, 2, () => VectorSearchConfiguration, 1, 0, 0, 2, 0],
768
+ ];
769
+ var DeleteGraphSnapshotInput = [3, n0, _DGSI, 0, [_sIn], [[0, 1]]];
770
+ var DeleteGraphSnapshotOutput = [
771
+ 3,
772
+ n0,
773
+ _DGSO,
774
+ 0,
775
+ [_i, _n, _a, _sGI, _sCT, _st, _kKI],
776
+ [0, 0, 0, 0, 4, 0, 0],
777
+ ];
778
+ var DeletePrivateGraphEndpointInput = [
779
+ 3,
780
+ n0,
781
+ _DPGEI,
782
+ 0,
783
+ [_gIr, _vI],
784
+ [
785
+ [0, 1],
786
+ [0, 1],
787
+ ],
788
+ ];
789
+ var DeletePrivateGraphEndpointOutput = [
790
+ 3,
791
+ n0,
792
+ _DPGEO,
793
+ 0,
794
+ [_vI, _sI, _st, _vEI],
795
+ [0, 64 | 0, 0, 0],
796
+ ];
797
+ var EdgeStructure = [3, n0, _ES, 0, [_co, _eP], [1, 64 | 0]];
798
+ var ExecuteQueryInput = [
799
+ 3,
800
+ n0,
801
+ _EQI,
802
+ 0,
803
+ [_gIr, _qS, _l, _p, _pCl, _eM, _qTM],
804
+ [
805
+ [
806
+ 0,
807
+ {
808
+ [_hL]: 1,
809
+ [_hH]: _gIr,
810
+ },
811
+ ],
812
+ [
813
+ 0,
814
+ {
815
+ [_jN]: _q,
816
+ },
817
+ ],
818
+ 0,
819
+ 128 | 15,
820
+ 0,
821
+ [
822
+ 0,
823
+ {
824
+ [_jN]: _ex,
825
+ },
826
+ ],
827
+ 1,
828
+ ],
829
+ ];
830
+ var ExecuteQueryOutput = [3, n0, _EQO, 0, [_pa], [[() => QueryResponseBlob, 16]]];
831
+ var ExportFilter = [
832
+ 3,
833
+ n0,
834
+ _EF,
835
+ 0,
836
+ [_vF, _eF],
837
+ [() => ExportFilterPerLabelMap, () => ExportFilterPerLabelMap],
838
+ ];
839
+ var ExportFilterElement = [3, n0, _EFE, 0, [_pr], [() => ExportFilterPropertyMap]];
840
+ var ExportFilterPropertyAttributes = [3, n0, _EFPA, 0, [_oT, _sPN, _mVH], [0, 0, 0]];
841
+ var ExportTaskDetails = [3, n0, _ETD, 0, [_sT, _tES, _pP, _nVW, _nEW], [4, 1, 1, 1, 1]];
842
+ var ExportTaskSummary = [
843
+ 3,
844
+ n0,
845
+ _ETS,
846
+ 0,
847
+ [_gI, _rA, _tIa, _st, _f, _d, _kKI, _pT, _sR],
848
+ [0, 0, 0, 0, 0, 0, 0, 0, 0],
849
+ ];
850
+ var GetExportTaskInput = [3, n0, _GETI, 0, [_tI], [[0, 1]]];
851
+ var GetExportTaskOutput = [
852
+ 3,
853
+ n0,
854
+ _GETO,
855
+ 0,
856
+ [_gI, _rA, _tIa, _st, _f, _d, _kKI, _pT, _sR, _eTD, _eFx],
857
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, () => ExportTaskDetails, () => ExportFilter],
858
+ ];
859
+ var GetGraphInput = [3, n0, _GGI, 0, [_gIr], [[0, 1]]];
860
+ var GetGraphOutput = [
861
+ 3,
862
+ n0,
863
+ _GGO,
864
+ 0,
865
+ [_i, _n, _a, _st, _sR, _cT, _pM, _en, _pC, _vSC, _rC, _kKI, _sSI, _dP, _bN],
866
+ [0, 0, 0, 0, 0, 4, 1, 0, 2, () => VectorSearchConfiguration, 1, 0, 0, 2, 0],
867
+ ];
868
+ var GetGraphSnapshotInput = [3, n0, _GGSI, 0, [_sIn], [[0, 1]]];
869
+ var GetGraphSnapshotOutput = [
870
+ 3,
871
+ n0,
872
+ _GGSO,
873
+ 0,
874
+ [_i, _n, _a, _sGI, _sCT, _st, _kKI],
875
+ [0, 0, 0, 0, 4, 0, 0],
876
+ ];
877
+ var GetGraphSummaryInput = [
878
+ 3,
879
+ n0,
880
+ _GGSIe,
881
+ 0,
882
+ [_gIr, _mo],
883
+ [
884
+ [
885
+ 0,
886
+ {
887
+ [_hL]: 1,
888
+ [_hH]: _gIr,
889
+ },
890
+ ],
891
+ [
892
+ 0,
893
+ {
894
+ [_hQ]: _mo,
895
+ },
896
+ ],
897
+ ],
898
+ ];
899
+ var GetGraphSummaryOutput = [
900
+ 3,
901
+ n0,
902
+ _GGSOe,
903
+ 0,
904
+ [_v, _lSCT, _gS],
905
+ [0, 5, () => GraphDataSummary],
906
+ ];
907
+ var GetImportTaskInput = [3, n0, _GITI, 0, [_tI], [[0, 1]]];
908
+ var GetImportTaskOutput = [
909
+ 3,
910
+ n0,
911
+ _GITO,
912
+ 0,
913
+ [_gI, _tIa, _so, _f, _pT, _rA, _st, _iO, _iTD, _aN, _sR],
914
+ [0, 0, 0, 0, 0, 0, 0, () => ImportOptions, () => ImportTaskDetails, 1, 0],
915
+ ];
916
+ var GetPrivateGraphEndpointInput = [
917
+ 3,
918
+ n0,
919
+ _GPGEI,
920
+ 0,
921
+ [_gIr, _vI],
922
+ [
923
+ [0, 1],
924
+ [0, 1],
925
+ ],
926
+ ];
927
+ var GetPrivateGraphEndpointOutput = [
928
+ 3,
929
+ n0,
930
+ _GPGEO,
931
+ 0,
932
+ [_vI, _sI, _st, _vEI],
933
+ [0, 64 | 0, 0, 0],
934
+ ];
935
+ var GetQueryInput = [
936
+ 3,
937
+ n0,
938
+ _GQI,
939
+ 0,
940
+ [_gIr, _qI],
941
+ [
942
+ [
943
+ 0,
944
+ {
945
+ [_hL]: 1,
946
+ [_hH]: _gIr,
947
+ },
948
+ ],
949
+ [0, 1],
950
+ ],
951
+ ];
952
+ var GetQueryOutput = [3, n0, _GQO, 0, [_i, _qS, _w, _el, _sta], [0, 0, 1, 1, 0]];
953
+ var GraphDataSummary = [
954
+ 3,
955
+ n0,
956
+ _GDS,
957
+ 0,
958
+ [_nN, _nE, _nNL, _nEL, _nL, _eL, _nNP, _nEP, _nP, _eP, _tNPV, _tEPV, _nS, _eS],
959
+ [
960
+ 1,
961
+ 1,
962
+ 1,
963
+ 1,
964
+ 64 | 0,
965
+ 64 | 0,
966
+ 1,
967
+ 1,
968
+ [1, n0, _LVML, 0, 128 | 1],
969
+ [1, n0, _LVML, 0, 128 | 1],
970
+ 1,
971
+ 1,
972
+ () => NodeStructures,
973
+ () => EdgeStructures,
974
+ ],
975
+ ];
976
+ var GraphSnapshotSummary = [
977
+ 3,
978
+ n0,
979
+ _GSS,
980
+ 0,
981
+ [_i, _n, _a, _sGI, _sCT, _st, _kKI],
982
+ [0, 0, 0, 0, 4, 0, 0],
983
+ ];
984
+ var GraphSummary = [
985
+ 3,
986
+ n0,
987
+ _GS,
988
+ 0,
989
+ [_i, _n, _a, _st, _pM, _pC, _en, _rC, _kKI, _dP],
990
+ [0, 0, 0, 0, 1, 2, 0, 1, 0, 2],
991
+ ];
992
+ var ImportTaskDetails = [
993
+ 3,
994
+ n0,
995
+ _ITD,
996
+ 0,
997
+ [_st, _sT, _tES, _pP, _eC, _eD, _sC, _dEC],
998
+ [0, 4, 1, 1, 1, 0, 1, 1],
999
+ ];
1000
+ var ImportTaskSummary = [
1001
+ 3,
1002
+ n0,
1003
+ _ITS,
1004
+ 0,
1005
+ [_gI, _tIa, _so, _f, _pT, _rA, _st],
1006
+ [0, 0, 0, 0, 0, 0, 0],
1007
+ ];
1008
+ var InternalServerException = [
1009
+ -3,
1010
+ n0,
1011
+ _ISE,
1012
+ {
1013
+ [_e]: _se,
1014
+ [_hE]: 500,
1015
+ },
1016
+ [_m],
1017
+ [0],
1018
+ ];
1019
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
1020
+ var ListExportTasksInput = [
1021
+ 3,
1022
+ n0,
1023
+ _LETI,
1024
+ 0,
1025
+ [_gIr, _nT, _mR],
1026
+ [
1027
+ [
1028
+ 0,
1029
+ {
1030
+ [_hQ]: _gIr,
1031
+ },
1032
+ ],
1033
+ [
1034
+ 0,
1035
+ {
1036
+ [_hQ]: _nT,
1037
+ },
1038
+ ],
1039
+ [
1040
+ 1,
1041
+ {
1042
+ [_hQ]: _mR,
1043
+ },
1044
+ ],
1045
+ ],
1046
+ ];
1047
+ var ListExportTasksOutput = [
1048
+ 3,
1049
+ n0,
1050
+ _LETO,
1051
+ 0,
1052
+ [_ta, _nT],
1053
+ [() => ExportTaskSummaryList, 0],
1054
+ ];
1055
+ var ListGraphsInput = [
1056
+ 3,
1057
+ n0,
1058
+ _LGI,
1059
+ 0,
1060
+ [_nT, _mR],
1061
+ [
1062
+ [
1063
+ 0,
1064
+ {
1065
+ [_hQ]: _nT,
1066
+ },
1067
+ ],
1068
+ [
1069
+ 1,
1070
+ {
1071
+ [_hQ]: _mR,
1072
+ },
1073
+ ],
1074
+ ],
1075
+ ];
1076
+ var ListGraphSnapshotsInput = [
1077
+ 3,
1078
+ n0,
1079
+ _LGSI,
1080
+ 0,
1081
+ [_gIr, _nT, _mR],
1082
+ [
1083
+ [
1084
+ 0,
1085
+ {
1086
+ [_hQ]: _gIr,
1087
+ },
1088
+ ],
1089
+ [
1090
+ 0,
1091
+ {
1092
+ [_hQ]: _nT,
1093
+ },
1094
+ ],
1095
+ [
1096
+ 1,
1097
+ {
1098
+ [_hQ]: _mR,
1099
+ },
1100
+ ],
1101
+ ],
1102
+ ];
1103
+ var ListGraphSnapshotsOutput = [
1104
+ 3,
1105
+ n0,
1106
+ _LGSO,
1107
+ 0,
1108
+ [_gSr, _nT],
1109
+ [() => GraphSnapshotSummaryList, 0],
1110
+ ];
1111
+ var ListGraphsOutput = [3, n0, _LGO, 0, [_g, _nT], [() => GraphSummaryList, 0]];
1112
+ var ListImportTasksInput = [
1113
+ 3,
1114
+ n0,
1115
+ _LITI,
1116
+ 0,
1117
+ [_nT, _mR],
1118
+ [
1119
+ [
1120
+ 0,
1121
+ {
1122
+ [_hQ]: _nT,
1123
+ },
1124
+ ],
1125
+ [
1126
+ 1,
1127
+ {
1128
+ [_hQ]: _mR,
1129
+ },
1130
+ ],
1131
+ ],
1132
+ ];
1133
+ var ListImportTasksOutput = [
1134
+ 3,
1135
+ n0,
1136
+ _LITO,
1137
+ 0,
1138
+ [_ta, _nT],
1139
+ [() => ImportTaskSummaryList, 0],
1140
+ ];
1141
+ var ListPrivateGraphEndpointsInput = [
1142
+ 3,
1143
+ n0,
1144
+ _LPGEI,
1145
+ 0,
1146
+ [_gIr, _nT, _mR],
1147
+ [
1148
+ [0, 1],
1149
+ [
1150
+ 0,
1151
+ {
1152
+ [_hQ]: _nT,
1153
+ },
1154
+ ],
1155
+ [
1156
+ 1,
1157
+ {
1158
+ [_hQ]: _mR,
1159
+ },
1160
+ ],
1161
+ ],
1162
+ ];
1163
+ var ListPrivateGraphEndpointsOutput = [
1164
+ 3,
1165
+ n0,
1166
+ _LPGEO,
1167
+ 0,
1168
+ [_pGE, _nT],
1169
+ [() => PrivateGraphEndpointSummaryList, 0],
1170
+ ];
1171
+ var ListQueriesInput = [
1172
+ 3,
1173
+ n0,
1174
+ _LQI,
1175
+ 0,
1176
+ [_gIr, _mR, _sta],
1177
+ [
1178
+ [
1179
+ 0,
1180
+ {
1181
+ [_hL]: 1,
1182
+ [_hH]: _gIr,
1183
+ },
1184
+ ],
1185
+ [
1186
+ 1,
1187
+ {
1188
+ [_hQ]: _mR,
1189
+ },
1190
+ ],
1191
+ [
1192
+ 0,
1193
+ {
1194
+ [_hQ]: _sta,
1195
+ },
1196
+ ],
1197
+ ],
1198
+ ];
1199
+ var ListQueriesOutput = [3, n0, _LQO, 0, [_qu], [() => QuerySummaryList]];
1200
+ var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_rAe], [[0, 1]]];
1201
+ var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_t], [128 | 0]];
1202
+ var NeptuneImportOptions = [3, n0, _NIO, 0, [_sEP, _sEKKI, _pDVL, _pEI], [0, 0, 2, 2]];
1203
+ var NodeStructure = [3, n0, _NS, 0, [_co, _nP, _dOEL], [1, 64 | 0, 64 | 0]];
1204
+ var PrivateGraphEndpointSummary = [
1205
+ 3,
1206
+ n0,
1207
+ _PGES,
1208
+ 0,
1209
+ [_vI, _sI, _st, _vEI],
1210
+ [0, 64 | 0, 0, 0],
1211
+ ];
1212
+ var QuerySummary = [3, n0, _QS, 0, [_i, _qS, _w, _el, _sta], [0, 0, 1, 1, 0]];
1213
+ var ResetGraphInput = [3, n0, _RGI, 0, [_gIr, _sS], [[0, 1], 2]];
1214
+ var ResetGraphOutput = [
1215
+ 3,
1216
+ n0,
1217
+ _RGO,
1218
+ 0,
1219
+ [_i, _n, _a, _st, _sR, _cT, _pM, _en, _pC, _vSC, _rC, _kKI, _sSI, _dP, _bN],
1220
+ [0, 0, 0, 0, 0, 4, 1, 0, 2, () => VectorSearchConfiguration, 1, 0, 0, 2, 0],
1221
+ ];
1222
+ var ResourceNotFoundException = [
1223
+ -3,
1224
+ n0,
1225
+ _RNFE,
1226
+ {
1227
+ [_e]: _c,
1228
+ [_hE]: 404,
1229
+ },
1230
+ [_m],
1231
+ [0],
1232
+ ];
1233
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1234
+ var RestoreGraphFromSnapshotInput = [
1235
+ 3,
1236
+ n0,
1237
+ _RGFSI,
1238
+ 0,
1239
+ [_sIn, _gN, _pM, _dP, _t, _rC, _pC],
1240
+ [[0, 1], 0, 1, 2, 128 | 0, 1, 2],
1241
+ ];
1242
+ var RestoreGraphFromSnapshotOutput = [
1243
+ 3,
1244
+ n0,
1245
+ _RGFSO,
1246
+ 0,
1247
+ [_i, _n, _a, _st, _sR, _cT, _pM, _en, _pC, _vSC, _rC, _kKI, _sSI, _dP, _bN],
1248
+ [0, 0, 0, 0, 0, 4, 1, 0, 2, () => VectorSearchConfiguration, 1, 0, 0, 2, 0],
1249
+ ];
1250
+ var ServiceQuotaExceededException = [
1251
+ -3,
1252
+ n0,
1253
+ _SQEE,
1254
+ {
1255
+ [_e]: _c,
1256
+ [_hE]: 402,
1257
+ },
1258
+ [_m, _rI, _rT, _sCe, _qC],
1259
+ [0, 0, 0, 0, 0],
1260
+ ];
1261
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
1262
+ var StartExportTaskInput = [
1263
+ 3,
1264
+ n0,
1265
+ _SETI,
1266
+ 0,
1267
+ [_gIr, _rA, _f, _d, _kKI, _pT, _eFx, _t],
1268
+ [0, 0, 0, 0, 0, 0, () => ExportFilter, 128 | 0],
1269
+ ];
1270
+ var StartExportTaskOutput = [
1271
+ 3,
1272
+ n0,
1273
+ _SETO,
1274
+ 0,
1275
+ [_gI, _rA, _tIa, _st, _f, _d, _kKI, _pT, _sR, _eFx],
1276
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, () => ExportFilter],
1277
+ ];
1278
+ var StartGraphInput = [3, n0, _SGI, 0, [_gIr], [[0, 1]]];
1279
+ var StartGraphOutput = [
1280
+ 3,
1281
+ n0,
1282
+ _SGO,
1283
+ 0,
1284
+ [_i, _n, _a, _st, _sR, _cT, _pM, _en, _pC, _vSC, _rC, _kKI, _sSI, _dP, _bN],
1285
+ [0, 0, 0, 0, 0, 4, 1, 0, 2, () => VectorSearchConfiguration, 1, 0, 0, 2, 0],
1286
+ ];
1287
+ var StartImportTaskInput = [
1288
+ 3,
1289
+ n0,
1290
+ _SITI,
1291
+ 0,
1292
+ [_iO, _fOE, _so, _f, _pT, _bNH, _gIr, _rA],
1293
+ [() => ImportOptions, 2, 0, 0, 0, 0, [0, 1], 0],
1294
+ ];
1295
+ var StartImportTaskOutput = [
1296
+ 3,
1297
+ n0,
1298
+ _SITO,
1299
+ 0,
1300
+ [_gI, _tIa, _so, _f, _pT, _rA, _st, _iO],
1301
+ [0, 0, 0, 0, 0, 0, 0, () => ImportOptions],
1302
+ ];
1303
+ var StopGraphInput = [3, n0, _SGIt, 0, [_gIr], [[0, 1]]];
1304
+ var StopGraphOutput = [
1305
+ 3,
1306
+ n0,
1307
+ _SGOt,
1308
+ 0,
1309
+ [_i, _n, _a, _st, _sR, _cT, _pM, _en, _pC, _vSC, _rC, _kKI, _sSI, _dP, _bN],
1310
+ [0, 0, 0, 0, 0, 4, 1, 0, 2, () => VectorSearchConfiguration, 1, 0, 0, 2, 0],
1311
+ ];
1312
+ var TagResourceInput = [3, n0, _TRI, 0, [_rAe, _t], [[0, 1], 128 | 0]];
1313
+ var TagResourceOutput = [3, n0, _TRO, 0, [], []];
1314
+ var ThrottlingException = [
1315
+ -3,
1316
+ n0,
1317
+ _TE,
1318
+ {
1319
+ [_e]: _c,
1320
+ [_hE]: 429,
1321
+ },
1322
+ [_m],
1323
+ [0],
1324
+ ];
1325
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1326
+ var UnprocessableException = [
1327
+ -3,
1328
+ n0,
1329
+ _UE,
1330
+ {
1331
+ [_e]: _c,
1332
+ [_hE]: 422,
1333
+ },
1334
+ [_m, _r],
1335
+ [0, 0],
1336
+ ];
1337
+ schema.TypeRegistry.for(n0).registerError(UnprocessableException, UnprocessableException$1);
1338
+ var UntagResourceInput = [
1339
+ 3,
1340
+ n0,
1341
+ _URI,
1342
+ 0,
1343
+ [_rAe, _tK],
1344
+ [
1345
+ [0, 1],
1346
+ [
1347
+ 64 | 0,
1348
+ {
1349
+ [_hQ]: _tK,
1350
+ },
1351
+ ],
1352
+ ],
1353
+ ];
1354
+ var UntagResourceOutput = [3, n0, _URO, 0, [], []];
1355
+ var UpdateGraphInput = [3, n0, _UGI, 0, [_gIr, _pC, _pM, _dP], [[0, 1], 2, 1, 2]];
1356
+ var UpdateGraphOutput = [
1357
+ 3,
1358
+ n0,
1359
+ _UGO,
1360
+ 0,
1361
+ [_i, _n, _a, _st, _sR, _cT, _pM, _en, _pC, _vSC, _rC, _kKI, _sSI, _dP, _bN],
1362
+ [0, 0, 0, 0, 0, 4, 1, 0, 2, () => VectorSearchConfiguration, 1, 0, 0, 2, 0],
1363
+ ];
1364
+ var ValidationException = [
1365
+ -3,
1366
+ n0,
1367
+ _VE,
1368
+ {
1369
+ [_e]: _c,
1370
+ [_hE]: 400,
1371
+ },
1372
+ [_m, _r],
1373
+ [0, 0],
1374
+ ];
1375
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1376
+ var VectorSearchConfiguration = [3, n0, _VSC, 0, [_di], [1]];
1377
+ var __Unit = "unit";
1378
+ var NeptuneGraphServiceException = [-3, _sm, "NeptuneGraphServiceException", 0, [], []];
1379
+ schema.TypeRegistry.for(_sm).registerError(NeptuneGraphServiceException, NeptuneGraphServiceException$1);
1380
+ var EdgeStructures = [1, n0, _ESd, 0, () => EdgeStructure];
1381
+ var ExportTaskSummaryList = [1, n0, _ETSL, 0, () => ExportTaskSummary];
1382
+ var GraphSnapshotSummaryList = [1, n0, _GSSL, 0, () => GraphSnapshotSummary];
1383
+ var GraphSummaryList = [1, n0, _GSL, 0, () => GraphSummary];
1384
+ var ImportTaskSummaryList = [1, n0, _ITSL, 0, () => ImportTaskSummary];
1385
+ var NodeStructures = [1, n0, _NSo, 0, () => NodeStructure];
1386
+ var PrivateGraphEndpointSummaryList = [1, n0, _PGESL, 0, () => PrivateGraphEndpointSummary];
1387
+ var QuerySummaryList = [1, n0, _QSL, 0, () => QuerySummary];
1388
+ var ExportFilterPerLabelMap = [2, n0, _EFPLM, 0, 0, () => ExportFilterElement];
1389
+ var ExportFilterPropertyMap = [2, n0, _EFPM, 0, 0, () => ExportFilterPropertyAttributes];
1390
+ var ImportOptions = [3, n0, _IO, 0, [_ne], [() => NeptuneImportOptions]];
1391
+ var CancelExportTask = [
1392
+ 9,
1393
+ n0,
1394
+ _CET,
1395
+ {
1396
+ [_h]: ["DELETE", "/exporttasks/{taskIdentifier}", 200],
1397
+ },
1398
+ () => CancelExportTaskInput,
1399
+ () => CancelExportTaskOutput,
1400
+ ];
1401
+ var CancelImportTask = [
1402
+ 9,
1403
+ n0,
1404
+ _CIT,
1405
+ {
1406
+ [_h]: ["DELETE", "/importtasks/{taskIdentifier}", 200],
1407
+ },
1408
+ () => CancelImportTaskInput,
1409
+ () => CancelImportTaskOutput,
1410
+ ];
1411
+ var CancelQuery = [
1412
+ 9,
1413
+ n0,
1414
+ _CQ,
1415
+ {
1416
+ [_en]: ["{graphIdentifier}."],
1417
+ [_h]: ["DELETE", "/queries/{queryId}", 200],
1418
+ },
1419
+ () => CancelQueryInput,
1420
+ () => __Unit,
1421
+ ];
1422
+ var CreateGraph = [
1423
+ 9,
1424
+ n0,
1425
+ _CG,
1426
+ {
1427
+ [_h]: ["POST", "/graphs", 201],
1428
+ },
1429
+ () => CreateGraphInput,
1430
+ () => CreateGraphOutput,
1431
+ ];
1432
+ var CreateGraphSnapshot = [
1433
+ 9,
1434
+ n0,
1435
+ _CGS,
1436
+ {
1437
+ [_h]: ["POST", "/snapshots", 201],
1438
+ },
1439
+ () => CreateGraphSnapshotInput,
1440
+ () => CreateGraphSnapshotOutput,
1441
+ ];
1442
+ var CreateGraphUsingImportTask = [
1443
+ 9,
1444
+ n0,
1445
+ _CGUIT,
1446
+ {
1447
+ [_h]: ["POST", "/importtasks", 201],
1448
+ },
1449
+ () => CreateGraphUsingImportTaskInput,
1450
+ () => CreateGraphUsingImportTaskOutput,
1451
+ ];
1452
+ var CreatePrivateGraphEndpoint = [
1453
+ 9,
1454
+ n0,
1455
+ _CPGE,
1456
+ {
1457
+ [_h]: ["POST", "/graphs/{graphIdentifier}/endpoints/", 201],
1458
+ },
1459
+ () => CreatePrivateGraphEndpointInput,
1460
+ () => CreatePrivateGraphEndpointOutput,
1461
+ ];
1462
+ var DeleteGraph = [
1463
+ 9,
1464
+ n0,
1465
+ _DG,
1466
+ {
1467
+ [_h]: ["DELETE", "/graphs/{graphIdentifier}", 200],
1468
+ },
1469
+ () => DeleteGraphInput,
1470
+ () => DeleteGraphOutput,
1471
+ ];
1472
+ var DeleteGraphSnapshot = [
1473
+ 9,
1474
+ n0,
1475
+ _DGS,
1476
+ {
1477
+ [_h]: ["DELETE", "/snapshots/{snapshotIdentifier}", 200],
1478
+ },
1479
+ () => DeleteGraphSnapshotInput,
1480
+ () => DeleteGraphSnapshotOutput,
1481
+ ];
1482
+ var DeletePrivateGraphEndpoint = [
1483
+ 9,
1484
+ n0,
1485
+ _DPGE,
1486
+ {
1487
+ [_h]: ["DELETE", "/graphs/{graphIdentifier}/endpoints/{vpcId}", 200],
1488
+ },
1489
+ () => DeletePrivateGraphEndpointInput,
1490
+ () => DeletePrivateGraphEndpointOutput,
1491
+ ];
1492
+ var ExecuteQuery = [
1493
+ 9,
1494
+ n0,
1495
+ _EQ,
1496
+ {
1497
+ [_h]: ["POST", "/queries", 200],
1498
+ [_en]: ["{graphIdentifier}."],
1499
+ },
1500
+ () => ExecuteQueryInput,
1501
+ () => ExecuteQueryOutput,
1502
+ ];
1503
+ var GetExportTask = [
1504
+ 9,
1505
+ n0,
1506
+ _GET,
1507
+ {
1508
+ [_h]: ["GET", "/exporttasks/{taskIdentifier}", 200],
1509
+ },
1510
+ () => GetExportTaskInput,
1511
+ () => GetExportTaskOutput,
1512
+ ];
1513
+ var GetGraph = [
1514
+ 9,
1515
+ n0,
1516
+ _GG,
1517
+ {
1518
+ [_h]: ["GET", "/graphs/{graphIdentifier}", 200],
1519
+ },
1520
+ () => GetGraphInput,
1521
+ () => GetGraphOutput,
1522
+ ];
1523
+ var GetGraphSnapshot = [
1524
+ 9,
1525
+ n0,
1526
+ _GGS,
1527
+ {
1528
+ [_h]: ["GET", "/snapshots/{snapshotIdentifier}", 200],
1529
+ },
1530
+ () => GetGraphSnapshotInput,
1531
+ () => GetGraphSnapshotOutput,
1532
+ ];
1533
+ var GetGraphSummary = [
1534
+ 9,
1535
+ n0,
1536
+ _GGSe,
1537
+ {
1538
+ [_en]: ["{graphIdentifier}."],
1539
+ [_h]: ["GET", "/summary", 200],
1540
+ },
1541
+ () => GetGraphSummaryInput,
1542
+ () => GetGraphSummaryOutput,
1543
+ ];
1544
+ var GetImportTask = [
1545
+ 9,
1546
+ n0,
1547
+ _GIT,
1548
+ {
1549
+ [_h]: ["GET", "/importtasks/{taskIdentifier}", 200],
1550
+ },
1551
+ () => GetImportTaskInput,
1552
+ () => GetImportTaskOutput,
1553
+ ];
1554
+ var GetPrivateGraphEndpoint = [
1555
+ 9,
1556
+ n0,
1557
+ _GPGE,
1558
+ {
1559
+ [_h]: ["GET", "/graphs/{graphIdentifier}/endpoints/{vpcId}", 200],
1560
+ },
1561
+ () => GetPrivateGraphEndpointInput,
1562
+ () => GetPrivateGraphEndpointOutput,
1563
+ ];
1564
+ var GetQuery = [
1565
+ 9,
1566
+ n0,
1567
+ _GQ,
1568
+ {
1569
+ [_en]: ["{graphIdentifier}."],
1570
+ [_h]: ["GET", "/queries/{queryId}", 200],
1571
+ },
1572
+ () => GetQueryInput,
1573
+ () => GetQueryOutput,
1574
+ ];
1575
+ var ListExportTasks = [
1576
+ 9,
1577
+ n0,
1578
+ _LET,
1579
+ {
1580
+ [_h]: ["GET", "/exporttasks", 200],
1581
+ },
1582
+ () => ListExportTasksInput,
1583
+ () => ListExportTasksOutput,
1584
+ ];
1585
+ var ListGraphs = [
1586
+ 9,
1587
+ n0,
1588
+ _LG,
1589
+ {
1590
+ [_h]: ["GET", "/graphs", 200],
1591
+ },
1592
+ () => ListGraphsInput,
1593
+ () => ListGraphsOutput,
1594
+ ];
1595
+ var ListGraphSnapshots = [
1596
+ 9,
1597
+ n0,
1598
+ _LGS,
1599
+ {
1600
+ [_h]: ["GET", "/snapshots", 200],
1601
+ },
1602
+ () => ListGraphSnapshotsInput,
1603
+ () => ListGraphSnapshotsOutput,
1604
+ ];
1605
+ var ListImportTasks = [
1606
+ 9,
1607
+ n0,
1608
+ _LIT,
1609
+ {
1610
+ [_h]: ["GET", "/importtasks", 200],
1611
+ },
1612
+ () => ListImportTasksInput,
1613
+ () => ListImportTasksOutput,
1614
+ ];
1615
+ var ListPrivateGraphEndpoints = [
1616
+ 9,
1617
+ n0,
1618
+ _LPGE,
1619
+ {
1620
+ [_h]: ["GET", "/graphs/{graphIdentifier}/endpoints/", 200],
1621
+ },
1622
+ () => ListPrivateGraphEndpointsInput,
1623
+ () => ListPrivateGraphEndpointsOutput,
1624
+ ];
1625
+ var ListQueries = [
1626
+ 9,
1627
+ n0,
1628
+ _LQ,
1629
+ {
1630
+ [_en]: ["{graphIdentifier}."],
1631
+ [_h]: ["GET", "/queries", 200],
1632
+ },
1633
+ () => ListQueriesInput,
1634
+ () => ListQueriesOutput,
1635
+ ];
1636
+ var ListTagsForResource = [
1637
+ 9,
1638
+ n0,
1639
+ _LTFR,
1640
+ {
1641
+ [_h]: ["GET", "/tags/{resourceArn}", 200],
1642
+ },
1643
+ () => ListTagsForResourceInput,
1644
+ () => ListTagsForResourceOutput,
1645
+ ];
1646
+ var ResetGraph = [
1647
+ 9,
1648
+ n0,
1649
+ _RG,
1650
+ {
1651
+ [_h]: ["PUT", "/graphs/{graphIdentifier}", 200],
1652
+ },
1653
+ () => ResetGraphInput,
1654
+ () => ResetGraphOutput,
1655
+ ];
1656
+ var RestoreGraphFromSnapshot = [
1657
+ 9,
1658
+ n0,
1659
+ _RGFS,
1660
+ {
1661
+ [_h]: ["POST", "/snapshots/{snapshotIdentifier}/restore", 201],
1662
+ },
1663
+ () => RestoreGraphFromSnapshotInput,
1664
+ () => RestoreGraphFromSnapshotOutput,
1665
+ ];
1666
+ var StartExportTask = [
1667
+ 9,
1668
+ n0,
1669
+ _SET,
1670
+ {
1671
+ [_h]: ["POST", "/exporttasks", 201],
1672
+ },
1673
+ () => StartExportTaskInput,
1674
+ () => StartExportTaskOutput,
1675
+ ];
1676
+ var StartGraph = [
1677
+ 9,
1678
+ n0,
1679
+ _SG,
1680
+ {
1681
+ [_h]: ["POST", "/graphs/{graphIdentifier}/start", 200],
1682
+ },
1683
+ () => StartGraphInput,
1684
+ () => StartGraphOutput,
1685
+ ];
1686
+ var StartImportTask = [
1687
+ 9,
1688
+ n0,
1689
+ _SIT,
1690
+ {
1691
+ [_h]: ["POST", "/graphs/{graphIdentifier}/importtasks", 201],
1692
+ },
1693
+ () => StartImportTaskInput,
1694
+ () => StartImportTaskOutput,
1695
+ ];
1696
+ var StopGraph = [
1697
+ 9,
1698
+ n0,
1699
+ _SGt,
1700
+ {
1701
+ [_h]: ["POST", "/graphs/{graphIdentifier}/stop", 200],
1702
+ },
1703
+ () => StopGraphInput,
1704
+ () => StopGraphOutput,
1705
+ ];
1706
+ var TagResource = [
1707
+ 9,
1708
+ n0,
1709
+ _TR,
1710
+ {
1711
+ [_h]: ["POST", "/tags/{resourceArn}", 200],
1712
+ },
1713
+ () => TagResourceInput,
1714
+ () => TagResourceOutput,
1715
+ ];
1716
+ var UntagResource = [
1717
+ 9,
1718
+ n0,
1719
+ _UR,
1720
+ {
1721
+ [_h]: ["DELETE", "/tags/{resourceArn}", 200],
1722
+ },
1723
+ () => UntagResourceInput,
1724
+ () => UntagResourceOutput,
1725
+ ];
1726
+ var UpdateGraph = [
1727
+ 9,
1728
+ n0,
1729
+ _UG,
1730
+ {
1731
+ [_h]: ["PATCH", "/graphs/{graphIdentifier}", 200],
1732
+ },
1733
+ () => UpdateGraphInput,
1734
+ () => UpdateGraphOutput,
1735
+ ];
1754
1736
 
1755
1737
  class CancelExportTaskCommand extends smithyClient.Command
1756
1738
  .classBuilder()
@@ -1759,16 +1741,11 @@ class CancelExportTaskCommand extends smithyClient.Command
1759
1741
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
1760
1742
  })
1761
1743
  .m(function (Command, cs, config, o) {
1762
- return [
1763
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1764
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1765
- ];
1744
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1766
1745
  })
1767
1746
  .s("AmazonNeptuneGraph", "CancelExportTask", {})
1768
1747
  .n("NeptuneGraphClient", "CancelExportTaskCommand")
1769
- .f(void 0, void 0)
1770
- .ser(se_CancelExportTaskCommand)
1771
- .de(de_CancelExportTaskCommand)
1748
+ .sc(CancelExportTask)
1772
1749
  .build() {
1773
1750
  }
1774
1751
 
@@ -1779,16 +1756,11 @@ class CancelImportTaskCommand extends smithyClient.Command
1779
1756
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
1780
1757
  })
1781
1758
  .m(function (Command, cs, config, o) {
1782
- return [
1783
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1784
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1785
- ];
1759
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1786
1760
  })
1787
1761
  .s("AmazonNeptuneGraph", "CancelImportTask", {})
1788
1762
  .n("NeptuneGraphClient", "CancelImportTaskCommand")
1789
- .f(void 0, void 0)
1790
- .ser(se_CancelImportTaskCommand)
1791
- .de(de_CancelImportTaskCommand)
1763
+ .sc(CancelImportTask)
1792
1764
  .build() {
1793
1765
  }
1794
1766
 
@@ -1799,16 +1771,11 @@ class CancelQueryCommand extends smithyClient.Command
1799
1771
  ApiType: { type: "staticContextParams", value: `DataPlane` },
1800
1772
  })
1801
1773
  .m(function (Command, cs, config, o) {
1802
- return [
1803
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1804
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1805
- ];
1774
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1806
1775
  })
1807
1776
  .s("AmazonNeptuneGraph", "CancelQuery", {})
1808
1777
  .n("NeptuneGraphClient", "CancelQueryCommand")
1809
- .f(void 0, void 0)
1810
- .ser(se_CancelQueryCommand)
1811
- .de(de_CancelQueryCommand)
1778
+ .sc(CancelQuery)
1812
1779
  .build() {
1813
1780
  }
1814
1781
 
@@ -1819,16 +1786,11 @@ class CreateGraphCommand extends smithyClient.Command
1819
1786
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
1820
1787
  })
1821
1788
  .m(function (Command, cs, config, o) {
1822
- return [
1823
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1824
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1825
- ];
1789
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1826
1790
  })
1827
1791
  .s("AmazonNeptuneGraph", "CreateGraph", {})
1828
1792
  .n("NeptuneGraphClient", "CreateGraphCommand")
1829
- .f(void 0, void 0)
1830
- .ser(se_CreateGraphCommand)
1831
- .de(de_CreateGraphCommand)
1793
+ .sc(CreateGraph)
1832
1794
  .build() {
1833
1795
  }
1834
1796
 
@@ -1839,16 +1801,11 @@ class CreateGraphSnapshotCommand extends smithyClient.Command
1839
1801
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
1840
1802
  })
1841
1803
  .m(function (Command, cs, config, o) {
1842
- return [
1843
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1844
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1845
- ];
1804
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1846
1805
  })
1847
1806
  .s("AmazonNeptuneGraph", "CreateGraphSnapshot", {})
1848
1807
  .n("NeptuneGraphClient", "CreateGraphSnapshotCommand")
1849
- .f(void 0, void 0)
1850
- .ser(se_CreateGraphSnapshotCommand)
1851
- .de(de_CreateGraphSnapshotCommand)
1808
+ .sc(CreateGraphSnapshot)
1852
1809
  .build() {
1853
1810
  }
1854
1811
 
@@ -1859,16 +1816,11 @@ class CreateGraphUsingImportTaskCommand extends smithyClient.Command
1859
1816
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
1860
1817
  })
1861
1818
  .m(function (Command, cs, config, o) {
1862
- return [
1863
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1864
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1865
- ];
1819
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1866
1820
  })
1867
1821
  .s("AmazonNeptuneGraph", "CreateGraphUsingImportTask", {})
1868
1822
  .n("NeptuneGraphClient", "CreateGraphUsingImportTaskCommand")
1869
- .f(void 0, void 0)
1870
- .ser(se_CreateGraphUsingImportTaskCommand)
1871
- .de(de_CreateGraphUsingImportTaskCommand)
1823
+ .sc(CreateGraphUsingImportTask)
1872
1824
  .build() {
1873
1825
  }
1874
1826
 
@@ -1879,16 +1831,11 @@ class CreatePrivateGraphEndpointCommand extends smithyClient.Command
1879
1831
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
1880
1832
  })
1881
1833
  .m(function (Command, cs, config, o) {
1882
- return [
1883
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1884
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1885
- ];
1834
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1886
1835
  })
1887
1836
  .s("AmazonNeptuneGraph", "CreatePrivateGraphEndpoint", {})
1888
1837
  .n("NeptuneGraphClient", "CreatePrivateGraphEndpointCommand")
1889
- .f(void 0, void 0)
1890
- .ser(se_CreatePrivateGraphEndpointCommand)
1891
- .de(de_CreatePrivateGraphEndpointCommand)
1838
+ .sc(CreatePrivateGraphEndpoint)
1892
1839
  .build() {
1893
1840
  }
1894
1841
 
@@ -1899,16 +1846,11 @@ class DeleteGraphCommand extends smithyClient.Command
1899
1846
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
1900
1847
  })
1901
1848
  .m(function (Command, cs, config, o) {
1902
- return [
1903
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1904
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1905
- ];
1849
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1906
1850
  })
1907
1851
  .s("AmazonNeptuneGraph", "DeleteGraph", {})
1908
1852
  .n("NeptuneGraphClient", "DeleteGraphCommand")
1909
- .f(void 0, void 0)
1910
- .ser(se_DeleteGraphCommand)
1911
- .de(de_DeleteGraphCommand)
1853
+ .sc(DeleteGraph)
1912
1854
  .build() {
1913
1855
  }
1914
1856
 
@@ -1919,16 +1861,11 @@ class DeleteGraphSnapshotCommand extends smithyClient.Command
1919
1861
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
1920
1862
  })
1921
1863
  .m(function (Command, cs, config, o) {
1922
- return [
1923
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1924
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1925
- ];
1864
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1926
1865
  })
1927
1866
  .s("AmazonNeptuneGraph", "DeleteGraphSnapshot", {})
1928
1867
  .n("NeptuneGraphClient", "DeleteGraphSnapshotCommand")
1929
- .f(void 0, void 0)
1930
- .ser(se_DeleteGraphSnapshotCommand)
1931
- .de(de_DeleteGraphSnapshotCommand)
1868
+ .sc(DeleteGraphSnapshot)
1932
1869
  .build() {
1933
1870
  }
1934
1871
 
@@ -1939,16 +1876,11 @@ class DeletePrivateGraphEndpointCommand extends smithyClient.Command
1939
1876
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
1940
1877
  })
1941
1878
  .m(function (Command, cs, config, o) {
1942
- return [
1943
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1944
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1945
- ];
1879
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1946
1880
  })
1947
1881
  .s("AmazonNeptuneGraph", "DeletePrivateGraphEndpoint", {})
1948
1882
  .n("NeptuneGraphClient", "DeletePrivateGraphEndpointCommand")
1949
- .f(void 0, void 0)
1950
- .ser(se_DeletePrivateGraphEndpointCommand)
1951
- .de(de_DeletePrivateGraphEndpointCommand)
1883
+ .sc(DeletePrivateGraphEndpoint)
1952
1884
  .build() {
1953
1885
  }
1954
1886
 
@@ -1959,16 +1891,11 @@ class ExecuteQueryCommand extends smithyClient.Command
1959
1891
  ApiType: { type: "staticContextParams", value: `DataPlane` },
1960
1892
  })
1961
1893
  .m(function (Command, cs, config, o) {
1962
- return [
1963
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1964
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1965
- ];
1894
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1966
1895
  })
1967
1896
  .s("AmazonNeptuneGraph", "ExecuteQuery", {})
1968
1897
  .n("NeptuneGraphClient", "ExecuteQueryCommand")
1969
- .f(void 0, ExecuteQueryOutputFilterSensitiveLog)
1970
- .ser(se_ExecuteQueryCommand)
1971
- .de(de_ExecuteQueryCommand)
1898
+ .sc(ExecuteQuery)
1972
1899
  .build() {
1973
1900
  }
1974
1901
 
@@ -1979,16 +1906,11 @@ class GetExportTaskCommand extends smithyClient.Command
1979
1906
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
1980
1907
  })
1981
1908
  .m(function (Command, cs, config, o) {
1982
- return [
1983
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1984
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1985
- ];
1909
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1986
1910
  })
1987
1911
  .s("AmazonNeptuneGraph", "GetExportTask", {})
1988
1912
  .n("NeptuneGraphClient", "GetExportTaskCommand")
1989
- .f(void 0, void 0)
1990
- .ser(se_GetExportTaskCommand)
1991
- .de(de_GetExportTaskCommand)
1913
+ .sc(GetExportTask)
1992
1914
  .build() {
1993
1915
  }
1994
1916
 
@@ -1999,16 +1921,11 @@ class GetGraphCommand extends smithyClient.Command
1999
1921
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
2000
1922
  })
2001
1923
  .m(function (Command, cs, config, o) {
2002
- return [
2003
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2004
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2005
- ];
1924
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2006
1925
  })
2007
1926
  .s("AmazonNeptuneGraph", "GetGraph", {})
2008
1927
  .n("NeptuneGraphClient", "GetGraphCommand")
2009
- .f(void 0, void 0)
2010
- .ser(se_GetGraphCommand)
2011
- .de(de_GetGraphCommand)
1928
+ .sc(GetGraph)
2012
1929
  .build() {
2013
1930
  }
2014
1931
 
@@ -2019,16 +1936,11 @@ class GetGraphSnapshotCommand extends smithyClient.Command
2019
1936
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
2020
1937
  })
2021
1938
  .m(function (Command, cs, config, o) {
2022
- return [
2023
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2024
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2025
- ];
1939
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2026
1940
  })
2027
1941
  .s("AmazonNeptuneGraph", "GetGraphSnapshot", {})
2028
1942
  .n("NeptuneGraphClient", "GetGraphSnapshotCommand")
2029
- .f(void 0, void 0)
2030
- .ser(se_GetGraphSnapshotCommand)
2031
- .de(de_GetGraphSnapshotCommand)
1943
+ .sc(GetGraphSnapshot)
2032
1944
  .build() {
2033
1945
  }
2034
1946
 
@@ -2039,16 +1951,11 @@ class GetGraphSummaryCommand extends smithyClient.Command
2039
1951
  ApiType: { type: "staticContextParams", value: `DataPlane` },
2040
1952
  })
2041
1953
  .m(function (Command, cs, config, o) {
2042
- return [
2043
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2044
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2045
- ];
1954
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2046
1955
  })
2047
1956
  .s("AmazonNeptuneGraph", "GetGraphSummary", {})
2048
1957
  .n("NeptuneGraphClient", "GetGraphSummaryCommand")
2049
- .f(void 0, void 0)
2050
- .ser(se_GetGraphSummaryCommand)
2051
- .de(de_GetGraphSummaryCommand)
1958
+ .sc(GetGraphSummary)
2052
1959
  .build() {
2053
1960
  }
2054
1961
 
@@ -2059,16 +1966,11 @@ class GetImportTaskCommand extends smithyClient.Command
2059
1966
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
2060
1967
  })
2061
1968
  .m(function (Command, cs, config, o) {
2062
- return [
2063
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2064
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2065
- ];
1969
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2066
1970
  })
2067
1971
  .s("AmazonNeptuneGraph", "GetImportTask", {})
2068
1972
  .n("NeptuneGraphClient", "GetImportTaskCommand")
2069
- .f(void 0, void 0)
2070
- .ser(se_GetImportTaskCommand)
2071
- .de(de_GetImportTaskCommand)
1973
+ .sc(GetImportTask)
2072
1974
  .build() {
2073
1975
  }
2074
1976
 
@@ -2079,16 +1981,11 @@ class GetPrivateGraphEndpointCommand extends smithyClient.Command
2079
1981
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
2080
1982
  })
2081
1983
  .m(function (Command, cs, config, o) {
2082
- return [
2083
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2084
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2085
- ];
1984
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2086
1985
  })
2087
1986
  .s("AmazonNeptuneGraph", "GetPrivateGraphEndpoint", {})
2088
1987
  .n("NeptuneGraphClient", "GetPrivateGraphEndpointCommand")
2089
- .f(void 0, void 0)
2090
- .ser(se_GetPrivateGraphEndpointCommand)
2091
- .de(de_GetPrivateGraphEndpointCommand)
1988
+ .sc(GetPrivateGraphEndpoint)
2092
1989
  .build() {
2093
1990
  }
2094
1991
 
@@ -2099,16 +1996,11 @@ class GetQueryCommand extends smithyClient.Command
2099
1996
  ApiType: { type: "staticContextParams", value: `DataPlane` },
2100
1997
  })
2101
1998
  .m(function (Command, cs, config, o) {
2102
- return [
2103
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2104
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2105
- ];
1999
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2106
2000
  })
2107
2001
  .s("AmazonNeptuneGraph", "GetQuery", {})
2108
2002
  .n("NeptuneGraphClient", "GetQueryCommand")
2109
- .f(void 0, void 0)
2110
- .ser(se_GetQueryCommand)
2111
- .de(de_GetQueryCommand)
2003
+ .sc(GetQuery)
2112
2004
  .build() {
2113
2005
  }
2114
2006
 
@@ -2119,16 +2011,11 @@ class ListExportTasksCommand extends smithyClient.Command
2119
2011
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
2120
2012
  })
2121
2013
  .m(function (Command, cs, config, o) {
2122
- return [
2123
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2124
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2125
- ];
2014
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2126
2015
  })
2127
2016
  .s("AmazonNeptuneGraph", "ListExportTasks", {})
2128
2017
  .n("NeptuneGraphClient", "ListExportTasksCommand")
2129
- .f(void 0, void 0)
2130
- .ser(se_ListExportTasksCommand)
2131
- .de(de_ListExportTasksCommand)
2018
+ .sc(ListExportTasks)
2132
2019
  .build() {
2133
2020
  }
2134
2021
 
@@ -2139,16 +2026,11 @@ class ListGraphsCommand extends smithyClient.Command
2139
2026
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
2140
2027
  })
2141
2028
  .m(function (Command, cs, config, o) {
2142
- return [
2143
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2144
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2145
- ];
2029
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2146
2030
  })
2147
2031
  .s("AmazonNeptuneGraph", "ListGraphs", {})
2148
2032
  .n("NeptuneGraphClient", "ListGraphsCommand")
2149
- .f(void 0, void 0)
2150
- .ser(se_ListGraphsCommand)
2151
- .de(de_ListGraphsCommand)
2033
+ .sc(ListGraphs)
2152
2034
  .build() {
2153
2035
  }
2154
2036
 
@@ -2159,16 +2041,11 @@ class ListGraphSnapshotsCommand extends smithyClient.Command
2159
2041
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
2160
2042
  })
2161
2043
  .m(function (Command, cs, config, o) {
2162
- return [
2163
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2164
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2165
- ];
2044
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2166
2045
  })
2167
2046
  .s("AmazonNeptuneGraph", "ListGraphSnapshots", {})
2168
2047
  .n("NeptuneGraphClient", "ListGraphSnapshotsCommand")
2169
- .f(void 0, void 0)
2170
- .ser(se_ListGraphSnapshotsCommand)
2171
- .de(de_ListGraphSnapshotsCommand)
2048
+ .sc(ListGraphSnapshots)
2172
2049
  .build() {
2173
2050
  }
2174
2051
 
@@ -2179,16 +2056,11 @@ class ListImportTasksCommand extends smithyClient.Command
2179
2056
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
2180
2057
  })
2181
2058
  .m(function (Command, cs, config, o) {
2182
- return [
2183
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2184
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2185
- ];
2059
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2186
2060
  })
2187
2061
  .s("AmazonNeptuneGraph", "ListImportTasks", {})
2188
2062
  .n("NeptuneGraphClient", "ListImportTasksCommand")
2189
- .f(void 0, void 0)
2190
- .ser(se_ListImportTasksCommand)
2191
- .de(de_ListImportTasksCommand)
2063
+ .sc(ListImportTasks)
2192
2064
  .build() {
2193
2065
  }
2194
2066
 
@@ -2199,16 +2071,11 @@ class ListPrivateGraphEndpointsCommand extends smithyClient.Command
2199
2071
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
2200
2072
  })
2201
2073
  .m(function (Command, cs, config, o) {
2202
- return [
2203
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2204
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2205
- ];
2074
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2206
2075
  })
2207
2076
  .s("AmazonNeptuneGraph", "ListPrivateGraphEndpoints", {})
2208
2077
  .n("NeptuneGraphClient", "ListPrivateGraphEndpointsCommand")
2209
- .f(void 0, void 0)
2210
- .ser(se_ListPrivateGraphEndpointsCommand)
2211
- .de(de_ListPrivateGraphEndpointsCommand)
2078
+ .sc(ListPrivateGraphEndpoints)
2212
2079
  .build() {
2213
2080
  }
2214
2081
 
@@ -2219,16 +2086,11 @@ class ListQueriesCommand extends smithyClient.Command
2219
2086
  ApiType: { type: "staticContextParams", value: `DataPlane` },
2220
2087
  })
2221
2088
  .m(function (Command, cs, config, o) {
2222
- return [
2223
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2224
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2225
- ];
2089
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2226
2090
  })
2227
2091
  .s("AmazonNeptuneGraph", "ListQueries", {})
2228
2092
  .n("NeptuneGraphClient", "ListQueriesCommand")
2229
- .f(void 0, void 0)
2230
- .ser(se_ListQueriesCommand)
2231
- .de(de_ListQueriesCommand)
2093
+ .sc(ListQueries)
2232
2094
  .build() {
2233
2095
  }
2234
2096
 
@@ -2239,16 +2101,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
2239
2101
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
2240
2102
  })
2241
2103
  .m(function (Command, cs, config, o) {
2242
- return [
2243
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2244
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2245
- ];
2104
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2246
2105
  })
2247
2106
  .s("AmazonNeptuneGraph", "ListTagsForResource", {})
2248
2107
  .n("NeptuneGraphClient", "ListTagsForResourceCommand")
2249
- .f(void 0, void 0)
2250
- .ser(se_ListTagsForResourceCommand)
2251
- .de(de_ListTagsForResourceCommand)
2108
+ .sc(ListTagsForResource)
2252
2109
  .build() {
2253
2110
  }
2254
2111
 
@@ -2259,16 +2116,11 @@ class ResetGraphCommand extends smithyClient.Command
2259
2116
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
2260
2117
  })
2261
2118
  .m(function (Command, cs, config, o) {
2262
- return [
2263
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2264
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2265
- ];
2119
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2266
2120
  })
2267
2121
  .s("AmazonNeptuneGraph", "ResetGraph", {})
2268
2122
  .n("NeptuneGraphClient", "ResetGraphCommand")
2269
- .f(void 0, void 0)
2270
- .ser(se_ResetGraphCommand)
2271
- .de(de_ResetGraphCommand)
2123
+ .sc(ResetGraph)
2272
2124
  .build() {
2273
2125
  }
2274
2126
 
@@ -2279,16 +2131,11 @@ class RestoreGraphFromSnapshotCommand extends smithyClient.Command
2279
2131
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
2280
2132
  })
2281
2133
  .m(function (Command, cs, config, o) {
2282
- return [
2283
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2284
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2285
- ];
2134
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2286
2135
  })
2287
2136
  .s("AmazonNeptuneGraph", "RestoreGraphFromSnapshot", {})
2288
2137
  .n("NeptuneGraphClient", "RestoreGraphFromSnapshotCommand")
2289
- .f(void 0, void 0)
2290
- .ser(se_RestoreGraphFromSnapshotCommand)
2291
- .de(de_RestoreGraphFromSnapshotCommand)
2138
+ .sc(RestoreGraphFromSnapshot)
2292
2139
  .build() {
2293
2140
  }
2294
2141
 
@@ -2299,16 +2146,11 @@ class StartExportTaskCommand extends smithyClient.Command
2299
2146
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
2300
2147
  })
2301
2148
  .m(function (Command, cs, config, o) {
2302
- return [
2303
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2304
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2305
- ];
2149
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2306
2150
  })
2307
2151
  .s("AmazonNeptuneGraph", "StartExportTask", {})
2308
2152
  .n("NeptuneGraphClient", "StartExportTaskCommand")
2309
- .f(void 0, void 0)
2310
- .ser(se_StartExportTaskCommand)
2311
- .de(de_StartExportTaskCommand)
2153
+ .sc(StartExportTask)
2312
2154
  .build() {
2313
2155
  }
2314
2156
 
@@ -2319,16 +2161,11 @@ class StartGraphCommand extends smithyClient.Command
2319
2161
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
2320
2162
  })
2321
2163
  .m(function (Command, cs, config, o) {
2322
- return [
2323
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2324
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2325
- ];
2164
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2326
2165
  })
2327
2166
  .s("AmazonNeptuneGraph", "StartGraph", {})
2328
2167
  .n("NeptuneGraphClient", "StartGraphCommand")
2329
- .f(void 0, void 0)
2330
- .ser(se_StartGraphCommand)
2331
- .de(de_StartGraphCommand)
2168
+ .sc(StartGraph)
2332
2169
  .build() {
2333
2170
  }
2334
2171
 
@@ -2339,16 +2176,11 @@ class StartImportTaskCommand extends smithyClient.Command
2339
2176
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
2340
2177
  })
2341
2178
  .m(function (Command, cs, config, o) {
2342
- return [
2343
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2344
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2345
- ];
2179
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2346
2180
  })
2347
2181
  .s("AmazonNeptuneGraph", "StartImportTask", {})
2348
2182
  .n("NeptuneGraphClient", "StartImportTaskCommand")
2349
- .f(void 0, void 0)
2350
- .ser(se_StartImportTaskCommand)
2351
- .de(de_StartImportTaskCommand)
2183
+ .sc(StartImportTask)
2352
2184
  .build() {
2353
2185
  }
2354
2186
 
@@ -2359,16 +2191,11 @@ class StopGraphCommand extends smithyClient.Command
2359
2191
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
2360
2192
  })
2361
2193
  .m(function (Command, cs, config, o) {
2362
- return [
2363
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2364
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2365
- ];
2194
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2366
2195
  })
2367
2196
  .s("AmazonNeptuneGraph", "StopGraph", {})
2368
2197
  .n("NeptuneGraphClient", "StopGraphCommand")
2369
- .f(void 0, void 0)
2370
- .ser(se_StopGraphCommand)
2371
- .de(de_StopGraphCommand)
2198
+ .sc(StopGraph)
2372
2199
  .build() {
2373
2200
  }
2374
2201
 
@@ -2379,16 +2206,11 @@ class TagResourceCommand extends smithyClient.Command
2379
2206
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
2380
2207
  })
2381
2208
  .m(function (Command, cs, config, o) {
2382
- return [
2383
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2384
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2385
- ];
2209
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2386
2210
  })
2387
2211
  .s("AmazonNeptuneGraph", "TagResource", {})
2388
2212
  .n("NeptuneGraphClient", "TagResourceCommand")
2389
- .f(void 0, void 0)
2390
- .ser(se_TagResourceCommand)
2391
- .de(de_TagResourceCommand)
2213
+ .sc(TagResource)
2392
2214
  .build() {
2393
2215
  }
2394
2216
 
@@ -2399,16 +2221,11 @@ class UntagResourceCommand extends smithyClient.Command
2399
2221
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
2400
2222
  })
2401
2223
  .m(function (Command, cs, config, o) {
2402
- return [
2403
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2404
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2405
- ];
2224
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2406
2225
  })
2407
2226
  .s("AmazonNeptuneGraph", "UntagResource", {})
2408
2227
  .n("NeptuneGraphClient", "UntagResourceCommand")
2409
- .f(void 0, void 0)
2410
- .ser(se_UntagResourceCommand)
2411
- .de(de_UntagResourceCommand)
2228
+ .sc(UntagResource)
2412
2229
  .build() {
2413
2230
  }
2414
2231
 
@@ -2419,16 +2236,11 @@ class UpdateGraphCommand extends smithyClient.Command
2419
2236
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
2420
2237
  })
2421
2238
  .m(function (Command, cs, config, o) {
2422
- return [
2423
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2424
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2425
- ];
2239
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2426
2240
  })
2427
2241
  .s("AmazonNeptuneGraph", "UpdateGraph", {})
2428
2242
  .n("NeptuneGraphClient", "UpdateGraphCommand")
2429
- .f(void 0, void 0)
2430
- .ser(se_UpdateGraphCommand)
2431
- .de(de_UpdateGraphCommand)
2243
+ .sc(UpdateGraph)
2432
2244
  .build() {
2433
2245
  }
2434
2246
 
@@ -2973,12 +2785,12 @@ Object.defineProperty(exports, "__Client", {
2973
2785
  enumerable: true,
2974
2786
  get: function () { return smithyClient.Client; }
2975
2787
  });
2976
- exports.AccessDeniedException = AccessDeniedException;
2788
+ exports.AccessDeniedException = AccessDeniedException$1;
2977
2789
  exports.BlankNodeHandling = BlankNodeHandling;
2978
2790
  exports.CancelExportTaskCommand = CancelExportTaskCommand;
2979
2791
  exports.CancelImportTaskCommand = CancelImportTaskCommand;
2980
2792
  exports.CancelQueryCommand = CancelQueryCommand;
2981
- exports.ConflictException = ConflictException;
2793
+ exports.ConflictException = ConflictException$1;
2982
2794
  exports.ConflictExceptionReason = ConflictExceptionReason;
2983
2795
  exports.CreateGraphCommand = CreateGraphCommand;
2984
2796
  exports.CreateGraphSnapshotCommand = CreateGraphSnapshotCommand;
@@ -2988,7 +2800,6 @@ exports.DeleteGraphCommand = DeleteGraphCommand;
2988
2800
  exports.DeleteGraphSnapshotCommand = DeleteGraphSnapshotCommand;
2989
2801
  exports.DeletePrivateGraphEndpointCommand = DeletePrivateGraphEndpointCommand;
2990
2802
  exports.ExecuteQueryCommand = ExecuteQueryCommand;
2991
- exports.ExecuteQueryOutputFilterSensitiveLog = ExecuteQueryOutputFilterSensitiveLog;
2992
2803
  exports.ExplainMode = ExplainMode;
2993
2804
  exports.ExportFormat = ExportFormat;
2994
2805
  exports.ExportTaskStatus = ExportTaskStatus;
@@ -3003,7 +2814,7 @@ exports.GetQueryCommand = GetQueryCommand;
3003
2814
  exports.GraphStatus = GraphStatus;
3004
2815
  exports.GraphSummaryMode = GraphSummaryMode;
3005
2816
  exports.ImportTaskStatus = ImportTaskStatus;
3006
- exports.InternalServerException = InternalServerException;
2817
+ exports.InternalServerException = InternalServerException$1;
3007
2818
  exports.ListExportTasksCommand = ListExportTasksCommand;
3008
2819
  exports.ListGraphSnapshotsCommand = ListGraphSnapshotsCommand;
3009
2820
  exports.ListGraphsCommand = ListGraphsCommand;
@@ -3014,7 +2825,7 @@ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
3014
2825
  exports.MultiValueHandlingType = MultiValueHandlingType;
3015
2826
  exports.NeptuneGraph = NeptuneGraph;
3016
2827
  exports.NeptuneGraphClient = NeptuneGraphClient;
3017
- exports.NeptuneGraphServiceException = NeptuneGraphServiceException;
2828
+ exports.NeptuneGraphServiceException = NeptuneGraphServiceException$1;
3018
2829
  exports.ParquetType = ParquetType;
3019
2830
  exports.PlanCacheType = PlanCacheType;
3020
2831
  exports.PrivateGraphEndpointStatus = PrivateGraphEndpointStatus;
@@ -3022,21 +2833,21 @@ exports.QueryLanguage = QueryLanguage;
3022
2833
  exports.QueryState = QueryState;
3023
2834
  exports.QueryStateInput = QueryStateInput;
3024
2835
  exports.ResetGraphCommand = ResetGraphCommand;
3025
- exports.ResourceNotFoundException = ResourceNotFoundException;
2836
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
3026
2837
  exports.RestoreGraphFromSnapshotCommand = RestoreGraphFromSnapshotCommand;
3027
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
2838
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
3028
2839
  exports.SnapshotStatus = SnapshotStatus;
3029
2840
  exports.StartExportTaskCommand = StartExportTaskCommand;
3030
2841
  exports.StartGraphCommand = StartGraphCommand;
3031
2842
  exports.StartImportTaskCommand = StartImportTaskCommand;
3032
2843
  exports.StopGraphCommand = StopGraphCommand;
3033
2844
  exports.TagResourceCommand = TagResourceCommand;
3034
- exports.ThrottlingException = ThrottlingException;
3035
- exports.UnprocessableException = UnprocessableException;
2845
+ exports.ThrottlingException = ThrottlingException$1;
2846
+ exports.UnprocessableException = UnprocessableException$1;
3036
2847
  exports.UnprocessableExceptionReason = UnprocessableExceptionReason;
3037
2848
  exports.UntagResourceCommand = UntagResourceCommand;
3038
2849
  exports.UpdateGraphCommand = UpdateGraphCommand;
3039
- exports.ValidationException = ValidationException;
2850
+ exports.ValidationException = ValidationException$1;
3040
2851
  exports.ValidationExceptionReason = ValidationExceptionReason;
3041
2852
  exports.paginateListExportTasks = paginateListExportTasks;
3042
2853
  exports.paginateListGraphSnapshots = paginateListGraphSnapshots;