@aws-sdk/client-qbusiness 3.782.0 → 3.793.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/README.md +9 -39
- package/dist-cjs/index.js +69 -5
- package/dist-es/QBusiness.js +2 -0
- package/dist-es/commands/CheckDocumentAccessCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +8 -4
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +34 -0
- package/dist-types/QBusiness.d.ts +8 -39
- package/dist-types/QBusinessClient.d.ts +4 -41
- package/dist-types/commands/AssociatePermissionCommand.d.ts +7 -15
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +7 -16
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +7 -29
- package/dist-types/commands/CancelSubscriptionCommand.d.ts +6 -13
- package/dist-types/commands/ChatCommand.d.ts +9 -17
- package/dist-types/commands/ChatSyncCommand.d.ts +8 -17
- package/dist-types/commands/CheckDocumentAccessCommand.d.ts +145 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +7 -27
- package/dist-types/commands/CreateDataAccessorCommand.d.ts +7 -18
- package/dist-types/commands/CreateDataSourceCommand.d.ts +7 -16
- package/dist-types/commands/CreateIndexCommand.d.ts +7 -21
- package/dist-types/commands/CreatePluginCommand.d.ts +6 -12
- package/dist-types/commands/CreateRetrieverCommand.d.ts +6 -12
- package/dist-types/commands/CreateSubscriptionCommand.d.ts +7 -18
- package/dist-types/commands/CreateUserCommand.d.ts +7 -14
- package/dist-types/commands/CreateWebExperienceCommand.d.ts +6 -12
- package/dist-types/commands/DeleteApplicationCommand.d.ts +6 -12
- package/dist-types/commands/DeleteAttachmentCommand.d.ts +6 -12
- package/dist-types/commands/DeleteChatControlsConfigurationCommand.d.ts +5 -10
- package/dist-types/commands/DeleteConversationCommand.d.ts +6 -12
- package/dist-types/commands/DeleteDataAccessorCommand.d.ts +7 -14
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +7 -15
- package/dist-types/commands/DeleteGroupCommand.d.ts +7 -21
- package/dist-types/commands/DeleteIndexCommand.d.ts +6 -12
- package/dist-types/commands/DeletePluginCommand.d.ts +6 -12
- package/dist-types/commands/DeleteRetrieverCommand.d.ts +6 -12
- package/dist-types/commands/DeleteUserCommand.d.ts +6 -12
- package/dist-types/commands/DeleteWebExperienceCommand.d.ts +6 -12
- package/dist-types/commands/DisassociatePermissionCommand.d.ts +7 -14
- package/dist-types/commands/GetApplicationCommand.d.ts +5 -10
- package/dist-types/commands/GetChatControlsConfigurationCommand.d.ts +9 -12
- package/dist-types/commands/GetDataAccessorCommand.d.ts +6 -14
- package/dist-types/commands/GetDataSourceCommand.d.ts +5 -10
- package/dist-types/commands/GetGroupCommand.d.ts +6 -12
- package/dist-types/commands/GetIndexCommand.d.ts +5 -10
- package/dist-types/commands/GetMediaCommand.d.ts +7 -16
- package/dist-types/commands/GetPluginCommand.d.ts +5 -10
- package/dist-types/commands/GetPolicyCommand.d.ts +6 -12
- package/dist-types/commands/GetRetrieverCommand.d.ts +6 -12
- package/dist-types/commands/GetUserCommand.d.ts +7 -14
- package/dist-types/commands/GetWebExperienceCommand.d.ts +5 -10
- package/dist-types/commands/ListApplicationsCommand.d.ts +5 -15
- package/dist-types/commands/ListAttachmentsCommand.d.ts +6 -12
- package/dist-types/commands/ListConversationsCommand.d.ts +6 -12
- package/dist-types/commands/ListDataAccessorsCommand.d.ts +6 -13
- package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +6 -12
- package/dist-types/commands/ListDataSourcesCommand.d.ts +5 -10
- package/dist-types/commands/ListDocumentsCommand.d.ts +7 -11
- package/dist-types/commands/ListGroupsCommand.d.ts +7 -13
- package/dist-types/commands/ListIndicesCommand.d.ts +5 -10
- package/dist-types/commands/ListMessagesCommand.d.ts +7 -13
- package/dist-types/commands/ListPluginActionsCommand.d.ts +6 -11
- package/dist-types/commands/ListPluginTypeActionsCommand.d.ts +6 -11
- package/dist-types/commands/ListPluginTypeMetadataCommand.d.ts +4 -8
- package/dist-types/commands/ListPluginsCommand.d.ts +5 -10
- package/dist-types/commands/ListRetrieversCommand.d.ts +5 -10
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +6 -12
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -12
- package/dist-types/commands/ListWebExperiencesCommand.d.ts +5 -10
- package/dist-types/commands/PutFeedbackCommand.d.ts +6 -12
- package/dist-types/commands/PutGroupCommand.d.ts +7 -23
- package/dist-types/commands/SearchRelevantContentCommand.d.ts +7 -18
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +7 -14
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +7 -14
- package/dist-types/commands/TagResourceCommand.d.ts +7 -15
- package/dist-types/commands/UntagResourceCommand.d.ts +5 -10
- package/dist-types/commands/UpdateApplicationCommand.d.ts +7 -25
- package/dist-types/commands/UpdateChatControlsConfigurationCommand.d.ts +10 -14
- package/dist-types/commands/UpdateDataAccessorCommand.d.ts +7 -15
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +6 -12
- package/dist-types/commands/UpdateIndexCommand.d.ts +6 -12
- package/dist-types/commands/UpdatePluginCommand.d.ts +6 -12
- package/dist-types/commands/UpdateRetrieverCommand.d.ts +6 -12
- package/dist-types/commands/UpdateSubscriptionCommand.d.ts +7 -16
- package/dist-types/commands/UpdateUserCommand.d.ts +8 -10
- package/dist-types/commands/UpdateWebExperienceCommand.d.ts +6 -12
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +1 -39
- package/dist-types/models/models_0.d.ts +542 -1258
- package/dist-types/models/models_1.d.ts +309 -175
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/QBusiness.d.ts +17 -0
- package/dist-types/ts3.4/QBusinessClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/CheckDocumentAccessCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDocumentsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMessagesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPluginActionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPluginTypeActionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +61 -64
- package/dist-types/ts3.4/models/models_1.d.ts +73 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +5 -5
|
@@ -6,6 +6,7 @@ import { BatchPutDocumentCommandInput, BatchPutDocumentCommandOutput } from "../
|
|
|
6
6
|
import { CancelSubscriptionCommandInput, CancelSubscriptionCommandOutput } from "../commands/CancelSubscriptionCommand";
|
|
7
7
|
import { ChatCommandInput, ChatCommandOutput } from "../commands/ChatCommand";
|
|
8
8
|
import { ChatSyncCommandInput, ChatSyncCommandOutput } from "../commands/ChatSyncCommand";
|
|
9
|
+
import { CheckDocumentAccessCommandInput, CheckDocumentAccessCommandOutput } from "../commands/CheckDocumentAccessCommand";
|
|
9
10
|
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "../commands/CreateApplicationCommand";
|
|
10
11
|
import { CreateDataAccessorCommandInput, CreateDataAccessorCommandOutput } from "../commands/CreateDataAccessorCommand";
|
|
11
12
|
import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "../commands/CreateDataSourceCommand";
|
|
@@ -99,6 +100,10 @@ export declare const se_ChatCommand: (input: ChatCommandInput, context: __SerdeC
|
|
|
99
100
|
* serializeAws_restJson1ChatSyncCommand
|
|
100
101
|
*/
|
|
101
102
|
export declare const se_ChatSyncCommand: (input: ChatSyncCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
103
|
+
/**
|
|
104
|
+
* serializeAws_restJson1CheckDocumentAccessCommand
|
|
105
|
+
*/
|
|
106
|
+
export declare const se_CheckDocumentAccessCommand: (input: CheckDocumentAccessCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
102
107
|
/**
|
|
103
108
|
* serializeAws_restJson1CreateApplicationCommand
|
|
104
109
|
*/
|
|
@@ -399,6 +404,10 @@ export declare const de_ChatCommand: (output: __HttpResponse, context: __SerdeCo
|
|
|
399
404
|
* deserializeAws_restJson1ChatSyncCommand
|
|
400
405
|
*/
|
|
401
406
|
export declare const de_ChatSyncCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ChatSyncCommandOutput>;
|
|
407
|
+
/**
|
|
408
|
+
* deserializeAws_restJson1CheckDocumentAccessCommand
|
|
409
|
+
*/
|
|
410
|
+
export declare const de_CheckDocumentAccessCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CheckDocumentAccessCommandOutput>;
|
|
402
411
|
/**
|
|
403
412
|
* deserializeAws_restJson1CreateApplicationCommand
|
|
404
413
|
*/
|
|
@@ -20,6 +20,10 @@ import {
|
|
|
20
20
|
ChatSyncCommandInput,
|
|
21
21
|
ChatSyncCommandOutput,
|
|
22
22
|
} from "./commands/ChatSyncCommand";
|
|
23
|
+
import {
|
|
24
|
+
CheckDocumentAccessCommandInput,
|
|
25
|
+
CheckDocumentAccessCommandOutput,
|
|
26
|
+
} from "./commands/CheckDocumentAccessCommand";
|
|
23
27
|
import {
|
|
24
28
|
CreateApplicationCommandInput,
|
|
25
29
|
CreateApplicationCommandOutput,
|
|
@@ -376,6 +380,19 @@ export interface QBusiness {
|
|
|
376
380
|
options: __HttpHandlerOptions,
|
|
377
381
|
cb: (err: any, data?: ChatSyncCommandOutput) => void
|
|
378
382
|
): void;
|
|
383
|
+
checkDocumentAccess(
|
|
384
|
+
args: CheckDocumentAccessCommandInput,
|
|
385
|
+
options?: __HttpHandlerOptions
|
|
386
|
+
): Promise<CheckDocumentAccessCommandOutput>;
|
|
387
|
+
checkDocumentAccess(
|
|
388
|
+
args: CheckDocumentAccessCommandInput,
|
|
389
|
+
cb: (err: any, data?: CheckDocumentAccessCommandOutput) => void
|
|
390
|
+
): void;
|
|
391
|
+
checkDocumentAccess(
|
|
392
|
+
args: CheckDocumentAccessCommandInput,
|
|
393
|
+
options: __HttpHandlerOptions,
|
|
394
|
+
cb: (err: any, data?: CheckDocumentAccessCommandOutput) => void
|
|
395
|
+
): void;
|
|
379
396
|
createApplication(
|
|
380
397
|
args: CreateApplicationCommandInput,
|
|
381
398
|
options?: __HttpHandlerOptions
|
|
@@ -76,6 +76,10 @@ import {
|
|
|
76
76
|
ChatSyncCommandInput,
|
|
77
77
|
ChatSyncCommandOutput,
|
|
78
78
|
} from "./commands/ChatSyncCommand";
|
|
79
|
+
import {
|
|
80
|
+
CheckDocumentAccessCommandInput,
|
|
81
|
+
CheckDocumentAccessCommandOutput,
|
|
82
|
+
} from "./commands/CheckDocumentAccessCommand";
|
|
79
83
|
import {
|
|
80
84
|
CreateApplicationCommandInput,
|
|
81
85
|
CreateApplicationCommandOutput,
|
|
@@ -366,6 +370,7 @@ export type ServiceInputTypes =
|
|
|
366
370
|
| CancelSubscriptionCommandInput
|
|
367
371
|
| ChatCommandInput
|
|
368
372
|
| ChatSyncCommandInput
|
|
373
|
+
| CheckDocumentAccessCommandInput
|
|
369
374
|
| CreateApplicationCommandInput
|
|
370
375
|
| CreateDataAccessorCommandInput
|
|
371
376
|
| CreateDataSourceCommandInput
|
|
@@ -442,6 +447,7 @@ export type ServiceOutputTypes =
|
|
|
442
447
|
| CancelSubscriptionCommandOutput
|
|
443
448
|
| ChatCommandOutput
|
|
444
449
|
| ChatSyncCommandOutput
|
|
450
|
+
| CheckDocumentAccessCommandOutput
|
|
445
451
|
| CreateApplicationCommandOutput
|
|
446
452
|
| CreateDataAccessorCommandOutput
|
|
447
453
|
| CreateDataSourceCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CheckDocumentAccessRequest,
|
|
5
|
+
CheckDocumentAccessResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
QBusinessClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../QBusinessClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface CheckDocumentAccessCommandInput
|
|
15
|
+
extends CheckDocumentAccessRequest {}
|
|
16
|
+
export interface CheckDocumentAccessCommandOutput
|
|
17
|
+
extends CheckDocumentAccessResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const CheckDocumentAccessCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: CheckDocumentAccessCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
CheckDocumentAccessCommandInput,
|
|
24
|
+
CheckDocumentAccessCommandOutput,
|
|
25
|
+
QBusinessClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: CheckDocumentAccessCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
CheckDocumentAccessCommandInput,
|
|
33
|
+
CheckDocumentAccessCommandOutput,
|
|
34
|
+
QBusinessClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class CheckDocumentAccessCommand extends CheckDocumentAccessCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: CheckDocumentAccessRequest;
|
|
44
|
+
output: CheckDocumentAccessResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: CheckDocumentAccessCommandInput;
|
|
48
|
+
output: CheckDocumentAccessCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
ListDocumentsResponse,
|
|
6
|
-
} from "../models/models_0";
|
|
3
|
+
import { ListDocumentsRequest } from "../models/models_0";
|
|
4
|
+
import { ListDocumentsResponse } from "../models/models_1";
|
|
7
5
|
import {
|
|
8
6
|
QBusinessClientResolvedConfig,
|
|
9
7
|
ServiceInputTypes,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListGroupsRequest, ListGroupsResponse } from "../models/
|
|
3
|
+
import { ListGroupsRequest, ListGroupsResponse } from "../models/models_1";
|
|
4
4
|
import {
|
|
5
5
|
QBusinessClientResolvedConfig,
|
|
6
6
|
ServiceInputTypes,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListMessagesRequest, ListMessagesResponse } from "../models/
|
|
3
|
+
import { ListMessagesRequest, ListMessagesResponse } from "../models/models_1";
|
|
4
4
|
import {
|
|
5
5
|
QBusinessClientResolvedConfig,
|
|
6
6
|
ServiceInputTypes,
|
|
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
3
3
|
import {
|
|
4
4
|
ListPluginTypeActionsRequest,
|
|
5
5
|
ListPluginTypeActionsResponse,
|
|
6
|
-
} from "../models/
|
|
6
|
+
} from "../models/models_1";
|
|
7
7
|
import {
|
|
8
8
|
QBusinessClientResolvedConfig,
|
|
9
9
|
ServiceInputTypes,
|
|
@@ -4,6 +4,7 @@ export * from "./BatchPutDocumentCommand";
|
|
|
4
4
|
export * from "./CancelSubscriptionCommand";
|
|
5
5
|
export * from "./ChatCommand";
|
|
6
6
|
export * from "./ChatSyncCommand";
|
|
7
|
+
export * from "./CheckDocumentAccessCommand";
|
|
7
8
|
export * from "./CreateApplicationCommand";
|
|
8
9
|
export * from "./CreateDataAccessorCommand";
|
|
9
10
|
export * from "./CreateDataSourceCommand";
|
|
@@ -1323,6 +1323,14 @@ export type OrchestrationControl =
|
|
|
1323
1323
|
export interface AppliedOrchestrationConfiguration {
|
|
1324
1324
|
control: OrchestrationControl | undefined;
|
|
1325
1325
|
}
|
|
1326
|
+
export interface AssociatedGroup {
|
|
1327
|
+
name?: string | undefined;
|
|
1328
|
+
type?: MembershipType | undefined;
|
|
1329
|
+
}
|
|
1330
|
+
export interface AssociatedUser {
|
|
1331
|
+
id?: string | undefined;
|
|
1332
|
+
type?: MembershipType | undefined;
|
|
1333
|
+
}
|
|
1326
1334
|
export interface AssociatePermissionRequest {
|
|
1327
1335
|
applicationId: string | undefined;
|
|
1328
1336
|
statementId: string | undefined;
|
|
@@ -1630,7 +1638,14 @@ export interface MetadataEvent {
|
|
|
1630
1638
|
sourceAttributions?: SourceAttribution[] | undefined;
|
|
1631
1639
|
finalTextMessage?: string | undefined;
|
|
1632
1640
|
}
|
|
1641
|
+
export declare const SystemMessageType: {
|
|
1642
|
+
readonly GROUNDED_RESPONSE: "GROUNDED_RESPONSE";
|
|
1643
|
+
readonly RESPONSE: "RESPONSE";
|
|
1644
|
+
};
|
|
1645
|
+
export type SystemMessageType =
|
|
1646
|
+
(typeof SystemMessageType)[keyof typeof SystemMessageType];
|
|
1633
1647
|
export interface TextOutputEvent {
|
|
1648
|
+
systemMessageType?: SystemMessageType | undefined;
|
|
1634
1649
|
conversationId?: string | undefined;
|
|
1635
1650
|
userMessageId?: string | undefined;
|
|
1636
1651
|
systemMessageId?: string | undefined;
|
|
@@ -1729,6 +1744,40 @@ export interface ChatSyncOutput {
|
|
|
1729
1744
|
sourceAttributions?: SourceAttribution[] | undefined;
|
|
1730
1745
|
failedAttachments?: AttachmentOutput[] | undefined;
|
|
1731
1746
|
}
|
|
1747
|
+
export interface CheckDocumentAccessRequest {
|
|
1748
|
+
applicationId: string | undefined;
|
|
1749
|
+
indexId: string | undefined;
|
|
1750
|
+
userId: string | undefined;
|
|
1751
|
+
documentId: string | undefined;
|
|
1752
|
+
dataSourceId?: string | undefined;
|
|
1753
|
+
}
|
|
1754
|
+
export interface DocumentAclGroup {
|
|
1755
|
+
name?: string | undefined;
|
|
1756
|
+
type?: MembershipType | undefined;
|
|
1757
|
+
}
|
|
1758
|
+
export interface DocumentAclUser {
|
|
1759
|
+
id?: string | undefined;
|
|
1760
|
+
type?: MembershipType | undefined;
|
|
1761
|
+
}
|
|
1762
|
+
export interface DocumentAclCondition {
|
|
1763
|
+
memberRelation?: MemberRelation | undefined;
|
|
1764
|
+
users?: DocumentAclUser[] | undefined;
|
|
1765
|
+
groups?: DocumentAclGroup[] | undefined;
|
|
1766
|
+
}
|
|
1767
|
+
export interface DocumentAclMembership {
|
|
1768
|
+
memberRelation?: MemberRelation | undefined;
|
|
1769
|
+
conditions?: DocumentAclCondition[] | undefined;
|
|
1770
|
+
}
|
|
1771
|
+
export interface DocumentAcl {
|
|
1772
|
+
allowlist?: DocumentAclMembership | undefined;
|
|
1773
|
+
denyList?: DocumentAclMembership | undefined;
|
|
1774
|
+
}
|
|
1775
|
+
export interface CheckDocumentAccessResponse {
|
|
1776
|
+
userGroups?: AssociatedGroup[] | undefined;
|
|
1777
|
+
userAliases?: AssociatedUser[] | undefined;
|
|
1778
|
+
hasAccess?: boolean | undefined;
|
|
1779
|
+
documentAcl?: DocumentAcl | undefined;
|
|
1780
|
+
}
|
|
1732
1781
|
export interface ContentBlockerRule {
|
|
1733
1782
|
systemMessageOverride?: string | undefined;
|
|
1734
1783
|
}
|
|
@@ -1904,6 +1953,15 @@ export interface GetChatControlsConfigurationRequest {
|
|
|
1904
1953
|
maxResults?: number | undefined;
|
|
1905
1954
|
nextToken?: string | undefined;
|
|
1906
1955
|
}
|
|
1956
|
+
export declare const HallucinationReductionControl: {
|
|
1957
|
+
readonly DISABLED: "DISABLED";
|
|
1958
|
+
readonly ENABLED: "ENABLED";
|
|
1959
|
+
};
|
|
1960
|
+
export type HallucinationReductionControl =
|
|
1961
|
+
(typeof HallucinationReductionControl)[keyof typeof HallucinationReductionControl];
|
|
1962
|
+
export interface HallucinationReductionConfiguration {
|
|
1963
|
+
hallucinationReductionControl?: HallucinationReductionControl | undefined;
|
|
1964
|
+
}
|
|
1907
1965
|
export declare const ResponseScope: {
|
|
1908
1966
|
readonly ENTERPRISE_CONTENT_ONLY: "ENTERPRISE_CONTENT_ONLY";
|
|
1909
1967
|
readonly EXTENDED_KNOWLEDGE_ENABLED: "EXTENDED_KNOWLEDGE_ENABLED";
|
|
@@ -1964,6 +2022,9 @@ export interface GetChatControlsConfigurationResponse {
|
|
|
1964
2022
|
topicConfigurations?: TopicConfiguration[] | undefined;
|
|
1965
2023
|
creatorModeConfiguration?: AppliedCreatorModeConfiguration | undefined;
|
|
1966
2024
|
nextToken?: string | undefined;
|
|
2025
|
+
hallucinationReductionConfiguration?:
|
|
2026
|
+
| HallucinationReductionConfiguration
|
|
2027
|
+
| undefined;
|
|
1967
2028
|
}
|
|
1968
2029
|
export interface GetGroupRequest {
|
|
1969
2030
|
applicationId: string | undefined;
|
|
@@ -2060,70 +2121,6 @@ export interface ListDocumentsRequest {
|
|
|
2060
2121
|
nextToken?: string | undefined;
|
|
2061
2122
|
maxResults?: number | undefined;
|
|
2062
2123
|
}
|
|
2063
|
-
export interface ListDocumentsResponse {
|
|
2064
|
-
documentDetailList?: DocumentDetails[] | undefined;
|
|
2065
|
-
nextToken?: string | undefined;
|
|
2066
|
-
}
|
|
2067
|
-
export interface ListGroupsRequest {
|
|
2068
|
-
applicationId: string | undefined;
|
|
2069
|
-
indexId: string | undefined;
|
|
2070
|
-
updatedEarlierThan: Date | undefined;
|
|
2071
|
-
dataSourceId?: string | undefined;
|
|
2072
|
-
nextToken?: string | undefined;
|
|
2073
|
-
maxResults?: number | undefined;
|
|
2074
|
-
}
|
|
2075
|
-
export interface GroupSummary {
|
|
2076
|
-
groupName?: string | undefined;
|
|
2077
|
-
}
|
|
2078
|
-
export interface ListGroupsResponse {
|
|
2079
|
-
nextToken?: string | undefined;
|
|
2080
|
-
items?: GroupSummary[] | undefined;
|
|
2081
|
-
}
|
|
2082
|
-
export interface ListMessagesRequest {
|
|
2083
|
-
conversationId: string | undefined;
|
|
2084
|
-
applicationId: string | undefined;
|
|
2085
|
-
userId?: string | undefined;
|
|
2086
|
-
nextToken?: string | undefined;
|
|
2087
|
-
maxResults?: number | undefined;
|
|
2088
|
-
}
|
|
2089
|
-
export declare const MessageType: {
|
|
2090
|
-
readonly SYSTEM: "SYSTEM";
|
|
2091
|
-
readonly USER: "USER";
|
|
2092
|
-
};
|
|
2093
|
-
export type MessageType = (typeof MessageType)[keyof typeof MessageType];
|
|
2094
|
-
export interface Message {
|
|
2095
|
-
messageId?: string | undefined;
|
|
2096
|
-
body?: string | undefined;
|
|
2097
|
-
time?: Date | undefined;
|
|
2098
|
-
type?: MessageType | undefined;
|
|
2099
|
-
attachments?: AttachmentOutput[] | undefined;
|
|
2100
|
-
sourceAttribution?: SourceAttribution[] | undefined;
|
|
2101
|
-
actionReview?: ActionReview | undefined;
|
|
2102
|
-
actionExecution?: ActionExecution | undefined;
|
|
2103
|
-
}
|
|
2104
|
-
export interface ListMessagesResponse {
|
|
2105
|
-
messages?: Message[] | undefined;
|
|
2106
|
-
nextToken?: string | undefined;
|
|
2107
|
-
}
|
|
2108
|
-
export interface ListPluginActionsRequest {
|
|
2109
|
-
applicationId: string | undefined;
|
|
2110
|
-
pluginId: string | undefined;
|
|
2111
|
-
nextToken?: string | undefined;
|
|
2112
|
-
maxResults?: number | undefined;
|
|
2113
|
-
}
|
|
2114
|
-
export interface ListPluginActionsResponse {
|
|
2115
|
-
nextToken?: string | undefined;
|
|
2116
|
-
items?: ActionSummary[] | undefined;
|
|
2117
|
-
}
|
|
2118
|
-
export interface ListPluginTypeActionsRequest {
|
|
2119
|
-
pluginType: PluginType | undefined;
|
|
2120
|
-
nextToken?: string | undefined;
|
|
2121
|
-
maxResults?: number | undefined;
|
|
2122
|
-
}
|
|
2123
|
-
export interface ListPluginTypeActionsResponse {
|
|
2124
|
-
nextToken?: string | undefined;
|
|
2125
|
-
items?: ActionSummary[] | undefined;
|
|
2126
|
-
}
|
|
2127
2124
|
export declare const APISchemaFilterSensitiveLog: (obj: APISchema) => any;
|
|
2128
2125
|
export declare const EncryptionConfigurationFilterSensitiveLog: (
|
|
2129
2126
|
obj: EncryptionConfiguration
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ActionExecution,
|
|
3
3
|
ActionExecutionEvent,
|
|
4
|
+
ActionReview,
|
|
5
|
+
ActionSummary,
|
|
4
6
|
AttachmentInput,
|
|
5
7
|
AttachmentInputEvent,
|
|
8
|
+
AttachmentOutput,
|
|
6
9
|
AuthChallengeResponse,
|
|
7
10
|
AuthChallengeResponseEvent,
|
|
8
11
|
BlockedPhrasesConfigurationUpdate,
|
|
@@ -11,12 +14,15 @@ import {
|
|
|
11
14
|
ContentSource,
|
|
12
15
|
CreatorModeConfiguration,
|
|
13
16
|
DocumentAttribute,
|
|
17
|
+
DocumentDetails,
|
|
14
18
|
EndOfInputEvent,
|
|
19
|
+
HallucinationReductionConfiguration,
|
|
15
20
|
MembershipType,
|
|
16
21
|
OrchestrationControl,
|
|
17
22
|
PluginType,
|
|
18
23
|
ResponseScope,
|
|
19
24
|
S3,
|
|
25
|
+
SourceAttribution,
|
|
20
26
|
SubscriptionDetails,
|
|
21
27
|
SubscriptionPrincipal,
|
|
22
28
|
SubscriptionType,
|
|
@@ -25,6 +31,70 @@ import {
|
|
|
25
31
|
TopicConfiguration,
|
|
26
32
|
UserAlias,
|
|
27
33
|
} from "./models_0";
|
|
34
|
+
export interface ListDocumentsResponse {
|
|
35
|
+
documentDetailList?: DocumentDetails[] | undefined;
|
|
36
|
+
nextToken?: string | undefined;
|
|
37
|
+
}
|
|
38
|
+
export interface ListGroupsRequest {
|
|
39
|
+
applicationId: string | undefined;
|
|
40
|
+
indexId: string | undefined;
|
|
41
|
+
updatedEarlierThan: Date | undefined;
|
|
42
|
+
dataSourceId?: string | undefined;
|
|
43
|
+
nextToken?: string | undefined;
|
|
44
|
+
maxResults?: number | undefined;
|
|
45
|
+
}
|
|
46
|
+
export interface GroupSummary {
|
|
47
|
+
groupName?: string | undefined;
|
|
48
|
+
}
|
|
49
|
+
export interface ListGroupsResponse {
|
|
50
|
+
nextToken?: string | undefined;
|
|
51
|
+
items?: GroupSummary[] | undefined;
|
|
52
|
+
}
|
|
53
|
+
export interface ListMessagesRequest {
|
|
54
|
+
conversationId: string | undefined;
|
|
55
|
+
applicationId: string | undefined;
|
|
56
|
+
userId?: string | undefined;
|
|
57
|
+
nextToken?: string | undefined;
|
|
58
|
+
maxResults?: number | undefined;
|
|
59
|
+
}
|
|
60
|
+
export declare const MessageType: {
|
|
61
|
+
readonly SYSTEM: "SYSTEM";
|
|
62
|
+
readonly USER: "USER";
|
|
63
|
+
};
|
|
64
|
+
export type MessageType = (typeof MessageType)[keyof typeof MessageType];
|
|
65
|
+
export interface Message {
|
|
66
|
+
messageId?: string | undefined;
|
|
67
|
+
body?: string | undefined;
|
|
68
|
+
time?: Date | undefined;
|
|
69
|
+
type?: MessageType | undefined;
|
|
70
|
+
attachments?: AttachmentOutput[] | undefined;
|
|
71
|
+
sourceAttribution?: SourceAttribution[] | undefined;
|
|
72
|
+
actionReview?: ActionReview | undefined;
|
|
73
|
+
actionExecution?: ActionExecution | undefined;
|
|
74
|
+
}
|
|
75
|
+
export interface ListMessagesResponse {
|
|
76
|
+
messages?: Message[] | undefined;
|
|
77
|
+
nextToken?: string | undefined;
|
|
78
|
+
}
|
|
79
|
+
export interface ListPluginActionsRequest {
|
|
80
|
+
applicationId: string | undefined;
|
|
81
|
+
pluginId: string | undefined;
|
|
82
|
+
nextToken?: string | undefined;
|
|
83
|
+
maxResults?: number | undefined;
|
|
84
|
+
}
|
|
85
|
+
export interface ListPluginActionsResponse {
|
|
86
|
+
nextToken?: string | undefined;
|
|
87
|
+
items?: ActionSummary[] | undefined;
|
|
88
|
+
}
|
|
89
|
+
export interface ListPluginTypeActionsRequest {
|
|
90
|
+
pluginType: PluginType | undefined;
|
|
91
|
+
nextToken?: string | undefined;
|
|
92
|
+
maxResults?: number | undefined;
|
|
93
|
+
}
|
|
94
|
+
export interface ListPluginTypeActionsResponse {
|
|
95
|
+
nextToken?: string | undefined;
|
|
96
|
+
items?: ActionSummary[] | undefined;
|
|
97
|
+
}
|
|
28
98
|
export interface ListPluginTypeMetadataRequest {
|
|
29
99
|
nextToken?: string | undefined;
|
|
30
100
|
maxResults?: number | undefined;
|
|
@@ -190,6 +260,9 @@ export interface UpdateChatControlsConfigurationRequest {
|
|
|
190
260
|
topicConfigurationsToCreateOrUpdate?: TopicConfiguration[] | undefined;
|
|
191
261
|
topicConfigurationsToDelete?: TopicConfiguration[] | undefined;
|
|
192
262
|
creatorModeConfiguration?: CreatorModeConfiguration | undefined;
|
|
263
|
+
hallucinationReductionConfiguration?:
|
|
264
|
+
| HallucinationReductionConfiguration
|
|
265
|
+
| undefined;
|
|
193
266
|
}
|
|
194
267
|
export interface UpdateChatControlsConfigurationResponse {}
|
|
195
268
|
export interface UpdateSubscriptionRequest {
|
|
@@ -27,6 +27,10 @@ import {
|
|
|
27
27
|
ChatSyncCommandInput,
|
|
28
28
|
ChatSyncCommandOutput,
|
|
29
29
|
} from "../commands/ChatSyncCommand";
|
|
30
|
+
import {
|
|
31
|
+
CheckDocumentAccessCommandInput,
|
|
32
|
+
CheckDocumentAccessCommandOutput,
|
|
33
|
+
} from "../commands/CheckDocumentAccessCommand";
|
|
30
34
|
import {
|
|
31
35
|
CreateApplicationCommandInput,
|
|
32
36
|
CreateApplicationCommandOutput,
|
|
@@ -327,6 +331,10 @@ export declare const se_ChatSyncCommand: (
|
|
|
327
331
|
input: ChatSyncCommandInput,
|
|
328
332
|
context: __SerdeContext
|
|
329
333
|
) => Promise<__HttpRequest>;
|
|
334
|
+
export declare const se_CheckDocumentAccessCommand: (
|
|
335
|
+
input: CheckDocumentAccessCommandInput,
|
|
336
|
+
context: __SerdeContext
|
|
337
|
+
) => Promise<__HttpRequest>;
|
|
330
338
|
export declare const se_CreateApplicationCommand: (
|
|
331
339
|
input: CreateApplicationCommandInput,
|
|
332
340
|
context: __SerdeContext
|
|
@@ -627,6 +635,10 @@ export declare const de_ChatSyncCommand: (
|
|
|
627
635
|
output: __HttpResponse,
|
|
628
636
|
context: __SerdeContext
|
|
629
637
|
) => Promise<ChatSyncCommandOutput>;
|
|
638
|
+
export declare const de_CheckDocumentAccessCommand: (
|
|
639
|
+
output: __HttpResponse,
|
|
640
|
+
context: __SerdeContext
|
|
641
|
+
) => Promise<CheckDocumentAccessCommandOutput>;
|
|
630
642
|
export declare const de_CreateApplicationCommand: (
|
|
631
643
|
output: __HttpResponse,
|
|
632
644
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-qbusiness",
|
|
3
3
|
"description": "AWS SDK for JavaScript Qbusiness Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.793.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-qbusiness",
|
|
@@ -21,18 +21,18 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.775.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.787.0",
|
|
25
25
|
"@aws-sdk/eventstream-handler-node": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-eventstream": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.787.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
32
32
|
"@aws-sdk/types": "3.775.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.787.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.787.0",
|
|
36
36
|
"@smithy/config-resolver": "^4.1.0",
|
|
37
37
|
"@smithy/core": "^3.2.0",
|
|
38
38
|
"@smithy/eventstream-serde-browser": "^4.0.2",
|