@aws-sdk/client-kendra 3.1076.0 → 3.1078.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/dist-cjs/index.js +77 -665
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AssociateEntitiesToExperienceCommand.js +2 -14
- package/dist-es/commands/AssociatePersonasToEntitiesCommand.js +2 -14
- package/dist-es/commands/BatchDeleteDocumentCommand.js +2 -14
- package/dist-es/commands/BatchDeleteFeaturedResultsSetCommand.js +2 -14
- package/dist-es/commands/BatchGetDocumentStatusCommand.js +2 -14
- package/dist-es/commands/BatchPutDocumentCommand.js +2 -14
- package/dist-es/commands/ClearQuerySuggestionsCommand.js +2 -14
- package/dist-es/commands/CreateAccessControlConfigurationCommand.js +2 -14
- package/dist-es/commands/CreateDataSourceCommand.js +2 -14
- package/dist-es/commands/CreateExperienceCommand.js +2 -14
- package/dist-es/commands/CreateFaqCommand.js +2 -14
- package/dist-es/commands/CreateFeaturedResultsSetCommand.js +2 -14
- package/dist-es/commands/CreateIndexCommand.js +2 -14
- package/dist-es/commands/CreateQuerySuggestionsBlockListCommand.js +2 -14
- package/dist-es/commands/CreateThesaurusCommand.js +2 -14
- package/dist-es/commands/DeleteAccessControlConfigurationCommand.js +2 -14
- package/dist-es/commands/DeleteDataSourceCommand.js +2 -14
- package/dist-es/commands/DeleteExperienceCommand.js +2 -14
- package/dist-es/commands/DeleteFaqCommand.js +2 -14
- package/dist-es/commands/DeleteIndexCommand.js +2 -14
- package/dist-es/commands/DeletePrincipalMappingCommand.js +2 -14
- package/dist-es/commands/DeleteQuerySuggestionsBlockListCommand.js +2 -14
- package/dist-es/commands/DeleteThesaurusCommand.js +2 -14
- package/dist-es/commands/DescribeAccessControlConfigurationCommand.js +2 -14
- package/dist-es/commands/DescribeDataSourceCommand.js +2 -14
- package/dist-es/commands/DescribeExperienceCommand.js +2 -14
- package/dist-es/commands/DescribeFaqCommand.js +2 -14
- package/dist-es/commands/DescribeFeaturedResultsSetCommand.js +2 -14
- package/dist-es/commands/DescribeIndexCommand.js +2 -14
- package/dist-es/commands/DescribePrincipalMappingCommand.js +2 -14
- package/dist-es/commands/DescribeQuerySuggestionsBlockListCommand.js +2 -14
- package/dist-es/commands/DescribeQuerySuggestionsConfigCommand.js +2 -14
- package/dist-es/commands/DescribeThesaurusCommand.js +2 -14
- package/dist-es/commands/DisassociateEntitiesFromExperienceCommand.js +2 -14
- package/dist-es/commands/DisassociatePersonasFromEntitiesCommand.js +2 -14
- package/dist-es/commands/GetQuerySuggestionsCommand.js +2 -14
- package/dist-es/commands/GetSnapshotsCommand.js +2 -14
- package/dist-es/commands/ListAccessControlConfigurationsCommand.js +2 -14
- package/dist-es/commands/ListDataSourceSyncJobsCommand.js +2 -14
- package/dist-es/commands/ListDataSourcesCommand.js +2 -14
- package/dist-es/commands/ListEntityPersonasCommand.js +2 -14
- package/dist-es/commands/ListExperienceEntitiesCommand.js +2 -14
- package/dist-es/commands/ListExperiencesCommand.js +2 -14
- package/dist-es/commands/ListFaqsCommand.js +2 -14
- package/dist-es/commands/ListFeaturedResultsSetsCommand.js +2 -14
- package/dist-es/commands/ListGroupsOlderThanOrderingIdCommand.js +2 -14
- package/dist-es/commands/ListIndicesCommand.js +2 -14
- package/dist-es/commands/ListQuerySuggestionsBlockListsCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/ListThesauriCommand.js +2 -14
- package/dist-es/commands/PutPrincipalMappingCommand.js +2 -14
- package/dist-es/commands/QueryCommand.js +2 -14
- package/dist-es/commands/RetrieveCommand.js +2 -14
- package/dist-es/commands/StartDataSourceSyncJobCommand.js +2 -14
- package/dist-es/commands/StopDataSourceSyncJobCommand.js +2 -14
- package/dist-es/commands/SubmitFeedbackCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateAccessControlConfigurationCommand.js +2 -14
- package/dist-es/commands/UpdateDataSourceCommand.js +2 -14
- package/dist-es/commands/UpdateExperienceCommand.js +2 -14
- package/dist-es/commands/UpdateFeaturedResultsSetCommand.js +2 -14
- package/dist-es/commands/UpdateIndexCommand.js +2 -14
- package/dist-es/commands/UpdateQuerySuggestionsBlockListCommand.js +2 -14
- package/dist-es/commands/UpdateQuerySuggestionsConfigCommand.js +2 -14
- package/dist-es/commands/UpdateThesaurusCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AssociateEntitiesToExperienceCommand.d.ts +3 -8
- package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +3 -8
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +3 -8
- package/dist-types/commands/BatchDeleteFeaturedResultsSetCommand.d.ts +3 -8
- package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +3 -8
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +3 -8
- package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +3 -8
- package/dist-types/commands/CreateAccessControlConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/CreateDataSourceCommand.d.ts +3 -8
- package/dist-types/commands/CreateExperienceCommand.d.ts +3 -8
- package/dist-types/commands/CreateFaqCommand.d.ts +3 -8
- package/dist-types/commands/CreateFeaturedResultsSetCommand.d.ts +3 -8
- package/dist-types/commands/CreateIndexCommand.d.ts +3 -8
- package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +3 -8
- package/dist-types/commands/CreateThesaurusCommand.d.ts +3 -8
- package/dist-types/commands/DeleteAccessControlConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +3 -8
- package/dist-types/commands/DeleteExperienceCommand.d.ts +3 -8
- package/dist-types/commands/DeleteFaqCommand.d.ts +3 -8
- package/dist-types/commands/DeleteIndexCommand.d.ts +3 -8
- package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +3 -8
- package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +3 -8
- package/dist-types/commands/DeleteThesaurusCommand.d.ts +3 -8
- package/dist-types/commands/DescribeAccessControlConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/DescribeDataSourceCommand.d.ts +3 -8
- package/dist-types/commands/DescribeExperienceCommand.d.ts +3 -8
- package/dist-types/commands/DescribeFaqCommand.d.ts +3 -8
- package/dist-types/commands/DescribeFeaturedResultsSetCommand.d.ts +3 -8
- package/dist-types/commands/DescribeIndexCommand.d.ts +3 -8
- package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +3 -8
- package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +3 -8
- package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +3 -8
- package/dist-types/commands/DescribeThesaurusCommand.d.ts +3 -8
- package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +3 -8
- package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +3 -8
- package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +3 -8
- package/dist-types/commands/GetSnapshotsCommand.d.ts +3 -8
- package/dist-types/commands/ListAccessControlConfigurationsCommand.d.ts +3 -8
- package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +3 -8
- package/dist-types/commands/ListDataSourcesCommand.d.ts +3 -8
- package/dist-types/commands/ListEntityPersonasCommand.d.ts +3 -8
- package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +3 -8
- package/dist-types/commands/ListExperiencesCommand.d.ts +3 -8
- package/dist-types/commands/ListFaqsCommand.d.ts +3 -8
- package/dist-types/commands/ListFeaturedResultsSetsCommand.d.ts +3 -8
- package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +3 -8
- package/dist-types/commands/ListIndicesCommand.d.ts +3 -8
- package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/ListThesauriCommand.d.ts +3 -8
- package/dist-types/commands/PutPrincipalMappingCommand.d.ts +3 -8
- package/dist-types/commands/QueryCommand.d.ts +3 -8
- package/dist-types/commands/RetrieveCommand.d.ts +3 -8
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +3 -8
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +3 -8
- package/dist-types/commands/SubmitFeedbackCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateExperienceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateFeaturedResultsSetCommand.d.ts +3 -8
- package/dist-types/commands/UpdateIndexCommand.d.ts +3 -8
- package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +3 -8
- package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +3 -8
- package/dist-types/commands/UpdateThesaurusCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/AssociateEntitiesToExperienceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/AssociatePersonasToEntitiesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/BatchDeleteDocumentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/BatchDeleteFeaturedResultsSetCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/BatchGetDocumentStatusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/BatchPutDocumentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ClearQuerySuggestionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateAccessControlConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateExperienceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateFaqCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateFeaturedResultsSetCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateQuerySuggestionsBlockListCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateThesaurusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteAccessControlConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteExperienceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteFaqCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeletePrincipalMappingCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteThesaurusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeAccessControlConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeDataSourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeExperienceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeFaqCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeFeaturedResultsSetCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeIndexCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribePrincipalMappingCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeQuerySuggestionsConfigCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeThesaurusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisassociateEntitiesFromExperienceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisassociatePersonasFromEntitiesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetQuerySuggestionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetSnapshotsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAccessControlConfigurationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListDataSourceSyncJobsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListEntityPersonasCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListExperienceEntitiesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListExperiencesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListFaqsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListFeaturedResultsSetsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListIndicesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListQuerySuggestionsBlockListsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListThesauriCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutPrincipalMappingCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SubmitFeedbackCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateAccessControlConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateExperienceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateFeaturedResultsSetCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateQuerySuggestionsConfigCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateThesaurusCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateIndex$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateIndexCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSKendraFrontendService", "UpdateIndex", {})
|
|
13
|
-
.n("KendraClient", "UpdateIndexCommand")
|
|
14
|
-
.sc(UpdateIndex$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateIndexCommand extends command(_ep0, _mw0, "UpdateIndex", UpdateIndex$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateQuerySuggestionsBlockList$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateQuerySuggestionsBlockListCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSKendraFrontendService", "UpdateQuerySuggestionsBlockList", {})
|
|
13
|
-
.n("KendraClient", "UpdateQuerySuggestionsBlockListCommand")
|
|
14
|
-
.sc(UpdateQuerySuggestionsBlockList$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateQuerySuggestionsBlockListCommand extends command(_ep0, _mw0, "UpdateQuerySuggestionsBlockList", UpdateQuerySuggestionsBlockList$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateQuerySuggestionsConfig$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateQuerySuggestionsConfigCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSKendraFrontendService", "UpdateQuerySuggestionsConfig", {})
|
|
13
|
-
.n("KendraClient", "UpdateQuerySuggestionsConfigCommand")
|
|
14
|
-
.sc(UpdateQuerySuggestionsConfig$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateQuerySuggestionsConfigCommand extends command(_ep0, _mw0, "UpdateQuerySuggestionsConfig", UpdateQuerySuggestionsConfig$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateThesaurus$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateThesaurusCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSKendraFrontendService", "UpdateThesaurus", {})
|
|
13
|
-
.n("KendraClient", "UpdateThesaurusCommand")
|
|
14
|
-
.sc(UpdateThesaurus$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateThesaurusCommand extends command(_ep0, _mw0, "UpdateThesaurus", UpdateThesaurus$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "AWSKendraFrontendService",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "kendra",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./KendraClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
2
|
import type { AssociateEntitiesToExperienceRequest, AssociateEntitiesToExperienceResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AssociateEntitiesToExperienceCommandInput extends AssociateEnti
|
|
|
22
19
|
export interface AssociateEntitiesToExperienceCommandOutput extends AssociateEntitiesToExperienceResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AssociateEntitiesToExperienceCommand_base: {
|
|
25
|
-
new (input: AssociateEntitiesToExperienceCommandInput): import("@smithy/core/client").CommandImpl<AssociateEntitiesToExperienceCommandInput, AssociateEntitiesToExperienceCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AssociateEntitiesToExperienceCommandInput): import("@smithy/core/client").CommandImpl<AssociateEntitiesToExperienceCommandInput, AssociateEntitiesToExperienceCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AssociateEntitiesToExperienceCommandInput): import("@smithy/core/client").CommandImpl<AssociateEntitiesToExperienceCommandInput, AssociateEntitiesToExperienceCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AssociateEntitiesToExperienceCommandInput): import("@smithy/core/client").CommandImpl<AssociateEntitiesToExperienceCommandInput, AssociateEntitiesToExperienceCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Grants users or groups in your IAM Identity Center identity source access
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
2
|
import type { AssociatePersonasToEntitiesRequest, AssociatePersonasToEntitiesResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AssociatePersonasToEntitiesCommandInput extends AssociatePerson
|
|
|
22
19
|
export interface AssociatePersonasToEntitiesCommandOutput extends AssociatePersonasToEntitiesResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AssociatePersonasToEntitiesCommand_base: {
|
|
25
|
-
new (input: AssociatePersonasToEntitiesCommandInput): import("@smithy/core/client").CommandImpl<AssociatePersonasToEntitiesCommandInput, AssociatePersonasToEntitiesCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AssociatePersonasToEntitiesCommandInput): import("@smithy/core/client").CommandImpl<AssociatePersonasToEntitiesCommandInput, AssociatePersonasToEntitiesCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AssociatePersonasToEntitiesCommandInput): import("@smithy/core/client").CommandImpl<AssociatePersonasToEntitiesCommandInput, AssociatePersonasToEntitiesCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AssociatePersonasToEntitiesCommandInput): import("@smithy/core/client").CommandImpl<AssociatePersonasToEntitiesCommandInput, AssociatePersonasToEntitiesCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Defines the specific permissions of users or groups in your IAM Identity Center
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
2
|
import type { BatchDeleteDocumentRequest, BatchDeleteDocumentResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface BatchDeleteDocumentCommandInput extends BatchDeleteDocumentRequ
|
|
|
22
19
|
export interface BatchDeleteDocumentCommandOutput extends BatchDeleteDocumentResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const BatchDeleteDocumentCommand_base: {
|
|
25
|
-
new (input: BatchDeleteDocumentCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteDocumentCommandInput, BatchDeleteDocumentCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: BatchDeleteDocumentCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteDocumentCommandInput, BatchDeleteDocumentCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: BatchDeleteDocumentCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteDocumentCommandInput, BatchDeleteDocumentCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: BatchDeleteDocumentCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteDocumentCommandInput, BatchDeleteDocumentCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Removes one or more documents from an index. The documents must have been added with
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
2
|
import type { BatchDeleteFeaturedResultsSetRequest, BatchDeleteFeaturedResultsSetResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface BatchDeleteFeaturedResultsSetCommandInput extends BatchDeleteFe
|
|
|
22
19
|
export interface BatchDeleteFeaturedResultsSetCommandOutput extends BatchDeleteFeaturedResultsSetResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const BatchDeleteFeaturedResultsSetCommand_base: {
|
|
25
|
-
new (input: BatchDeleteFeaturedResultsSetCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteFeaturedResultsSetCommandInput, BatchDeleteFeaturedResultsSetCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: BatchDeleteFeaturedResultsSetCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteFeaturedResultsSetCommandInput, BatchDeleteFeaturedResultsSetCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: BatchDeleteFeaturedResultsSetCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteFeaturedResultsSetCommandInput, BatchDeleteFeaturedResultsSetCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: BatchDeleteFeaturedResultsSetCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteFeaturedResultsSetCommandInput, BatchDeleteFeaturedResultsSetCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Removes one or more sets of featured results. Features results are placed
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
2
|
import type { BatchGetDocumentStatusRequest, BatchGetDocumentStatusResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface BatchGetDocumentStatusCommandInput extends BatchGetDocumentStat
|
|
|
22
19
|
export interface BatchGetDocumentStatusCommandOutput extends BatchGetDocumentStatusResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const BatchGetDocumentStatusCommand_base: {
|
|
25
|
-
new (input: BatchGetDocumentStatusCommandInput): import("@smithy/core/client").CommandImpl<BatchGetDocumentStatusCommandInput, BatchGetDocumentStatusCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: BatchGetDocumentStatusCommandInput): import("@smithy/core/client").CommandImpl<BatchGetDocumentStatusCommandInput, BatchGetDocumentStatusCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: BatchGetDocumentStatusCommandInput): import("@smithy/core/client").CommandImpl<BatchGetDocumentStatusCommandInput, BatchGetDocumentStatusCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: BatchGetDocumentStatusCommandInput): import("@smithy/core/client").CommandImpl<BatchGetDocumentStatusCommandInput, BatchGetDocumentStatusCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns the indexing status for one or more documents submitted with the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
2
|
import type { BatchPutDocumentRequest, BatchPutDocumentResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface BatchPutDocumentCommandInput extends BatchPutDocumentRequest {
|
|
|
22
19
|
export interface BatchPutDocumentCommandOutput extends BatchPutDocumentResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const BatchPutDocumentCommand_base: {
|
|
25
|
-
new (input: BatchPutDocumentCommandInput): import("@smithy/core/client").CommandImpl<BatchPutDocumentCommandInput, BatchPutDocumentCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: BatchPutDocumentCommandInput): import("@smithy/core/client").CommandImpl<BatchPutDocumentCommandInput, BatchPutDocumentCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: BatchPutDocumentCommandInput): import("@smithy/core/client").CommandImpl<BatchPutDocumentCommandInput, BatchPutDocumentCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: BatchPutDocumentCommandInput): import("@smithy/core/client").CommandImpl<BatchPutDocumentCommandInput, BatchPutDocumentCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Adds one or more documents to an index.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
2
|
import type { ClearQuerySuggestionsRequest } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface ClearQuerySuggestionsCommandInput extends ClearQuerySuggestions
|
|
|
22
19
|
export interface ClearQuerySuggestionsCommandOutput extends __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const ClearQuerySuggestionsCommand_base: {
|
|
25
|
-
new (input: ClearQuerySuggestionsCommandInput): import("@smithy/core/client").CommandImpl<ClearQuerySuggestionsCommandInput, ClearQuerySuggestionsCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: ClearQuerySuggestionsCommandInput): import("@smithy/core/client").CommandImpl<ClearQuerySuggestionsCommandInput, ClearQuerySuggestionsCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: ClearQuerySuggestionsCommandInput): import("@smithy/core/client").CommandImpl<ClearQuerySuggestionsCommandInput, ClearQuerySuggestionsCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ClearQuerySuggestionsCommandInput): import("@smithy/core/client").CommandImpl<ClearQuerySuggestionsCommandInput, ClearQuerySuggestionsCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Clears existing query suggestions from an index.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
2
|
import type { CreateAccessControlConfigurationRequest, CreateAccessControlConfigurationResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateAccessControlConfigurationCommandInput extends CreateAcce
|
|
|
22
19
|
export interface CreateAccessControlConfigurationCommandOutput extends CreateAccessControlConfigurationResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateAccessControlConfigurationCommand_base: {
|
|
25
|
-
new (input: CreateAccessControlConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateAccessControlConfigurationCommandInput, CreateAccessControlConfigurationCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateAccessControlConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateAccessControlConfigurationCommandInput, CreateAccessControlConfigurationCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateAccessControlConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateAccessControlConfigurationCommandInput, CreateAccessControlConfigurationCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateAccessControlConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateAccessControlConfigurationCommandInput, CreateAccessControlConfigurationCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates an access configuration for your documents. This includes user and group
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
2
|
import type { CreateDataSourceRequest, CreateDataSourceResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateDataSourceCommandInput extends CreateDataSourceRequest {
|
|
|
22
19
|
export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateDataSourceCommand_base: {
|
|
25
|
-
new (input: CreateDataSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateDataSourceCommandInput, CreateDataSourceCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateDataSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateDataSourceCommandInput, CreateDataSourceCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateDataSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateDataSourceCommandInput, CreateDataSourceCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateDataSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateDataSourceCommandInput, CreateDataSourceCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a data source connector that you want to use with an Amazon Kendra
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
2
|
import type { CreateExperienceRequest, CreateExperienceResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateExperienceCommandInput extends CreateExperienceRequest {
|
|
|
22
19
|
export interface CreateExperienceCommandOutput extends CreateExperienceResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateExperienceCommand_base: {
|
|
25
|
-
new (input: CreateExperienceCommandInput): import("@smithy/core/client").CommandImpl<CreateExperienceCommandInput, CreateExperienceCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateExperienceCommandInput): import("@smithy/core/client").CommandImpl<CreateExperienceCommandInput, CreateExperienceCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateExperienceCommandInput): import("@smithy/core/client").CommandImpl<CreateExperienceCommandInput, CreateExperienceCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateExperienceCommandInput): import("@smithy/core/client").CommandImpl<CreateExperienceCommandInput, CreateExperienceCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates an Amazon Kendra experience such as a search application. For more information
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
2
|
import type { CreateFaqRequest, CreateFaqResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateFaqCommandInput extends CreateFaqRequest {
|
|
|
22
19
|
export interface CreateFaqCommandOutput extends CreateFaqResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateFaqCommand_base: {
|
|
25
|
-
new (input: CreateFaqCommandInput): import("@smithy/core/client").CommandImpl<CreateFaqCommandInput, CreateFaqCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateFaqCommandInput): import("@smithy/core/client").CommandImpl<CreateFaqCommandInput, CreateFaqCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateFaqCommandInput): import("@smithy/core/client").CommandImpl<CreateFaqCommandInput, CreateFaqCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateFaqCommandInput): import("@smithy/core/client").CommandImpl<CreateFaqCommandInput, CreateFaqCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a set of frequently ask questions (FAQs) using a specified FAQ file stored
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
2
|
import type { CreateFeaturedResultsSetRequest, CreateFeaturedResultsSetResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateFeaturedResultsSetCommandInput extends CreateFeaturedResu
|
|
|
22
19
|
export interface CreateFeaturedResultsSetCommandOutput extends CreateFeaturedResultsSetResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateFeaturedResultsSetCommand_base: {
|
|
25
|
-
new (input: CreateFeaturedResultsSetCommandInput): import("@smithy/core/client").CommandImpl<CreateFeaturedResultsSetCommandInput, CreateFeaturedResultsSetCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateFeaturedResultsSetCommandInput): import("@smithy/core/client").CommandImpl<CreateFeaturedResultsSetCommandInput, CreateFeaturedResultsSetCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateFeaturedResultsSetCommandInput): import("@smithy/core/client").CommandImpl<CreateFeaturedResultsSetCommandInput, CreateFeaturedResultsSetCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateFeaturedResultsSetCommandInput): import("@smithy/core/client").CommandImpl<CreateFeaturedResultsSetCommandInput, CreateFeaturedResultsSetCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a set of featured results to display at the top of the search results page.
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
2
|
import type { CreateIndexRequest, CreateIndexResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateIndexCommandInput extends CreateIndexRequest {
|
|
|
22
19
|
export interface CreateIndexCommandOutput extends CreateIndexResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateIndexCommand_base: {
|
|
25
|
-
new (input: CreateIndexCommandInput): import("@smithy/core/client").CommandImpl<CreateIndexCommandInput, CreateIndexCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateIndexCommandInput): import("@smithy/core/client").CommandImpl<CreateIndexCommandInput, CreateIndexCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateIndexCommandInput): import("@smithy/core/client").CommandImpl<CreateIndexCommandInput, CreateIndexCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateIndexCommandInput): import("@smithy/core/client").CommandImpl<CreateIndexCommandInput, CreateIndexCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates an Amazon Kendra index. Index creation is an asynchronous API. To determine
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
2
|
import type { CreateQuerySuggestionsBlockListRequest, CreateQuerySuggestionsBlockListResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateQuerySuggestionsBlockListCommandInput extends CreateQuery
|
|
|
22
19
|
export interface CreateQuerySuggestionsBlockListCommandOutput extends CreateQuerySuggestionsBlockListResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateQuerySuggestionsBlockListCommand_base: {
|
|
25
|
-
new (input: CreateQuerySuggestionsBlockListCommandInput): import("@smithy/core/client").CommandImpl<CreateQuerySuggestionsBlockListCommandInput, CreateQuerySuggestionsBlockListCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateQuerySuggestionsBlockListCommandInput): import("@smithy/core/client").CommandImpl<CreateQuerySuggestionsBlockListCommandInput, CreateQuerySuggestionsBlockListCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateQuerySuggestionsBlockListCommandInput): import("@smithy/core/client").CommandImpl<CreateQuerySuggestionsBlockListCommandInput, CreateQuerySuggestionsBlockListCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateQuerySuggestionsBlockListCommandInput): import("@smithy/core/client").CommandImpl<CreateQuerySuggestionsBlockListCommandInput, CreateQuerySuggestionsBlockListCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a block list to exlcude certain queries from suggestions.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
2
|
import type { CreateThesaurusRequest, CreateThesaurusResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateThesaurusCommandInput extends CreateThesaurusRequest {
|
|
|
22
19
|
export interface CreateThesaurusCommandOutput extends CreateThesaurusResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateThesaurusCommand_base: {
|
|
25
|
-
new (input: CreateThesaurusCommandInput): import("@smithy/core/client").CommandImpl<CreateThesaurusCommandInput, CreateThesaurusCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateThesaurusCommandInput): import("@smithy/core/client").CommandImpl<CreateThesaurusCommandInput, CreateThesaurusCommandOutput, KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateThesaurusCommandInput): import("@smithy/core/client").CommandImpl<CreateThesaurusCommandInput, CreateThesaurusCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateThesaurusCommandInput): import("@smithy/core/client").CommandImpl<CreateThesaurusCommandInput, CreateThesaurusCommandOutput, import("..").KendraClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a thesaurus for an index. The thesaurus
|