@aws-sdk/client-qbusiness 3.787.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 +55 -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 +0 -4
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +32 -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 +8 -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 +6 -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 -12
- package/dist-types/commands/ListPluginTypeActionsCommand.d.ts +5 -10
- 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 +7 -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 +6 -12
- 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 +500 -1228
- package/dist-types/models/models_1.d.ts +257 -181
- 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 +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +42 -51
- package/dist-types/ts3.4/models/models_1.d.ts +55 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +1 -1
|
@@ -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,
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import {
|
|
4
|
+
ListPluginActionsRequest,
|
|
5
|
+
ListPluginActionsResponse,
|
|
6
|
+
} from "../models/models_1";
|
|
5
7
|
import {
|
|
6
8
|
QBusinessClientResolvedConfig,
|
|
7
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;
|
|
@@ -1736,6 +1744,40 @@ export interface ChatSyncOutput {
|
|
|
1736
1744
|
sourceAttributions?: SourceAttribution[] | undefined;
|
|
1737
1745
|
failedAttachments?: AttachmentOutput[] | undefined;
|
|
1738
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
|
+
}
|
|
1739
1781
|
export interface ContentBlockerRule {
|
|
1740
1782
|
systemMessageOverride?: string | undefined;
|
|
1741
1783
|
}
|
|
@@ -2079,57 +2121,6 @@ export interface ListDocumentsRequest {
|
|
|
2079
2121
|
nextToken?: string | undefined;
|
|
2080
2122
|
maxResults?: number | undefined;
|
|
2081
2123
|
}
|
|
2082
|
-
export interface ListDocumentsResponse {
|
|
2083
|
-
documentDetailList?: DocumentDetails[] | undefined;
|
|
2084
|
-
nextToken?: string | undefined;
|
|
2085
|
-
}
|
|
2086
|
-
export interface ListGroupsRequest {
|
|
2087
|
-
applicationId: string | undefined;
|
|
2088
|
-
indexId: string | undefined;
|
|
2089
|
-
updatedEarlierThan: Date | undefined;
|
|
2090
|
-
dataSourceId?: string | undefined;
|
|
2091
|
-
nextToken?: string | undefined;
|
|
2092
|
-
maxResults?: number | undefined;
|
|
2093
|
-
}
|
|
2094
|
-
export interface GroupSummary {
|
|
2095
|
-
groupName?: string | undefined;
|
|
2096
|
-
}
|
|
2097
|
-
export interface ListGroupsResponse {
|
|
2098
|
-
nextToken?: string | undefined;
|
|
2099
|
-
items?: GroupSummary[] | undefined;
|
|
2100
|
-
}
|
|
2101
|
-
export interface ListMessagesRequest {
|
|
2102
|
-
conversationId: string | undefined;
|
|
2103
|
-
applicationId: string | undefined;
|
|
2104
|
-
userId?: string | undefined;
|
|
2105
|
-
nextToken?: string | undefined;
|
|
2106
|
-
maxResults?: number | undefined;
|
|
2107
|
-
}
|
|
2108
|
-
export declare const MessageType: {
|
|
2109
|
-
readonly SYSTEM: "SYSTEM";
|
|
2110
|
-
readonly USER: "USER";
|
|
2111
|
-
};
|
|
2112
|
-
export type MessageType = (typeof MessageType)[keyof typeof MessageType];
|
|
2113
|
-
export interface Message {
|
|
2114
|
-
messageId?: string | undefined;
|
|
2115
|
-
body?: string | undefined;
|
|
2116
|
-
time?: Date | undefined;
|
|
2117
|
-
type?: MessageType | undefined;
|
|
2118
|
-
attachments?: AttachmentOutput[] | undefined;
|
|
2119
|
-
sourceAttribution?: SourceAttribution[] | undefined;
|
|
2120
|
-
actionReview?: ActionReview | undefined;
|
|
2121
|
-
actionExecution?: ActionExecution | undefined;
|
|
2122
|
-
}
|
|
2123
|
-
export interface ListMessagesResponse {
|
|
2124
|
-
messages?: Message[] | undefined;
|
|
2125
|
-
nextToken?: string | undefined;
|
|
2126
|
-
}
|
|
2127
|
-
export interface ListPluginActionsRequest {
|
|
2128
|
-
applicationId: string | undefined;
|
|
2129
|
-
pluginId: string | undefined;
|
|
2130
|
-
nextToken?: string | undefined;
|
|
2131
|
-
maxResults?: number | undefined;
|
|
2132
|
-
}
|
|
2133
2124
|
export declare const APISchemaFilterSensitiveLog: (obj: APISchema) => any;
|
|
2134
2125
|
export declare const EncryptionConfigurationFilterSensitiveLog: (
|
|
2135
2126
|
obj: EncryptionConfiguration
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ActionExecution,
|
|
3
3
|
ActionExecutionEvent,
|
|
4
|
+
ActionReview,
|
|
4
5
|
ActionSummary,
|
|
5
6
|
AttachmentInput,
|
|
6
7
|
AttachmentInputEvent,
|
|
8
|
+
AttachmentOutput,
|
|
7
9
|
AuthChallengeResponse,
|
|
8
10
|
AuthChallengeResponseEvent,
|
|
9
11
|
BlockedPhrasesConfigurationUpdate,
|
|
@@ -12,6 +14,7 @@ import {
|
|
|
12
14
|
ContentSource,
|
|
13
15
|
CreatorModeConfiguration,
|
|
14
16
|
DocumentAttribute,
|
|
17
|
+
DocumentDetails,
|
|
15
18
|
EndOfInputEvent,
|
|
16
19
|
HallucinationReductionConfiguration,
|
|
17
20
|
MembershipType,
|
|
@@ -19,6 +22,7 @@ import {
|
|
|
19
22
|
PluginType,
|
|
20
23
|
ResponseScope,
|
|
21
24
|
S3,
|
|
25
|
+
SourceAttribution,
|
|
22
26
|
SubscriptionDetails,
|
|
23
27
|
SubscriptionPrincipal,
|
|
24
28
|
SubscriptionType,
|
|
@@ -27,6 +31,57 @@ import {
|
|
|
27
31
|
TopicConfiguration,
|
|
28
32
|
UserAlias,
|
|
29
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
|
+
}
|
|
30
85
|
export interface ListPluginActionsResponse {
|
|
31
86
|
nextToken?: string | undefined;
|
|
32
87
|
items?: ActionSummary[] | undefined;
|
|
@@ -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",
|