@aws-sdk/client-qbusiness 3.840.0 → 3.844.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 +40 -0
- package/dist-cjs/index.js +309 -27
- package/dist-es/QBusiness.js +10 -0
- package/dist-es/commands/CreateChatResponseConfigurationCommand.js +22 -0
- package/dist-es/commands/DeleteChatResponseConfigurationCommand.js +22 -0
- package/dist-es/commands/GetChatResponseConfigurationCommand.js +22 -0
- package/dist-es/commands/ListChatResponseConfigurationsCommand.js +22 -0
- package/dist-es/commands/UpdateChatResponseConfigurationCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +16 -19
- package/dist-es/models/models_1.js +20 -0
- package/dist-es/pagination/ListChatResponseConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +166 -2
- package/dist-types/QBusiness.d.ts +35 -0
- package/dist-types/QBusinessClient.d.ts +7 -2
- package/dist-types/commands/CreateChatResponseConfigurationCommand.d.ts +116 -0
- package/dist-types/commands/CreateRetrieverCommand.d.ts +6 -5
- package/dist-types/commands/DeleteChatResponseConfigurationCommand.d.ts +89 -0
- package/dist-types/commands/GetChatResponseConfigurationCommand.d.ts +137 -0
- package/dist-types/commands/GetGroupCommand.d.ts +1 -1
- package/dist-types/commands/GetMediaCommand.d.ts +1 -1
- package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetRetrieverCommand.d.ts +6 -5
- package/dist-types/commands/GetUserCommand.d.ts +1 -2
- package/dist-types/commands/ListChatResponseConfigurationsCommand.d.ts +100 -0
- package/dist-types/commands/UpdateChatResponseConfigurationCommand.d.ts +105 -0
- package/dist-types/commands/UpdateRetrieverCommand.d.ts +6 -5
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +245 -177
- package/dist-types/models/models_1.d.ts +286 -1
- package/dist-types/pagination/ListChatResponseConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/QBusiness.d.ts +85 -0
- package/dist-types/ts3.4/QBusinessClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateChatResponseConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteChatResponseConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetChatResponseConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMediaCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetUserCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListChatResponseConfigurationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateChatResponseConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +71 -51
- package/dist-types/ts3.4/models/models_1.d.ts +88 -0
- package/dist-types/ts3.4/pagination/ListChatResponseConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +14 -14
|
@@ -88,6 +88,10 @@ import {
|
|
|
88
88
|
CreateApplicationCommandInput,
|
|
89
89
|
CreateApplicationCommandOutput,
|
|
90
90
|
} from "./commands/CreateApplicationCommand";
|
|
91
|
+
import {
|
|
92
|
+
CreateChatResponseConfigurationCommandInput,
|
|
93
|
+
CreateChatResponseConfigurationCommandOutput,
|
|
94
|
+
} from "./commands/CreateChatResponseConfigurationCommand";
|
|
91
95
|
import {
|
|
92
96
|
CreateDataAccessorCommandInput,
|
|
93
97
|
CreateDataAccessorCommandOutput,
|
|
@@ -132,6 +136,10 @@ import {
|
|
|
132
136
|
DeleteChatControlsConfigurationCommandInput,
|
|
133
137
|
DeleteChatControlsConfigurationCommandOutput,
|
|
134
138
|
} from "./commands/DeleteChatControlsConfigurationCommand";
|
|
139
|
+
import {
|
|
140
|
+
DeleteChatResponseConfigurationCommandInput,
|
|
141
|
+
DeleteChatResponseConfigurationCommandOutput,
|
|
142
|
+
} from "./commands/DeleteChatResponseConfigurationCommand";
|
|
135
143
|
import {
|
|
136
144
|
DeleteConversationCommandInput,
|
|
137
145
|
DeleteConversationCommandOutput,
|
|
@@ -180,6 +188,10 @@ import {
|
|
|
180
188
|
GetChatControlsConfigurationCommandInput,
|
|
181
189
|
GetChatControlsConfigurationCommandOutput,
|
|
182
190
|
} from "./commands/GetChatControlsConfigurationCommand";
|
|
191
|
+
import {
|
|
192
|
+
GetChatResponseConfigurationCommandInput,
|
|
193
|
+
GetChatResponseConfigurationCommandOutput,
|
|
194
|
+
} from "./commands/GetChatResponseConfigurationCommand";
|
|
183
195
|
import {
|
|
184
196
|
GetDataAccessorCommandInput,
|
|
185
197
|
GetDataAccessorCommandOutput,
|
|
@@ -228,6 +240,10 @@ import {
|
|
|
228
240
|
ListAttachmentsCommandInput,
|
|
229
241
|
ListAttachmentsCommandOutput,
|
|
230
242
|
} from "./commands/ListAttachmentsCommand";
|
|
243
|
+
import {
|
|
244
|
+
ListChatResponseConfigurationsCommandInput,
|
|
245
|
+
ListChatResponseConfigurationsCommandOutput,
|
|
246
|
+
} from "./commands/ListChatResponseConfigurationsCommand";
|
|
231
247
|
import {
|
|
232
248
|
ListConversationsCommandInput,
|
|
233
249
|
ListConversationsCommandOutput,
|
|
@@ -328,6 +344,10 @@ import {
|
|
|
328
344
|
UpdateChatControlsConfigurationCommandInput,
|
|
329
345
|
UpdateChatControlsConfigurationCommandOutput,
|
|
330
346
|
} from "./commands/UpdateChatControlsConfigurationCommand";
|
|
347
|
+
import {
|
|
348
|
+
UpdateChatResponseConfigurationCommandInput,
|
|
349
|
+
UpdateChatResponseConfigurationCommandOutput,
|
|
350
|
+
} from "./commands/UpdateChatResponseConfigurationCommand";
|
|
331
351
|
import {
|
|
332
352
|
UpdateDataAccessorCommandInput,
|
|
333
353
|
UpdateDataAccessorCommandOutput,
|
|
@@ -377,6 +397,7 @@ export type ServiceInputTypes =
|
|
|
377
397
|
| CheckDocumentAccessCommandInput
|
|
378
398
|
| CreateAnonymousWebExperienceUrlCommandInput
|
|
379
399
|
| CreateApplicationCommandInput
|
|
400
|
+
| CreateChatResponseConfigurationCommandInput
|
|
380
401
|
| CreateDataAccessorCommandInput
|
|
381
402
|
| CreateDataSourceCommandInput
|
|
382
403
|
| CreateIndexCommandInput
|
|
@@ -388,6 +409,7 @@ export type ServiceInputTypes =
|
|
|
388
409
|
| DeleteApplicationCommandInput
|
|
389
410
|
| DeleteAttachmentCommandInput
|
|
390
411
|
| DeleteChatControlsConfigurationCommandInput
|
|
412
|
+
| DeleteChatResponseConfigurationCommandInput
|
|
391
413
|
| DeleteConversationCommandInput
|
|
392
414
|
| DeleteDataAccessorCommandInput
|
|
393
415
|
| DeleteDataSourceCommandInput
|
|
@@ -400,6 +422,7 @@ export type ServiceInputTypes =
|
|
|
400
422
|
| DisassociatePermissionCommandInput
|
|
401
423
|
| GetApplicationCommandInput
|
|
402
424
|
| GetChatControlsConfigurationCommandInput
|
|
425
|
+
| GetChatResponseConfigurationCommandInput
|
|
403
426
|
| GetDataAccessorCommandInput
|
|
404
427
|
| GetDataSourceCommandInput
|
|
405
428
|
| GetGroupCommandInput
|
|
@@ -412,6 +435,7 @@ export type ServiceInputTypes =
|
|
|
412
435
|
| GetWebExperienceCommandInput
|
|
413
436
|
| ListApplicationsCommandInput
|
|
414
437
|
| ListAttachmentsCommandInput
|
|
438
|
+
| ListChatResponseConfigurationsCommandInput
|
|
415
439
|
| ListConversationsCommandInput
|
|
416
440
|
| ListDataAccessorsCommandInput
|
|
417
441
|
| ListDataSourceSyncJobsCommandInput
|
|
@@ -437,6 +461,7 @@ export type ServiceInputTypes =
|
|
|
437
461
|
| UntagResourceCommandInput
|
|
438
462
|
| UpdateApplicationCommandInput
|
|
439
463
|
| UpdateChatControlsConfigurationCommandInput
|
|
464
|
+
| UpdateChatResponseConfigurationCommandInput
|
|
440
465
|
| UpdateDataAccessorCommandInput
|
|
441
466
|
| UpdateDataSourceCommandInput
|
|
442
467
|
| UpdateIndexCommandInput
|
|
@@ -455,6 +480,7 @@ export type ServiceOutputTypes =
|
|
|
455
480
|
| CheckDocumentAccessCommandOutput
|
|
456
481
|
| CreateAnonymousWebExperienceUrlCommandOutput
|
|
457
482
|
| CreateApplicationCommandOutput
|
|
483
|
+
| CreateChatResponseConfigurationCommandOutput
|
|
458
484
|
| CreateDataAccessorCommandOutput
|
|
459
485
|
| CreateDataSourceCommandOutput
|
|
460
486
|
| CreateIndexCommandOutput
|
|
@@ -466,6 +492,7 @@ export type ServiceOutputTypes =
|
|
|
466
492
|
| DeleteApplicationCommandOutput
|
|
467
493
|
| DeleteAttachmentCommandOutput
|
|
468
494
|
| DeleteChatControlsConfigurationCommandOutput
|
|
495
|
+
| DeleteChatResponseConfigurationCommandOutput
|
|
469
496
|
| DeleteConversationCommandOutput
|
|
470
497
|
| DeleteDataAccessorCommandOutput
|
|
471
498
|
| DeleteDataSourceCommandOutput
|
|
@@ -478,6 +505,7 @@ export type ServiceOutputTypes =
|
|
|
478
505
|
| DisassociatePermissionCommandOutput
|
|
479
506
|
| GetApplicationCommandOutput
|
|
480
507
|
| GetChatControlsConfigurationCommandOutput
|
|
508
|
+
| GetChatResponseConfigurationCommandOutput
|
|
481
509
|
| GetDataAccessorCommandOutput
|
|
482
510
|
| GetDataSourceCommandOutput
|
|
483
511
|
| GetGroupCommandOutput
|
|
@@ -490,6 +518,7 @@ export type ServiceOutputTypes =
|
|
|
490
518
|
| GetWebExperienceCommandOutput
|
|
491
519
|
| ListApplicationsCommandOutput
|
|
492
520
|
| ListAttachmentsCommandOutput
|
|
521
|
+
| ListChatResponseConfigurationsCommandOutput
|
|
493
522
|
| ListConversationsCommandOutput
|
|
494
523
|
| ListDataAccessorsCommandOutput
|
|
495
524
|
| ListDataSourceSyncJobsCommandOutput
|
|
@@ -515,6 +544,7 @@ export type ServiceOutputTypes =
|
|
|
515
544
|
| UntagResourceCommandOutput
|
|
516
545
|
| UpdateApplicationCommandOutput
|
|
517
546
|
| UpdateChatControlsConfigurationCommandOutput
|
|
547
|
+
| UpdateChatResponseConfigurationCommandOutput
|
|
518
548
|
| UpdateDataAccessorCommandOutput
|
|
519
549
|
| UpdateDataSourceCommandOutput
|
|
520
550
|
| UpdateIndexCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CreateChatResponseConfigurationRequest,
|
|
5
|
+
CreateChatResponseConfigurationResponse,
|
|
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 CreateChatResponseConfigurationCommandInput
|
|
15
|
+
extends CreateChatResponseConfigurationRequest {}
|
|
16
|
+
export interface CreateChatResponseConfigurationCommandOutput
|
|
17
|
+
extends CreateChatResponseConfigurationResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const CreateChatResponseConfigurationCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: CreateChatResponseConfigurationCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
CreateChatResponseConfigurationCommandInput,
|
|
24
|
+
CreateChatResponseConfigurationCommandOutput,
|
|
25
|
+
QBusinessClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: CreateChatResponseConfigurationCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
CreateChatResponseConfigurationCommandInput,
|
|
33
|
+
CreateChatResponseConfigurationCommandOutput,
|
|
34
|
+
QBusinessClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class CreateChatResponseConfigurationCommand extends CreateChatResponseConfigurationCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: CreateChatResponseConfigurationRequest;
|
|
44
|
+
output: CreateChatResponseConfigurationResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: CreateChatResponseConfigurationCommandInput;
|
|
48
|
+
output: CreateChatResponseConfigurationCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DeleteChatResponseConfigurationRequest,
|
|
5
|
+
DeleteChatResponseConfigurationResponse,
|
|
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 DeleteChatResponseConfigurationCommandInput
|
|
15
|
+
extends DeleteChatResponseConfigurationRequest {}
|
|
16
|
+
export interface DeleteChatResponseConfigurationCommandOutput
|
|
17
|
+
extends DeleteChatResponseConfigurationResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DeleteChatResponseConfigurationCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DeleteChatResponseConfigurationCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DeleteChatResponseConfigurationCommandInput,
|
|
24
|
+
DeleteChatResponseConfigurationCommandOutput,
|
|
25
|
+
QBusinessClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: DeleteChatResponseConfigurationCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DeleteChatResponseConfigurationCommandInput,
|
|
33
|
+
DeleteChatResponseConfigurationCommandOutput,
|
|
34
|
+
QBusinessClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DeleteChatResponseConfigurationCommand extends DeleteChatResponseConfigurationCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: DeleteChatResponseConfigurationRequest;
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: DeleteChatResponseConfigurationCommandInput;
|
|
48
|
+
output: DeleteChatResponseConfigurationCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GetChatResponseConfigurationRequest,
|
|
5
|
+
GetChatResponseConfigurationResponse,
|
|
6
|
+
} from "../models/models_1";
|
|
7
|
+
import {
|
|
8
|
+
QBusinessClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../QBusinessClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetChatResponseConfigurationCommandInput
|
|
15
|
+
extends GetChatResponseConfigurationRequest {}
|
|
16
|
+
export interface GetChatResponseConfigurationCommandOutput
|
|
17
|
+
extends GetChatResponseConfigurationResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetChatResponseConfigurationCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetChatResponseConfigurationCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetChatResponseConfigurationCommandInput,
|
|
24
|
+
GetChatResponseConfigurationCommandOutput,
|
|
25
|
+
QBusinessClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: GetChatResponseConfigurationCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetChatResponseConfigurationCommandInput,
|
|
33
|
+
GetChatResponseConfigurationCommandOutput,
|
|
34
|
+
QBusinessClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetChatResponseConfigurationCommand extends GetChatResponseConfigurationCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GetChatResponseConfigurationRequest;
|
|
44
|
+
output: GetChatResponseConfigurationResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetChatResponseConfigurationCommandInput;
|
|
48
|
+
output: GetChatResponseConfigurationCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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 { GetGroupRequest, GetGroupResponse } from "../models/
|
|
3
|
+
import { GetGroupRequest, GetGroupResponse } 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 { GetMediaRequest, GetMediaResponse } from "../models/
|
|
3
|
+
import { GetMediaRequest, GetMediaResponse } 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 { GetPolicyRequest, GetPolicyResponse } from "../models/
|
|
3
|
+
import { GetPolicyRequest, GetPolicyResponse } from "../models/models_1";
|
|
4
4
|
import {
|
|
5
5
|
QBusinessClientResolvedConfig,
|
|
6
6
|
ServiceInputTypes,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetUserRequest } from "../models/
|
|
4
|
-
import { GetUserResponse } from "../models/models_1";
|
|
3
|
+
import { GetUserRequest, GetUserResponse } from "../models/models_1";
|
|
5
4
|
import {
|
|
6
5
|
QBusinessClientResolvedConfig,
|
|
7
6
|
ServiceInputTypes,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ListChatResponseConfigurationsRequest,
|
|
5
|
+
ListChatResponseConfigurationsResponse,
|
|
6
|
+
} from "../models/models_1";
|
|
7
|
+
import {
|
|
8
|
+
QBusinessClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../QBusinessClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListChatResponseConfigurationsCommandInput
|
|
15
|
+
extends ListChatResponseConfigurationsRequest {}
|
|
16
|
+
export interface ListChatResponseConfigurationsCommandOutput
|
|
17
|
+
extends ListChatResponseConfigurationsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListChatResponseConfigurationsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListChatResponseConfigurationsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListChatResponseConfigurationsCommandInput,
|
|
24
|
+
ListChatResponseConfigurationsCommandOutput,
|
|
25
|
+
QBusinessClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: ListChatResponseConfigurationsCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListChatResponseConfigurationsCommandInput,
|
|
33
|
+
ListChatResponseConfigurationsCommandOutput,
|
|
34
|
+
QBusinessClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListChatResponseConfigurationsCommand extends ListChatResponseConfigurationsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListChatResponseConfigurationsRequest;
|
|
44
|
+
output: ListChatResponseConfigurationsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListChatResponseConfigurationsCommandInput;
|
|
48
|
+
output: ListChatResponseConfigurationsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
UpdateChatResponseConfigurationRequest,
|
|
5
|
+
UpdateChatResponseConfigurationResponse,
|
|
6
|
+
} from "../models/models_1";
|
|
7
|
+
import {
|
|
8
|
+
QBusinessClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../QBusinessClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateChatResponseConfigurationCommandInput
|
|
15
|
+
extends UpdateChatResponseConfigurationRequest {}
|
|
16
|
+
export interface UpdateChatResponseConfigurationCommandOutput
|
|
17
|
+
extends UpdateChatResponseConfigurationResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateChatResponseConfigurationCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateChatResponseConfigurationCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
UpdateChatResponseConfigurationCommandInput,
|
|
24
|
+
UpdateChatResponseConfigurationCommandOutput,
|
|
25
|
+
QBusinessClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: UpdateChatResponseConfigurationCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
UpdateChatResponseConfigurationCommandInput,
|
|
33
|
+
UpdateChatResponseConfigurationCommandOutput,
|
|
34
|
+
QBusinessClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class UpdateChatResponseConfigurationCommand extends UpdateChatResponseConfigurationCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: UpdateChatResponseConfigurationRequest;
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: UpdateChatResponseConfigurationCommandInput;
|
|
48
|
+
output: UpdateChatResponseConfigurationCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -7,6 +7,7 @@ export * from "./ChatSyncCommand";
|
|
|
7
7
|
export * from "./CheckDocumentAccessCommand";
|
|
8
8
|
export * from "./CreateAnonymousWebExperienceUrlCommand";
|
|
9
9
|
export * from "./CreateApplicationCommand";
|
|
10
|
+
export * from "./CreateChatResponseConfigurationCommand";
|
|
10
11
|
export * from "./CreateDataAccessorCommand";
|
|
11
12
|
export * from "./CreateDataSourceCommand";
|
|
12
13
|
export * from "./CreateIndexCommand";
|
|
@@ -18,6 +19,7 @@ export * from "./CreateWebExperienceCommand";
|
|
|
18
19
|
export * from "./DeleteApplicationCommand";
|
|
19
20
|
export * from "./DeleteAttachmentCommand";
|
|
20
21
|
export * from "./DeleteChatControlsConfigurationCommand";
|
|
22
|
+
export * from "./DeleteChatResponseConfigurationCommand";
|
|
21
23
|
export * from "./DeleteConversationCommand";
|
|
22
24
|
export * from "./DeleteDataAccessorCommand";
|
|
23
25
|
export * from "./DeleteDataSourceCommand";
|
|
@@ -30,6 +32,7 @@ export * from "./DeleteWebExperienceCommand";
|
|
|
30
32
|
export * from "./DisassociatePermissionCommand";
|
|
31
33
|
export * from "./GetApplicationCommand";
|
|
32
34
|
export * from "./GetChatControlsConfigurationCommand";
|
|
35
|
+
export * from "./GetChatResponseConfigurationCommand";
|
|
33
36
|
export * from "./GetDataAccessorCommand";
|
|
34
37
|
export * from "./GetDataSourceCommand";
|
|
35
38
|
export * from "./GetGroupCommand";
|
|
@@ -42,6 +45,7 @@ export * from "./GetUserCommand";
|
|
|
42
45
|
export * from "./GetWebExperienceCommand";
|
|
43
46
|
export * from "./ListApplicationsCommand";
|
|
44
47
|
export * from "./ListAttachmentsCommand";
|
|
48
|
+
export * from "./ListChatResponseConfigurationsCommand";
|
|
45
49
|
export * from "./ListConversationsCommand";
|
|
46
50
|
export * from "./ListDataAccessorsCommand";
|
|
47
51
|
export * from "./ListDataSourceSyncJobsCommand";
|
|
@@ -67,6 +71,7 @@ export * from "./TagResourceCommand";
|
|
|
67
71
|
export * from "./UntagResourceCommand";
|
|
68
72
|
export * from "./UpdateApplicationCommand";
|
|
69
73
|
export * from "./UpdateChatControlsConfigurationCommand";
|
|
74
|
+
export * from "./UpdateChatResponseConfigurationCommand";
|
|
70
75
|
export * from "./UpdateDataAccessorCommand";
|
|
71
76
|
export * from "./UpdateDataSourceCommand";
|
|
72
77
|
export * from "./UpdateIndexCommand";
|
|
@@ -873,7 +873,7 @@ export declare namespace PluginAuthConfiguration {
|
|
|
873
873
|
export interface CustomPluginConfiguration {
|
|
874
874
|
description: string | undefined;
|
|
875
875
|
apiSchemaType: APISchemaType | undefined;
|
|
876
|
-
apiSchema
|
|
876
|
+
apiSchema?: APISchema | undefined;
|
|
877
877
|
}
|
|
878
878
|
export interface CreatePluginRequest {
|
|
879
879
|
applicationId: string | undefined;
|
|
@@ -966,6 +966,8 @@ export declare const DocumentAttributeBoostingLevel: {
|
|
|
966
966
|
readonly LOW: "LOW";
|
|
967
967
|
readonly MEDIUM: "MEDIUM";
|
|
968
968
|
readonly NONE: "NONE";
|
|
969
|
+
readonly ONE: "ONE";
|
|
970
|
+
readonly TWO: "TWO";
|
|
969
971
|
readonly VERY_HIGH: "VERY_HIGH";
|
|
970
972
|
};
|
|
971
973
|
export type DocumentAttributeBoostingLevel =
|
|
@@ -985,9 +987,14 @@ export interface NumberAttributeBoostingConfiguration {
|
|
|
985
987
|
boostingType?: NumberAttributeBoostingType | undefined;
|
|
986
988
|
}
|
|
987
989
|
export declare const StringAttributeValueBoostingLevel: {
|
|
990
|
+
readonly FIVE: "FIVE";
|
|
991
|
+
readonly FOUR: "FOUR";
|
|
988
992
|
readonly HIGH: "HIGH";
|
|
989
993
|
readonly LOW: "LOW";
|
|
990
994
|
readonly MEDIUM: "MEDIUM";
|
|
995
|
+
readonly ONE: "ONE";
|
|
996
|
+
readonly THREE: "THREE";
|
|
997
|
+
readonly TWO: "TWO";
|
|
991
998
|
readonly VERY_HIGH: "VERY_HIGH";
|
|
992
999
|
};
|
|
993
1000
|
export type StringAttributeValueBoostingLevel =
|
|
@@ -1059,6 +1066,7 @@ export declare namespace DocumentAttributeBoostingConfiguration {
|
|
|
1059
1066
|
}
|
|
1060
1067
|
export interface NativeIndexConfiguration {
|
|
1061
1068
|
indexId: string | undefined;
|
|
1069
|
+
version?: number | undefined;
|
|
1062
1070
|
boostingOverride?:
|
|
1063
1071
|
| Record<string, DocumentAttributeBoostingConfiguration>
|
|
1064
1072
|
| undefined;
|
|
@@ -1786,6 +1794,50 @@ export declare class LicenseNotFoundException extends __BaseException {
|
|
|
1786
1794
|
opts: __ExceptionOptionType<LicenseNotFoundException, __BaseException>
|
|
1787
1795
|
);
|
|
1788
1796
|
}
|
|
1797
|
+
export declare const ChatResponseConfigurationStatus: {
|
|
1798
|
+
readonly ACTIVE: "ACTIVE";
|
|
1799
|
+
readonly CREATING: "CREATING";
|
|
1800
|
+
readonly FAILED: "FAILED";
|
|
1801
|
+
readonly UPDATING: "UPDATING";
|
|
1802
|
+
};
|
|
1803
|
+
export type ChatResponseConfigurationStatus =
|
|
1804
|
+
(typeof ChatResponseConfigurationStatus)[keyof typeof ChatResponseConfigurationStatus];
|
|
1805
|
+
export interface ChatResponseConfiguration {
|
|
1806
|
+
chatResponseConfigurationId: string | undefined;
|
|
1807
|
+
chatResponseConfigurationArn: string | undefined;
|
|
1808
|
+
displayName: string | undefined;
|
|
1809
|
+
responseConfigurationSummary?: string | undefined;
|
|
1810
|
+
status: ChatResponseConfigurationStatus | undefined;
|
|
1811
|
+
createdAt?: Date | undefined;
|
|
1812
|
+
updatedAt?: Date | undefined;
|
|
1813
|
+
}
|
|
1814
|
+
export declare const ResponseConfigurationType: {
|
|
1815
|
+
readonly ALL: "ALL";
|
|
1816
|
+
};
|
|
1817
|
+
export type ResponseConfigurationType =
|
|
1818
|
+
(typeof ResponseConfigurationType)[keyof typeof ResponseConfigurationType];
|
|
1819
|
+
export interface InstructionCollection {
|
|
1820
|
+
responseLength?: string | undefined;
|
|
1821
|
+
targetAudience?: string | undefined;
|
|
1822
|
+
perspective?: string | undefined;
|
|
1823
|
+
outputStyle?: string | undefined;
|
|
1824
|
+
identity?: string | undefined;
|
|
1825
|
+
tone?: string | undefined;
|
|
1826
|
+
customInstructions?: string | undefined;
|
|
1827
|
+
examples?: string | undefined;
|
|
1828
|
+
}
|
|
1829
|
+
export interface ResponseConfiguration {
|
|
1830
|
+
instructionCollection?: InstructionCollection | undefined;
|
|
1831
|
+
}
|
|
1832
|
+
export interface ChatResponseConfigurationDetail {
|
|
1833
|
+
responseConfigurations?:
|
|
1834
|
+
| Partial<Record<ResponseConfigurationType, ResponseConfiguration>>
|
|
1835
|
+
| undefined;
|
|
1836
|
+
responseConfigurationSummary?: string | undefined;
|
|
1837
|
+
status?: ChatResponseConfigurationStatus | undefined;
|
|
1838
|
+
error?: ErrorDetail | undefined;
|
|
1839
|
+
updatedAt?: Date | undefined;
|
|
1840
|
+
}
|
|
1789
1841
|
export interface ChatSyncOutput {
|
|
1790
1842
|
conversationId?: string | undefined;
|
|
1791
1843
|
systemMessage?: string | undefined;
|
|
@@ -1874,6 +1926,19 @@ export interface CreateAnonymousWebExperienceUrlRequest {
|
|
|
1874
1926
|
export interface CreateAnonymousWebExperienceUrlResponse {
|
|
1875
1927
|
anonymousUrl?: string | undefined;
|
|
1876
1928
|
}
|
|
1929
|
+
export interface CreateChatResponseConfigurationRequest {
|
|
1930
|
+
applicationId: string | undefined;
|
|
1931
|
+
displayName: string | undefined;
|
|
1932
|
+
clientToken?: string | undefined;
|
|
1933
|
+
responseConfigurations:
|
|
1934
|
+
| Partial<Record<ResponseConfigurationType, ResponseConfiguration>>
|
|
1935
|
+
| undefined;
|
|
1936
|
+
tags?: Tag[] | undefined;
|
|
1937
|
+
}
|
|
1938
|
+
export interface CreateChatResponseConfigurationResponse {
|
|
1939
|
+
chatResponseConfigurationId: string | undefined;
|
|
1940
|
+
chatResponseConfigurationArn: string | undefined;
|
|
1941
|
+
}
|
|
1877
1942
|
export type SubscriptionPrincipal =
|
|
1878
1943
|
| SubscriptionPrincipal.GroupMember
|
|
1879
1944
|
| SubscriptionPrincipal.UserMember
|
|
@@ -1966,6 +2031,11 @@ export interface DeleteChatControlsConfigurationRequest {
|
|
|
1966
2031
|
applicationId: string | undefined;
|
|
1967
2032
|
}
|
|
1968
2033
|
export interface DeleteChatControlsConfigurationResponse {}
|
|
2034
|
+
export interface DeleteChatResponseConfigurationRequest {
|
|
2035
|
+
applicationId: string | undefined;
|
|
2036
|
+
chatResponseConfigurationId: string | undefined;
|
|
2037
|
+
}
|
|
2038
|
+
export interface DeleteChatResponseConfigurationResponse {}
|
|
1969
2039
|
export interface DeleteConversationRequest {
|
|
1970
2040
|
conversationId: string | undefined;
|
|
1971
2041
|
applicationId: string | undefined;
|
|
@@ -2086,56 +2156,6 @@ export interface GetChatControlsConfigurationResponse {
|
|
|
2086
2156
|
| HallucinationReductionConfiguration
|
|
2087
2157
|
| undefined;
|
|
2088
2158
|
}
|
|
2089
|
-
export interface GetGroupRequest {
|
|
2090
|
-
applicationId: string | undefined;
|
|
2091
|
-
indexId: string | undefined;
|
|
2092
|
-
groupName: string | undefined;
|
|
2093
|
-
dataSourceId?: string | undefined;
|
|
2094
|
-
}
|
|
2095
|
-
export declare const GroupStatus: {
|
|
2096
|
-
readonly DELETED: "DELETED";
|
|
2097
|
-
readonly DELETING: "DELETING";
|
|
2098
|
-
readonly FAILED: "FAILED";
|
|
2099
|
-
readonly PROCESSING: "PROCESSING";
|
|
2100
|
-
readonly SUCCEEDED: "SUCCEEDED";
|
|
2101
|
-
};
|
|
2102
|
-
export type GroupStatus = (typeof GroupStatus)[keyof typeof GroupStatus];
|
|
2103
|
-
export interface GroupStatusDetail {
|
|
2104
|
-
status?: GroupStatus | undefined;
|
|
2105
|
-
lastUpdatedAt?: Date | undefined;
|
|
2106
|
-
errorDetail?: ErrorDetail | undefined;
|
|
2107
|
-
}
|
|
2108
|
-
export interface GetGroupResponse {
|
|
2109
|
-
status?: GroupStatusDetail | undefined;
|
|
2110
|
-
statusHistory?: GroupStatusDetail[] | undefined;
|
|
2111
|
-
}
|
|
2112
|
-
export interface GetMediaRequest {
|
|
2113
|
-
applicationId: string | undefined;
|
|
2114
|
-
conversationId: string | undefined;
|
|
2115
|
-
messageId: string | undefined;
|
|
2116
|
-
mediaId: string | undefined;
|
|
2117
|
-
}
|
|
2118
|
-
export interface GetMediaResponse {
|
|
2119
|
-
mediaBytes?: Uint8Array | undefined;
|
|
2120
|
-
mediaMimeType?: string | undefined;
|
|
2121
|
-
}
|
|
2122
|
-
export declare class MediaTooLargeException extends __BaseException {
|
|
2123
|
-
readonly name: "MediaTooLargeException";
|
|
2124
|
-
readonly $fault: "client";
|
|
2125
|
-
constructor(
|
|
2126
|
-
opts: __ExceptionOptionType<MediaTooLargeException, __BaseException>
|
|
2127
|
-
);
|
|
2128
|
-
}
|
|
2129
|
-
export interface GetPolicyRequest {
|
|
2130
|
-
applicationId: string | undefined;
|
|
2131
|
-
}
|
|
2132
|
-
export interface GetPolicyResponse {
|
|
2133
|
-
policy?: string | undefined;
|
|
2134
|
-
}
|
|
2135
|
-
export interface GetUserRequest {
|
|
2136
|
-
applicationId: string | undefined;
|
|
2137
|
-
userId: string | undefined;
|
|
2138
|
-
}
|
|
2139
2159
|
export declare const APISchemaFilterSensitiveLog: (obj: APISchema) => any;
|
|
2140
2160
|
export declare const EncryptionConfigurationFilterSensitiveLog: (
|
|
2141
2161
|
obj: EncryptionConfiguration
|