@aws-sdk/client-wisdom 3.451.0 → 3.458.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 (78) hide show
  1. package/README.md +111 -31
  2. package/dist-cjs/Wisdom.js +20 -0
  3. package/dist-cjs/commands/CreateQuickResponseCommand.js +52 -0
  4. package/dist-cjs/commands/DeleteImportJobCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteQuickResponseCommand.js +51 -0
  6. package/dist-cjs/commands/GetImportJobCommand.js +52 -0
  7. package/dist-cjs/commands/GetQuickResponseCommand.js +52 -0
  8. package/dist-cjs/commands/ListImportJobsCommand.js +51 -0
  9. package/dist-cjs/commands/ListQuickResponsesCommand.js +52 -0
  10. package/dist-cjs/commands/SearchQuickResponsesCommand.js +52 -0
  11. package/dist-cjs/commands/StartImportJobCommand.js +52 -0
  12. package/dist-cjs/commands/UpdateQuickResponseCommand.js +52 -0
  13. package/dist-cjs/commands/index.js +10 -0
  14. package/dist-cjs/models/models_0.js +200 -1
  15. package/dist-cjs/pagination/ListImportJobsPaginator.js +29 -0
  16. package/dist-cjs/pagination/ListQuickResponsesPaginator.js +29 -0
  17. package/dist-cjs/pagination/SearchQuickResponsesPaginator.js +29 -0
  18. package/dist-cjs/pagination/index.js +3 -0
  19. package/dist-cjs/protocols/Aws_restJson1.js +816 -18
  20. package/dist-es/Wisdom.js +20 -0
  21. package/dist-es/commands/CreateQuickResponseCommand.js +48 -0
  22. package/dist-es/commands/DeleteImportJobCommand.js +47 -0
  23. package/dist-es/commands/DeleteQuickResponseCommand.js +47 -0
  24. package/dist-es/commands/GetImportJobCommand.js +48 -0
  25. package/dist-es/commands/GetQuickResponseCommand.js +48 -0
  26. package/dist-es/commands/ListImportJobsCommand.js +47 -0
  27. package/dist-es/commands/ListQuickResponsesCommand.js +48 -0
  28. package/dist-es/commands/SearchQuickResponsesCommand.js +48 -0
  29. package/dist-es/commands/StartImportJobCommand.js +48 -0
  30. package/dist-es/commands/UpdateQuickResponseCommand.js +48 -0
  31. package/dist-es/commands/index.js +10 -0
  32. package/dist-es/models/models_0.js +179 -0
  33. package/dist-es/pagination/ListImportJobsPaginator.js +25 -0
  34. package/dist-es/pagination/ListQuickResponsesPaginator.js +25 -0
  35. package/dist-es/pagination/SearchQuickResponsesPaginator.js +25 -0
  36. package/dist-es/pagination/index.js +3 -0
  37. package/dist-es/protocols/Aws_restJson1.js +794 -16
  38. package/dist-types/Wisdom.d.ts +70 -0
  39. package/dist-types/WisdomClient.d.ts +12 -2
  40. package/dist-types/commands/CreateQuickResponseCommand.d.ts +149 -0
  41. package/dist-types/commands/DeleteImportJobCommand.d.ts +87 -0
  42. package/dist-types/commands/DeleteQuickResponseCommand.d.ts +81 -0
  43. package/dist-types/commands/GetImportJobCommand.d.ts +106 -0
  44. package/dist-types/commands/GetQuickResponseCommand.d.ts +118 -0
  45. package/dist-types/commands/ListImportJobsCommand.d.ts +104 -0
  46. package/dist-types/commands/ListQuickResponsesCommand.d.ts +106 -0
  47. package/dist-types/commands/QueryAssistantCommand.d.ts +5 -0
  48. package/dist-types/commands/SearchQuickResponsesCommand.d.ts +163 -0
  49. package/dist-types/commands/StartContentUploadCommand.d.ts +1 -0
  50. package/dist-types/commands/StartImportJobCommand.d.ts +135 -0
  51. package/dist-types/commands/UpdateQuickResponseCommand.d.ts +149 -0
  52. package/dist-types/commands/index.d.ts +10 -0
  53. package/dist-types/models/models_0.d.ts +1631 -167
  54. package/dist-types/pagination/ListImportJobsPaginator.d.ts +7 -0
  55. package/dist-types/pagination/ListQuickResponsesPaginator.d.ts +7 -0
  56. package/dist-types/pagination/SearchQuickResponsesPaginator.d.ts +7 -0
  57. package/dist-types/pagination/index.d.ts +3 -0
  58. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  59. package/dist-types/ts3.4/Wisdom.d.ts +170 -0
  60. package/dist-types/ts3.4/WisdomClient.d.ts +62 -2
  61. package/dist-types/ts3.4/commands/CreateQuickResponseCommand.d.ts +39 -0
  62. package/dist-types/ts3.4/commands/DeleteImportJobCommand.d.ts +38 -0
  63. package/dist-types/ts3.4/commands/DeleteQuickResponseCommand.d.ts +39 -0
  64. package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +35 -0
  65. package/dist-types/ts3.4/commands/GetQuickResponseCommand.d.ts +38 -0
  66. package/dist-types/ts3.4/commands/ListImportJobsCommand.d.ts +38 -0
  67. package/dist-types/ts3.4/commands/ListQuickResponsesCommand.d.ts +39 -0
  68. package/dist-types/ts3.4/commands/SearchQuickResponsesCommand.d.ts +42 -0
  69. package/dist-types/ts3.4/commands/StartImportJobCommand.d.ts +38 -0
  70. package/dist-types/ts3.4/commands/UpdateQuickResponseCommand.d.ts +39 -0
  71. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  72. package/dist-types/ts3.4/models/models_0.d.ts +397 -0
  73. package/dist-types/ts3.4/pagination/ListImportJobsPaginator.d.ts +11 -0
  74. package/dist-types/ts3.4/pagination/ListQuickResponsesPaginator.d.ts +11 -0
  75. package/dist-types/ts3.4/pagination/SearchQuickResponsesPaginator.d.ts +11 -0
  76. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  77. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
  78. package/package.json +3 -3
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteQuickResponseCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class DeleteQuickResponseCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteQuickResponseCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "WisdomClient";
29
+ const commandName = "DeleteQuickResponseCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "WisdomService",
38
+ operation: "DeleteQuickResponse",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_DeleteQuickResponseCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_DeleteQuickResponseCommand)(output, context);
49
+ }
50
+ }
51
+ exports.DeleteQuickResponseCommand = DeleteQuickResponseCommand;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetImportJobCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class GetImportJobCommand extends smithy_client_1.Command {
12
+ static getEndpointParameterInstructions() {
13
+ return {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetImportJobCommand.getEndpointParameterInstructions()));
27
+ const stack = clientStack.concat(this.middlewareStack);
28
+ const { logger } = configuration;
29
+ const clientName = "WisdomClient";
30
+ const commandName = "GetImportJobCommand";
31
+ const handlerExecutionContext = {
32
+ logger,
33
+ clientName,
34
+ commandName,
35
+ inputFilterSensitiveLog: (_) => _,
36
+ outputFilterSensitiveLog: models_0_1.GetImportJobResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "WisdomService",
39
+ operation: "GetImportJob",
40
+ },
41
+ };
42
+ const { requestHandler } = configuration;
43
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
+ }
45
+ serialize(input, context) {
46
+ return (0, Aws_restJson1_1.se_GetImportJobCommand)(input, context);
47
+ }
48
+ deserialize(output, context) {
49
+ return (0, Aws_restJson1_1.de_GetImportJobCommand)(output, context);
50
+ }
51
+ }
52
+ exports.GetImportJobCommand = GetImportJobCommand;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetQuickResponseCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class GetQuickResponseCommand extends smithy_client_1.Command {
12
+ static getEndpointParameterInstructions() {
13
+ return {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetQuickResponseCommand.getEndpointParameterInstructions()));
27
+ const stack = clientStack.concat(this.middlewareStack);
28
+ const { logger } = configuration;
29
+ const clientName = "WisdomClient";
30
+ const commandName = "GetQuickResponseCommand";
31
+ const handlerExecutionContext = {
32
+ logger,
33
+ clientName,
34
+ commandName,
35
+ inputFilterSensitiveLog: (_) => _,
36
+ outputFilterSensitiveLog: models_0_1.GetQuickResponseResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "WisdomService",
39
+ operation: "GetQuickResponse",
40
+ },
41
+ };
42
+ const { requestHandler } = configuration;
43
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
+ }
45
+ serialize(input, context) {
46
+ return (0, Aws_restJson1_1.se_GetQuickResponseCommand)(input, context);
47
+ }
48
+ deserialize(output, context) {
49
+ return (0, Aws_restJson1_1.de_GetQuickResponseCommand)(output, context);
50
+ }
51
+ }
52
+ exports.GetQuickResponseCommand = GetQuickResponseCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListImportJobsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListImportJobsCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListImportJobsCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "WisdomClient";
29
+ const commandName = "ListImportJobsCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "WisdomService",
38
+ operation: "ListImportJobs",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_ListImportJobsCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_ListImportJobsCommand)(output, context);
49
+ }
50
+ }
51
+ exports.ListImportJobsCommand = ListImportJobsCommand;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListQuickResponsesCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class ListQuickResponsesCommand extends smithy_client_1.Command {
12
+ static getEndpointParameterInstructions() {
13
+ return {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListQuickResponsesCommand.getEndpointParameterInstructions()));
27
+ const stack = clientStack.concat(this.middlewareStack);
28
+ const { logger } = configuration;
29
+ const clientName = "WisdomClient";
30
+ const commandName = "ListQuickResponsesCommand";
31
+ const handlerExecutionContext = {
32
+ logger,
33
+ clientName,
34
+ commandName,
35
+ inputFilterSensitiveLog: (_) => _,
36
+ outputFilterSensitiveLog: models_0_1.ListQuickResponsesResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "WisdomService",
39
+ operation: "ListQuickResponses",
40
+ },
41
+ };
42
+ const { requestHandler } = configuration;
43
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
+ }
45
+ serialize(input, context) {
46
+ return (0, Aws_restJson1_1.se_ListQuickResponsesCommand)(input, context);
47
+ }
48
+ deserialize(output, context) {
49
+ return (0, Aws_restJson1_1.de_ListQuickResponsesCommand)(output, context);
50
+ }
51
+ }
52
+ exports.ListQuickResponsesCommand = ListQuickResponsesCommand;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SearchQuickResponsesCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class SearchQuickResponsesCommand extends smithy_client_1.Command {
12
+ static getEndpointParameterInstructions() {
13
+ return {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SearchQuickResponsesCommand.getEndpointParameterInstructions()));
27
+ const stack = clientStack.concat(this.middlewareStack);
28
+ const { logger } = configuration;
29
+ const clientName = "WisdomClient";
30
+ const commandName = "SearchQuickResponsesCommand";
31
+ const handlerExecutionContext = {
32
+ logger,
33
+ clientName,
34
+ commandName,
35
+ inputFilterSensitiveLog: models_0_1.SearchQuickResponsesRequestFilterSensitiveLog,
36
+ outputFilterSensitiveLog: models_0_1.SearchQuickResponsesResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "WisdomService",
39
+ operation: "SearchQuickResponses",
40
+ },
41
+ };
42
+ const { requestHandler } = configuration;
43
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
+ }
45
+ serialize(input, context) {
46
+ return (0, Aws_restJson1_1.se_SearchQuickResponsesCommand)(input, context);
47
+ }
48
+ deserialize(output, context) {
49
+ return (0, Aws_restJson1_1.de_SearchQuickResponsesCommand)(output, context);
50
+ }
51
+ }
52
+ exports.SearchQuickResponsesCommand = SearchQuickResponsesCommand;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StartImportJobCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class StartImportJobCommand extends smithy_client_1.Command {
12
+ static getEndpointParameterInstructions() {
13
+ return {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartImportJobCommand.getEndpointParameterInstructions()));
27
+ const stack = clientStack.concat(this.middlewareStack);
28
+ const { logger } = configuration;
29
+ const clientName = "WisdomClient";
30
+ const commandName = "StartImportJobCommand";
31
+ const handlerExecutionContext = {
32
+ logger,
33
+ clientName,
34
+ commandName,
35
+ inputFilterSensitiveLog: (_) => _,
36
+ outputFilterSensitiveLog: models_0_1.StartImportJobResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "WisdomService",
39
+ operation: "StartImportJob",
40
+ },
41
+ };
42
+ const { requestHandler } = configuration;
43
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
+ }
45
+ serialize(input, context) {
46
+ return (0, Aws_restJson1_1.se_StartImportJobCommand)(input, context);
47
+ }
48
+ deserialize(output, context) {
49
+ return (0, Aws_restJson1_1.de_StartImportJobCommand)(output, context);
50
+ }
51
+ }
52
+ exports.StartImportJobCommand = StartImportJobCommand;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateQuickResponseCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class UpdateQuickResponseCommand extends smithy_client_1.Command {
12
+ static getEndpointParameterInstructions() {
13
+ return {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateQuickResponseCommand.getEndpointParameterInstructions()));
27
+ const stack = clientStack.concat(this.middlewareStack);
28
+ const { logger } = configuration;
29
+ const clientName = "WisdomClient";
30
+ const commandName = "UpdateQuickResponseCommand";
31
+ const handlerExecutionContext = {
32
+ logger,
33
+ clientName,
34
+ commandName,
35
+ inputFilterSensitiveLog: models_0_1.UpdateQuickResponseRequestFilterSensitiveLog,
36
+ outputFilterSensitiveLog: models_0_1.UpdateQuickResponseResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "WisdomService",
39
+ operation: "UpdateQuickResponse",
40
+ },
41
+ };
42
+ const { requestHandler } = configuration;
43
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
+ }
45
+ serialize(input, context) {
46
+ return (0, Aws_restJson1_1.se_UpdateQuickResponseCommand)(input, context);
47
+ }
48
+ deserialize(output, context) {
49
+ return (0, Aws_restJson1_1.de_UpdateQuickResponseCommand)(output, context);
50
+ }
51
+ }
52
+ exports.UpdateQuickResponseCommand = UpdateQuickResponseCommand;
@@ -5,30 +5,40 @@ tslib_1.__exportStar(require("./CreateAssistantAssociationCommand"), exports);
5
5
  tslib_1.__exportStar(require("./CreateAssistantCommand"), exports);
