@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
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListExperiencesRequestFilterSensitiveLog, ListExperiencesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListExperiencesCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListExperiencesCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KendraClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListFaqsRequestFilterSensitiveLog, ListFaqsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListFaqsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListFaqsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KendraClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListGroupsOlderThanOrderingIdRequestFilterSensitiveLog, ListGroupsOlderThanOrderingIdResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListGroupsOlderThanOrderingIdCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListGroupsOlderThanOrderingIdCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KendraClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListIndicesRequestFilterSensitiveLog, ListIndicesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListIndicesCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListIndicesCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KendraClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListQuerySuggestionsBlockListsRequestFilterSensitiveLog, ListQuerySuggestionsBlockListsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListQuerySuggestionsBlockListsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListQuerySuggestionsBlockListsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KendraClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListTagsForResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KendraClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListThesauriRequestFilterSensitiveLog, ListThesauriResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListThesauriCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListThesauriCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KendraClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { PutPrincipalMappingRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class PutPrincipalMappingCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, PutPrincipalMappingCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KendraClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { QueryRequestFilterSensitiveLog, QueryResultFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class QueryCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, QueryCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KendraClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartDataSourceSyncJobRequestFilterSensitiveLog, StartDataSourceSyncJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StartDataSourceSyncJobCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartDataSourceSyncJobCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KendraClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StopDataSourceSyncJobRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StopDataSourceSyncJobCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StopDataSourceSyncJobCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KendraClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { SubmitFeedbackRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class SubmitFeedbackCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, SubmitFeedbackCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KendraClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class TagResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KendraClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UntagResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KendraClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateAccessControlConfigurationRequestFilterSensitiveLog, UpdateAccessControlConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateAccessControlConfigurationCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAccessControlConfigurationCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KendraClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateDataSourceRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateDataSourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateDataSourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KendraClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateExperienceRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateExperienceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateExperienceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KendraClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateIndexRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateIndexCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateIndexCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KendraClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateQuerySuggestionsBlockListRequestFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateQuerySuggestionsBlockListCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateQuerySuggestionsBlockListCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KendraClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateQuerySuggestionsConfigRequestFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateQuerySuggestionsConfigCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateQuerySuggestionsConfigCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KendraClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateThesaurusRequestFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateThesaurusCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateThesaurusCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "KendraClient";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { resolveEndpoint } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { ruleSet } from "./ruleset";
|
|
3
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
|
+
return resolveEndpoint(ruleSet, {
|
|
5
|
+
endpointParams: endpointParams,
|
|
6
|
+
logger: context.logger,
|
|
7
|
+
});
|
|
8
|
+
};
|