@aws-sdk/client-kendra 3.183.0 → 3.185.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 (86) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/Kendra.js +249 -242
  4. package/dist-es/KendraClient.js +28 -22
  5. package/dist-es/commands/AssociateEntitiesToExperienceCommand.js +28 -21
  6. package/dist-es/commands/AssociatePersonasToEntitiesCommand.js +28 -21
  7. package/dist-es/commands/BatchDeleteDocumentCommand.js +28 -21
  8. package/dist-es/commands/BatchGetDocumentStatusCommand.js +28 -21
  9. package/dist-es/commands/BatchPutDocumentCommand.js +28 -21
  10. package/dist-es/commands/ClearQuerySuggestionsCommand.js +29 -22
  11. package/dist-es/commands/CreateAccessControlConfigurationCommand.js +28 -21
  12. package/dist-es/commands/CreateDataSourceCommand.js +28 -21
  13. package/dist-es/commands/CreateExperienceCommand.js +28 -21
  14. package/dist-es/commands/CreateFaqCommand.js +28 -21
  15. package/dist-es/commands/CreateIndexCommand.js +28 -21
  16. package/dist-es/commands/CreateQuerySuggestionsBlockListCommand.js +28 -21
  17. package/dist-es/commands/CreateThesaurusCommand.js +28 -21
  18. package/dist-es/commands/DeleteAccessControlConfigurationCommand.js +28 -21
  19. package/dist-es/commands/DeleteDataSourceCommand.js +29 -22
  20. package/dist-es/commands/DeleteExperienceCommand.js +28 -21
  21. package/dist-es/commands/DeleteFaqCommand.js +29 -22
  22. package/dist-es/commands/DeleteIndexCommand.js +29 -22
  23. package/dist-es/commands/DeletePrincipalMappingCommand.js +29 -22
  24. package/dist-es/commands/DeleteQuerySuggestionsBlockListCommand.js +29 -22
  25. package/dist-es/commands/DeleteThesaurusCommand.js +29 -22
  26. package/dist-es/commands/DescribeAccessControlConfigurationCommand.js +28 -21
  27. package/dist-es/commands/DescribeDataSourceCommand.js +28 -21
  28. package/dist-es/commands/DescribeExperienceCommand.js +28 -21
  29. package/dist-es/commands/DescribeFaqCommand.js +28 -21
  30. package/dist-es/commands/DescribeIndexCommand.js +28 -21
  31. package/dist-es/commands/DescribePrincipalMappingCommand.js +28 -21
  32. package/dist-es/commands/DescribeQuerySuggestionsBlockListCommand.js +28 -21
  33. package/dist-es/commands/DescribeQuerySuggestionsConfigCommand.js +28 -21
  34. package/dist-es/commands/DescribeThesaurusCommand.js +28 -21
  35. package/dist-es/commands/DisassociateEntitiesFromExperienceCommand.js +28 -21
  36. package/dist-es/commands/DisassociatePersonasFromEntitiesCommand.js +28 -21
  37. package/dist-es/commands/GetQuerySuggestionsCommand.js +28 -21
  38. package/dist-es/commands/GetSnapshotsCommand.js +28 -21
  39. package/dist-es/commands/ListAccessControlConfigurationsCommand.js +28 -21
  40. package/dist-es/commands/ListDataSourceSyncJobsCommand.js +28 -21
  41. package/dist-es/commands/ListDataSourcesCommand.js +28 -21
  42. package/dist-es/commands/ListEntityPersonasCommand.js +28 -21
  43. package/dist-es/commands/ListExperienceEntitiesCommand.js +28 -21
  44. package/dist-es/commands/ListExperiencesCommand.js +28 -21
  45. package/dist-es/commands/ListFaqsCommand.js +28 -21
  46. package/dist-es/commands/ListGroupsOlderThanOrderingIdCommand.js +28 -21
  47. package/dist-es/commands/ListIndicesCommand.js +28 -21
  48. package/dist-es/commands/ListQuerySuggestionsBlockListsCommand.js +28 -21
  49. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  50. package/dist-es/commands/ListThesauriCommand.js +28 -21
  51. package/dist-es/commands/PutPrincipalMappingCommand.js +29 -22
  52. package/dist-es/commands/QueryCommand.js +28 -21
  53. package/dist-es/commands/StartDataSourceSyncJobCommand.js +28 -21
  54. package/dist-es/commands/StopDataSourceSyncJobCommand.js +29 -22
  55. package/dist-es/commands/SubmitFeedbackCommand.js +29 -22
  56. package/dist-es/commands/TagResourceCommand.js +28 -21
  57. package/dist-es/commands/UntagResourceCommand.js +28 -21
  58. package/dist-es/commands/UpdateAccessControlConfigurationCommand.js +28 -21
  59. package/dist-es/commands/UpdateDataSourceCommand.js +29 -22
  60. package/dist-es/commands/UpdateExperienceCommand.js +29 -22
  61. package/dist-es/commands/UpdateIndexCommand.js +29 -22
  62. package/dist-es/commands/UpdateQuerySuggestionsBlockListCommand.js +29 -22
  63. package/dist-es/commands/UpdateQuerySuggestionsConfigCommand.js +29 -22
  64. package/dist-es/commands/UpdateThesaurusCommand.js +29 -22
  65. package/dist-es/endpoints.js +8 -8
  66. package/dist-es/models/KendraServiceException.js +10 -5
  67. package/dist-es/models/models_0.js +371 -844
  68. package/dist-es/models/models_1.js +5 -12
  69. package/dist-es/pagination/GetSnapshotsPaginator.js +68 -25
  70. package/dist-es/pagination/ListAccessControlConfigurationsPaginator.js +68 -25
  71. package/dist-es/pagination/ListDataSourceSyncJobsPaginator.js +68 -25
  72. package/dist-es/pagination/ListDataSourcesPaginator.js +68 -25
  73. package/dist-es/pagination/ListEntityPersonasPaginator.js +68 -25
  74. package/dist-es/pagination/ListExperienceEntitiesPaginator.js +67 -24
  75. package/dist-es/pagination/ListExperiencesPaginator.js +68 -25
  76. package/dist-es/pagination/ListFaqsPaginator.js +68 -25
  77. package/dist-es/pagination/ListGroupsOlderThanOrderingIdPaginator.js +68 -25
  78. package/dist-es/pagination/ListIndicesPaginator.js +68 -25
  79. package/dist-es/pagination/ListQuerySuggestionsBlockListsPaginator.js +68 -25
  80. package/dist-es/pagination/ListThesauriPaginator.js +68 -25
  81. package/dist-es/protocols/Aws_json1_1.js +6541 -5784
  82. package/dist-es/runtimeConfig.browser.js +12 -26
  83. package/dist-es/runtimeConfig.js +12 -30
  84. package/dist-es/runtimeConfig.native.js +5 -8
  85. package/dist-es/runtimeConfig.shared.js +11 -8
  86. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteQuerySuggestionsBlockListRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteQuerySuggestionsBlockListCommand, serializeAws_json1_1DeleteQuerySuggestionsBlockListCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteQuerySuggestionsBlockListCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteQuerySuggestionsBlockListCommand = (function (_super) {
7
+ __extends(DeleteQuerySuggestionsBlockListCommand, _super);
8
+ function DeleteQuerySuggestionsBlockListCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteQuerySuggestionsBlockListCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "KendraClient";
15
- const commandName = "DeleteQuerySuggestionsBlockListCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "KendraClient";
18
+ var commandName = "DeleteQuerySuggestionsBlockListCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteQuerySuggestionsBlockListRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteQuerySuggestionsBlockListCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteQuerySuggestionsBlockListCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteQuerySuggestionsBlockListCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteQuerySuggestionsBlockListCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteQuerySuggestionsBlockListCommand;
38
+ }($Command));
39
+ export { DeleteQuerySuggestionsBlockListCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteThesaurusRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteThesaurusCommand, serializeAws_json1_1DeleteThesaurusCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteThesaurusCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteThesaurusCommand = (function (_super) {
7
+ __extends(DeleteThesaurusCommand, _super);
8
+ function DeleteThesaurusCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteThesaurusCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "KendraClient";
15
- const commandName = "DeleteThesaurusCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "KendraClient";
18
+ var commandName = "DeleteThesaurusCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteThesaurusRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteThesaurusCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteThesaurusCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteThesaurusCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteThesaurusCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteThesaurusCommand;
38
+ }($Command));
39
+ export { DeleteThesaurusCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeAccessControlConfigurationRequestFilterSensitiveLog, DescribeAccessControlConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeAccessControlConfigurationCommand, serializeAws_json1_1DescribeAccessControlConfigurationCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeAccessControlConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeAccessControlConfigurationCommand = (function (_super) {
7
+ __extends(DescribeAccessControlConfigurationCommand, _super);
8
+ function DescribeAccessControlConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeAccessControlConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "KendraClient";
15
- const commandName = "DescribeAccessControlConfigurationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "KendraClient";
18
+ var commandName = "DescribeAccessControlConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeAccessControlConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeAccessControlConfigurationResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeAccessControlConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeAccessControlConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeAccessControlConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeAccessControlConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeAccessControlConfigurationCommand;
38
+ }($Command));
39
+ export { DescribeAccessControlConfigurationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeDataSourceRequestFilterSensitiveLog, DescribeDataSourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeDataSourceCommand, serializeAws_json1_1DescribeDataSourceCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeDataSourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeDataSourceCommand = (function (_super) {
7
+ __extends(DescribeDataSourceCommand, _super);
8
+ function DescribeDataSourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeDataSourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "KendraClient";
15
- const commandName = "DescribeDataSourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "KendraClient";
18
+ var commandName = "DescribeDataSourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeDataSourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeDataSourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeDataSourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeDataSourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeDataSourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeDataSourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeDataSourceCommand;
38
+ }($Command));
39
+ export { DescribeDataSourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeExperienceRequestFilterSensitiveLog, DescribeExperienceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeExperienceCommand, serializeAws_json1_1DescribeExperienceCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeExperienceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeExperienceCommand = (function (_super) {
7
+ __extends(DescribeExperienceCommand, _super);
8
+ function DescribeExperienceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeExperienceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "KendraClient";
15
- const commandName = "DescribeExperienceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "KendraClient";
18
+ var commandName = "DescribeExperienceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeExperienceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeExperienceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeExperienceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeExperienceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeExperienceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeExperienceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeExperienceCommand;
38
+ }($Command));
39
+ export { DescribeExperienceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeFaqRequestFilterSensitiveLog, DescribeFaqResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeFaqCommand, serializeAws_json1_1DescribeFaqCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeFaqCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeFaqCommand = (function (_super) {
7
+ __extends(DescribeFaqCommand, _super);
8
+ function DescribeFaqCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeFaqCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "KendraClient";
15
- const commandName = "DescribeFaqCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "KendraClient";
18
+ var commandName = "DescribeFaqCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeFaqRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeFaqResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeFaqCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeFaqCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeFaqCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeFaqCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeFaqCommand;
38
+ }($Command));
39
+ export { DescribeFaqCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeIndexRequestFilterSensitiveLog, DescribeIndexResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeIndexCommand, serializeAws_json1_1DescribeIndexCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeIndexCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeIndexCommand = (function (_super) {
7
+ __extends(DescribeIndexCommand, _super);
8
+ function DescribeIndexCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeIndexCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "KendraClient";
15
- const commandName = "DescribeIndexCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "KendraClient";
18
+ var commandName = "DescribeIndexCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeIndexRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeIndexResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeIndexCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeIndexCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeIndexCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeIndexCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeIndexCommand;
38
+ }($Command));
39
+ export { DescribeIndexCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribePrincipalMappingRequestFilterSensitiveLog, DescribePrincipalMappingResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribePrincipalMappingCommand, serializeAws_json1_1DescribePrincipalMappingCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribePrincipalMappingCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribePrincipalMappingCommand = (function (_super) {
7
+ __extends(DescribePrincipalMappingCommand, _super);
8
+ function DescribePrincipalMappingCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribePrincipalMappingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "KendraClient";
15
- const commandName = "DescribePrincipalMappingCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "KendraClient";
18
+ var commandName = "DescribePrincipalMappingCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribePrincipalMappingRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribePrincipalMappingResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribePrincipalMappingCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribePrincipalMappingCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribePrincipalMappingCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribePrincipalMappingCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribePrincipalMappingCommand;
38
+ }($Command));
39
+ export { DescribePrincipalMappingCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeQuerySuggestionsBlockListRequestFilterSensitiveLog, DescribeQuerySuggestionsBlockListResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeQuerySuggestionsBlockListCommand, serializeAws_json1_1DescribeQuerySuggestionsBlockListCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeQuerySuggestionsBlockListCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeQuerySuggestionsBlockListCommand = (function (_super) {
7
+ __extends(DescribeQuerySuggestionsBlockListCommand, _super);
8
+ function DescribeQuerySuggestionsBlockListCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeQuerySuggestionsBlockListCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "KendraClient";
15
- const commandName = "DescribeQuerySuggestionsBlockListCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "KendraClient";
18
+ var commandName = "DescribeQuerySuggestionsBlockListCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeQuerySuggestionsBlockListRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeQuerySuggestionsBlockListResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeQuerySuggestionsBlockListCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeQuerySuggestionsBlockListCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeQuerySuggestionsBlockListCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeQuerySuggestionsBlockListCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeQuerySuggestionsBlockListCommand;
38
+ }($Command));
39
+ export { DescribeQuerySuggestionsBlockListCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeQuerySuggestionsConfigRequestFilterSensitiveLog, DescribeQuerySuggestionsConfigResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeQuerySuggestionsConfigCommand, serializeAws_json1_1DescribeQuerySuggestionsConfigCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeQuerySuggestionsConfigCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeQuerySuggestionsConfigCommand = (function (_super) {
7
+ __extends(DescribeQuerySuggestionsConfigCommand, _super);
8
+ function DescribeQuerySuggestionsConfigCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeQuerySuggestionsConfigCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "KendraClient";
15
- const commandName = "DescribeQuerySuggestionsConfigCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "KendraClient";
18
+ var commandName = "DescribeQuerySuggestionsConfigCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeQuerySuggestionsConfigRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeQuerySuggestionsConfigResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeQuerySuggestionsConfigCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeQuerySuggestionsConfigCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeQuerySuggestionsConfigCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeQuerySuggestionsConfigCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeQuerySuggestionsConfigCommand;
38
+ }($Command));
39
+ export { DescribeQuerySuggestionsConfigCommand };