@aws-sdk/client-kendra 3.43.0 → 3.47.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 (112) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +7 -7
  3. package/dist-cjs/Kendra.js +180 -0
  4. package/dist-cjs/commands/AssociateEntitiesToExperienceCommand.js +36 -0
  5. package/dist-cjs/commands/AssociatePersonasToEntitiesCommand.js +36 -0
  6. package/dist-cjs/commands/CreateExperienceCommand.js +36 -0
  7. package/dist-cjs/commands/DeleteExperienceCommand.js +36 -0
  8. package/dist-cjs/commands/DescribeExperienceCommand.js +36 -0
  9. package/dist-cjs/commands/DisassociateEntitiesFromExperienceCommand.js +36 -0
  10. package/dist-cjs/commands/DisassociatePersonasFromEntitiesCommand.js +36 -0
  11. package/dist-cjs/commands/GetSnapshotsCommand.js +36 -0
  12. package/dist-cjs/commands/ListEntityPersonasCommand.js +36 -0
  13. package/dist-cjs/commands/ListExperienceEntitiesCommand.js +36 -0
  14. package/dist-cjs/commands/ListExperiencesCommand.js +36 -0
  15. package/dist-cjs/commands/UpdateExperienceCommand.js +36 -0
  16. package/dist-cjs/commands/index.js +12 -0
  17. package/dist-cjs/endpoints.js +1 -16
  18. package/dist-cjs/models/models_0.js +306 -69
  19. package/dist-cjs/pagination/ListEntityPersonasPaginator.js +35 -0
  20. package/dist-cjs/pagination/ListExperienceEntitiesPaginator.js +34 -0
  21. package/dist-cjs/pagination/ListExperiencesPaginator.js +35 -0
  22. package/dist-cjs/pagination/index.js +3 -0
  23. package/dist-cjs/protocols/Aws_json1_1.js +2043 -261
  24. package/dist-cjs/runtimeConfig.browser.js +7 -2
  25. package/dist-cjs/runtimeConfig.js +9 -3
  26. package/dist-es/Kendra.js +180 -0
  27. package/dist-es/commands/AssociateEntitiesToExperienceCommand.js +39 -0
  28. package/dist-es/commands/AssociatePersonasToEntitiesCommand.js +39 -0
  29. package/dist-es/commands/CreateExperienceCommand.js +39 -0
  30. package/dist-es/commands/DeleteExperienceCommand.js +39 -0
  31. package/dist-es/commands/DescribeExperienceCommand.js +39 -0
  32. package/dist-es/commands/DisassociateEntitiesFromExperienceCommand.js +39 -0
  33. package/dist-es/commands/DisassociatePersonasFromEntitiesCommand.js +39 -0
  34. package/dist-es/commands/GetSnapshotsCommand.js +39 -0
  35. package/dist-es/commands/ListEntityPersonasCommand.js +39 -0
  36. package/dist-es/commands/ListExperienceEntitiesCommand.js +39 -0
  37. package/dist-es/commands/ListExperiencesCommand.js +39 -0
  38. package/dist-es/commands/UpdateExperienceCommand.js +39 -0
  39. package/dist-es/commands/index.js +12 -0
  40. package/dist-es/endpoints.js +1 -16
  41. package/dist-es/models/models_0.js +215 -44
  42. package/dist-es/pagination/ListEntityPersonasPaginator.js +74 -0
  43. package/dist-es/pagination/ListExperienceEntitiesPaginator.js +73 -0
  44. package/dist-es/pagination/ListExperiencesPaginator.js +74 -0
  45. package/dist-es/pagination/index.js +3 -0
  46. package/dist-es/protocols/Aws_json1_1.js +2042 -234
  47. package/dist-es/runtimeConfig.browser.js +12 -3
  48. package/dist-es/runtimeConfig.js +13 -6
  49. package/dist-types/Kendra.d.ts +164 -1
  50. package/dist-types/KendraClient.d.ts +19 -3
  51. package/dist-types/commands/AssociateEntitiesToExperienceCommand.d.ts +39 -0
  52. package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +39 -0
  53. package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +3 -0
  54. package/dist-types/commands/CreateDataSourceCommand.d.ts +2 -0
  55. package/dist-types/commands/CreateExperienceCommand.d.ts +37 -0
  56. package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +3 -0
  57. package/dist-types/commands/DeleteExperienceCommand.d.ts +37 -0
  58. package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +3 -0
  59. package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +3 -0
  60. package/dist-types/commands/DescribeExperienceCommand.d.ts +38 -0
  61. package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +3 -0
  62. package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +3 -0
  63. package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +3 -0
  64. package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +39 -0
  65. package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +39 -0
  66. package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +3 -0
  67. package/dist-types/commands/GetSnapshotsCommand.d.ts +37 -0
  68. package/dist-types/commands/ListEntityPersonasCommand.d.ts +36 -0
  69. package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +39 -0
  70. package/dist-types/commands/ListExperiencesCommand.d.ts +38 -0
  71. package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +3 -0
  72. package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +3 -0
  73. package/dist-types/commands/PutPrincipalMappingCommand.d.ts +3 -0
  74. package/dist-types/commands/SubmitFeedbackCommand.d.ts +4 -1
  75. package/dist-types/commands/UpdateExperienceCommand.d.ts +37 -0
  76. package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +3 -0
  77. package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +3 -0
  78. package/dist-types/commands/index.d.ts +12 -0
  79. package/dist-types/models/models_0.d.ts +1217 -147
  80. package/dist-types/pagination/ListEntityPersonasPaginator.d.ts +4 -0
  81. package/dist-types/pagination/ListExperienceEntitiesPaginator.d.ts +4 -0
  82. package/dist-types/pagination/ListExperiencesPaginator.d.ts +4 -0
  83. package/dist-types/pagination/index.d.ts +3 -0
  84. package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
  85. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  86. package/dist-types/runtimeConfig.d.ts +4 -3
  87. package/dist-types/runtimeConfig.native.d.ts +1 -0
  88. package/dist-types/ts3.4/Kendra.d.ts +60 -0
  89. package/dist-types/ts3.4/KendraClient.d.ts +17 -3
  90. package/dist-types/ts3.4/commands/AssociateEntitiesToExperienceCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/AssociatePersonasToEntitiesCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/CreateExperienceCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/DeleteExperienceCommand.d.ts +17 -0
  94. package/dist-types/ts3.4/commands/DescribeExperienceCommand.d.ts +17 -0
  95. package/dist-types/ts3.4/commands/DisassociateEntitiesFromExperienceCommand.d.ts +17 -0
  96. package/dist-types/ts3.4/commands/DisassociatePersonasFromEntitiesCommand.d.ts +17 -0
  97. package/dist-types/ts3.4/commands/GetSnapshotsCommand.d.ts +17 -0
  98. package/dist-types/ts3.4/commands/ListEntityPersonasCommand.d.ts +17 -0
  99. package/dist-types/ts3.4/commands/ListExperienceEntitiesCommand.d.ts +17 -0
  100. package/dist-types/ts3.4/commands/ListExperiencesCommand.d.ts +17 -0
  101. package/dist-types/ts3.4/commands/UpdateExperienceCommand.d.ts +17 -0
  102. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  103. package/dist-types/ts3.4/models/models_0.d.ts +579 -77
  104. package/dist-types/ts3.4/pagination/ListEntityPersonasPaginator.d.ts +4 -0
  105. package/dist-types/ts3.4/pagination/ListExperienceEntitiesPaginator.d.ts +4 -0
  106. package/dist-types/ts3.4/pagination/ListExperiencesPaginator.d.ts +4 -0
  107. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  108. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  109. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  110. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  111. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  112. package/package.json +38 -45
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
13
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
16
18
  const getRuntimeConfig = (config) => {
17
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
19
23
  return {
20
24
  ...clientSharedValues,
21
25
  ...config,
22
26
  runtime: "browser",
27
+ defaultsMode,
23
28
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
24
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
25
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
27
32
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
29
34
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
30
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
31
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
35
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
32
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
33
38
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
34
39
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
19
20
  const getRuntimeConfig = (config) => {
20
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
24
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
25
  return {
24
26
  ...clientSharedValues,
25
27
  ...config,
26
28
  runtime: "node",
29
+ defaultsMode,
27
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
28
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
29
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
31
34
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
35
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
33
36
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
34
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
35
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
37
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
39
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
+ }),
36
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
44
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
package/dist-es/Kendra.js CHANGED
@@ -1,29 +1,40 @@
1
1
  import { __extends } from "tslib";
2
+ import { AssociateEntitiesToExperienceCommand, } from "./commands/AssociateEntitiesToExperienceCommand";
3
+ import { AssociatePersonasToEntitiesCommand, } from "./commands/AssociatePersonasToEntitiesCommand";
2
4
  import { BatchDeleteDocumentCommand, } from "./commands/BatchDeleteDocumentCommand";
3
5
  import { BatchGetDocumentStatusCommand, } from "./commands/BatchGetDocumentStatusCommand";
4
6
  import { BatchPutDocumentCommand, } from "./commands/BatchPutDocumentCommand";
5
7
  import { ClearQuerySuggestionsCommand, } from "./commands/ClearQuerySuggestionsCommand";
6
8
  import { CreateDataSourceCommand, } from "./commands/CreateDataSourceCommand";
9
+ import { CreateExperienceCommand, } from "./commands/CreateExperienceCommand";
7
10
  import { CreateFaqCommand } from "./commands/CreateFaqCommand";
8
11
  import { CreateIndexCommand } from "./commands/CreateIndexCommand";
9
12
  import { CreateQuerySuggestionsBlockListCommand, } from "./commands/CreateQuerySuggestionsBlockListCommand";
10
13
  import { CreateThesaurusCommand, } from "./commands/CreateThesaurusCommand";
11
14
  import { DeleteDataSourceCommand, } from "./commands/DeleteDataSourceCommand";
15
+ import { DeleteExperienceCommand, } from "./commands/DeleteExperienceCommand";
12
16
  import { DeleteFaqCommand } from "./commands/DeleteFaqCommand";
13
17
  import { DeleteIndexCommand } from "./commands/DeleteIndexCommand";
14
18
  import { DeletePrincipalMappingCommand, } from "./commands/DeletePrincipalMappingCommand";
15
19
  import { DeleteQuerySuggestionsBlockListCommand, } from "./commands/DeleteQuerySuggestionsBlockListCommand";
16
20
  import { DeleteThesaurusCommand, } from "./commands/DeleteThesaurusCommand";
17
21
  import { DescribeDataSourceCommand, } from "./commands/DescribeDataSourceCommand";
22
+ import { DescribeExperienceCommand, } from "./commands/DescribeExperienceCommand";
18
23
  import { DescribeFaqCommand } from "./commands/DescribeFaqCommand";
19
24
  import { DescribeIndexCommand, } from "./commands/DescribeIndexCommand";
20
25
  import { DescribePrincipalMappingCommand, } from "./commands/DescribePrincipalMappingCommand";
21
26
  import { DescribeQuerySuggestionsBlockListCommand, } from "./commands/DescribeQuerySuggestionsBlockListCommand";
22
27
  import { DescribeQuerySuggestionsConfigCommand, } from "./commands/DescribeQuerySuggestionsConfigCommand";
23
28
  import { DescribeThesaurusCommand, } from "./commands/DescribeThesaurusCommand";
29
+ import { DisassociateEntitiesFromExperienceCommand, } from "./commands/DisassociateEntitiesFromExperienceCommand";
30
+ import { DisassociatePersonasFromEntitiesCommand, } from "./commands/DisassociatePersonasFromEntitiesCommand";
24
31
  import { GetQuerySuggestionsCommand, } from "./commands/GetQuerySuggestionsCommand";
32
+ import { GetSnapshotsCommand, } from "./commands/GetSnapshotsCommand";
25
33
  import { ListDataSourcesCommand, } from "./commands/ListDataSourcesCommand";
26
34
  import { ListDataSourceSyncJobsCommand, } from "./commands/ListDataSourceSyncJobsCommand";
35
+ import { ListEntityPersonasCommand, } from "./commands/ListEntityPersonasCommand";
36
+ import { ListExperienceEntitiesCommand, } from "./commands/ListExperienceEntitiesCommand";
37
+ import { ListExperiencesCommand, } from "./commands/ListExperiencesCommand";
27
38
  import { ListFaqsCommand } from "./commands/ListFaqsCommand";
28
39
  import { ListGroupsOlderThanOrderingIdCommand, } from "./commands/ListGroupsOlderThanOrderingIdCommand";
29
40
  import { ListIndicesCommand } from "./commands/ListIndicesCommand";
@@ -38,6 +49,7 @@ import { SubmitFeedbackCommand, } from "./commands/SubmitFeedbackCommand";
38
49
  import { TagResourceCommand } from "./commands/TagResourceCommand";
39
50
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
40
51
  import { UpdateDataSourceCommand, } from "./commands/UpdateDataSourceCommand";
52
+ import { UpdateExperienceCommand, } from "./commands/UpdateExperienceCommand";
41
53
  import { UpdateIndexCommand } from "./commands/UpdateIndexCommand";
42
54
  import { UpdateQuerySuggestionsBlockListCommand, } from "./commands/UpdateQuerySuggestionsBlockListCommand";
43
55
  import { UpdateQuerySuggestionsConfigCommand, } from "./commands/UpdateQuerySuggestionsConfigCommand";
@@ -48,6 +60,34 @@ var Kendra = (function (_super) {
48
60
  function Kendra() {
49
61
  return _super !== null && _super.apply(this, arguments) || this;
50
62
  }
63
+ Kendra.prototype.associateEntitiesToExperience = function (args, optionsOrCb, cb) {
64
+ var command = new AssociateEntitiesToExperienceCommand(args);
65
+ if (typeof optionsOrCb === "function") {
66
+ this.send(command, optionsOrCb);
67
+ }
68
+ else if (typeof cb === "function") {
69
+ if (typeof optionsOrCb !== "object")
70
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
71
+ this.send(command, optionsOrCb || {}, cb);
72
+ }
73
+ else {
74
+ return this.send(command, optionsOrCb);
75
+ }
76
+ };
77
+ Kendra.prototype.associatePersonasToEntities = function (args, optionsOrCb, cb) {
78
+ var command = new AssociatePersonasToEntitiesCommand(args);
79
+ if (typeof optionsOrCb === "function") {
80
+ this.send(command, optionsOrCb);
81
+ }
82
+ else if (typeof cb === "function") {
83
+ if (typeof optionsOrCb !== "object")
84
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
85
+ this.send(command, optionsOrCb || {}, cb);
86
+ }
87
+ else {
88
+ return this.send(command, optionsOrCb);
89
+ }
90
+ };
51
91
  Kendra.prototype.batchDeleteDocument = function (args, optionsOrCb, cb) {
52
92
  var command = new BatchDeleteDocumentCommand(args);
53
93
  if (typeof optionsOrCb === "function") {
@@ -118,6 +158,20 @@ var Kendra = (function (_super) {
118
158
  return this.send(command, optionsOrCb);
119
159
  }
120
160
  };
161
+ Kendra.prototype.createExperience = function (args, optionsOrCb, cb) {
162
+ var command = new CreateExperienceCommand(args);
163
+ if (typeof optionsOrCb === "function") {
164
+ this.send(command, optionsOrCb);
165
+ }
166
+ else if (typeof cb === "function") {
167
+ if (typeof optionsOrCb !== "object")
168
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
169
+ this.send(command, optionsOrCb || {}, cb);
170
+ }
171
+ else {
172
+ return this.send(command, optionsOrCb);
173
+ }
174
+ };
121
175
  Kendra.prototype.createFaq = function (args, optionsOrCb, cb) {
122
176
  var command = new CreateFaqCommand(args);
123
177
  if (typeof optionsOrCb === "function") {
@@ -188,6 +242,20 @@ var Kendra = (function (_super) {
188
242
  return this.send(command, optionsOrCb);
189
243
  }
190
244
  };
245
+ Kendra.prototype.deleteExperience = function (args, optionsOrCb, cb) {
246
+ var command = new DeleteExperienceCommand(args);
247
+ if (typeof optionsOrCb === "function") {
248
+ this.send(command, optionsOrCb);
249
+ }
250
+ else if (typeof cb === "function") {
251
+ if (typeof optionsOrCb !== "object")
252
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
253
+ this.send(command, optionsOrCb || {}, cb);
254
+ }
255
+ else {
256
+ return this.send(command, optionsOrCb);
257
+ }
258
+ };
191
259
  Kendra.prototype.deleteFaq = function (args, optionsOrCb, cb) {
192
260
  var command = new DeleteFaqCommand(args);
193
261
  if (typeof optionsOrCb === "function") {
@@ -272,6 +340,20 @@ var Kendra = (function (_super) {
272
340
  return this.send(command, optionsOrCb);
273
341
  }
274
342
  };
343
+ Kendra.prototype.describeExperience = function (args, optionsOrCb, cb) {
344
+ var command = new DescribeExperienceCommand(args);
345
+ if (typeof optionsOrCb === "function") {
346
+ this.send(command, optionsOrCb);
347
+ }
348
+ else if (typeof cb === "function") {
349
+ if (typeof optionsOrCb !== "object")
350
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
351
+ this.send(command, optionsOrCb || {}, cb);
352
+ }
353
+ else {
354
+ return this.send(command, optionsOrCb);
355
+ }
356
+ };
275
357
  Kendra.prototype.describeFaq = function (args, optionsOrCb, cb) {
276
358
  var command = new DescribeFaqCommand(args);
277
359
  if (typeof optionsOrCb === "function") {
@@ -356,6 +438,34 @@ var Kendra = (function (_super) {
356
438
  return this.send(command, optionsOrCb);
357
439
  }
358
440
  };
441
+ Kendra.prototype.disassociateEntitiesFromExperience = function (args, optionsOrCb, cb) {
442
+ var command = new DisassociateEntitiesFromExperienceCommand(args);
443
+ if (typeof optionsOrCb === "function") {
444
+ this.send(command, optionsOrCb);
445
+ }
446
+ else if (typeof cb === "function") {
447
+ if (typeof optionsOrCb !== "object")
448
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
449
+ this.send(command, optionsOrCb || {}, cb);
450
+ }
451
+ else {
452
+ return this.send(command, optionsOrCb);
453
+ }
454
+ };
455
+ Kendra.prototype.disassociatePersonasFromEntities = function (args, optionsOrCb, cb) {
456
+ var command = new DisassociatePersonasFromEntitiesCommand(args);
457
+ if (typeof optionsOrCb === "function") {
458
+ this.send(command, optionsOrCb);
459
+ }
460
+ else if (typeof cb === "function") {
461
+ if (typeof optionsOrCb !== "object")
462
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
463
+ this.send(command, optionsOrCb || {}, cb);
464
+ }
465
+ else {
466
+ return this.send(command, optionsOrCb);
467
+ }
468
+ };
359
469
  Kendra.prototype.getQuerySuggestions = function (args, optionsOrCb, cb) {
360
470
  var command = new GetQuerySuggestionsCommand(args);
361
471
  if (typeof optionsOrCb === "function") {
@@ -370,6 +480,20 @@ var Kendra = (function (_super) {
370
480
  return this.send(command, optionsOrCb);
371
481
  }
372
482
  };
483
+ Kendra.prototype.getSnapshots = function (args, optionsOrCb, cb) {
484
+ var command = new GetSnapshotsCommand(args);
485
+ if (typeof optionsOrCb === "function") {
486
+ this.send(command, optionsOrCb);
487
+ }
488
+ else if (typeof cb === "function") {
489
+ if (typeof optionsOrCb !== "object")
490
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
491
+ this.send(command, optionsOrCb || {}, cb);
492
+ }
493
+ else {
494
+ return this.send(command, optionsOrCb);
495
+ }
496
+ };
373
497
  Kendra.prototype.listDataSources = function (args, optionsOrCb, cb) {
374
498
  var command = new ListDataSourcesCommand(args);
375
499
  if (typeof optionsOrCb === "function") {
@@ -398,6 +522,48 @@ var Kendra = (function (_super) {
398
522
  return this.send(command, optionsOrCb);
399
523
  }
400
524
  };
525
+ Kendra.prototype.listEntityPersonas = function (args, optionsOrCb, cb) {
526
+ var command = new ListEntityPersonasCommand(args);
527
+ if (typeof optionsOrCb === "function") {
528
+ this.send(command, optionsOrCb);
529
+ }
530
+ else if (typeof cb === "function") {
531
+ if (typeof optionsOrCb !== "object")
532
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
533
+ this.send(command, optionsOrCb || {}, cb);
534
+ }
535
+ else {
536
+ return this.send(command, optionsOrCb);
537
+ }
538
+ };
539
+ Kendra.prototype.listExperienceEntities = function (args, optionsOrCb, cb) {
540
+ var command = new ListExperienceEntitiesCommand(args);
541
+ if (typeof optionsOrCb === "function") {
542
+ this.send(command, optionsOrCb);
543
+ }
544
+ else if (typeof cb === "function") {
545
+ if (typeof optionsOrCb !== "object")
546
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
547
+ this.send(command, optionsOrCb || {}, cb);
548
+ }
549
+ else {
550
+ return this.send(command, optionsOrCb);
551
+ }
552
+ };
553
+ Kendra.prototype.listExperiences = function (args, optionsOrCb, cb) {
554
+ var command = new ListExperiencesCommand(args);
555
+ if (typeof optionsOrCb === "function") {
556
+ this.send(command, optionsOrCb);
557
+ }
558
+ else if (typeof cb === "function") {
559
+ if (typeof optionsOrCb !== "object")
560
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
561
+ this.send(command, optionsOrCb || {}, cb);
562
+ }
563
+ else {
564
+ return this.send(command, optionsOrCb);
565
+ }
566
+ };
401
567
  Kendra.prototype.listFaqs = function (args, optionsOrCb, cb) {
402
568
  var command = new ListFaqsCommand(args);
403
569
  if (typeof optionsOrCb === "function") {
@@ -594,6 +760,20 @@ var Kendra = (function (_super) {
594
760
  return this.send(command, optionsOrCb);
595
761
  }
596
762
  };
763
+ Kendra.prototype.updateExperience = function (args, optionsOrCb, cb) {
764
+ var command = new UpdateExperienceCommand(args);
765
+ if (typeof optionsOrCb === "function") {
766
+ this.send(command, optionsOrCb);
767
+ }
768
+ else if (typeof cb === "function") {
769
+ if (typeof optionsOrCb !== "object")
770
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
771
+ this.send(command, optionsOrCb || {}, cb);
772
+ }
773
+ else {
774
+ return this.send(command, optionsOrCb);
775
+ }
776
+ };
597
777
  Kendra.prototype.updateIndex = function (args, optionsOrCb, cb) {
598
778
  var command = new UpdateIndexCommand(args);
599
779
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { AssociateEntitiesToExperienceRequest, AssociateEntitiesToExperienceResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1AssociateEntitiesToExperienceCommand, serializeAws_json1_1AssociateEntitiesToExperienceCommand, } from "../protocols/Aws_json1_1";
6
+ var AssociateEntitiesToExperienceCommand = (function (_super) {
7
+ __extends(AssociateEntitiesToExperienceCommand, _super);
8
+ function AssociateEntitiesToExperienceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ AssociateEntitiesToExperienceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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 = "AssociateEntitiesToExperienceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: AssociateEntitiesToExperienceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: AssociateEntitiesToExperienceResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AssociateEntitiesToExperienceCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1AssociateEntitiesToExperienceCommand(input, context);
33
+ };
34
+ AssociateEntitiesToExperienceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1AssociateEntitiesToExperienceCommand(output, context);
36
+ };
37
+ return AssociateEntitiesToExperienceCommand;
38
+ }($Command));
39
+ export { AssociateEntitiesToExperienceCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { AssociatePersonasToEntitiesRequest, AssociatePersonasToEntitiesResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1AssociatePersonasToEntitiesCommand, serializeAws_json1_1AssociatePersonasToEntitiesCommand, } from "../protocols/Aws_json1_1";
6
+ var AssociatePersonasToEntitiesCommand = (function (_super) {
7
+ __extends(AssociatePersonasToEntitiesCommand, _super);
8
+ function AssociatePersonasToEntitiesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ AssociatePersonasToEntitiesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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 = "AssociatePersonasToEntitiesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: AssociatePersonasToEntitiesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: AssociatePersonasToEntitiesResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AssociatePersonasToEntitiesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1AssociatePersonasToEntitiesCommand(input, context);
33
+ };
34
+ AssociatePersonasToEntitiesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1AssociatePersonasToEntitiesCommand(output, context);
36
+ };
37
+ return AssociatePersonasToEntitiesCommand;
38
+ }($Command));
39
+ export { AssociatePersonasToEntitiesCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateExperienceRequest, CreateExperienceResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateExperienceCommand, serializeAws_json1_1CreateExperienceCommand, } from "../protocols/Aws_json1_1";
6
+ var CreateExperienceCommand = (function (_super) {
7
+ __extends(CreateExperienceCommand, _super);
8
+ function CreateExperienceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateExperienceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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 = "CreateExperienceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateExperienceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateExperienceResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateExperienceCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1CreateExperienceCommand(input, context);
33
+ };
34
+ CreateExperienceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1CreateExperienceCommand(output, context);
36
+ };
37
+ return CreateExperienceCommand;
38
+ }($Command));
39
+ export { CreateExperienceCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteExperienceRequest, DeleteExperienceResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1DeleteExperienceCommand, serializeAws_json1_1DeleteExperienceCommand, } from "../protocols/Aws_json1_1";
6
+ var DeleteExperienceCommand = (function (_super) {
7
+ __extends(DeleteExperienceCommand, _super);
8
+ function DeleteExperienceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteExperienceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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 = "DeleteExperienceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteExperienceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteExperienceResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteExperienceCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1DeleteExperienceCommand(input, context);
33
+ };
34
+ DeleteExperienceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1DeleteExperienceCommand(output, context);
36
+ };
37
+ return DeleteExperienceCommand;
38
+ }($Command));
39
+ export { DeleteExperienceCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DescribeExperienceRequest, DescribeExperienceResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1DescribeExperienceCommand, serializeAws_json1_1DescribeExperienceCommand, } from "../protocols/Aws_json1_1";
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;
12
+ }
13
+ DescribeExperienceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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 = "DescribeExperienceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DescribeExperienceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DescribeExperienceResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_json1_1DescribeExperienceCommand(input, context);
33
+ };
34
+ DescribeExperienceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1DescribeExperienceCommand(output, context);
36
+ };
37
+ return DescribeExperienceCommand;
38
+ }($Command));
39
+ export { DescribeExperienceCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DisassociateEntitiesFromExperienceRequest, DisassociateEntitiesFromExperienceResponse, } from "../models/models_0";
5
+ 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;
12
+ }
13
+ DisassociateEntitiesFromExperienceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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,
23
+ inputFilterSensitiveLog: DisassociateEntitiesFromExperienceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DisassociateEntitiesFromExperienceResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_json1_1DisassociateEntitiesFromExperienceCommand(input, context);
33
+ };
34
+ DisassociateEntitiesFromExperienceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1DisassociateEntitiesFromExperienceCommand(output, context);
36
+ };
37
+ return DisassociateEntitiesFromExperienceCommand;
38
+ }($Command));
39
+ export { DisassociateEntitiesFromExperienceCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DisassociatePersonasFromEntitiesRequest, DisassociatePersonasFromEntitiesResponse } from "../models/models_0";
5
+ 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;
12
+ }
13
+ DisassociatePersonasFromEntitiesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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,
23
+ inputFilterSensitiveLog: DisassociatePersonasFromEntitiesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DisassociatePersonasFromEntitiesResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_json1_1DisassociatePersonasFromEntitiesCommand(input, context);
33
+ };
34
+ DisassociatePersonasFromEntitiesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1DisassociatePersonasFromEntitiesCommand(output, context);
36
+ };
37
+ return DisassociatePersonasFromEntitiesCommand;
38
+ }($Command));
39
+ export { DisassociatePersonasFromEntitiesCommand };