@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.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/Kendra.js +249 -242
- package/dist-es/KendraClient.js +28 -22
- package/dist-es/commands/AssociateEntitiesToExperienceCommand.js +28 -21
- package/dist-es/commands/AssociatePersonasToEntitiesCommand.js +28 -21
- package/dist-es/commands/BatchDeleteDocumentCommand.js +28 -21
- package/dist-es/commands/BatchGetDocumentStatusCommand.js +28 -21
- package/dist-es/commands/BatchPutDocumentCommand.js +28 -21
- package/dist-es/commands/ClearQuerySuggestionsCommand.js +29 -22
- package/dist-es/commands/CreateAccessControlConfigurationCommand.js +28 -21
- package/dist-es/commands/CreateDataSourceCommand.js +28 -21
- package/dist-es/commands/CreateExperienceCommand.js +28 -21
- package/dist-es/commands/CreateFaqCommand.js +28 -21
- package/dist-es/commands/CreateIndexCommand.js +28 -21
- package/dist-es/commands/CreateQuerySuggestionsBlockListCommand.js +28 -21
- package/dist-es/commands/CreateThesaurusCommand.js +28 -21
- package/dist-es/commands/DeleteAccessControlConfigurationCommand.js +28 -21
- package/dist-es/commands/DeleteDataSourceCommand.js +29 -22
- package/dist-es/commands/DeleteExperienceCommand.js +28 -21
- package/dist-es/commands/DeleteFaqCommand.js +29 -22
- package/dist-es/commands/DeleteIndexCommand.js +29 -22
- package/dist-es/commands/DeletePrincipalMappingCommand.js +29 -22
- package/dist-es/commands/DeleteQuerySuggestionsBlockListCommand.js +29 -22
- package/dist-es/commands/DeleteThesaurusCommand.js +29 -22
- package/dist-es/commands/DescribeAccessControlConfigurationCommand.js +28 -21
- package/dist-es/commands/DescribeDataSourceCommand.js +28 -21
- package/dist-es/commands/DescribeExperienceCommand.js +28 -21
- package/dist-es/commands/DescribeFaqCommand.js +28 -21
- package/dist-es/commands/DescribeIndexCommand.js +28 -21
- package/dist-es/commands/DescribePrincipalMappingCommand.js +28 -21
- package/dist-es/commands/DescribeQuerySuggestionsBlockListCommand.js +28 -21
- package/dist-es/commands/DescribeQuerySuggestionsConfigCommand.js +28 -21
- package/dist-es/commands/DescribeThesaurusCommand.js +28 -21
- package/dist-es/commands/DisassociateEntitiesFromExperienceCommand.js +28 -21
- package/dist-es/commands/DisassociatePersonasFromEntitiesCommand.js +28 -21
- package/dist-es/commands/GetQuerySuggestionsCommand.js +28 -21
- package/dist-es/commands/GetSnapshotsCommand.js +28 -21
- package/dist-es/commands/ListAccessControlConfigurationsCommand.js +28 -21
- package/dist-es/commands/ListDataSourceSyncJobsCommand.js +28 -21
- package/dist-es/commands/ListDataSourcesCommand.js +28 -21
- package/dist-es/commands/ListEntityPersonasCommand.js +28 -21
- package/dist-es/commands/ListExperienceEntitiesCommand.js +28 -21
- package/dist-es/commands/ListExperiencesCommand.js +28 -21
- package/dist-es/commands/ListFaqsCommand.js +28 -21
- package/dist-es/commands/ListGroupsOlderThanOrderingIdCommand.js +28 -21
- package/dist-es/commands/ListIndicesCommand.js +28 -21
- package/dist-es/commands/ListQuerySuggestionsBlockListsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ListThesauriCommand.js +28 -21
- package/dist-es/commands/PutPrincipalMappingCommand.js +29 -22
- package/dist-es/commands/QueryCommand.js +28 -21
- package/dist-es/commands/StartDataSourceSyncJobCommand.js +28 -21
- package/dist-es/commands/StopDataSourceSyncJobCommand.js +29 -22
- package/dist-es/commands/SubmitFeedbackCommand.js +29 -22
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateAccessControlConfigurationCommand.js +28 -21
- package/dist-es/commands/UpdateDataSourceCommand.js +29 -22
- package/dist-es/commands/UpdateExperienceCommand.js +29 -22
- package/dist-es/commands/UpdateIndexCommand.js +29 -22
- package/dist-es/commands/UpdateQuerySuggestionsBlockListCommand.js +29 -22
- package/dist-es/commands/UpdateQuerySuggestionsConfigCommand.js +29 -22
- package/dist-es/commands/UpdateThesaurusCommand.js +29 -22
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/KendraServiceException.js +10 -5
- package/dist-es/models/models_0.js +371 -844
- package/dist-es/models/models_1.js +5 -12
- package/dist-es/pagination/GetSnapshotsPaginator.js +68 -25
- package/dist-es/pagination/ListAccessControlConfigurationsPaginator.js +68 -25
- package/dist-es/pagination/ListDataSourceSyncJobsPaginator.js +68 -25
- package/dist-es/pagination/ListDataSourcesPaginator.js +68 -25
- package/dist-es/pagination/ListEntityPersonasPaginator.js +68 -25
- package/dist-es/pagination/ListExperienceEntitiesPaginator.js +67 -24
- package/dist-es/pagination/ListExperiencesPaginator.js +68 -25
- package/dist-es/pagination/ListFaqsPaginator.js +68 -25
- package/dist-es/pagination/ListGroupsOlderThanOrderingIdPaginator.js +68 -25
- package/dist-es/pagination/ListIndicesPaginator.js +68 -25
- package/dist-es/pagination/ListQuerySuggestionsBlockListsPaginator.js +68 -25
- package/dist-es/pagination/ListThesauriPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +6541 -5784
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
package/dist-es/KendraClient.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var KendraClient = (function (_super) {
|
|
13
|
+
__extends(KendraClient, _super);
|
|
14
|
+
function KendraClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
KendraClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return KendraClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { KendraClient };
|
|
@@ -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 { AssociateEntitiesToExperienceRequestFilterSensitiveLog, AssociateEntitiesToExperienceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1AssociateEntitiesToExperienceCommand, serializeAws_json1_1AssociateEntitiesToExperienceCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AssociateEntitiesToExperienceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "AssociateEntitiesToExperienceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AssociateEntitiesToExperienceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AssociateEntitiesToExperienceResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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) {
|
|
27
32
|
return serializeAws_json1_1AssociateEntitiesToExperienceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AssociateEntitiesToExperienceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1AssociateEntitiesToExperienceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AssociateEntitiesToExperienceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociateEntitiesToExperienceCommand };
|
|
@@ -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 { AssociatePersonasToEntitiesRequestFilterSensitiveLog, AssociatePersonasToEntitiesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1AssociatePersonasToEntitiesCommand, serializeAws_json1_1AssociatePersonasToEntitiesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AssociatePersonasToEntitiesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "AssociatePersonasToEntitiesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AssociatePersonasToEntitiesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AssociatePersonasToEntitiesResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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) {
|
|
27
32
|
return serializeAws_json1_1AssociatePersonasToEntitiesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AssociatePersonasToEntitiesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1AssociatePersonasToEntitiesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AssociatePersonasToEntitiesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociatePersonasToEntitiesCommand };
|
|
@@ -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 { BatchDeleteDocumentRequestFilterSensitiveLog, BatchDeleteDocumentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1BatchDeleteDocumentCommand, serializeAws_json1_1BatchDeleteDocumentCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var BatchDeleteDocumentCommand = (function (_super) {
|
|
7
|
+
__extends(BatchDeleteDocumentCommand, _super);
|
|
8
|
+
function BatchDeleteDocumentCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
BatchDeleteDocumentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "BatchDeleteDocumentCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: BatchDeleteDocumentRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: BatchDeleteDocumentResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
BatchDeleteDocumentCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1BatchDeleteDocumentCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
BatchDeleteDocumentCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1BatchDeleteDocumentCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return BatchDeleteDocumentCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { BatchDeleteDocumentCommand };
|
|
@@ -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 { BatchGetDocumentStatusRequestFilterSensitiveLog, BatchGetDocumentStatusResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1BatchGetDocumentStatusCommand, serializeAws_json1_1BatchGetDocumentStatusCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var BatchGetDocumentStatusCommand = (function (_super) {
|
|
7
|
+
__extends(BatchGetDocumentStatusCommand, _super);
|
|
8
|
+
function BatchGetDocumentStatusCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
BatchGetDocumentStatusCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "BatchGetDocumentStatusCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: BatchGetDocumentStatusRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: BatchGetDocumentStatusResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
BatchGetDocumentStatusCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1BatchGetDocumentStatusCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
BatchGetDocumentStatusCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1BatchGetDocumentStatusCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return BatchGetDocumentStatusCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { BatchGetDocumentStatusCommand };
|
|
@@ -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 { BatchPutDocumentRequestFilterSensitiveLog, BatchPutDocumentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1BatchPutDocumentCommand, serializeAws_json1_1BatchPutDocumentCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var BatchPutDocumentCommand = (function (_super) {
|
|
7
|
+
__extends(BatchPutDocumentCommand, _super);
|
|
8
|
+
function BatchPutDocumentCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
BatchPutDocumentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "BatchPutDocumentCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: BatchPutDocumentRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: BatchPutDocumentResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
BatchPutDocumentCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1BatchPutDocumentCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
BatchPutDocumentCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1BatchPutDocumentCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return BatchPutDocumentCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { BatchPutDocumentCommand };
|
|
@@ -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 { ClearQuerySuggestionsRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ClearQuerySuggestionsCommand, serializeAws_json1_1ClearQuerySuggestionsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ClearQuerySuggestionsCommand = (function (_super) {
|
|
7
|
+
__extends(ClearQuerySuggestionsCommand, _super);
|
|
8
|
+
function ClearQuerySuggestionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ClearQuerySuggestionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "ClearQuerySuggestionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ClearQuerySuggestionsRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ClearQuerySuggestionsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ClearQuerySuggestionsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ClearQuerySuggestionsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ClearQuerySuggestionsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ClearQuerySuggestionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ClearQuerySuggestionsCommand };
|
|
@@ -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 { CreateAccessControlConfigurationRequestFilterSensitiveLog, CreateAccessControlConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateAccessControlConfigurationCommand, serializeAws_json1_1CreateAccessControlConfigurationCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateAccessControlConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(CreateAccessControlConfigurationCommand, _super);
|
|
8
|
+
function CreateAccessControlConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateAccessControlConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "CreateAccessControlConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateAccessControlConfigurationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateAccessControlConfigurationResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateAccessControlConfigurationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateAccessControlConfigurationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateAccessControlConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateAccessControlConfigurationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateAccessControlConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateAccessControlConfigurationCommand };
|
|
@@ -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 { CreateDataSourceRequestFilterSensitiveLog, CreateDataSourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateDataSourceCommand, serializeAws_json1_1CreateDataSourceCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateDataSourceCommand = (function (_super) {
|
|
7
|
+
__extends(CreateDataSourceCommand, _super);
|
|
8
|
+
function CreateDataSourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateDataSourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "CreateDataSourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateDataSourceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateDataSourceResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateDataSourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateDataSourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateDataSourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateDataSourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateDataSourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateDataSourceCommand };
|
|
@@ -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 { CreateExperienceRequestFilterSensitiveLog, CreateExperienceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateExperienceCommand, serializeAws_json1_1CreateExperienceCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateExperienceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "CreateExperienceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateExperienceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateExperienceResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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) {
|
|
27
32
|
return serializeAws_json1_1CreateExperienceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateExperienceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateExperienceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateExperienceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateExperienceCommand };
|