@aws-sdk/client-kendra 3.180.0 → 3.183.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 +20 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +66 -60
  3. package/dist-es/Kendra.js +242 -249
  4. package/dist-es/KendraClient.js +22 -28
  5. package/dist-es/commands/AssociateEntitiesToExperienceCommand.js +21 -28
  6. package/dist-es/commands/AssociatePersonasToEntitiesCommand.js +21 -28
  7. package/dist-es/commands/BatchDeleteDocumentCommand.js +21 -28
  8. package/dist-es/commands/BatchGetDocumentStatusCommand.js +21 -28
  9. package/dist-es/commands/BatchPutDocumentCommand.js +21 -28
  10. package/dist-es/commands/ClearQuerySuggestionsCommand.js +22 -29
  11. package/dist-es/commands/CreateAccessControlConfigurationCommand.js +21 -28
  12. package/dist-es/commands/CreateDataSourceCommand.js +21 -28
  13. package/dist-es/commands/CreateExperienceCommand.js +21 -28
  14. package/dist-es/commands/CreateFaqCommand.js +21 -28
  15. package/dist-es/commands/CreateIndexCommand.js +21 -28
  16. package/dist-es/commands/CreateQuerySuggestionsBlockListCommand.js +21 -28
  17. package/dist-es/commands/CreateThesaurusCommand.js +21 -28
  18. package/dist-es/commands/DeleteAccessControlConfigurationCommand.js +21 -28
  19. package/dist-es/commands/DeleteDataSourceCommand.js +22 -29
  20. package/dist-es/commands/DeleteExperienceCommand.js +21 -28
  21. package/dist-es/commands/DeleteFaqCommand.js +22 -29
  22. package/dist-es/commands/DeleteIndexCommand.js +22 -29
  23. package/dist-es/commands/DeletePrincipalMappingCommand.js +22 -29
  24. package/dist-es/commands/DeleteQuerySuggestionsBlockListCommand.js +22 -29
  25. package/dist-es/commands/DeleteThesaurusCommand.js +22 -29
  26. package/dist-es/commands/DescribeAccessControlConfigurationCommand.js +21 -28
  27. package/dist-es/commands/DescribeDataSourceCommand.js +21 -28
  28. package/dist-es/commands/DescribeExperienceCommand.js +21 -28
  29. package/dist-es/commands/DescribeFaqCommand.js +21 -28
  30. package/dist-es/commands/DescribeIndexCommand.js +21 -28
  31. package/dist-es/commands/DescribePrincipalMappingCommand.js +21 -28
  32. package/dist-es/commands/DescribeQuerySuggestionsBlockListCommand.js +21 -28
  33. package/dist-es/commands/DescribeQuerySuggestionsConfigCommand.js +21 -28
  34. package/dist-es/commands/DescribeThesaurusCommand.js +21 -28
  35. package/dist-es/commands/DisassociateEntitiesFromExperienceCommand.js +21 -28
  36. package/dist-es/commands/DisassociatePersonasFromEntitiesCommand.js +21 -28
  37. package/dist-es/commands/GetQuerySuggestionsCommand.js +21 -28
  38. package/dist-es/commands/GetSnapshotsCommand.js +21 -28
  39. package/dist-es/commands/ListAccessControlConfigurationsCommand.js +21 -28
  40. package/dist-es/commands/ListDataSourceSyncJobsCommand.js +21 -28
  41. package/dist-es/commands/ListDataSourcesCommand.js +21 -28
  42. package/dist-es/commands/ListEntityPersonasCommand.js +21 -28
  43. package/dist-es/commands/ListExperienceEntitiesCommand.js +21 -28
  44. package/dist-es/commands/ListExperiencesCommand.js +21 -28
  45. package/dist-es/commands/ListFaqsCommand.js +21 -28
  46. package/dist-es/commands/ListGroupsOlderThanOrderingIdCommand.js +21 -28
  47. package/dist-es/commands/ListIndicesCommand.js +21 -28
  48. package/dist-es/commands/ListQuerySuggestionsBlockListsCommand.js +21 -28
  49. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  50. package/dist-es/commands/ListThesauriCommand.js +21 -28
  51. package/dist-es/commands/PutPrincipalMappingCommand.js +22 -29
  52. package/dist-es/commands/QueryCommand.js +21 -28
  53. package/dist-es/commands/StartDataSourceSyncJobCommand.js +21 -28
  54. package/dist-es/commands/StopDataSourceSyncJobCommand.js +22 -29
  55. package/dist-es/commands/SubmitFeedbackCommand.js +22 -29
  56. package/dist-es/commands/TagResourceCommand.js +21 -28
  57. package/dist-es/commands/UntagResourceCommand.js +21 -28
  58. package/dist-es/commands/UpdateAccessControlConfigurationCommand.js +21 -28
  59. package/dist-es/commands/UpdateDataSourceCommand.js +22 -29
  60. package/dist-es/commands/UpdateExperienceCommand.js +22 -29
  61. package/dist-es/commands/UpdateIndexCommand.js +22 -29
  62. package/dist-es/commands/UpdateQuerySuggestionsBlockListCommand.js +22 -29
  63. package/dist-es/commands/UpdateQuerySuggestionsConfigCommand.js +22 -29
  64. package/dist-es/commands/UpdateThesaurusCommand.js +22 -29
  65. package/dist-es/endpoints.js +8 -8
  66. package/dist-es/models/KendraServiceException.js +5 -10
  67. package/dist-es/models/models_0.js +844 -371
  68. package/dist-es/models/models_1.js +12 -5
  69. package/dist-es/pagination/GetSnapshotsPaginator.js +25 -68
  70. package/dist-es/pagination/ListAccessControlConfigurationsPaginator.js +25 -68
  71. package/dist-es/pagination/ListDataSourceSyncJobsPaginator.js +25 -68
  72. package/dist-es/pagination/ListDataSourcesPaginator.js +25 -68
  73. package/dist-es/pagination/ListEntityPersonasPaginator.js +25 -68
  74. package/dist-es/pagination/ListExperienceEntitiesPaginator.js +24 -67
  75. package/dist-es/pagination/ListExperiencesPaginator.js +25 -68
  76. package/dist-es/pagination/ListFaqsPaginator.js +25 -68
  77. package/dist-es/pagination/ListGroupsOlderThanOrderingIdPaginator.js +25 -68
  78. package/dist-es/pagination/ListIndicesPaginator.js +25 -68
  79. package/dist-es/pagination/ListQuerySuggestionsBlockListsPaginator.js +25 -68
  80. package/dist-es/pagination/ListThesauriPaginator.js +25 -68
  81. package/dist-es/protocols/Aws_json1_1.js +5783 -6527
  82. package/dist-es/runtimeConfig.browser.js +26 -12
  83. package/dist-es/runtimeConfig.js +30 -12
  84. package/dist-es/runtimeConfig.native.js +8 -5
  85. package/dist-es/runtimeConfig.shared.js +8 -11
  86. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeThesaurusRequestFilterSensitiveLog, DescribeThesaurusResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeThesaurusCommand, serializeAws_json1_1DescribeThesaurusCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeThesaurusCommand = (function (_super) {
7
- __extends(DescribeThesaurusCommand, _super);
8
- function DescribeThesaurusCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeThesaurusCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeThesaurusCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "KendraClient";
18
- var commandName = "DescribeThesaurusCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "KendraClient";
15
+ const commandName = "DescribeThesaurusCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeThesaurusRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeThesaurusResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeThesaurusCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DescribeThesaurusCommand(input, context);
33
- };
34
- DescribeThesaurusCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeThesaurusCommand(output, context);
36
- };
37
- return DescribeThesaurusCommand;
38
- }($Command));
39
- export { DescribeThesaurusCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DisassociateEntitiesFromExperienceRequestFilterSensitiveLog, DisassociateEntitiesFromExperienceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DisassociateEntitiesFromExperienceCommand, serializeAws_json1_1DisassociateEntitiesFromExperienceCommand, } from "../protocols/Aws_json1_1";
6
- var DisassociateEntitiesFromExperienceCommand = (function (_super) {
7
- __extends(DisassociateEntitiesFromExperienceCommand, _super);
8
- function DisassociateEntitiesFromExperienceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisassociateEntitiesFromExperienceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisassociateEntitiesFromExperienceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "KendraClient";
18
- var commandName = "DisassociateEntitiesFromExperienceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "KendraClient";
15
+ const commandName = "DisassociateEntitiesFromExperienceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisassociateEntitiesFromExperienceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DisassociateEntitiesFromExperienceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DisassociateEntitiesFromExperienceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DisassociateEntitiesFromExperienceCommand(input, context);
33
- };
34
- DisassociateEntitiesFromExperienceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DisassociateEntitiesFromExperienceCommand(output, context);
36
- };
37
- return DisassociateEntitiesFromExperienceCommand;
38
- }($Command));
39
- export { DisassociateEntitiesFromExperienceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DisassociatePersonasFromEntitiesRequestFilterSensitiveLog, DisassociatePersonasFromEntitiesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DisassociatePersonasFromEntitiesCommand, serializeAws_json1_1DisassociatePersonasFromEntitiesCommand, } from "../protocols/Aws_json1_1";
6
- var DisassociatePersonasFromEntitiesCommand = (function (_super) {
7
- __extends(DisassociatePersonasFromEntitiesCommand, _super);
8
- function DisassociatePersonasFromEntitiesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisassociatePersonasFromEntitiesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisassociatePersonasFromEntitiesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "KendraClient";
18
- var commandName = "DisassociatePersonasFromEntitiesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "KendraClient";
15
+ const commandName = "DisassociatePersonasFromEntitiesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisassociatePersonasFromEntitiesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DisassociatePersonasFromEntitiesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DisassociatePersonasFromEntitiesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DisassociatePersonasFromEntitiesCommand(input, context);
33
- };
34
- DisassociatePersonasFromEntitiesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DisassociatePersonasFromEntitiesCommand(output, context);
36
- };
37
- return DisassociatePersonasFromEntitiesCommand;
38
- }($Command));
39
- export { DisassociatePersonasFromEntitiesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetQuerySuggestionsRequestFilterSensitiveLog, GetQuerySuggestionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetQuerySuggestionsCommand, serializeAws_json1_1GetQuerySuggestionsCommand, } from "../protocols/Aws_json1_1";
6
- var GetQuerySuggestionsCommand = (function (_super) {
7
- __extends(GetQuerySuggestionsCommand, _super);
8
- function GetQuerySuggestionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetQuerySuggestionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetQuerySuggestionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "KendraClient";
18
- var commandName = "GetQuerySuggestionsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "KendraClient";
15
+ const commandName = "GetQuerySuggestionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetQuerySuggestionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetQuerySuggestionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetQuerySuggestionsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1GetQuerySuggestionsCommand(input, context);
33
- };
34
- GetQuerySuggestionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetQuerySuggestionsCommand(output, context);
36
- };
37
- return GetQuerySuggestionsCommand;
38
- }($Command));
39
- export { GetQuerySuggestionsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetSnapshotsRequestFilterSensitiveLog, GetSnapshotsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetSnapshotsCommand, serializeAws_json1_1GetSnapshotsCommand, } from "../protocols/Aws_json1_1";
6
- var GetSnapshotsCommand = (function (_super) {
7
- __extends(GetSnapshotsCommand, _super);
8
- function GetSnapshotsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetSnapshotsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetSnapshotsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "KendraClient";
18
- var commandName = "GetSnapshotsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "KendraClient";
15
+ const commandName = "GetSnapshotsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetSnapshotsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetSnapshotsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetSnapshotsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1GetSnapshotsCommand(input, context);
33
- };
34
- GetSnapshotsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetSnapshotsCommand(output, context);
36
- };
37
- return GetSnapshotsCommand;
38
- }($Command));
39
- export { GetSnapshotsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListAccessControlConfigurationsRequestFilterSensitiveLog, ListAccessControlConfigurationsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListAccessControlConfigurationsCommand, serializeAws_json1_1ListAccessControlConfigurationsCommand, } from "../protocols/Aws_json1_1";
6
- var ListAccessControlConfigurationsCommand = (function (_super) {
7
- __extends(ListAccessControlConfigurationsCommand, _super);
8
- function ListAccessControlConfigurationsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListAccessControlConfigurationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListAccessControlConfigurationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "KendraClient";
18
- var commandName = "ListAccessControlConfigurationsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "KendraClient";
15
+ const commandName = "ListAccessControlConfigurationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListAccessControlConfigurationsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListAccessControlConfigurationsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListAccessControlConfigurationsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListAccessControlConfigurationsCommand(input, context);
33
- };
34
- ListAccessControlConfigurationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListAccessControlConfigurationsCommand(output, context);
36
- };
37
- return ListAccessControlConfigurationsCommand;
38
- }($Command));
39
- export { ListAccessControlConfigurationsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListDataSourceSyncJobsRequestFilterSensitiveLog, ListDataSourceSyncJobsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListDataSourceSyncJobsCommand, serializeAws_json1_1ListDataSourceSyncJobsCommand, } from "../protocols/Aws_json1_1";
6
- var ListDataSourceSyncJobsCommand = (function (_super) {
7
- __extends(ListDataSourceSyncJobsCommand, _super);
8
- function ListDataSourceSyncJobsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListDataSourceSyncJobsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListDataSourceSyncJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "KendraClient";
18
- var commandName = "ListDataSourceSyncJobsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "KendraClient";
15
+ const commandName = "ListDataSourceSyncJobsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListDataSourceSyncJobsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListDataSourceSyncJobsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListDataSourceSyncJobsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListDataSourceSyncJobsCommand(input, context);
33
- };
34
- ListDataSourceSyncJobsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListDataSourceSyncJobsCommand(output, context);
36
- };
37
- return ListDataSourceSyncJobsCommand;
38
- }($Command));
39
- export { ListDataSourceSyncJobsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListDataSourcesRequestFilterSensitiveLog, ListDataSourcesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListDataSourcesCommand, serializeAws_json1_1ListDataSourcesCommand, } from "../protocols/Aws_json1_1";
6
- var ListDataSourcesCommand = (function (_super) {
7
- __extends(ListDataSourcesCommand, _super);
8
- function ListDataSourcesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListDataSourcesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListDataSourcesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "KendraClient";
18
- var commandName = "ListDataSourcesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "KendraClient";
15
+ const commandName = "ListDataSourcesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListDataSourcesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListDataSourcesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListDataSourcesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListDataSourcesCommand(input, context);
33
- };
34
- ListDataSourcesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListDataSourcesCommand(output, context);
36
- };
37
- return ListDataSourcesCommand;
38
- }($Command));
39
- export { ListDataSourcesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListEntityPersonasRequestFilterSensitiveLog, ListEntityPersonasResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListEntityPersonasCommand, serializeAws_json1_1ListEntityPersonasCommand, } from "../protocols/Aws_json1_1";
6
- var ListEntityPersonasCommand = (function (_super) {
7
- __extends(ListEntityPersonasCommand, _super);
8
- function ListEntityPersonasCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListEntityPersonasCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListEntityPersonasCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "KendraClient";
18
- var commandName = "ListEntityPersonasCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "KendraClient";
15
+ const commandName = "ListEntityPersonasCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListEntityPersonasRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListEntityPersonasResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListEntityPersonasCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListEntityPersonasCommand(input, context);
33
- };
34
- ListEntityPersonasCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListEntityPersonasCommand(output, context);
36
- };
37
- return ListEntityPersonasCommand;
38
- }($Command));
39
- export { ListEntityPersonasCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListExperienceEntitiesRequestFilterSensitiveLog, ListExperienceEntitiesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListExperienceEntitiesCommand, serializeAws_json1_1ListExperienceEntitiesCommand, } from "../protocols/Aws_json1_1";
6
- var ListExperienceEntitiesCommand = (function (_super) {
7
- __extends(ListExperienceEntitiesCommand, _super);
8
- function ListExperienceEntitiesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListExperienceEntitiesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListExperienceEntitiesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "KendraClient";
18
- var commandName = "ListExperienceEntitiesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "KendraClient";
15
+ const commandName = "ListExperienceEntitiesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListExperienceEntitiesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListExperienceEntitiesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListExperienceEntitiesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListExperienceEntitiesCommand(input, context);
33
- };
34
- ListExperienceEntitiesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListExperienceEntitiesCommand(output, context);
36
- };
37
- return ListExperienceEntitiesCommand;
38
- }($Command));
39
- export { ListExperienceEntitiesCommand };
31
+ }
32
+ }