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