6
6
  tslib_1.__exportStar(require("./CreateContentCommand"), exports);
7
7
  tslib_1.__exportStar(require("./CreateKnowledgeBaseCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateQuickResponseCommand"), exports);
8
9
  tslib_1.__exportStar(require("./CreateSessionCommand"), exports);
9
10
  tslib_1.__exportStar(require("./DeleteAssistantAssociationCommand"), exports);
10
11
  tslib_1.__exportStar(require("./DeleteAssistantCommand"), exports);
11
12
  tslib_1.__exportStar(require("./DeleteContentCommand"), exports);
13
+ tslib_1.__exportStar(require("./DeleteImportJobCommand"), exports);
12
14
  tslib_1.__exportStar(require("./DeleteKnowledgeBaseCommand"), exports);
15
+ tslib_1.__exportStar(require("./DeleteQuickResponseCommand"), exports);
13
16
  tslib_1.__exportStar(require("./GetAssistantAssociationCommand"), exports);
14
17
  tslib_1.__exportStar(require("./GetAssistantCommand"), exports);
15
18
  tslib_1.__exportStar(require("./GetContentCommand"), exports);
16
19
  tslib_1.__exportStar(require("./GetContentSummaryCommand"), exports);
20
+ tslib_1.__exportStar(require("./GetImportJobCommand"), exports);
17
21
  tslib_1.__exportStar(require("./GetKnowledgeBaseCommand"), exports);
