@aws-sdk/client-qbusiness 3.927.0 → 3.929.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 +4259 -4204
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/QBusinessClient.js +2 -0
- package/dist-es/commands/AssociatePermissionCommand.js +3 -9
- package/dist-es/commands/BatchDeleteDocumentCommand.js +3 -9
- package/dist-es/commands/BatchPutDocumentCommand.js +3 -9
- package/dist-es/commands/CancelSubscriptionCommand.js +3 -9
- package/dist-es/commands/ChatCommand.js +3 -12
- package/dist-es/commands/ChatSyncCommand.js +3 -9
- package/dist-es/commands/CheckDocumentAccessCommand.js +3 -9
- package/dist-es/commands/CreateAnonymousWebExperienceUrlCommand.js +3 -9
- package/dist-es/commands/CreateApplicationCommand.js +3 -10
- package/dist-es/commands/CreateChatResponseConfigurationCommand.js +3 -9
- package/dist-es/commands/CreateDataAccessorCommand.js +3 -10
- package/dist-es/commands/CreateDataSourceCommand.js +3 -9
- package/dist-es/commands/CreateIndexCommand.js +3 -9
- package/dist-es/commands/CreatePluginCommand.js +3 -10
- package/dist-es/commands/CreateRetrieverCommand.js +3 -9
- package/dist-es/commands/CreateSubscriptionCommand.js +3 -9
- package/dist-es/commands/CreateUserCommand.js +3 -9
- package/dist-es/commands/CreateWebExperienceCommand.js +3 -9
- package/dist-es/commands/DeleteApplicationCommand.js +3 -9
- package/dist-es/commands/DeleteAttachmentCommand.js +3 -9
- package/dist-es/commands/DeleteChatControlsConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteChatResponseConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteConversationCommand.js +3 -9
- package/dist-es/commands/DeleteDataAccessorCommand.js +3 -9
- package/dist-es/commands/DeleteDataSourceCommand.js +3 -9
- package/dist-es/commands/DeleteGroupCommand.js +3 -9
- package/dist-es/commands/DeleteIndexCommand.js +3 -9
- package/dist-es/commands/DeletePluginCommand.js +3 -9
- package/dist-es/commands/DeleteRetrieverCommand.js +3 -9
- package/dist-es/commands/DeleteUserCommand.js +3 -9
- package/dist-es/commands/DeleteWebExperienceCommand.js +3 -9
- package/dist-es/commands/DisassociatePermissionCommand.js +3 -9
- package/dist-es/commands/GetApplicationCommand.js +3 -10
- package/dist-es/commands/GetChatControlsConfigurationCommand.js +3 -9
- package/dist-es/commands/GetChatResponseConfigurationCommand.js +3 -9
- package/dist-es/commands/GetDataAccessorCommand.js +3 -10
- package/dist-es/commands/GetDataSourceCommand.js +3 -9
- package/dist-es/commands/GetDocumentContentCommand.js +3 -9
- package/dist-es/commands/GetGroupCommand.js +3 -9
- package/dist-es/commands/GetIndexCommand.js +3 -9
- package/dist-es/commands/GetMediaCommand.js +3 -9
- package/dist-es/commands/GetPluginCommand.js +3 -10
- package/dist-es/commands/GetPolicyCommand.js +3 -9
- package/dist-es/commands/GetRetrieverCommand.js +3 -9
- package/dist-es/commands/GetUserCommand.js +3 -9
- package/dist-es/commands/GetWebExperienceCommand.js +3 -9
- package/dist-es/commands/ListApplicationsCommand.js +3 -9
- package/dist-es/commands/ListAttachmentsCommand.js +3 -9
- package/dist-es/commands/ListChatResponseConfigurationsCommand.js +3 -9
- package/dist-es/commands/ListConversationsCommand.js +3 -9
- package/dist-es/commands/ListDataAccessorsCommand.js +3 -10
- package/dist-es/commands/ListDataSourceSyncJobsCommand.js +3 -9
- package/dist-es/commands/ListDataSourcesCommand.js +3 -9
- package/dist-es/commands/ListDocumentsCommand.js +3 -9
- package/dist-es/commands/ListGroupsCommand.js +3 -9
- package/dist-es/commands/ListIndicesCommand.js +3 -9
- package/dist-es/commands/ListMessagesCommand.js +3 -9
- package/dist-es/commands/ListPluginActionsCommand.js +3 -9
- package/dist-es/commands/ListPluginTypeActionsCommand.js +3 -9
- package/dist-es/commands/ListPluginTypeMetadataCommand.js +3 -9
- package/dist-es/commands/ListPluginsCommand.js +3 -9
- package/dist-es/commands/ListRetrieversCommand.js +3 -9
- package/dist-es/commands/ListSubscriptionsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListWebExperiencesCommand.js +3 -9
- package/dist-es/commands/PutFeedbackCommand.js +3 -9
- package/dist-es/commands/PutGroupCommand.js +3 -9
- package/dist-es/commands/SearchRelevantContentCommand.js +3 -9
- package/dist-es/commands/StartDataSourceSyncJobCommand.js +3 -9
- package/dist-es/commands/StopDataSourceSyncJobCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateApplicationCommand.js +3 -9
- package/dist-es/commands/UpdateChatControlsConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateChatResponseConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateDataAccessorCommand.js +3 -10
- package/dist-es/commands/UpdateDataSourceCommand.js +3 -9
- package/dist-es/commands/UpdateIndexCommand.js +3 -9
- package/dist-es/commands/UpdatePluginCommand.js +3 -10
- package/dist-es/commands/UpdateRetrieverCommand.js +3 -9
- package/dist-es/commands/UpdateSubscriptionCommand.js +3 -9
- package/dist-es/commands/UpdateUserCommand.js +3 -9
- package/dist-es/commands/UpdateWebExperienceCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -77
- package/dist-es/models/models_1.js +0 -39
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +4079 -0
- package/dist-types/QBusinessClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -48
- package/dist-types/models/models_1.d.ts +0 -20
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +485 -0
- package/dist-types/ts3.4/QBusinessClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -30
- package/dist-types/ts3.4/models/models_1.d.ts +0 -13
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +492 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -3464
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -749
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1001
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StopDataSourceSyncJob } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopDataSourceSyncJobCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ExpertQ", "StopDataSourceSyncJob", {})
|
|
17
13
|
.n("QBusinessClient", "StopDataSourceSyncJobCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopDataSourceSyncJobCommand)
|
|
20
|
-
.de(de_StopDataSourceSyncJobCommand)
|
|
14
|
+
.sc(StopDataSourceSyncJob)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ExpertQ", "TagResource", {})
|
|
17
13
|
.n("QBusinessClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ExpertQ", "UntagResource", {})
|
|
17
13
|
.n("QBusinessClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateApplication } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateApplicationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ExpertQ", "UpdateApplication", {})
|
|
17
13
|
.n("QBusinessClient", "UpdateApplicationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateApplicationCommand)
|
|
20
|
-
.de(de_UpdateApplicationCommand)
|
|
14
|
+
.sc(UpdateApplication)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateChatControlsConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateChatControlsConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ExpertQ", "UpdateChatControlsConfiguration", {})
|
|
17
13
|
.n("QBusinessClient", "UpdateChatControlsConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateChatControlsConfigurationCommand)
|
|
20
|
-
.de(de_UpdateChatControlsConfigurationCommand)
|
|
14
|
+
.sc(UpdateChatControlsConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateChatResponseConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateChatResponseConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ExpertQ", "UpdateChatResponseConfiguration", {})
|
|
17
13
|
.n("QBusinessClient", "UpdateChatResponseConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateChatResponseConfigurationCommand)
|
|
20
|
-
.de(de_UpdateChatResponseConfigurationCommand)
|
|
14
|
+
.sc(UpdateChatResponseConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateDataAccessorCommand, se_UpdateDataAccessorCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateDataAccessor } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateDataAccessorCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("ExpertQ", "UpdateDataAccessor", {})
|
|
18
13
|
.n("QBusinessClient", "UpdateDataAccessorCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateDataAccessorCommand)
|
|
21
|
-
.de(de_UpdateDataAccessorCommand)
|
|
14
|
+
.sc(UpdateDataAccessor)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateDataSource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateDataSourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ExpertQ", "UpdateDataSource", {})
|
|
17
13
|
.n("QBusinessClient", "UpdateDataSourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateDataSourceCommand)
|
|
20
|
-
.de(de_UpdateDataSourceCommand)
|
|
14
|
+
.sc(UpdateDataSource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateIndex } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateIndexCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ExpertQ", "UpdateIndex", {})
|
|
17
13
|
.n("QBusinessClient", "UpdateIndexCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateIndexCommand)
|
|
20
|
-
.de(de_UpdateIndexCommand)
|
|
14
|
+
.sc(UpdateIndex)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdatePluginCommand, se_UpdatePluginCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdatePlugin } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdatePluginCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("ExpertQ", "UpdatePlugin", {})
|
|
18
13
|
.n("QBusinessClient", "UpdatePluginCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdatePluginCommand)
|
|
21
|
-
.de(de_UpdatePluginCommand)
|
|
14
|
+
.sc(UpdatePlugin)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateRetriever } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateRetrieverCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ExpertQ", "UpdateRetriever", {})
|
|
17
13
|
.n("QBusinessClient", "UpdateRetrieverCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateRetrieverCommand)
|
|
20
|
-
.de(de_UpdateRetrieverCommand)
|
|
14
|
+
.sc(UpdateRetriever)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateSubscription } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSubscriptionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ExpertQ", "UpdateSubscription", {})
|
|
17
13
|
.n("QBusinessClient", "UpdateSubscriptionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSubscriptionCommand)
|
|
20
|
-
.de(de_UpdateSubscriptionCommand)
|
|
14
|
+
.sc(UpdateSubscription)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateUser } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateUserCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ExpertQ", "UpdateUser", {})
|
|
17
13
|
.n("QBusinessClient", "UpdateUserCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateUserCommand)
|
|
20
|
-
.de(de_UpdateUserCommand)
|
|
14
|
+
.sc(UpdateUser)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateWebExperience } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateWebExperienceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ExpertQ", "UpdateWebExperience", {})
|
|
17
13
|
.n("QBusinessClient", "UpdateWebExperienceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateWebExperienceCommand)
|
|
20
|
-
.de(de_UpdateWebExperienceCommand)
|
|
14
|
+
.sc(UpdateWebExperience)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { QBusinessServiceException as __BaseException } from "./QBusinessServiceException";
|
|
3
2
|
export const MemberRelation = {
|
|
4
3
|
AND: "AND",
|
|
@@ -600,79 +599,3 @@ export const RuleType = {
|
|
|
600
599
|
CONTENT_BLOCKER_RULE: "CONTENT_BLOCKER_RULE",
|
|
601
600
|
CONTENT_RETRIEVAL_RULE: "CONTENT_RETRIEVAL_RULE",
|
|
602
601
|
};
|
|
603
|
-
export const APISchemaFilterSensitiveLog = (obj) => {
|
|
604
|
-
if (obj.payload !== undefined)
|
|
605
|
-
return { payload: SENSITIVE_STRING };
|
|
606
|
-
if (obj.s3 !== undefined)
|
|
607
|
-
return { s3: obj.s3 };
|
|
608
|
-
if (obj.$unknown !== undefined)
|
|
609
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
610
|
-
};
|
|
611
|
-
export const EncryptionConfigurationFilterSensitiveLog = (obj) => ({
|
|
612
|
-
...obj,
|
|
613
|
-
...(obj.kmsKeyId && { kmsKeyId: SENSITIVE_STRING }),
|
|
614
|
-
});
|
|
615
|
-
export const CreateApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
616
|
-
...obj,
|
|
617
|
-
...(obj.encryptionConfiguration && {
|
|
618
|
-
encryptionConfiguration: EncryptionConfigurationFilterSensitiveLog(obj.encryptionConfiguration),
|
|
619
|
-
}),
|
|
620
|
-
});
|
|
621
|
-
export const DataAccessorFilterSensitiveLog = (obj) => ({
|
|
622
|
-
...obj,
|
|
623
|
-
...(obj.displayName && { displayName: SENSITIVE_STRING }),
|
|
624
|
-
...(obj.authenticationDetail && { authenticationDetail: obj.authenticationDetail }),
|
|
625
|
-
});
|
|
626
|
-
export const ListDataAccessorsResponseFilterSensitiveLog = (obj) => ({
|
|
627
|
-
...obj,
|
|
628
|
-
...(obj.dataAccessors && { dataAccessors: obj.dataAccessors.map((item) => DataAccessorFilterSensitiveLog(item)) }),
|
|
629
|
-
});
|
|
630
|
-
export const GetApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
631
|
-
...obj,
|
|
632
|
-
...(obj.encryptionConfiguration && {
|
|
633
|
-
encryptionConfiguration: EncryptionConfigurationFilterSensitiveLog(obj.encryptionConfiguration),
|
|
634
|
-
}),
|
|
635
|
-
});
|
|
636
|
-
export const CustomPluginConfigurationFilterSensitiveLog = (obj) => ({
|
|
637
|
-
...obj,
|
|
638
|
-
...(obj.apiSchema && { apiSchema: APISchemaFilterSensitiveLog(obj.apiSchema) }),
|
|
639
|
-
});
|
|
640
|
-
export const CreatePluginRequestFilterSensitiveLog = (obj) => ({
|
|
641
|
-
...obj,
|
|
642
|
-
...(obj.authConfiguration && { authConfiguration: obj.authConfiguration }),
|
|
643
|
-
...(obj.customPluginConfiguration && {
|
|
644
|
-
customPluginConfiguration: CustomPluginConfigurationFilterSensitiveLog(obj.customPluginConfiguration),
|
|
645
|
-
}),
|
|
646
|
-
});
|
|
647
|
-
export const GetPluginResponseFilterSensitiveLog = (obj) => ({
|
|
648
|
-
...obj,
|
|
649
|
-
...(obj.authConfiguration && { authConfiguration: obj.authConfiguration }),
|
|
650
|
-
...(obj.customPluginConfiguration && {
|
|
651
|
-
customPluginConfiguration: CustomPluginConfigurationFilterSensitiveLog(obj.customPluginConfiguration),
|
|
652
|
-
}),
|
|
653
|
-
});
|
|
654
|
-
export const UpdatePluginRequestFilterSensitiveLog = (obj) => ({
|
|
655
|
-
...obj,
|
|
656
|
-
...(obj.customPluginConfiguration && {
|
|
657
|
-
customPluginConfiguration: CustomPluginConfigurationFilterSensitiveLog(obj.customPluginConfiguration),
|
|
658
|
-
}),
|
|
659
|
-
...(obj.authConfiguration && { authConfiguration: obj.authConfiguration }),
|
|
660
|
-
});
|
|
661
|
-
export const ChatOutputStreamFilterSensitiveLog = (obj) => {
|
|
662
|
-
if (obj.textEvent !== undefined)
|
|
663
|
-
return { textEvent: obj.textEvent };
|
|
664
|
-
if (obj.metadataEvent !== undefined)
|
|
665
|
-
return { metadataEvent: obj.metadataEvent };
|
|
666
|
-
if (obj.actionReviewEvent !== undefined)
|
|
667
|
-
return { actionReviewEvent: obj.actionReviewEvent };
|
|
668
|
-
if (obj.failedAttachmentEvent !== undefined)
|
|
669
|
-
return { failedAttachmentEvent: obj.failedAttachmentEvent };
|
|
670
|
-
if (obj.authChallengeRequestEvent !== undefined)
|
|
671
|
-
return { authChallengeRequestEvent: obj.authChallengeRequestEvent };
|
|
672
|
-
if (obj.$unknown !== undefined)
|
|
673
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
674
|
-
};
|
|
675
|
-
export const ChatOutputFilterSensitiveLog = (obj) => ({
|
|
676
|
-
...obj,
|
|
677
|
-
...(obj.outputStream && { outputStream: "STREAMING_CONTENT" }),
|
|
678
|
-
});
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { QBusinessServiceException as __BaseException } from "./QBusinessServiceException";
|
|
3
2
|
export const OutputFormat = {
|
|
4
3
|
EXTRACTED: "EXTRACTED",
|
|
@@ -77,41 +76,3 @@ export var ChatInputStream;
|
|
|
77
76
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
78
77
|
};
|
|
79
78
|
})(ChatInputStream || (ChatInputStream = {}));
|
|
80
|
-
export const ChatInputStreamFilterSensitiveLog = (obj) => {
|
|
81
|
-
if (obj.configurationEvent !== undefined)
|
|
82
|
-
return { configurationEvent: obj.configurationEvent };
|
|
83
|
-
if (obj.textEvent !== undefined)
|
|
84
|
-
return { textEvent: obj.textEvent };
|
|
85
|
-
if (obj.attachmentEvent !== undefined)
|
|
86
|
-
return { attachmentEvent: obj.attachmentEvent };
|
|
87
|
-
if (obj.actionExecutionEvent !== undefined)
|
|
88
|
-
return { actionExecutionEvent: obj.actionExecutionEvent };
|
|
89
|
-
if (obj.endOfInputEvent !== undefined)
|
|
90
|
-
return { endOfInputEvent: obj.endOfInputEvent };
|
|
91
|
-
if (obj.authChallengeResponseEvent !== undefined)
|
|
92
|
-
return { authChallengeResponseEvent: obj.authChallengeResponseEvent };
|
|
93
|
-
if (obj.$unknown !== undefined)
|
|
94
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
95
|
-
};
|
|
96
|
-
export const ChatInputFilterSensitiveLog = (obj) => ({
|
|
97
|
-
...obj,
|
|
98
|
-
...(obj.inputStream && { inputStream: "STREAMING_CONTENT" }),
|
|
99
|
-
});
|
|
100
|
-
export const CreateDataAccessorRequestFilterSensitiveLog = (obj) => ({
|
|
101
|
-
...obj,
|
|
102
|
-
...(obj.actionConfigurations && { actionConfigurations: obj.actionConfigurations.map((item) => item) }),
|
|
103
|
-
...(obj.displayName && { displayName: SENSITIVE_STRING }),
|
|
104
|
-
...(obj.authenticationDetail && { authenticationDetail: obj.authenticationDetail }),
|
|
105
|
-
});
|
|
106
|
-
export const GetDataAccessorResponseFilterSensitiveLog = (obj) => ({
|
|
107
|
-
...obj,
|
|
108
|
-
...(obj.displayName && { displayName: SENSITIVE_STRING }),
|
|
109
|
-
...(obj.actionConfigurations && { actionConfigurations: obj.actionConfigurations.map((item) => item) }),
|
|
110
|
-
...(obj.authenticationDetail && { authenticationDetail: obj.authenticationDetail }),
|
|
111
|
-
});
|
|
112
|
-
export const UpdateDataAccessorRequestFilterSensitiveLog = (obj) => ({
|
|
113
|
-
...obj,
|
|
114
|
-
...(obj.actionConfigurations && { actionConfigurations: obj.actionConfigurations.map((item) => item) }),
|
|
115
|
-
...(obj.authenticationDetail && { authenticationDetail: obj.authenticationDetail }),
|
|
116
|
-
...(obj.displayName && { displayName: SENSITIVE_STRING }),
|
|
117
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.qbusiness" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "QBusiness",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|