@aws-sdk/client-qbusiness 3.1044.0 → 3.1046.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/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +184 -185
- package/dist-cjs/models/QBusinessServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +15 -17
- package/dist-cjs/runtimeConfig.js +20 -24
- package/dist-cjs/runtimeConfig.native.js +2 -2
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-es/QBusiness.js +1 -1
- package/dist-es/QBusinessClient.js +6 -6
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/AssociatePermissionCommand.js +2 -2
- package/dist-es/commands/BatchDeleteDocumentCommand.js +2 -2
- package/dist-es/commands/BatchPutDocumentCommand.js +2 -2
- package/dist-es/commands/CancelSubscriptionCommand.js +2 -2
- package/dist-es/commands/ChatCommand.js +2 -2
- package/dist-es/commands/ChatSyncCommand.js +2 -2
- package/dist-es/commands/CheckDocumentAccessCommand.js +2 -2
- package/dist-es/commands/CreateAnonymousWebExperienceUrlCommand.js +2 -2
- package/dist-es/commands/CreateApplicationCommand.js +2 -2
- package/dist-es/commands/CreateChatResponseConfigurationCommand.js +2 -2
- package/dist-es/commands/CreateDataAccessorCommand.js +2 -2
- package/dist-es/commands/CreateDataSourceCommand.js +2 -2
- package/dist-es/commands/CreateIndexCommand.js +2 -2
- package/dist-es/commands/CreatePluginCommand.js +2 -2
- package/dist-es/commands/CreateRetrieverCommand.js +2 -2
- package/dist-es/commands/CreateSubscriptionCommand.js +2 -2
- package/dist-es/commands/CreateUserCommand.js +2 -2
- package/dist-es/commands/CreateWebExperienceCommand.js +2 -2
- package/dist-es/commands/DeleteApplicationCommand.js +2 -2
- package/dist-es/commands/DeleteAttachmentCommand.js +2 -2
- package/dist-es/commands/DeleteChatControlsConfigurationCommand.js +2 -2
- package/dist-es/commands/DeleteChatResponseConfigurationCommand.js +2 -2
- package/dist-es/commands/DeleteConversationCommand.js +2 -2
- package/dist-es/commands/DeleteDataAccessorCommand.js +2 -2
- package/dist-es/commands/DeleteDataSourceCommand.js +2 -2
- package/dist-es/commands/DeleteGroupCommand.js +2 -2
- package/dist-es/commands/DeleteIndexCommand.js +2 -2
- package/dist-es/commands/DeletePluginCommand.js +2 -2
- package/dist-es/commands/DeleteRetrieverCommand.js +2 -2
- package/dist-es/commands/DeleteUserCommand.js +2 -2
- package/dist-es/commands/DeleteWebExperienceCommand.js +2 -2
- package/dist-es/commands/DisassociatePermissionCommand.js +2 -2
- package/dist-es/commands/GetApplicationCommand.js +2 -2
- package/dist-es/commands/GetChatControlsConfigurationCommand.js +2 -2
- package/dist-es/commands/GetChatResponseConfigurationCommand.js +2 -2
- package/dist-es/commands/GetDataAccessorCommand.js +2 -2
- package/dist-es/commands/GetDataSourceCommand.js +2 -2
- package/dist-es/commands/GetDocumentContentCommand.js +2 -2
- package/dist-es/commands/GetGroupCommand.js +2 -2
- package/dist-es/commands/GetIndexCommand.js +2 -2
- package/dist-es/commands/GetMediaCommand.js +2 -2
- package/dist-es/commands/GetPluginCommand.js +2 -2
- package/dist-es/commands/GetPolicyCommand.js +2 -2
- package/dist-es/commands/GetRetrieverCommand.js +2 -2
- package/dist-es/commands/GetUserCommand.js +2 -2
- package/dist-es/commands/GetWebExperienceCommand.js +2 -2
- package/dist-es/commands/ListApplicationsCommand.js +2 -2
- package/dist-es/commands/ListAttachmentsCommand.js +2 -2
- package/dist-es/commands/ListChatResponseConfigurationsCommand.js +2 -2
- package/dist-es/commands/ListConversationsCommand.js +2 -2
- package/dist-es/commands/ListDataAccessorsCommand.js +2 -2
- package/dist-es/commands/ListDataSourceSyncJobsCommand.js +2 -2
- package/dist-es/commands/ListDataSourcesCommand.js +2 -2
- package/dist-es/commands/ListDocumentsCommand.js +2 -2
- package/dist-es/commands/ListGroupsCommand.js +2 -2
- package/dist-es/commands/ListIndicesCommand.js +2 -2
- package/dist-es/commands/ListMessagesCommand.js +2 -2
- package/dist-es/commands/ListPluginActionsCommand.js +2 -2
- package/dist-es/commands/ListPluginTypeActionsCommand.js +2 -2
- package/dist-es/commands/ListPluginTypeMetadataCommand.js +2 -2
- package/dist-es/commands/ListPluginsCommand.js +2 -2
- package/dist-es/commands/ListRetrieversCommand.js +2 -2
- package/dist-es/commands/ListSubscriptionsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListWebExperiencesCommand.js +2 -2
- package/dist-es/commands/PutFeedbackCommand.js +2 -2
- package/dist-es/commands/PutGroupCommand.js +2 -2
- package/dist-es/commands/SearchRelevantContentCommand.js +2 -2
- package/dist-es/commands/StartDataSourceSyncJobCommand.js +2 -2
- package/dist-es/commands/StopDataSourceSyncJobCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateApplicationCommand.js +2 -2
- package/dist-es/commands/UpdateChatControlsConfigurationCommand.js +2 -2
- package/dist-es/commands/UpdateChatResponseConfigurationCommand.js +2 -2
- package/dist-es/commands/UpdateDataAccessorCommand.js +2 -2
- package/dist-es/commands/UpdateDataSourceCommand.js +2 -2
- package/dist-es/commands/UpdateIndexCommand.js +2 -2
- package/dist-es/commands/UpdatePluginCommand.js +2 -2
- package/dist-es/commands/UpdateRetrieverCommand.js +2 -2
- package/dist-es/commands/UpdateSubscriptionCommand.js +2 -2
- package/dist-es/commands/UpdateUserCommand.js +2 -2
- package/dist-es/commands/UpdateWebExperienceCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/QBusinessServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +5 -7
- package/dist-es/runtimeConfig.js +5 -9
- package/dist-es/runtimeConfig.native.js +1 -1
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-types/QBusinessClient.d.ts +6 -6
- package/dist-types/commands/AssociatePermissionCommand.d.ts +6 -4
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +6 -4
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +6 -4
- package/dist-types/commands/CancelSubscriptionCommand.d.ts +6 -4
- package/dist-types/commands/ChatCommand.d.ts +6 -4
- package/dist-types/commands/ChatSyncCommand.d.ts +6 -4
- package/dist-types/commands/CheckDocumentAccessCommand.d.ts +6 -4
- package/dist-types/commands/CreateAnonymousWebExperienceUrlCommand.d.ts +6 -4
- package/dist-types/commands/CreateApplicationCommand.d.ts +6 -4
- package/dist-types/commands/CreateChatResponseConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/CreateDataAccessorCommand.d.ts +6 -4
- package/dist-types/commands/CreateDataSourceCommand.d.ts +6 -4
- package/dist-types/commands/CreateIndexCommand.d.ts +6 -4
- package/dist-types/commands/CreatePluginCommand.d.ts +6 -4
- package/dist-types/commands/CreateRetrieverCommand.d.ts +6 -4
- package/dist-types/commands/CreateSubscriptionCommand.d.ts +6 -4
- package/dist-types/commands/CreateUserCommand.d.ts +6 -4
- package/dist-types/commands/CreateWebExperienceCommand.d.ts +6 -4
- package/dist-types/commands/DeleteApplicationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteAttachmentCommand.d.ts +6 -4
- package/dist-types/commands/DeleteChatControlsConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteChatResponseConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteConversationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteDataAccessorCommand.d.ts +6 -4
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +6 -4
- package/dist-types/commands/DeleteGroupCommand.d.ts +6 -4
- package/dist-types/commands/DeleteIndexCommand.d.ts +6 -4
- package/dist-types/commands/DeletePluginCommand.d.ts +6 -4
- package/dist-types/commands/DeleteRetrieverCommand.d.ts +6 -4
- package/dist-types/commands/DeleteUserCommand.d.ts +6 -4
- package/dist-types/commands/DeleteWebExperienceCommand.d.ts +6 -4
- package/dist-types/commands/DisassociatePermissionCommand.d.ts +6 -4
- package/dist-types/commands/GetApplicationCommand.d.ts +6 -4
- package/dist-types/commands/GetChatControlsConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/GetChatResponseConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/GetDataAccessorCommand.d.ts +6 -4
- package/dist-types/commands/GetDataSourceCommand.d.ts +6 -4
- package/dist-types/commands/GetDocumentContentCommand.d.ts +6 -4
- package/dist-types/commands/GetGroupCommand.d.ts +6 -4
- package/dist-types/commands/GetIndexCommand.d.ts +6 -4
- package/dist-types/commands/GetMediaCommand.d.ts +6 -4
- package/dist-types/commands/GetPluginCommand.d.ts +6 -4
- package/dist-types/commands/GetPolicyCommand.d.ts +6 -4
- package/dist-types/commands/GetRetrieverCommand.d.ts +6 -4
- package/dist-types/commands/GetUserCommand.d.ts +6 -4
- package/dist-types/commands/GetWebExperienceCommand.d.ts +6 -4
- package/dist-types/commands/ListApplicationsCommand.d.ts +6 -4
- package/dist-types/commands/ListAttachmentsCommand.d.ts +6 -4
- package/dist-types/commands/ListChatResponseConfigurationsCommand.d.ts +6 -4
- package/dist-types/commands/ListConversationsCommand.d.ts +6 -4
- package/dist-types/commands/ListDataAccessorsCommand.d.ts +6 -4
- package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +6 -4
- package/dist-types/commands/ListDataSourcesCommand.d.ts +6 -4
- package/dist-types/commands/ListDocumentsCommand.d.ts +6 -4
- package/dist-types/commands/ListGroupsCommand.d.ts +6 -4
- package/dist-types/commands/ListIndicesCommand.d.ts +6 -4
- package/dist-types/commands/ListMessagesCommand.d.ts +6 -4
- package/dist-types/commands/ListPluginActionsCommand.d.ts +6 -4
- package/dist-types/commands/ListPluginTypeActionsCommand.d.ts +6 -4
- package/dist-types/commands/ListPluginTypeMetadataCommand.d.ts +6 -4
- package/dist-types/commands/ListPluginsCommand.d.ts +6 -4
- package/dist-types/commands/ListRetrieversCommand.d.ts +6 -4
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/ListWebExperiencesCommand.d.ts +6 -4
- package/dist-types/commands/PutFeedbackCommand.d.ts +6 -4
- package/dist-types/commands/PutGroupCommand.d.ts +6 -4
- package/dist-types/commands/SearchRelevantContentCommand.d.ts +6 -4
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +6 -4
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateApplicationCommand.d.ts +6 -4
- package/dist-types/commands/UpdateChatControlsConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/UpdateChatResponseConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/UpdateDataAccessorCommand.d.ts +6 -4
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateIndexCommand.d.ts +6 -4
- package/dist-types/commands/UpdatePluginCommand.d.ts +6 -4
- package/dist-types/commands/UpdateRetrieverCommand.d.ts +6 -4
- package/dist-types/commands/UpdateSubscriptionCommand.d.ts +6 -4
- package/dist-types/commands/UpdateUserCommand.d.ts +6 -4
- package/dist-types/commands/UpdateWebExperienceCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/QBusinessServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/QBusinessClient.d.ts +12 -18
- package/dist-types/ts3.4/commands/AssociatePermissionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchDeleteDocumentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchPutDocumentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CancelSubscriptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ChatCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ChatSyncCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/CheckDocumentAccessCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateAnonymousWebExperienceUrlCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateChatResponseConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateDataAccessorCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreatePluginCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateRetrieverCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateSubscriptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateWebExperienceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteAttachmentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteChatControlsConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteChatResponseConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteConversationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteDataAccessorCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeletePluginCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteRetrieverCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteWebExperienceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DisassociatePermissionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetChatControlsConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetChatResponseConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetDataAccessorCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetDocumentContentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/GetIndexCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/GetMediaCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/GetPluginCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/GetRetrieverCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetUserCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetWebExperienceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAttachmentsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListChatResponseConfigurationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListConversationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDataAccessorsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDataSourceSyncJobsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDocumentsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListIndicesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListMessagesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPluginActionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPluginTypeActionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPluginTypeMetadataCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPluginsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListRetrieversCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListWebExperiencesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutFeedbackCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutGroupCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/SearchRelevantContentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateChatControlsConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateChatResponseConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateDataAccessorCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdatePluginCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateRetrieverCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateSubscriptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateWebExperienceCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/QBusinessServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +16 -40
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultQBusinessHttpAuthSchemeProvider = exports.defaultQBusinessHttpAuthSchemeParametersProvider = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
-
const
|
|
5
|
+
const client_1 = require("@smithy/core/client");
|
|
6
6
|
const defaultQBusinessHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
|
-
operation: (0,
|
|
9
|
-
region: await (0,
|
|
8
|
+
operation: (0, client_1.getSmithyContext)(context).operation,
|
|
9
|
+
region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
|
|
10
10
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
11
|
})(),
|
|
12
12
|
};
|
|
@@ -40,7 +40,7 @@ exports.defaultQBusinessHttpAuthSchemeProvider = defaultQBusinessHttpAuthSchemeP
|
|
|
40
40
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
41
|
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
42
|
return Object.assign(config_0, {
|
|
43
|
-
authSchemePreference: (0,
|
|
43
|
+
authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
46
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/endpoint/bdd.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bdd = void 0;
|
|
4
|
-
const
|
|
4
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
5
5
|
const j = "ref";
|
|
6
6
|
const a = true, b = "isSet", c = "PartitionResult", d = "booleanEquals", e = "getAttr", f = { [j]: "Endpoint" }, g = { [j]: c }, h = {}, i = [{ [j]: "Region" }];
|
|
7
7
|
const _data = {
|
|
@@ -38,4 +38,4 @@ const nodes = new Int32Array([
|
|
|
38
38
|
5, r + 3, r + 6,
|
|
39
39
|
3, r + 1, r + 2,
|
|
40
40
|
]);
|
|
41
|
-
exports.bdd =
|
|
41
|
+
exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
-
const
|
|
5
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
|
-
const cache = new
|
|
7
|
+
const cache = new endpoints_1.EndpointCache({
|
|
8
8
|
size: 50,
|
|
9
9
|
params: ["Endpoint", "Region", "UseFIPS"],
|
|
10
10
|
});
|
|
11
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
12
|
-
return cache.get(endpointParams, () => (0,
|
|
12
|
+
return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
|
|
13
13
|
endpointParams: endpointParams,
|
|
14
14
|
logger: context.logger,
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
-
|
|
18
|
+
endpoints_1.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|