@aws-sdk/client-qbusiness 3.943.0 → 3.946.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +157 -736
- package/dist-cjs/runtimeConfig.browser.js +5 -3
- package/dist-cjs/runtimeConfig.js +8 -5
- package/dist-cjs/runtimeConfig.native.js +3 -1
- package/dist-es/QBusinessClient.js +2 -2
- package/dist-es/runtimeConfig.browser.js +5 -3
- package/dist-es/runtimeConfig.js +7 -4
- package/dist-es/runtimeConfig.native.js +3 -1
- package/dist-es/schemas/schemas_0.js +157 -736
- package/dist-types/QBusiness.d.ts +1 -1
- package/dist-types/QBusinessClient.d.ts +12 -12
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/AssociatePermissionCommand.d.ts +3 -3
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +3 -3
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +3 -3
- package/dist-types/commands/CancelSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/ChatCommand.d.ts +4 -4
- package/dist-types/commands/ChatSyncCommand.d.ts +4 -4
- package/dist-types/commands/CheckDocumentAccessCommand.d.ts +3 -3
- package/dist-types/commands/CreateAnonymousWebExperienceUrlCommand.d.ts +3 -3
- package/dist-types/commands/CreateApplicationCommand.d.ts +3 -3
- package/dist-types/commands/CreateChatResponseConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/CreateDataAccessorCommand.d.ts +4 -4
- package/dist-types/commands/CreateDataSourceCommand.d.ts +3 -3
- package/dist-types/commands/CreateIndexCommand.d.ts +3 -3
- package/dist-types/commands/CreatePluginCommand.d.ts +3 -3
- package/dist-types/commands/CreateRetrieverCommand.d.ts +3 -3
- package/dist-types/commands/CreateSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/CreateUserCommand.d.ts +3 -3
- package/dist-types/commands/CreateWebExperienceCommand.d.ts +3 -3
- package/dist-types/commands/DeleteApplicationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAttachmentCommand.d.ts +3 -3
- package/dist-types/commands/DeleteChatControlsConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteChatResponseConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteConversationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDataAccessorCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +3 -3
- package/dist-types/commands/DeleteGroupCommand.d.ts +3 -3
- package/dist-types/commands/DeleteIndexCommand.d.ts +3 -3
- package/dist-types/commands/DeletePluginCommand.d.ts +3 -3
- package/dist-types/commands/DeleteRetrieverCommand.d.ts +3 -3
- package/dist-types/commands/DeleteUserCommand.d.ts +3 -3
- package/dist-types/commands/DeleteWebExperienceCommand.d.ts +3 -3
- package/dist-types/commands/DisassociatePermissionCommand.d.ts +3 -3
- package/dist-types/commands/GetApplicationCommand.d.ts +3 -3
- package/dist-types/commands/GetChatControlsConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetChatResponseConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetDataAccessorCommand.d.ts +4 -4
- package/dist-types/commands/GetDataSourceCommand.d.ts +3 -3
- package/dist-types/commands/GetDocumentContentCommand.d.ts +3 -3
- package/dist-types/commands/GetGroupCommand.d.ts +3 -3
- package/dist-types/commands/GetIndexCommand.d.ts +3 -3
- package/dist-types/commands/GetMediaCommand.d.ts +3 -3
- package/dist-types/commands/GetPluginCommand.d.ts +3 -3
- package/dist-types/commands/GetPolicyCommand.d.ts +3 -3
- package/dist-types/commands/GetRetrieverCommand.d.ts +3 -3
- package/dist-types/commands/GetUserCommand.d.ts +3 -3
- package/dist-types/commands/GetWebExperienceCommand.d.ts +3 -3
- package/dist-types/commands/ListApplicationsCommand.d.ts +3 -3
- package/dist-types/commands/ListAttachmentsCommand.d.ts +3 -3
- package/dist-types/commands/ListChatResponseConfigurationsCommand.d.ts +3 -3
- package/dist-types/commands/ListConversationsCommand.d.ts +3 -3
- package/dist-types/commands/ListDataAccessorsCommand.d.ts +3 -3
- package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +3 -3
- package/dist-types/commands/ListDataSourcesCommand.d.ts +3 -3
- package/dist-types/commands/ListDocumentsCommand.d.ts +3 -3
- package/dist-types/commands/ListGroupsCommand.d.ts +3 -3
- package/dist-types/commands/ListIndicesCommand.d.ts +3 -3
- package/dist-types/commands/ListMessagesCommand.d.ts +3 -3
- package/dist-types/commands/ListPluginActionsCommand.d.ts +3 -3
- package/dist-types/commands/ListPluginTypeActionsCommand.d.ts +3 -3
- package/dist-types/commands/ListPluginTypeMetadataCommand.d.ts +3 -3
- package/dist-types/commands/ListPluginsCommand.d.ts +3 -3
- package/dist-types/commands/ListRetrieversCommand.d.ts +3 -3
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/ListWebExperiencesCommand.d.ts +3 -3
- package/dist-types/commands/PutFeedbackCommand.d.ts +3 -3
- package/dist-types/commands/PutGroupCommand.d.ts +3 -3
- package/dist-types/commands/SearchRelevantContentCommand.d.ts +4 -4
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +3 -3
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateApplicationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateChatControlsConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateChatResponseConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDataAccessorCommand.d.ts +4 -4
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateIndexCommand.d.ts +3 -3
- package/dist-types/commands/UpdatePluginCommand.d.ts +3 -3
- package/dist-types/commands/UpdateRetrieverCommand.d.ts +3 -3
- package/dist-types/commands/UpdateSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/UpdateUserCommand.d.ts +3 -3
- package/dist-types/commands/UpdateWebExperienceCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/QBusinessServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +1 -1
- package/dist-types/pagination/GetChatControlsConfigurationPaginator.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAttachmentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListChatResponseConfigurationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListConversationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataAccessorsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataSourceSyncJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataSourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDocumentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListIndicesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMessagesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPluginActionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPluginTypeActionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPluginTypeMetadataPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPluginsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRetrieversPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSubscriptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWebExperiencesPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchRelevantContentPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -1
- package/dist-types/ts3.4/QBusinessClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/QBusinessServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +5 -5
- package/package.json +13 -12
|
@@ -9,11 +9,11 @@ const config_resolver_1 = require("@smithy/config-resolver");
|
|
|
9
9
|
const eventstream_serde_browser_1 = require("@smithy/eventstream-serde-browser");
|
|
10
10
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
11
11
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
12
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
12
13
|
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
14
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
13
15
|
const util_retry_1 = require("@smithy/util-retry");
|
|
14
16
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
16
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
17
17
|
const getRuntimeConfig = (config) => {
|
|
18
18
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
19
19
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -28,7 +28,9 @@ const getRuntimeConfig = (config) => {
|
|
|
28
28
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
29
29
|
(0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
30
30
|
eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ??
|
|
31
|
-
(() => ({
|
|
31
|
+
(() => ({
|
|
32
|
+
handle: (0, invalid_dependency_1.invalidFunction)("event stream request is not supported in browser."),
|
|
33
|
+
})),
|
|
32
34
|
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventstream_serde_browser_1.eventStreamSerdeProvider,
|
|
33
35
|
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
36
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
@@ -13,14 +13,13 @@ const hash_node_1 = require("@smithy/hash-node");
|
|
|
13
13
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
14
14
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
15
15
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
16
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
16
17
|
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
18
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
17
19
|
const util_retry_1 = require("@smithy/util-retry");
|
|
18
20
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
19
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
20
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
21
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
|
22
21
|
const getRuntimeConfig = (config) => {
|
|
23
|
-
(0,
|
|
22
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
24
23
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
25
24
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
26
25
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -44,7 +43,11 @@ const getRuntimeConfig = (config) => {
|
|
|
44
43
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
45
44
|
region: config?.region ??
|
|
46
45
|
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
47
|
-
requestHandler: node_http_handler_1.NodeHttp2Handler.create(config?.requestHandler ??
|
|
46
|
+
requestHandler: node_http_handler_1.NodeHttp2Handler.create(config?.requestHandler ??
|
|
47
|
+
(async () => ({
|
|
48
|
+
...(await defaultConfigProvider()),
|
|
49
|
+
disableConcurrentStreams: true,
|
|
50
|
+
}))),
|
|
48
51
|
retryMode: config?.retryMode ??
|
|
49
52
|
(0, node_config_provider_1.loadConfig)({
|
|
50
53
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
@@ -11,7 +11,9 @@ const getRuntimeConfig = (config) => {
|
|
|
11
11
|
...config,
|
|
12
12
|
runtime: "react-native",
|
|
13
13
|
eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ??
|
|
14
|
-
(() => ({
|
|
14
|
+
(() => ({
|
|
15
|
+
handle: (0, invalid_dependency_1.invalidFunction)("event stream request is not supported in ReactNative."),
|
|
16
|
+
})),
|
|
15
17
|
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
|
16
18
|
};
|
|
17
19
|
};
|
|
@@ -8,8 +8,8 @@ import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin,
|
|
|
8
8
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
9
9
|
import { resolveEventStreamSerdeConfig, } from "@smithy/eventstream-serde-config-resolver";
|
|
10
10
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
11
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
12
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
11
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
12
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
13
13
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
14
14
|
import { defaultQBusinessHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
15
15
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
@@ -5,11 +5,11 @@ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smit
|
|
|
5
5
|
import { eventStreamSerdeProvider } from "@smithy/eventstream-serde-browser";
|
|
6
6
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
7
7
|
import { invalidFunction, invalidProvider } from "@smithy/invalid-dependency";
|
|
8
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
8
9
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
10
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
9
11
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
10
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
12
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
13
13
|
export const getRuntimeConfig = (config) => {
|
|
14
14
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
15
15
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
@@ -24,7 +24,9 @@ export const getRuntimeConfig = (config) => {
|
|
|
24
24
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
25
25
|
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
26
26
|
eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ??
|
|
27
|
-
(() => ({
|
|
27
|
+
(() => ({
|
|
28
|
+
handle: invalidFunction("event stream request is not supported in browser."),
|
|
29
|
+
})),
|
|
28
30
|
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventStreamSerdeProvider,
|
|
29
31
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
30
32
|
region: config?.region ?? invalidProvider("Region is missing"),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -9,12 +9,11 @@ import { Hash } from "@smithy/hash-node";
|
|
|
9
9
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
10
10
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
11
11
|
import { NodeHttp2Handler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
12
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
12
13
|
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
13
15
|
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
14
16
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
16
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
17
|
-
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
18
17
|
export const getRuntimeConfig = (config) => {
|
|
19
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
20
19
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -40,7 +39,11 @@ export const getRuntimeConfig = (config) => {
|
|
|
40
39
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
41
40
|
region: config?.region ??
|
|
42
41
|
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
43
|
-
requestHandler: RequestHandler.create(config?.requestHandler ??
|
|
42
|
+
requestHandler: RequestHandler.create(config?.requestHandler ??
|
|
43
|
+
(async () => ({
|
|
44
|
+
...(await defaultConfigProvider()),
|
|
45
|
+
disableConcurrentStreams: true,
|
|
46
|
+
}))),
|
|
44
47
|
retryMode: config?.retryMode ??
|
|
45
48
|
loadNodeConfig({
|
|
46
49
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
@@ -8,7 +8,9 @@ export const getRuntimeConfig = (config) => {
|
|
|
8
8
|
...config,
|
|
9
9
|
runtime: "react-native",
|
|
10
10
|
eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ??
|
|
11
|
-
(() => ({
|
|
11
|
+
(() => ({
|
|
12
|
+
handle: invalidFunction("event stream request is not supported in ReactNative."),
|
|
13
|
+
})),
|
|
12
14
|
sha256: config?.sha256 ?? Sha256,
|
|
13
15
|
};
|
|
14
16
|
};
|