@aws-sdk/client-kendra 3.194.0 → 3.196.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 +19 -0
- package/dist-cjs/KendraClient.js +11 -8
- package/dist-cjs/commands/AssociateEntitiesToExperienceCommand.js +10 -0
- package/dist-cjs/commands/AssociatePersonasToEntitiesCommand.js +10 -0
- package/dist-cjs/commands/BatchDeleteDocumentCommand.js +10 -0
- package/dist-cjs/commands/BatchGetDocumentStatusCommand.js +10 -0
- package/dist-cjs/commands/BatchPutDocumentCommand.js +10 -0
- package/dist-cjs/commands/ClearQuerySuggestionsCommand.js +10 -0
- package/dist-cjs/commands/CreateAccessControlConfigurationCommand.js +10 -0
- package/dist-cjs/commands/CreateDataSourceCommand.js +10 -0
- package/dist-cjs/commands/CreateExperienceCommand.js +10 -0
- package/dist-cjs/commands/CreateFaqCommand.js +10 -0
- package/dist-cjs/commands/CreateIndexCommand.js +10 -0
- package/dist-cjs/commands/CreateQuerySuggestionsBlockListCommand.js +10 -0
- package/dist-cjs/commands/CreateThesaurusCommand.js +10 -0
- package/dist-cjs/commands/DeleteAccessControlConfigurationCommand.js +10 -0
- package/dist-cjs/commands/DeleteDataSourceCommand.js +10 -0
- package/dist-cjs/commands/DeleteExperienceCommand.js +10 -0
- package/dist-cjs/commands/DeleteFaqCommand.js +10 -0
- package/dist-cjs/commands/DeleteIndexCommand.js +10 -0
- package/dist-cjs/commands/DeletePrincipalMappingCommand.js +10 -0
- package/dist-cjs/commands/DeleteQuerySuggestionsBlockListCommand.js +10 -0
- package/dist-cjs/commands/DeleteThesaurusCommand.js +10 -0
- package/dist-cjs/commands/DescribeAccessControlConfigurationCommand.js +10 -0
- package/dist-cjs/commands/DescribeDataSourceCommand.js +10 -0
- package/dist-cjs/commands/DescribeExperienceCommand.js +10 -0
- package/dist-cjs/commands/DescribeFaqCommand.js +10 -0
- package/dist-cjs/commands/DescribeIndexCommand.js +10 -0
- package/dist-cjs/commands/DescribePrincipalMappingCommand.js +10 -0
- package/dist-cjs/commands/DescribeQuerySuggestionsBlockListCommand.js +10 -0
- package/dist-cjs/commands/DescribeQuerySuggestionsConfigCommand.js +10 -0
- package/dist-cjs/commands/DescribeThesaurusCommand.js +10 -0
- package/dist-cjs/commands/DisassociateEntitiesFromExperienceCommand.js +10 -0
- package/dist-cjs/commands/DisassociatePersonasFromEntitiesCommand.js +10 -0
- package/dist-cjs/commands/GetQuerySuggestionsCommand.js +10 -0
- package/dist-cjs/commands/GetSnapshotsCommand.js +10 -0
- package/dist-cjs/commands/ListAccessControlConfigurationsCommand.js +10 -0
- package/dist-cjs/commands/ListDataSourceSyncJobsCommand.js +10 -0
- package/dist-cjs/commands/ListDataSourcesCommand.js +10 -0
- package/dist-cjs/commands/ListEntityPersonasCommand.js +10 -0
- package/dist-cjs/commands/ListExperienceEntitiesCommand.js +10 -0
- package/dist-cjs/commands/ListExperiencesCommand.js +10 -0
- package/dist-cjs/commands/ListFaqsCommand.js +10 -0
- package/dist-cjs/commands/ListGroupsOlderThanOrderingIdCommand.js +10 -0
- package/dist-cjs/commands/ListIndicesCommand.js +10 -0
- package/dist-cjs/commands/ListQuerySuggestionsBlockListsCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/ListThesauriCommand.js +10 -0
- package/dist-cjs/commands/PutPrincipalMappingCommand.js +10 -0
- package/dist-cjs/commands/QueryCommand.js +10 -0
- package/dist-cjs/commands/StartDataSourceSyncJobCommand.js +10 -0
- package/dist-cjs/commands/StopDataSourceSyncJobCommand.js +10 -0
- package/dist-cjs/commands/SubmitFeedbackCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateAccessControlConfigurationCommand.js +10 -0
- package/dist-cjs/commands/UpdateDataSourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateExperienceCommand.js +10 -0
- package/dist-cjs/commands/UpdateIndexCommand.js +10 -0
- package/dist-cjs/commands/UpdateQuerySuggestionsBlockListCommand.js +10 -0
- package/dist-cjs/commands/UpdateQuerySuggestionsConfigCommand.js +10 -0
- package/dist-cjs/commands/UpdateThesaurusCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/KendraClient.js +12 -9
- package/dist-es/commands/AssociateEntitiesToExperienceCommand.js +10 -0
- package/dist-es/commands/AssociatePersonasToEntitiesCommand.js +10 -0
- package/dist-es/commands/BatchDeleteDocumentCommand.js +10 -0
- package/dist-es/commands/BatchGetDocumentStatusCommand.js +10 -0
- package/dist-es/commands/BatchPutDocumentCommand.js +10 -0
- package/dist-es/commands/ClearQuerySuggestionsCommand.js +10 -0
- package/dist-es/commands/CreateAccessControlConfigurationCommand.js +10 -0
- package/dist-es/commands/CreateDataSourceCommand.js +10 -0
- package/dist-es/commands/CreateExperienceCommand.js +10 -0
- package/dist-es/commands/CreateFaqCommand.js +10 -0
- package/dist-es/commands/CreateIndexCommand.js +10 -0
- package/dist-es/commands/CreateQuerySuggestionsBlockListCommand.js +10 -0
- package/dist-es/commands/CreateThesaurusCommand.js +10 -0
- package/dist-es/commands/DeleteAccessControlConfigurationCommand.js +10 -0
- package/dist-es/commands/DeleteDataSourceCommand.js +10 -0
- package/dist-es/commands/DeleteExperienceCommand.js +10 -0
- package/dist-es/commands/DeleteFaqCommand.js +10 -0
- package/dist-es/commands/DeleteIndexCommand.js +10 -0
- package/dist-es/commands/DeletePrincipalMappingCommand.js +10 -0
- package/dist-es/commands/DeleteQuerySuggestionsBlockListCommand.js +10 -0
- package/dist-es/commands/DeleteThesaurusCommand.js +10 -0
- package/dist-es/commands/DescribeAccessControlConfigurationCommand.js +10 -0
- package/dist-es/commands/DescribeDataSourceCommand.js +10 -0
- package/dist-es/commands/DescribeExperienceCommand.js +10 -0
- package/dist-es/commands/DescribeFaqCommand.js +10 -0
- package/dist-es/commands/DescribeIndexCommand.js +10 -0
- package/dist-es/commands/DescribePrincipalMappingCommand.js +10 -0
- package/dist-es/commands/DescribeQuerySuggestionsBlockListCommand.js +10 -0
- package/dist-es/commands/DescribeQuerySuggestionsConfigCommand.js +10 -0
- package/dist-es/commands/DescribeThesaurusCommand.js +10 -0
- package/dist-es/commands/DisassociateEntitiesFromExperienceCommand.js +10 -0
- package/dist-es/commands/DisassociatePersonasFromEntitiesCommand.js +10 -0
- package/dist-es/commands/GetQuerySuggestionsCommand.js +10 -0
- package/dist-es/commands/GetSnapshotsCommand.js +10 -0
- package/dist-es/commands/ListAccessControlConfigurationsCommand.js +10 -0
- package/dist-es/commands/ListDataSourceSyncJobsCommand.js +10 -0
- package/dist-es/commands/ListDataSourcesCommand.js +10 -0
- package/dist-es/commands/ListEntityPersonasCommand.js +10 -0
- package/dist-es/commands/ListExperienceEntitiesCommand.js +10 -0
- package/dist-es/commands/ListExperiencesCommand.js +10 -0
- package/dist-es/commands/ListFaqsCommand.js +10 -0
- package/dist-es/commands/ListGroupsOlderThanOrderingIdCommand.js +10 -0
- package/dist-es/commands/ListIndicesCommand.js +10 -0
- package/dist-es/commands/ListQuerySuggestionsBlockListsCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/ListThesauriCommand.js +10 -0
- package/dist-es/commands/PutPrincipalMappingCommand.js +10 -0
- package/dist-es/commands/QueryCommand.js +10 -0
- package/dist-es/commands/StartDataSourceSyncJobCommand.js +10 -0
- package/dist-es/commands/StopDataSourceSyncJobCommand.js +10 -0
- package/dist-es/commands/SubmitFeedbackCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateAccessControlConfigurationCommand.js +10 -0
- package/dist-es/commands/UpdateDataSourceCommand.js +10 -0
- package/dist-es/commands/UpdateExperienceCommand.js +10 -0
- package/dist-es/commands/UpdateIndexCommand.js +10 -0
- package/dist-es/commands/UpdateQuerySuggestionsBlockListCommand.js +10 -0
- package/dist-es/commands/UpdateQuerySuggestionsConfigCommand.js +10 -0
- package/dist-es/commands/UpdateThesaurusCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/KendraClient.d.ts +6 -9
- package/dist-types/commands/AssociateEntitiesToExperienceCommand.d.ts +2 -0
- package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +2 -0
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +2 -0
- package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +2 -0
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +2 -0
- package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +2 -0
- package/dist-types/commands/CreateAccessControlConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +2 -0
- package/dist-types/commands/CreateExperienceCommand.d.ts +2 -0
- package/dist-types/commands/CreateFaqCommand.d.ts +2 -0
- package/dist-types/commands/CreateIndexCommand.d.ts +2 -0
- package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +2 -0
- package/dist-types/commands/CreateThesaurusCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAccessControlConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +2 -0
- package/dist-types/commands/DeleteExperienceCommand.d.ts +2 -0
- package/dist-types/commands/DeleteFaqCommand.d.ts +2 -0
- package/dist-types/commands/DeleteIndexCommand.d.ts +2 -0
- package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +2 -0
- package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +2 -0
- package/dist-types/commands/DeleteThesaurusCommand.d.ts +2 -0
- package/dist-types/commands/DescribeAccessControlConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDataSourceCommand.d.ts +2 -0
- package/dist-types/commands/DescribeExperienceCommand.d.ts +2 -0
- package/dist-types/commands/DescribeFaqCommand.d.ts +2 -0
- package/dist-types/commands/DescribeIndexCommand.d.ts +2 -0
- package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +2 -0
- package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +2 -0
- package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +2 -0
- package/dist-types/commands/DescribeThesaurusCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +2 -0
- package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +2 -0
- package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +2 -0
- package/dist-types/commands/GetSnapshotsCommand.d.ts +2 -0
- package/dist-types/commands/ListAccessControlConfigurationsCommand.d.ts +2 -0
- package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +2 -0
- package/dist-types/commands/ListDataSourcesCommand.d.ts +2 -0
- package/dist-types/commands/ListEntityPersonasCommand.d.ts +2 -0
- package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +2 -0
- package/dist-types/commands/ListExperiencesCommand.d.ts +2 -0
- package/dist-types/commands/ListFaqsCommand.d.ts +2 -0
- package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +2 -0
- package/dist-types/commands/ListIndicesCommand.d.ts +2 -0
- package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/ListThesauriCommand.d.ts +2 -0
- package/dist-types/commands/PutPrincipalMappingCommand.d.ts +2 -0
- package/dist-types/commands/QueryCommand.d.ts +2 -0
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +2 -0
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +2 -0
- package/dist-types/commands/SubmitFeedbackCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateExperienceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateIndexCommand.d.ts +2 -0
- package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +2 -0
- package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +2 -0
- package/dist-types/commands/UpdateThesaurusCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/KendraClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/AssociateEntitiesToExperienceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AssociatePersonasToEntitiesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/BatchDeleteDocumentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/BatchGetDocumentStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/BatchPutDocumentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ClearQuerySuggestionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateAccessControlConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateExperienceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateFaqCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateQuerySuggestionsBlockListCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateThesaurusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAccessControlConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteExperienceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteFaqCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeletePrincipalMappingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteThesaurusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeAccessControlConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeDataSourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeExperienceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeFaqCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeIndexCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribePrincipalMappingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeQuerySuggestionsConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeThesaurusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociateEntitiesFromExperienceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociatePersonasFromEntitiesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetQuerySuggestionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSnapshotsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAccessControlConfigurationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDataSourceSyncJobsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListEntityPersonasCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListExperienceEntitiesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListExperiencesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListFaqsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListIndicesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListQuerySuggestionsBlockListsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListThesauriCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutPrincipalMappingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SubmitFeedbackCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateAccessControlConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateExperienceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateQuerySuggestionsConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateThesaurusCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +5 -3
- package/dist-cjs/endpoints.js +0 -168
- package/dist-es/endpoints.js +0 -164
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
package/dist-cjs/endpoints.js
DELETED
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultRegionInfoProvider = void 0;
|
|
4
|
-
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
-
const regionHash = {
|
|
6
|
-
"us-east-1": {
|
|
7
|
-
variants: [
|
|
8
|
-
{
|
|
9
|
-
hostname: "kendra-fips.us-east-1.amazonaws.com",
|
|
10
|
-
tags: ["fips"],
|
|
11
|
-
},
|
|
12
|
-
],
|
|
13
|
-
},
|
|
14
|
-
"us-east-2": {
|
|
15
|
-
variants: [
|
|
16
|
-
{
|
|
17
|
-
hostname: "kendra-fips.us-east-2.amazonaws.com",
|
|
18
|
-
tags: ["fips"],
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
},
|
|
22
|
-
"us-gov-west-1": {
|
|
23
|
-
variants: [
|
|
24
|
-
{
|
|
25
|
-
hostname: "kendra-fips.us-gov-west-1.amazonaws.com",
|
|
26
|
-
tags: ["fips"],
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
},
|
|
30
|
-
"us-west-2": {
|
|
31
|
-
variants: [
|
|
32
|
-
{
|
|
33
|
-
hostname: "kendra-fips.us-west-2.amazonaws.com",
|
|
34
|
-
tags: ["fips"],
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const partitionHash = {
|
|
40
|
-
aws: {
|
|
41
|
-
regions: [
|
|
42
|
-
"af-south-1",
|
|
43
|
-
"ap-east-1",
|
|
44
|
-
"ap-northeast-1",
|
|
45
|
-
"ap-northeast-2",
|
|
46
|
-
"ap-northeast-3",
|
|
47
|
-
"ap-south-1",
|
|
48
|
-
"ap-southeast-1",
|
|
49
|
-
"ap-southeast-2",
|
|
50
|
-
"ap-southeast-3",
|
|
51
|
-
"ca-central-1",
|
|
52
|
-
"eu-central-1",
|
|
53
|
-
"eu-north-1",
|
|
54
|
-
"eu-south-1",
|
|
55
|
-
"eu-west-1",
|
|
56
|
-
"eu-west-2",
|
|
57
|
-
"eu-west-3",
|
|
58
|
-
"fips-us-east-1",
|
|
59
|
-
"fips-us-east-2",
|
|
60
|
-
"fips-us-west-2",
|
|
61
|
-
"me-central-1",
|
|
62
|
-
"me-south-1",
|
|
63
|
-
"sa-east-1",
|
|
64
|
-
"us-east-1",
|
|
65
|
-
"us-east-2",
|
|
66
|
-
"us-west-1",
|
|
67
|
-
"us-west-2",
|
|
68
|
-
],
|
|
69
|
-
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
70
|
-
variants: [
|
|
71
|
-
{
|
|
72
|
-
hostname: "kendra.{region}.amazonaws.com",
|
|
73
|
-
tags: [],
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
hostname: "kendra-fips.{region}.amazonaws.com",
|
|
77
|
-
tags: ["fips"],
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
hostname: "kendra-fips.{region}.api.aws",
|
|
81
|
-
tags: ["dualstack", "fips"],
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
hostname: "kendra.{region}.api.aws",
|
|
85
|
-
tags: ["dualstack"],
|
|
86
|
-
},
|
|
87
|
-
],
|
|
88
|
-
},
|
|
89
|
-
"aws-cn": {
|
|
90
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
91
|
-
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
92
|
-
variants: [
|
|
93
|
-
{
|
|
94
|
-
hostname: "kendra.{region}.amazonaws.com.cn",
|
|
95
|
-
tags: [],
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
hostname: "kendra-fips.{region}.amazonaws.com.cn",
|
|
99
|
-
tags: ["fips"],
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
hostname: "kendra-fips.{region}.api.amazonwebservices.com.cn",
|
|
103
|
-
tags: ["dualstack", "fips"],
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
hostname: "kendra.{region}.api.amazonwebservices.com.cn",
|
|
107
|
-
tags: ["dualstack"],
|
|
108
|
-
},
|
|
109
|
-
],
|
|
110
|
-
},
|
|
111
|
-
"aws-iso": {
|
|
112
|
-
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
113
|
-
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
114
|
-
variants: [
|
|
115
|
-
{
|
|
116
|
-
hostname: "kendra.{region}.c2s.ic.gov",
|
|
117
|
-
tags: [],
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
hostname: "kendra-fips.{region}.c2s.ic.gov",
|
|
121
|
-
tags: ["fips"],
|
|
122
|
-
},
|
|
123
|
-
],
|
|
124
|
-
},
|
|
125
|
-
"aws-iso-b": {
|
|
126
|
-
regions: ["us-isob-east-1"],
|
|
127
|
-
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
128
|
-
variants: [
|
|
129
|
-
{
|
|
130
|
-
hostname: "kendra.{region}.sc2s.sgov.gov",
|
|
131
|
-
tags: [],
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
hostname: "kendra-fips.{region}.sc2s.sgov.gov",
|
|
135
|
-
tags: ["fips"],
|
|
136
|
-
},
|
|
137
|
-
],
|
|
138
|
-
},
|
|
139
|
-
"aws-us-gov": {
|
|
140
|
-
regions: ["fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
141
|
-
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
142
|
-
variants: [
|
|
143
|
-
{
|
|
144
|
-
hostname: "kendra.{region}.amazonaws.com",
|
|
145
|
-
tags: [],
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
hostname: "kendra-fips.{region}.amazonaws.com",
|
|
149
|
-
tags: ["fips"],
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
hostname: "kendra-fips.{region}.api.aws",
|
|
153
|
-
tags: ["dualstack", "fips"],
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
hostname: "kendra.{region}.api.aws",
|
|
157
|
-
tags: ["dualstack"],
|
|
158
|
-
},
|
|
159
|
-
],
|
|
160
|
-
},
|
|
161
|
-
};
|
|
162
|
-
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
163
|
-
...options,
|
|
164
|
-
signingService: "kendra",
|
|
165
|
-
regionHash,
|
|
166
|
-
partitionHash,
|
|
167
|
-
});
|
|
168
|
-
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
package/dist-es/endpoints.js
DELETED
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
const regionHash = {
|
|
3
|
-
"us-east-1": {
|
|
4
|
-
variants: [
|
|
5
|
-
{
|
|
6
|
-
hostname: "kendra-fips.us-east-1.amazonaws.com",
|
|
7
|
-
tags: ["fips"],
|
|
8
|
-
},
|
|
9
|
-
],
|
|
10
|
-
},
|
|
11
|
-
"us-east-2": {
|
|
12
|
-
variants: [
|
|
13
|
-
{
|
|
14
|
-
hostname: "kendra-fips.us-east-2.amazonaws.com",
|
|
15
|
-
tags: ["fips"],
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
|
-
},
|
|
19
|
-
"us-gov-west-1": {
|
|
20
|
-
variants: [
|
|
21
|
-
{
|
|
22
|
-
hostname: "kendra-fips.us-gov-west-1.amazonaws.com",
|
|
23
|
-
tags: ["fips"],
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
},
|
|
27
|
-
"us-west-2": {
|
|
28
|
-
variants: [
|
|
29
|
-
{
|
|
30
|
-
hostname: "kendra-fips.us-west-2.amazonaws.com",
|
|
31
|
-
tags: ["fips"],
|
|
32
|
-
},
|
|
33
|
-
],
|
|
34
|
-
},
|
|
35
|
-
};
|
|
36
|
-
const partitionHash = {
|
|
37
|
-
aws: {
|
|
38
|
-
regions: [
|
|
39
|
-
"af-south-1",
|
|
40
|
-
"ap-east-1",
|
|
41
|
-
"ap-northeast-1",
|
|
42
|
-
"ap-northeast-2",
|
|
43
|
-
"ap-northeast-3",
|
|
44
|
-
"ap-south-1",
|
|
45
|
-
"ap-southeast-1",
|
|
46
|
-
"ap-southeast-2",
|
|
47
|
-
"ap-southeast-3",
|
|
48
|
-
"ca-central-1",
|
|
49
|
-
"eu-central-1",
|
|
50
|
-
"eu-north-1",
|
|
51
|
-
"eu-south-1",
|
|
52
|
-
"eu-west-1",
|
|
53
|
-
"eu-west-2",
|
|
54
|
-
"eu-west-3",
|
|
55
|
-
"fips-us-east-1",
|
|
56
|
-
"fips-us-east-2",
|
|
57
|
-
"fips-us-west-2",
|
|
58
|
-
"me-central-1",
|
|
59
|
-
"me-south-1",
|
|
60
|
-
"sa-east-1",
|
|
61
|
-
"us-east-1",
|
|
62
|
-
"us-east-2",
|
|
63
|
-
"us-west-1",
|
|
64
|
-
"us-west-2",
|
|
65
|
-
],
|
|
66
|
-
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
67
|
-
variants: [
|
|
68
|
-
{
|
|
69
|
-
hostname: "kendra.{region}.amazonaws.com",
|
|
70
|
-
tags: [],
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
hostname: "kendra-fips.{region}.amazonaws.com",
|
|
74
|
-
tags: ["fips"],
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
hostname: "kendra-fips.{region}.api.aws",
|
|
78
|
-
tags: ["dualstack", "fips"],
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
hostname: "kendra.{region}.api.aws",
|
|
82
|
-
tags: ["dualstack"],
|
|
83
|
-
},
|
|
84
|
-
],
|
|
85
|
-
},
|
|
86
|
-
"aws-cn": {
|
|
87
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
88
|
-
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
89
|
-
variants: [
|
|
90
|
-
{
|
|
91
|
-
hostname: "kendra.{region}.amazonaws.com.cn",
|
|
92
|
-
tags: [],
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
hostname: "kendra-fips.{region}.amazonaws.com.cn",
|
|
96
|
-
tags: ["fips"],
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
hostname: "kendra-fips.{region}.api.amazonwebservices.com.cn",
|
|
100
|
-
tags: ["dualstack", "fips"],
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
hostname: "kendra.{region}.api.amazonwebservices.com.cn",
|
|
104
|
-
tags: ["dualstack"],
|
|
105
|
-
},
|
|
106
|
-
],
|
|
107
|
-
},
|
|
108
|
-
"aws-iso": {
|
|
109
|
-
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
110
|
-
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
111
|
-
variants: [
|
|
112
|
-
{
|
|
113
|
-
hostname: "kendra.{region}.c2s.ic.gov",
|
|
114
|
-
tags: [],
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
hostname: "kendra-fips.{region}.c2s.ic.gov",
|
|
118
|
-
tags: ["fips"],
|
|
119
|
-
},
|
|
120
|
-
],
|
|
121
|
-
},
|
|
122
|
-
"aws-iso-b": {
|
|
123
|
-
regions: ["us-isob-east-1"],
|
|
124
|
-
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
125
|
-
variants: [
|
|
126
|
-
{
|
|
127
|
-
hostname: "kendra.{region}.sc2s.sgov.gov",
|
|
128
|
-
tags: [],
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
hostname: "kendra-fips.{region}.sc2s.sgov.gov",
|
|
132
|
-
tags: ["fips"],
|
|
133
|
-
},
|
|
134
|
-
],
|
|
135
|
-
},
|
|
136
|
-
"aws-us-gov": {
|
|
137
|
-
regions: ["fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
138
|
-
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
139
|
-
variants: [
|
|
140
|
-
{
|
|
141
|
-
hostname: "kendra.{region}.amazonaws.com",
|
|
142
|
-
tags: [],
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
hostname: "kendra-fips.{region}.amazonaws.com",
|
|
146
|
-
tags: ["fips"],
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
hostname: "kendra-fips.{region}.api.aws",
|
|
150
|
-
tags: ["dualstack", "fips"],
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
hostname: "kendra.{region}.api.aws",
|
|
154
|
-
tags: ["dualstack"],
|
|
155
|
-
},
|
|
156
|
-
],
|
|
157
|
-
},
|
|
158
|
-
};
|
|
159
|
-
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
160
|
-
...options,
|
|
161
|
-
signingService: "kendra",
|
|
162
|
-
regionHash,
|
|
163
|
-
partitionHash,
|
|
164
|
-
});
|