22
+ tslib_1.__exportStar(require("./GetQuickResponseCommand"), exports);
18
23
  tslib_1.__exportStar(require("./GetRecommendationsCommand"), exports);
19
24
  tslib_1.__exportStar(require("./GetSessionCommand"), exports);
20
25
  tslib_1.__exportStar(require("./ListAssistantAssociationsCommand"), exports);
21
26
  tslib_1.__exportStar(require("./ListAssistantsCommand"), exports);
22
27
  tslib_1.__exportStar(require("./ListContentsCommand"), exports);
28
+ tslib_1.__exportStar(require("./ListImportJobsCommand"), exports);
23
29
  tslib_1.__exportStar(require("./ListKnowledgeBasesCommand"), exports);
30
+ tslib_1.__exportStar(require("./ListQuickResponsesCommand"), exports);
24
31
  tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
25
32
  tslib_1.__exportStar(require("./NotifyRecommendationsReceivedCommand"), exports);
26
33
  tslib_1.__exportStar(require("./QueryAssistantCommand"), exports);
27
34
  tslib_1.__exportStar(require("./RemoveKnowledgeBaseTemplateUriCommand"), exports);
28
35
  tslib_1.__exportStar(require("./SearchContentCommand"), exports);
36
+ tslib_1.__exportStar(require("./SearchQuickResponsesCommand"), exports);
29
37
  tslib_1.__exportStar(require("./SearchSessionsCommand"), exports);
30
38
  tslib_1.__exportStar(require("./StartContentUploadCommand"), exports);
39
+ tslib_1.__exportStar(require("./StartImportJobCommand"), exports);
31
40
  tslib_1.__exportStar(require("./TagResourceCommand"), exports);
32
41
  tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
33
42
  tslib_1.__exportStar(require("./UpdateContentCommand"), exports);
34
43
  tslib_1.__exportStar(require("./UpdateKnowledgeBaseTemplateUriCommand"), exports);
44
+ tslib_1.__exportStar(require("./UpdateQuickResponseCommand"), exports);