@aws-sdk/client-neptune-graph 3.478.0 → 3.481.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 (133) hide show
  1. package/dist-cjs/commands/CancelImportTaskCommand.js +19 -42
  2. package/dist-cjs/commands/CreateGraphCommand.js +19 -42
  3. package/dist-cjs/commands/CreateGraphSnapshotCommand.js +19 -42
  4. package/dist-cjs/commands/CreateGraphUsingImportTaskCommand.js +19 -42
  5. package/dist-cjs/commands/CreatePrivateGraphEndpointCommand.js +19 -42
  6. package/dist-cjs/commands/DeleteGraphCommand.js +19 -42
  7. package/dist-cjs/commands/DeleteGraphSnapshotCommand.js +19 -42
  8. package/dist-cjs/commands/DeletePrivateGraphEndpointCommand.js +19 -42
  9. package/dist-cjs/commands/GetGraphCommand.js +19 -42
  10. package/dist-cjs/commands/GetGraphSnapshotCommand.js +19 -42
  11. package/dist-cjs/commands/GetImportTaskCommand.js +19 -42
  12. package/dist-cjs/commands/GetPrivateGraphEndpointCommand.js +19 -42
  13. package/dist-cjs/commands/ListGraphSnapshotsCommand.js +19 -42
  14. package/dist-cjs/commands/ListGraphsCommand.js +19 -42
  15. package/dist-cjs/commands/ListImportTasksCommand.js +19 -42
  16. package/dist-cjs/commands/ListPrivateGraphEndpointsCommand.js +19 -42
  17. package/dist-cjs/commands/ListTagsForResourceCommand.js +19 -42
  18. package/dist-cjs/commands/ResetGraphCommand.js +19 -42
  19. package/dist-cjs/commands/RestoreGraphFromSnapshotCommand.js +19 -42
  20. package/dist-cjs/commands/TagResourceCommand.js +19 -42
  21. package/dist-cjs/commands/UntagResourceCommand.js +19 -42
  22. package/dist-cjs/commands/UpdateGraphCommand.js +19 -42
  23. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  24. package/dist-cjs/index.js +1 -0
  25. package/dist-cjs/waiters/index.js +11 -0
  26. package/dist-cjs/waiters/waitForGraphAvailable.js +54 -0
  27. package/dist-cjs/waiters/waitForGraphDeleted.js +39 -0
  28. package/dist-cjs/waiters/waitForGraphSnapshotAvailable.js +54 -0
  29. package/dist-cjs/waiters/waitForGraphSnapshotDeleted.js +39 -0
  30. package/dist-cjs/waiters/waitForImportTaskCancelled.js +45 -0
  31. package/dist-cjs/waiters/waitForImportTaskSuccessful.js +72 -0
  32. package/dist-cjs/waiters/waitForPrivateGraphEndpointAvailable.js +54 -0
  33. package/dist-cjs/waiters/waitForPrivateGraphEndpointDeleted.js +39 -0
  34. package/dist-es/commands/CancelImportTaskCommand.js +19 -42
  35. package/dist-es/commands/CreateGraphCommand.js +19 -42
  36. package/dist-es/commands/CreateGraphSnapshotCommand.js +19 -42
  37. package/dist-es/commands/CreateGraphUsingImportTaskCommand.js +19 -42
  38. package/dist-es/commands/CreatePrivateGraphEndpointCommand.js +19 -42
  39. package/dist-es/commands/DeleteGraphCommand.js +19 -42
  40. package/dist-es/commands/DeleteGraphSnapshotCommand.js +19 -42
  41. package/dist-es/commands/DeletePrivateGraphEndpointCommand.js +19 -42
  42. package/dist-es/commands/GetGraphCommand.js +19 -42
  43. package/dist-es/commands/GetGraphSnapshotCommand.js +19 -42
  44. package/dist-es/commands/GetImportTaskCommand.js +19 -42
  45. package/dist-es/commands/GetPrivateGraphEndpointCommand.js +19 -42
  46. package/dist-es/commands/ListGraphSnapshotsCommand.js +19 -42
  47. package/dist-es/commands/ListGraphsCommand.js +19 -42
  48. package/dist-es/commands/ListImportTasksCommand.js +19 -42
  49. package/dist-es/commands/ListPrivateGraphEndpointsCommand.js +19 -42
  50. package/dist-es/commands/ListTagsForResourceCommand.js +19 -42
  51. package/dist-es/commands/ResetGraphCommand.js +19 -42
  52. package/dist-es/commands/RestoreGraphFromSnapshotCommand.js +19 -42
  53. package/dist-es/commands/TagResourceCommand.js +19 -42
  54. package/dist-es/commands/UntagResourceCommand.js +19 -42
  55. package/dist-es/commands/UpdateGraphCommand.js +19 -42
  56. package/dist-es/endpoint/EndpointParameters.js +6 -0
  57. package/dist-es/index.js +1 -0
  58. package/dist-es/waiters/index.js +8 -0
  59. package/dist-es/waiters/waitForGraphAvailable.js +49 -0
  60. package/dist-es/waiters/waitForGraphDeleted.js +34 -0
  61. package/dist-es/waiters/waitForGraphSnapshotAvailable.js +49 -0
  62. package/dist-es/waiters/waitForGraphSnapshotDeleted.js +34 -0
  63. package/dist-es/waiters/waitForImportTaskCancelled.js +40 -0
  64. package/dist-es/waiters/waitForImportTaskSuccessful.js +67 -0
  65. package/dist-es/waiters/waitForPrivateGraphEndpointAvailable.js +49 -0
  66. package/dist-es/waiters/waitForPrivateGraphEndpointDeleted.js +34 -0
  67. package/dist-types/commands/CancelImportTaskCommand.d.ts +6 -21
  68. package/dist-types/commands/CreateGraphCommand.d.ts +6 -21
  69. package/dist-types/commands/CreateGraphSnapshotCommand.d.ts +6 -21
  70. package/dist-types/commands/CreateGraphUsingImportTaskCommand.d.ts +6 -21
  71. package/dist-types/commands/CreatePrivateGraphEndpointCommand.d.ts +6 -21
  72. package/dist-types/commands/DeleteGraphCommand.d.ts +6 -21
  73. package/dist-types/commands/DeleteGraphSnapshotCommand.d.ts +6 -21
  74. package/dist-types/commands/DeletePrivateGraphEndpointCommand.d.ts +6 -21
  75. package/dist-types/commands/GetGraphCommand.d.ts +6 -21
  76. package/dist-types/commands/GetGraphSnapshotCommand.d.ts +6 -21
  77. package/dist-types/commands/GetImportTaskCommand.d.ts +6 -21
  78. package/dist-types/commands/GetPrivateGraphEndpointCommand.d.ts +6 -21
  79. package/dist-types/commands/ListGraphSnapshotsCommand.d.ts +6 -21
  80. package/dist-types/commands/ListGraphsCommand.d.ts +6 -21
  81. package/dist-types/commands/ListImportTasksCommand.d.ts +6 -21
  82. package/dist-types/commands/ListPrivateGraphEndpointsCommand.d.ts +6 -21
  83. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  84. package/dist-types/commands/ResetGraphCommand.d.ts +6 -21
  85. package/dist-types/commands/RestoreGraphFromSnapshotCommand.d.ts +6 -21
  86. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  87. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  88. package/dist-types/commands/UpdateGraphCommand.d.ts +6 -21
  89. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  90. package/dist-types/index.d.ts +1 -0
  91. package/dist-types/ts3.4/commands/CancelImportTaskCommand.d.ts +14 -23
  92. package/dist-types/ts3.4/commands/CreateGraphCommand.d.ts +14 -23
  93. package/dist-types/ts3.4/commands/CreateGraphSnapshotCommand.d.ts +14 -23
  94. package/dist-types/ts3.4/commands/CreateGraphUsingImportTaskCommand.d.ts +12 -24
  95. package/dist-types/ts3.4/commands/CreatePrivateGraphEndpointCommand.d.ts +12 -24
  96. package/dist-types/ts3.4/commands/DeleteGraphCommand.d.ts +14 -23
  97. package/dist-types/ts3.4/commands/DeleteGraphSnapshotCommand.d.ts +14 -23
  98. package/dist-types/ts3.4/commands/DeletePrivateGraphEndpointCommand.d.ts +12 -24
  99. package/dist-types/ts3.4/commands/GetGraphCommand.d.ts +14 -23
  100. package/dist-types/ts3.4/commands/GetGraphSnapshotCommand.d.ts +14 -23
  101. package/dist-types/ts3.4/commands/GetImportTaskCommand.d.ts +14 -23
  102. package/dist-types/ts3.4/commands/GetPrivateGraphEndpointCommand.d.ts +12 -24
  103. package/dist-types/ts3.4/commands/ListGraphSnapshotsCommand.d.ts +14 -23
  104. package/dist-types/ts3.4/commands/ListGraphsCommand.d.ts +14 -23
  105. package/dist-types/ts3.4/commands/ListImportTasksCommand.d.ts +14 -23
  106. package/dist-types/ts3.4/commands/ListPrivateGraphEndpointsCommand.d.ts +12 -24
  107. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  108. package/dist-types/ts3.4/commands/ResetGraphCommand.d.ts +14 -23
  109. package/dist-types/ts3.4/commands/RestoreGraphFromSnapshotCommand.d.ts +12 -24
  110. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  111. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  112. package/dist-types/ts3.4/commands/UpdateGraphCommand.d.ts +14 -23
  113. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  114. package/dist-types/ts3.4/index.d.ts +1 -0
  115. package/dist-types/ts3.4/waiters/index.d.ts +8 -0
  116. package/dist-types/ts3.4/waiters/waitForGraphAvailable.d.ts +11 -0
  117. package/dist-types/ts3.4/waiters/waitForGraphDeleted.d.ts +11 -0
  118. package/dist-types/ts3.4/waiters/waitForGraphSnapshotAvailable.d.ts +11 -0
  119. package/dist-types/ts3.4/waiters/waitForGraphSnapshotDeleted.d.ts +11 -0
  120. package/dist-types/ts3.4/waiters/waitForImportTaskCancelled.d.ts +11 -0
  121. package/dist-types/ts3.4/waiters/waitForImportTaskSuccessful.d.ts +11 -0
  122. package/dist-types/ts3.4/waiters/waitForPrivateGraphEndpointAvailable.d.ts +11 -0
  123. package/dist-types/ts3.4/waiters/waitForPrivateGraphEndpointDeleted.d.ts +11 -0
  124. package/dist-types/waiters/index.d.ts +8 -0
  125. package/dist-types/waiters/waitForGraphAvailable.d.ts +14 -0
  126. package/dist-types/waiters/waitForGraphDeleted.d.ts +14 -0
  127. package/dist-types/waiters/waitForGraphSnapshotAvailable.d.ts +14 -0
  128. package/dist-types/waiters/waitForGraphSnapshotDeleted.d.ts +14 -0
  129. package/dist-types/waiters/waitForImportTaskCancelled.d.ts +14 -0
  130. package/dist-types/waiters/waitForImportTaskSuccessful.d.ts +14 -0
  131. package/dist-types/waiters/waitForPrivateGraphEndpointAvailable.d.ts +14 -0
  132. package/dist-types/waiters/waitForPrivateGraphEndpointDeleted.d.ts +14 -0
  133. package/package.json +10 -9
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetGraphCommand, se_GetGraphCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetGraphCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, GetGraphCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "NeptuneGraphClient";
27
- const commandName = "GetGraphCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AmazonNeptuneGraph",
36
- operation: "GetGraph",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_GetGraphCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_GetGraphCommand(output, context);
47
- }
7
+ export class GetGraphCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonNeptuneGraph", "GetGraph", {})
20
+ .n("NeptuneGraphClient", "GetGraphCommand")
21
+ .f(void 0, void 0)
22
+ .ser(se_GetGraphCommand)
23
+ .de(de_GetGraphCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetGraphSnapshotCommand, se_GetGraphSnapshotCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetGraphSnapshotCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, GetGraphSnapshotCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "NeptuneGraphClient";
27
- const commandName = "GetGraphSnapshotCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AmazonNeptuneGraph",
36
- operation: "GetGraphSnapshot",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_GetGraphSnapshotCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_GetGraphSnapshotCommand(output, context);
47
- }
7
+ export class GetGraphSnapshotCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonNeptuneGraph", "GetGraphSnapshot", {})
20
+ .n("NeptuneGraphClient", "GetGraphSnapshotCommand")
21
+ .f(void 0, void 0)
22
+ .ser(se_GetGraphSnapshotCommand)
23
+ .de(de_GetGraphSnapshotCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetImportTaskCommand, se_GetImportTaskCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetImportTaskCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, GetImportTaskCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "NeptuneGraphClient";
27
- const commandName = "GetImportTaskCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AmazonNeptuneGraph",
36
- operation: "GetImportTask",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_GetImportTaskCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_GetImportTaskCommand(output, context);
47
- }
7
+ export class GetImportTaskCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonNeptuneGraph", "GetImportTask", {})
20
+ .n("NeptuneGraphClient", "GetImportTaskCommand")
21
+ .f(void 0, void 0)
22
+ .ser(se_GetImportTaskCommand)
23
+ .de(de_GetImportTaskCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetPrivateGraphEndpointCommand, se_GetPrivateGraphEndpointCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetPrivateGraphEndpointCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, GetPrivateGraphEndpointCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "NeptuneGraphClient";
27
- const commandName = "GetPrivateGraphEndpointCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AmazonNeptuneGraph",
36
- operation: "GetPrivateGraphEndpoint",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_GetPrivateGraphEndpointCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_GetPrivateGraphEndpointCommand(output, context);
47
- }
7
+ export class GetPrivateGraphEndpointCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonNeptuneGraph", "GetPrivateGraphEndpoint", {})
20
+ .n("NeptuneGraphClient", "GetPrivateGraphEndpointCommand")
21
+ .f(void 0, void 0)
22
+ .ser(se_GetPrivateGraphEndpointCommand)
23
+ .de(de_GetPrivateGraphEndpointCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListGraphSnapshotsCommand, se_ListGraphSnapshotsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListGraphSnapshotsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ListGraphSnapshotsCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "NeptuneGraphClient";
27
- const commandName = "ListGraphSnapshotsCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AmazonNeptuneGraph",
36
- operation: "ListGraphSnapshots",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_ListGraphSnapshotsCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ListGraphSnapshotsCommand(output, context);
47
- }
7
+ export class ListGraphSnapshotsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonNeptuneGraph", "ListGraphSnapshots", {})
20
+ .n("NeptuneGraphClient", "ListGraphSnapshotsCommand")
21
+ .f(void 0, void 0)
22
+ .ser(se_ListGraphSnapshotsCommand)
23
+ .de(de_ListGraphSnapshotsCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListGraphsCommand, se_ListGraphsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListGraphsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ListGraphsCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "NeptuneGraphClient";
27
- const commandName = "ListGraphsCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AmazonNeptuneGraph",
36
- operation: "ListGraphs",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_ListGraphsCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ListGraphsCommand(output, context);
47
- }
7
+ export class ListGraphsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonNeptuneGraph", "ListGraphs", {})
20
+ .n("NeptuneGraphClient", "ListGraphsCommand")
21
+ .f(void 0, void 0)
22
+ .ser(se_ListGraphsCommand)
23
+ .de(de_ListGraphsCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListImportTasksCommand, se_ListImportTasksCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListImportTasksCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ListImportTasksCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "NeptuneGraphClient";
27
- const commandName = "ListImportTasksCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AmazonNeptuneGraph",
36
- operation: "ListImportTasks",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_ListImportTasksCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ListImportTasksCommand(output, context);
47
- }
7
+ export class ListImportTasksCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonNeptuneGraph", "ListImportTasks", {})
20
+ .n("NeptuneGraphClient", "ListImportTasksCommand")
21
+ .f(void 0, void 0)
22
+ .ser(se_ListImportTasksCommand)
23
+ .de(de_ListImportTasksCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListPrivateGraphEndpointsCommand, se_ListPrivateGraphEndpointsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListPrivateGraphEndpointsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ListPrivateGraphEndpointsCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "NeptuneGraphClient";
27
- const commandName = "ListPrivateGraphEndpointsCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AmazonNeptuneGraph",
36
- operation: "ListPrivateGraphEndpoints",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_ListPrivateGraphEndpointsCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ListPrivateGraphEndpointsCommand(output, context);
47
- }
7
+ export class ListPrivateGraphEndpointsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonNeptuneGraph", "ListPrivateGraphEndpoints", {})
20
+ .n("NeptuneGraphClient", "ListPrivateGraphEndpointsCommand")
21
+ .f(void 0, void 0)
22
+ .ser(se_ListPrivateGraphEndpointsCommand)
23
+ .de(de_ListPrivateGraphEndpointsCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListTagsForResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "NeptuneGraphClient";
27
- const commandName = "ListTagsForResourceCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AmazonNeptuneGraph",
36
- operation: "ListTagsForResource",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_ListTagsForResourceCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ListTagsForResourceCommand(output, context);
47
- }
7
+ export class ListTagsForResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonNeptuneGraph", "ListTagsForResource", {})
20
+ .n("NeptuneGraphClient", "ListTagsForResourceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(se_ListTagsForResourceCommand)
23
+ .de(de_ListTagsForResourceCommand)
24
+ .build() {
48
25
  }