@aws-sdk/client-qbusiness 3.703.0 → 3.707.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 +96 -0
- package/dist-cjs/index.js +797 -42
- package/dist-es/QBusiness.js +24 -0
- package/dist-es/commands/AssociatePermissionCommand.js +22 -0
- package/dist-es/commands/ChatCommand.js +2 -1
- package/dist-es/commands/CreateDataAccessorCommand.js +23 -0
- package/dist-es/commands/DeleteDataAccessorCommand.js +22 -0
- package/dist-es/commands/DisassociatePermissionCommand.js +22 -0
- package/dist-es/commands/GetDataAccessorCommand.js +23 -0
- package/dist-es/commands/GetPolicyCommand.js +22 -0
- package/dist-es/commands/ListDataAccessorsCommand.js +23 -0
- package/dist-es/commands/ListPluginActionsCommand.js +22 -0
- package/dist-es/commands/ListPluginTypeActionsCommand.js +22 -0
- package/dist-es/commands/ListPluginTypeMetadataCommand.js +22 -0
- package/dist-es/commands/SearchRelevantContentCommand.js +22 -0
- package/dist-es/commands/UpdateDataAccessorCommand.js +23 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +59 -52
- package/dist-es/models/models_1.js +54 -0
- package/dist-es/pagination/ListDataAccessorsPaginator.js +4 -0
- package/dist-es/pagination/ListPluginActionsPaginator.js +4 -0
- package/dist-es/pagination/ListPluginTypeActionsPaginator.js +4 -0
- package/dist-es/pagination/ListPluginTypeMetadataPaginator.js +4 -0
- package/dist-es/pagination/SearchRelevantContentPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +451 -4
- package/dist-types/QBusiness.d.ts +85 -0
- package/dist-types/QBusinessClient.d.ts +14 -2
- package/dist-types/commands/AssociatePermissionCommand.d.ts +105 -0
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +2 -2
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +2 -2
- package/dist-types/commands/ChatCommand.d.ts +5 -4
- package/dist-types/commands/ChatSyncCommand.d.ts +5 -4
- package/dist-types/commands/CreateApplicationCommand.d.ts +6 -3
- package/dist-types/commands/CreateDataAccessorCommand.d.ts +203 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +2 -2
- package/dist-types/commands/CreateIndexCommand.d.ts +2 -2
- package/dist-types/commands/CreatePluginCommand.d.ts +9 -3
- package/dist-types/commands/CreateRetrieverCommand.d.ts +2 -2
- package/dist-types/commands/CreateUserCommand.d.ts +2 -2
- package/dist-types/commands/CreateWebExperienceCommand.d.ts +8 -2
- package/dist-types/commands/DeleteApplicationCommand.d.ts +2 -2
- package/dist-types/commands/DeleteChatControlsConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/DeleteConversationCommand.d.ts +2 -2
- package/dist-types/commands/DeleteDataAccessorCommand.d.ts +95 -0
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +2 -2
- package/dist-types/commands/DeleteGroupCommand.d.ts +2 -2
- package/dist-types/commands/DeleteIndexCommand.d.ts +2 -2
- package/dist-types/commands/DeletePluginCommand.d.ts +2 -2
- package/dist-types/commands/DeleteRetrieverCommand.d.ts +2 -2
- package/dist-types/commands/DeleteUserCommand.d.ts +2 -2
- package/dist-types/commands/DeleteWebExperienceCommand.d.ts +2 -2
- package/dist-types/commands/DisassociatePermissionCommand.d.ts +95 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +6 -3
- package/dist-types/commands/GetChatControlsConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/GetDataAccessorCommand.d.ts +191 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +2 -2
- package/dist-types/commands/GetGroupCommand.d.ts +2 -2
- package/dist-types/commands/GetIndexCommand.d.ts +2 -2
- package/dist-types/commands/GetMediaCommand.d.ts +2 -2
- package/dist-types/commands/GetPluginCommand.d.ts +9 -3
- package/dist-types/commands/GetPolicyCommand.d.ts +92 -0
- package/dist-types/commands/GetRetrieverCommand.d.ts +2 -2
- package/dist-types/commands/GetUserCommand.d.ts +2 -2
- package/dist-types/commands/GetWebExperienceCommand.d.ts +8 -2
- package/dist-types/commands/ListApplicationsCommand.d.ts +4 -1
- package/dist-types/commands/ListAttachmentsCommand.d.ts +2 -2
- package/dist-types/commands/ListConversationsCommand.d.ts +2 -2
- package/dist-types/commands/ListDataAccessorsCommand.d.ts +106 -0
- package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +2 -2
- package/dist-types/commands/ListDataSourcesCommand.d.ts +2 -2
- package/dist-types/commands/ListDocumentsCommand.d.ts +2 -2
- package/dist-types/commands/ListGroupsCommand.d.ts +2 -2
- package/dist-types/commands/ListIndicesCommand.d.ts +2 -2
- package/dist-types/commands/ListMessagesCommand.d.ts +3 -3
- package/dist-types/commands/ListPluginActionsCommand.d.ts +102 -0
- package/dist-types/commands/ListPluginTypeActionsCommand.d.ts +98 -0
- package/dist-types/commands/ListPluginTypeMetadataCommand.d.ts +95 -0
- package/dist-types/commands/ListPluginsCommand.d.ts +3 -3
- package/dist-types/commands/ListRetrieversCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/ListWebExperiencesCommand.d.ts +2 -2
- package/dist-types/commands/PutFeedbackCommand.d.ts +2 -2
- package/dist-types/commands/PutGroupCommand.d.ts +2 -2
- package/dist-types/commands/SearchRelevantContentCommand.d.ts +214 -0
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +4 -3
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateApplicationCommand.d.ts +2 -2
- package/dist-types/commands/UpdateChatControlsConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDataAccessorCommand.d.ts +186 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateIndexCommand.d.ts +2 -2
- package/dist-types/commands/UpdatePluginCommand.d.ts +8 -2
- package/dist-types/commands/UpdateRetrieverCommand.d.ts +2 -2
- package/dist-types/commands/UpdateUserCommand.d.ts +3 -3
- package/dist-types/commands/UpdateWebExperienceCommand.d.ts +8 -2
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +735 -636
- package/dist-types/models/models_1.d.ts +742 -0
- package/dist-types/pagination/ListDataAccessorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPluginActionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPluginTypeActionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPluginTypeMetadataPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchRelevantContentPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +108 -0
- package/dist-types/ts3.4/QBusiness.d.ts +205 -0
- package/dist-types/ts3.4/QBusinessClient.d.ts +72 -0
- package/dist-types/ts3.4/commands/AssociatePermissionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ChatCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ChatSyncCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateDataAccessorCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/DeleteDataAccessorCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociatePermissionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDataAccessorCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListDataAccessorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPluginActionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPluginTypeActionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPluginTypeMetadataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SearchRelevantContentCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateChatControlsConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDataAccessorCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +250 -224
- package/dist-types/ts3.4/models/models_1.d.ts +239 -0
- package/dist-types/ts3.4/pagination/ListDataAccessorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPluginActionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPluginTypeActionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPluginTypeMetadataPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchRelevantContentPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +144 -0
- package/package.json +1 -1
|
@@ -2,8 +2,25 @@ import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody a
|
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, serializeDateTime as __serializeDateTime, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
|
-
import { AccessDeniedException,
|
|
5
|
+
import { AccessDeniedException, ConflictException, DocumentAttributeValue, DocumentContent, ExternalResourceException, InternalServerException, LicenseNotFoundException, MediaTooLargeException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
6
|
+
import { ChatInputStream, } from "../models/models_1";
|
|
6
7
|
import { QBusinessServiceException as __BaseException } from "../models/QBusinessServiceException";
|
|
8
|
+
export const se_AssociatePermissionCommand = async (input, context) => {
|
|
9
|
+
const b = rb(input, context);
|
|
10
|
+
const headers = {
|
|
11
|
+
"content-type": "application/json",
|
|
12
|
+
};
|
|
13
|
+
b.bp("/applications/{applicationId}/policy");
|
|
14
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
15
|
+
let body;
|
|
16
|
+
body = JSON.stringify(take(input, {
|
|
17
|
+
actions: (_) => _json(_),
|
|
18
|
+
principal: [],
|
|
19
|
+
statementId: [],
|
|
20
|
+
}));
|
|
21
|
+
b.m("POST").h(headers).b(body);
|
|
22
|
+
return b.build();
|
|
23
|
+
};
|
|
7
24
|
export const se_BatchDeleteDocumentCommand = async (input, context) => {
|
|
8
25
|
const b = rb(input, context);
|
|
9
26
|
const headers = {
|
|
@@ -105,12 +122,31 @@ export const se_CreateApplicationCommand = async (input, context) => {
|
|
|
105
122
|
identityType: [],
|
|
106
123
|
personalizationConfiguration: (_) => _json(_),
|
|
107
124
|
qAppsConfiguration: (_) => _json(_),
|
|
125
|
+
quickSightConfiguration: (_) => _json(_),
|
|
108
126
|
roleArn: [],
|
|
109
127
|
tags: (_) => _json(_),
|
|
110
128
|
}));
|
|
111
129
|
b.m("POST").h(headers).b(body);
|
|
112
130
|
return b.build();
|
|
113
131
|
};
|
|
132
|
+
export const se_CreateDataAccessorCommand = async (input, context) => {
|
|
133
|
+
const b = rb(input, context);
|
|
134
|
+
const headers = {
|
|
135
|
+
"content-type": "application/json",
|
|
136
|
+
};
|
|
137
|
+
b.bp("/applications/{applicationId}/dataaccessors");
|
|
138
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
139
|
+
let body;
|
|
140
|
+
body = JSON.stringify(take(input, {
|
|
141
|
+
actionConfigurations: (_) => se_ActionConfigurationList(_, context),
|
|
142
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
143
|
+
displayName: [],
|
|
144
|
+
principal: [],
|
|
145
|
+
tags: (_) => _json(_),
|
|
146
|
+
}));
|
|
147
|
+
b.m("POST").h(headers).b(body);
|
|
148
|
+
return b.build();
|
|
149
|
+
};
|
|
114
150
|
export const se_CreateDataSourceCommand = async (input, context) => {
|
|
115
151
|
const b = rb(input, context);
|
|
116
152
|
const headers = {
|
|
@@ -220,6 +256,7 @@ export const se_CreateWebExperienceCommand = async (input, context) => {
|
|
|
220
256
|
body = JSON.stringify(take(input, {
|
|
221
257
|
browserExtensionConfiguration: (_) => _json(_),
|
|
222
258
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
259
|
+
customizationConfiguration: (_) => _json(_),
|
|
223
260
|
identityProviderConfiguration: (_) => _json(_),
|
|
224
261
|
origins: (_) => _json(_),
|
|
225
262
|
roleArn: [],
|
|
@@ -263,6 +300,16 @@ export const se_DeleteConversationCommand = async (input, context) => {
|
|
|
263
300
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
264
301
|
return b.build();
|
|
265
302
|
};
|
|
303
|
+
export const se_DeleteDataAccessorCommand = async (input, context) => {
|
|
304
|
+
const b = rb(input, context);
|
|
305
|
+
const headers = {};
|
|
306
|
+
b.bp("/applications/{applicationId}/dataaccessors/{dataAccessorId}");
|
|
307
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
308
|
+
b.p("dataAccessorId", () => input.dataAccessorId, "{dataAccessorId}", false);
|
|
309
|
+
let body;
|
|
310
|
+
b.m("DELETE").h(headers).b(body);
|
|
311
|
+
return b.build();
|
|
312
|
+
};
|
|
266
313
|
export const se_DeleteDataSourceCommand = async (input, context) => {
|
|
267
314
|
const b = rb(input, context);
|
|
268
315
|
const headers = {};
|
|
@@ -338,6 +385,16 @@ export const se_DeleteWebExperienceCommand = async (input, context) => {
|
|
|
338
385
|
b.m("DELETE").h(headers).b(body);
|
|
339
386
|
return b.build();
|
|
340
387
|
};
|
|
388
|
+
export const se_DisassociatePermissionCommand = async (input, context) => {
|
|
389
|
+
const b = rb(input, context);
|
|
390
|
+
const headers = {};
|
|
391
|
+
b.bp("/applications/{applicationId}/policy/{statementId}");
|
|
392
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
393
|
+
b.p("statementId", () => input.statementId, "{statementId}", false);
|
|
394
|
+
let body;
|
|
395
|
+
b.m("DELETE").h(headers).b(body);
|
|
396
|
+
return b.build();
|
|
397
|
+
};
|
|
341
398
|
export const se_GetApplicationCommand = async (input, context) => {
|
|
342
399
|
const b = rb(input, context);
|
|
343
400
|
const headers = {};
|
|
@@ -360,6 +417,16 @@ export const se_GetChatControlsConfigurationCommand = async (input, context) =>
|
|
|
360
417
|
b.m("GET").h(headers).q(query).b(body);
|
|
361
418
|
return b.build();
|
|
362
419
|
};
|
|
420
|
+
export const se_GetDataAccessorCommand = async (input, context) => {
|
|
421
|
+
const b = rb(input, context);
|
|
422
|
+
const headers = {};
|
|
423
|
+
b.bp("/applications/{applicationId}/dataaccessors/{dataAccessorId}");
|
|
424
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
425
|
+
b.p("dataAccessorId", () => input.dataAccessorId, "{dataAccessorId}", false);
|
|
426
|
+
let body;
|
|
427
|
+
b.m("GET").h(headers).b(body);
|
|
428
|
+
return b.build();
|
|
429
|
+
};
|
|
363
430
|
export const se_GetDataSourceCommand = async (input, context) => {
|
|
364
431
|
const b = rb(input, context);
|
|
365
432
|
const headers = {};
|
|
@@ -417,6 +484,15 @@ export const se_GetPluginCommand = async (input, context) => {
|
|
|
417
484
|
b.m("GET").h(headers).b(body);
|
|
418
485
|
return b.build();
|
|
419
486
|
};
|
|
487
|
+
export const se_GetPolicyCommand = async (input, context) => {
|
|
488
|
+
const b = rb(input, context);
|
|
489
|
+
const headers = {};
|
|
490
|
+
b.bp("/applications/{applicationId}/policy");
|
|
491
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
492
|
+
let body;
|
|
493
|
+
b.m("GET").h(headers).b(body);
|
|
494
|
+
return b.build();
|
|
495
|
+
};
|
|
420
496
|
export const se_GetRetrieverCommand = async (input, context) => {
|
|
421
497
|
const b = rb(input, context);
|
|
422
498
|
const headers = {};
|
|
@@ -488,6 +564,19 @@ export const se_ListConversationsCommand = async (input, context) => {
|
|
|
488
564
|
b.m("GET").h(headers).q(query).b(body);
|
|
489
565
|
return b.build();
|
|
490
566
|
};
|
|
567
|
+
export const se_ListDataAccessorsCommand = async (input, context) => {
|
|
568
|
+
const b = rb(input, context);
|
|
569
|
+
const headers = {};
|
|
570
|
+
b.bp("/applications/{applicationId}/dataaccessors");
|
|
571
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
572
|
+
const query = map({
|
|
573
|
+
[_nT]: [, input[_nT]],
|
|
574
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
575
|
+
});
|
|
576
|
+
let body;
|
|
577
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
578
|
+
return b.build();
|
|
579
|
+
};
|
|
491
580
|
export const se_ListDataSourcesCommand = async (input, context) => {
|
|
492
581
|
const b = rb(input, context);
|
|
493
582
|
const headers = {};
|
|
@@ -582,6 +671,20 @@ export const se_ListMessagesCommand = async (input, context) => {
|
|
|
582
671
|
b.m("GET").h(headers).q(query).b(body);
|
|
583
672
|
return b.build();
|
|
584
673
|
};
|
|
674
|
+
export const se_ListPluginActionsCommand = async (input, context) => {
|
|
675
|
+
const b = rb(input, context);
|
|
676
|
+
const headers = {};
|
|
677
|
+
b.bp("/applications/{applicationId}/plugins/{pluginId}/actions");
|
|
678
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
679
|
+
b.p("pluginId", () => input.pluginId, "{pluginId}", false);
|
|
680
|
+
const query = map({
|
|
681
|
+
[_nT]: [, input[_nT]],
|
|
682
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
683
|
+
});
|
|
684
|
+
let body;
|
|
685
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
686
|
+
return b.build();
|
|
687
|
+
};
|
|
585
688
|
export const se_ListPluginsCommand = async (input, context) => {
|
|
586
689
|
const b = rb(input, context);
|
|
587
690
|
const headers = {};
|
|
@@ -595,6 +698,31 @@ export const se_ListPluginsCommand = async (input, context) => {
|
|
|
595
698
|
b.m("GET").h(headers).q(query).b(body);
|
|
596
699
|
return b.build();
|
|
597
700
|
};
|
|
701
|
+
export const se_ListPluginTypeActionsCommand = async (input, context) => {
|
|
702
|
+
const b = rb(input, context);
|
|
703
|
+
const headers = {};
|
|
704
|
+
b.bp("/pluginTypes/{pluginType}/actions");
|
|
705
|
+
b.p("pluginType", () => input.pluginType, "{pluginType}", false);
|
|
706
|
+
const query = map({
|
|
707
|
+
[_nT]: [, input[_nT]],
|
|
708
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
709
|
+
});
|
|
710
|
+
let body;
|
|
711
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
712
|
+
return b.build();
|
|
713
|
+
};
|
|
714
|
+
export const se_ListPluginTypeMetadataCommand = async (input, context) => {
|
|
715
|
+
const b = rb(input, context);
|
|
716
|
+
const headers = {};
|
|
717
|
+
b.bp("/pluginTypeMetadata");
|
|
718
|
+
const query = map({
|
|
719
|
+
[_nT]: [, input[_nT]],
|
|
720
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
721
|
+
});
|
|
722
|
+
let body;
|
|
723
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
724
|
+
return b.build();
|
|
725
|
+
};
|
|
598
726
|
export const se_ListRetrieversCommand = async (input, context) => {
|
|
599
727
|
const b = rb(input, context);
|
|
600
728
|
const headers = {};
|
|
@@ -669,6 +797,24 @@ export const se_PutGroupCommand = async (input, context) => {
|
|
|
669
797
|
b.m("PUT").h(headers).b(body);
|
|
670
798
|
return b.build();
|
|
671
799
|
};
|
|
800
|
+
export const se_SearchRelevantContentCommand = async (input, context) => {
|
|
801
|
+
const b = rb(input, context);
|
|
802
|
+
const headers = {
|
|
803
|
+
"content-type": "application/json",
|
|
804
|
+
};
|
|
805
|
+
b.bp("/applications/{applicationId}/relevant-content");
|
|
806
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
807
|
+
let body;
|
|
808
|
+
body = JSON.stringify(take(input, {
|
|
809
|
+
attributeFilter: (_) => se_AttributeFilter(_, context),
|
|
810
|
+
contentSource: (_) => _json(_),
|
|
811
|
+
maxResults: [],
|
|
812
|
+
nextToken: [],
|
|
813
|
+
queryText: [],
|
|
814
|
+
}));
|
|
815
|
+
b.m("POST").h(headers).b(body);
|
|
816
|
+
return b.build();
|
|
817
|
+
};
|
|
672
818
|
export const se_StartDataSourceSyncJobCommand = async (input, context) => {
|
|
673
819
|
const b = rb(input, context);
|
|
674
820
|
const headers = {};
|
|
@@ -757,6 +903,22 @@ export const se_UpdateChatControlsConfigurationCommand = async (input, context)
|
|
|
757
903
|
b.m("PATCH").h(headers).b(body);
|
|
758
904
|
return b.build();
|
|
759
905
|
};
|
|
906
|
+
export const se_UpdateDataAccessorCommand = async (input, context) => {
|
|
907
|
+
const b = rb(input, context);
|
|
908
|
+
const headers = {
|
|
909
|
+
"content-type": "application/json",
|
|
910
|
+
};
|
|
911
|
+
b.bp("/applications/{applicationId}/dataaccessors/{dataAccessorId}");
|
|
912
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
913
|
+
b.p("dataAccessorId", () => input.dataAccessorId, "{dataAccessorId}", false);
|
|
914
|
+
let body;
|
|
915
|
+
body = JSON.stringify(take(input, {
|
|
916
|
+
actionConfigurations: (_) => se_ActionConfigurationList(_, context),
|
|
917
|
+
displayName: [],
|
|
918
|
+
}));
|
|
919
|
+
b.m("PUT").h(headers).b(body);
|
|
920
|
+
return b.build();
|
|
921
|
+
};
|
|
760
922
|
export const se_UpdateDataSourceCommand = async (input, context) => {
|
|
761
923
|
const b = rb(input, context);
|
|
762
924
|
const headers = {
|
|
@@ -862,6 +1024,7 @@ export const se_UpdateWebExperienceCommand = async (input, context) => {
|
|
|
862
1024
|
body = JSON.stringify(take(input, {
|
|
863
1025
|
authenticationConfiguration: (_) => _json(_),
|
|
864
1026
|
browserExtensionConfiguration: (_) => _json(_),
|
|
1027
|
+
customizationConfiguration: (_) => _json(_),
|
|
865
1028
|
identityProviderConfiguration: (_) => _json(_),
|
|
866
1029
|
origins: (_) => _json(_),
|
|
867
1030
|
roleArn: [],
|
|
@@ -873,6 +1036,20 @@ export const se_UpdateWebExperienceCommand = async (input, context) => {
|
|
|
873
1036
|
b.m("PUT").h(headers).b(body);
|
|
874
1037
|
return b.build();
|
|
875
1038
|
};
|
|
1039
|
+
export const de_AssociatePermissionCommand = async (output, context) => {
|
|
1040
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1041
|
+
return de_CommandError(output, context);
|
|
1042
|
+
}
|
|
1043
|
+
const contents = map({
|
|
1044
|
+
$metadata: deserializeMetadata(output),
|
|
1045
|
+
});
|
|
1046
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1047
|
+
const doc = take(data, {
|
|
1048
|
+
statement: __expectString,
|
|
1049
|
+
});
|
|
1050
|
+
Object.assign(contents, doc);
|
|
1051
|
+
return contents;
|
|
1052
|
+
};
|
|
876
1053
|
export const de_BatchDeleteDocumentCommand = async (output, context) => {
|
|
877
1054
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
878
1055
|
return de_CommandError(output, context);
|
|
@@ -948,6 +1125,22 @@ export const de_CreateApplicationCommand = async (output, context) => {
|
|
|
948
1125
|
Object.assign(contents, doc);
|
|
949
1126
|
return contents;
|
|
950
1127
|
};
|
|
1128
|
+
export const de_CreateDataAccessorCommand = async (output, context) => {
|
|
1129
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1130
|
+
return de_CommandError(output, context);
|
|
1131
|
+
}
|
|
1132
|
+
const contents = map({
|
|
1133
|
+
$metadata: deserializeMetadata(output),
|
|
1134
|
+
});
|
|
1135
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1136
|
+
const doc = take(data, {
|
|
1137
|
+
dataAccessorArn: __expectString,
|
|
1138
|
+
dataAccessorId: __expectString,
|
|
1139
|
+
idcApplicationArn: __expectString,
|
|
1140
|
+
});
|
|
1141
|
+
Object.assign(contents, doc);
|
|
1142
|
+
return contents;
|
|
1143
|
+
};
|
|
951
1144
|
export const de_CreateDataSourceCommand = async (output, context) => {
|
|
952
1145
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
953
1146
|
return de_CommandError(output, context);
|
|
@@ -1064,6 +1257,16 @@ export const de_DeleteConversationCommand = async (output, context) => {
|
|
|
1064
1257
|
await collectBody(output.body, context);
|
|
1065
1258
|
return contents;
|
|
1066
1259
|
};
|
|
1260
|
+
export const de_DeleteDataAccessorCommand = async (output, context) => {
|
|
1261
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1262
|
+
return de_CommandError(output, context);
|
|
1263
|
+
}
|
|
1264
|
+
const contents = map({
|
|
1265
|
+
$metadata: deserializeMetadata(output),
|
|
1266
|
+
});
|
|
1267
|
+
await collectBody(output.body, context);
|
|
1268
|
+
return contents;
|
|
1269
|
+
};
|
|
1067
1270
|
export const de_DeleteDataSourceCommand = async (output, context) => {
|
|
1068
1271
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1069
1272
|
return de_CommandError(output, context);
|
|
@@ -1134,6 +1337,16 @@ export const de_DeleteWebExperienceCommand = async (output, context) => {
|
|
|
1134
1337
|
await collectBody(output.body, context);
|
|
1135
1338
|
return contents;
|
|
1136
1339
|
};
|
|
1340
|
+
export const de_DisassociatePermissionCommand = async (output, context) => {
|
|
1341
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1342
|
+
return de_CommandError(output, context);
|
|
1343
|
+
}
|
|
1344
|
+
const contents = map({
|
|
1345
|
+
$metadata: deserializeMetadata(output),
|
|
1346
|
+
});
|
|
1347
|
+
await collectBody(output.body, context);
|
|
1348
|
+
return contents;
|
|
1349
|
+
};
|
|
1137
1350
|
export const de_GetApplicationCommand = async (output, context) => {
|
|
1138
1351
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1139
1352
|
return de_CommandError(output, context);
|
|
@@ -1158,6 +1371,7 @@ export const de_GetApplicationCommand = async (output, context) => {
|
|
|
1158
1371
|
identityType: __expectString,
|
|
1159
1372
|
personalizationConfiguration: _json,
|
|
1160
1373
|
qAppsConfiguration: _json,
|
|
1374
|
+
quickSightConfiguration: _json,
|
|
1161
1375
|
roleArn: __expectString,
|
|
1162
1376
|
status: __expectString,
|
|
1163
1377
|
updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -1183,6 +1397,28 @@ export const de_GetChatControlsConfigurationCommand = async (output, context) =>
|
|
|
1183
1397
|
Object.assign(contents, doc);
|
|
1184
1398
|
return contents;
|
|
1185
1399
|
};
|
|
1400
|
+
export const de_GetDataAccessorCommand = async (output, context) => {
|
|
1401
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1402
|
+
return de_CommandError(output, context);
|
|
1403
|
+
}
|
|
1404
|
+
const contents = map({
|
|
1405
|
+
$metadata: deserializeMetadata(output),
|
|
1406
|
+
});
|
|
1407
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1408
|
+
const doc = take(data, {
|
|
1409
|
+
actionConfigurations: (_) => de_ActionConfigurationList(_, context),
|
|
1410
|
+
applicationId: __expectString,
|
|
1411
|
+
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1412
|
+
dataAccessorArn: __expectString,
|
|
1413
|
+
dataAccessorId: __expectString,
|
|
1414
|
+
displayName: __expectString,
|
|
1415
|
+
idcApplicationArn: __expectString,
|
|
1416
|
+
principal: __expectString,
|
|
1417
|
+
updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1418
|
+
});
|
|
1419
|
+
Object.assign(contents, doc);
|
|
1420
|
+
return contents;
|
|
1421
|
+
};
|
|
1186
1422
|
export const de_GetDataSourceCommand = async (output, context) => {
|
|
1187
1423
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1188
1424
|
return de_CommandError(output, context);
|
|
@@ -1294,6 +1530,20 @@ export const de_GetPluginCommand = async (output, context) => {
|
|
|
1294
1530
|
Object.assign(contents, doc);
|
|
1295
1531
|
return contents;
|
|
1296
1532
|
};
|
|
1533
|
+
export const de_GetPolicyCommand = async (output, context) => {
|
|
1534
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1535
|
+
return de_CommandError(output, context);
|
|
1536
|
+
}
|
|
1537
|
+
const contents = map({
|
|
1538
|
+
$metadata: deserializeMetadata(output),
|
|
1539
|
+
});
|
|
1540
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1541
|
+
const doc = take(data, {
|
|
1542
|
+
policy: __expectString,
|
|
1543
|
+
});
|
|
1544
|
+
Object.assign(contents, doc);
|
|
1545
|
+
return contents;
|
|
1546
|
+
};
|
|
1297
1547
|
export const de_GetRetrieverCommand = async (output, context) => {
|
|
1298
1548
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1299
1549
|
return de_CommandError(output, context);
|
|
@@ -1344,6 +1594,7 @@ export const de_GetWebExperienceCommand = async (output, context) => {
|
|
|
1344
1594
|
authenticationConfiguration: (_) => _json(__expectUnion(_)),
|
|
1345
1595
|
browserExtensionConfiguration: _json,
|
|
1346
1596
|
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1597
|
+
customizationConfiguration: _json,
|
|
1347
1598
|
defaultEndpoint: __expectString,
|
|
1348
1599
|
error: _json,
|
|
1349
1600
|
identityProviderConfiguration: (_) => _json(__expectUnion(_)),
|
|
@@ -1406,6 +1657,21 @@ export const de_ListConversationsCommand = async (output, context) => {
|
|
|
1406
1657
|
Object.assign(contents, doc);
|
|
1407
1658
|
return contents;
|
|
1408
1659
|
};
|
|
1660
|
+
export const de_ListDataAccessorsCommand = async (output, context) => {
|
|
1661
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1662
|
+
return de_CommandError(output, context);
|
|
1663
|
+
}
|
|
1664
|
+
const contents = map({
|
|
1665
|
+
$metadata: deserializeMetadata(output),
|
|
1666
|
+
});
|
|
1667
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1668
|
+
const doc = take(data, {
|
|
1669
|
+
dataAccessors: (_) => de_DataAccessors(_, context),
|
|
1670
|
+
nextToken: __expectString,
|
|
1671
|
+
});
|
|
1672
|
+
Object.assign(contents, doc);
|
|
1673
|
+
return contents;
|
|
1674
|
+
};
|
|
1409
1675
|
export const de_ListDataSourcesCommand = async (output, context) => {
|
|
1410
1676
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1411
1677
|
return de_CommandError(output, context);
|
|
@@ -1496,6 +1762,21 @@ export const de_ListMessagesCommand = async (output, context) => {
|
|
|
1496
1762
|
Object.assign(contents, doc);
|
|
1497
1763
|
return contents;
|
|
1498
1764
|
};
|
|
1765
|
+
export const de_ListPluginActionsCommand = async (output, context) => {
|
|
1766
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1767
|
+
return de_CommandError(output, context);
|
|
1768
|
+
}
|
|
1769
|
+
const contents = map({
|
|
1770
|
+
$metadata: deserializeMetadata(output),
|
|
1771
|
+
});
|
|
1772
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1773
|
+
const doc = take(data, {
|
|
1774
|
+
items: _json,
|
|
1775
|
+
nextToken: __expectString,
|
|
1776
|
+
});
|
|
1777
|
+
Object.assign(contents, doc);
|
|
1778
|
+
return contents;
|
|
1779
|
+
};
|
|
1499
1780
|
export const de_ListPluginsCommand = async (output, context) => {
|
|
1500
1781
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1501
1782
|
return de_CommandError(output, context);
|
|
@@ -1511,6 +1792,36 @@ export const de_ListPluginsCommand = async (output, context) => {
|
|
|
1511
1792
|
Object.assign(contents, doc);
|
|
1512
1793
|
return contents;
|
|
1513
1794
|
};
|
|
1795
|
+
export const de_ListPluginTypeActionsCommand = async (output, context) => {
|
|
1796
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1797
|
+
return de_CommandError(output, context);
|
|
1798
|
+
}
|
|
1799
|
+
const contents = map({
|
|
1800
|
+
$metadata: deserializeMetadata(output),
|
|
1801
|
+
});
|
|
1802
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1803
|
+
const doc = take(data, {
|
|
1804
|
+
items: _json,
|
|
1805
|
+
nextToken: __expectString,
|
|
1806
|
+
});
|
|
1807
|
+
Object.assign(contents, doc);
|
|
1808
|
+
return contents;
|
|
1809
|
+
};
|
|
1810
|
+
export const de_ListPluginTypeMetadataCommand = async (output, context) => {
|
|
1811
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1812
|
+
return de_CommandError(output, context);
|
|
1813
|
+
}
|
|
1814
|
+
const contents = map({
|
|
1815
|
+
$metadata: deserializeMetadata(output),
|
|
1816
|
+
});
|
|
1817
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1818
|
+
const doc = take(data, {
|
|
1819
|
+
items: _json,
|
|
1820
|
+
nextToken: __expectString,
|
|
1821
|
+
});
|
|
1822
|
+
Object.assign(contents, doc);
|
|
1823
|
+
return contents;
|
|
1824
|
+
};
|
|
1514
1825
|
export const de_ListRetrieversCommand = async (output, context) => {
|
|
1515
1826
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1516
1827
|
return de_CommandError(output, context);
|
|
@@ -1575,6 +1886,21 @@ export const de_PutGroupCommand = async (output, context) => {
|
|
|
1575
1886
|
await collectBody(output.body, context);
|
|
1576
1887
|
return contents;
|
|
1577
1888
|
};
|
|
1889
|
+
export const de_SearchRelevantContentCommand = async (output, context) => {
|
|
1890
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1891
|
+
return de_CommandError(output, context);
|
|
1892
|
+
}
|
|
1893
|
+
const contents = map({
|
|
1894
|
+
$metadata: deserializeMetadata(output),
|
|
1895
|
+
});
|
|
1896
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1897
|
+
const doc = take(data, {
|
|
1898
|
+
nextToken: __expectString,
|
|
1899
|
+
relevantContent: (_) => de_RelevantContentList(_, context),
|
|
1900
|
+
});
|
|
1901
|
+
Object.assign(contents, doc);
|
|
1902
|
+
return contents;
|
|
1903
|
+
};
|
|
1578
1904
|
export const de_StartDataSourceSyncJobCommand = async (output, context) => {
|
|
1579
1905
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1580
1906
|
return de_CommandError(output, context);
|
|
@@ -1639,6 +1965,16 @@ export const de_UpdateChatControlsConfigurationCommand = async (output, context)
|
|
|
1639
1965
|
await collectBody(output.body, context);
|
|
1640
1966
|
return contents;
|
|
1641
1967
|
};
|
|
1968
|
+
export const de_UpdateDataAccessorCommand = async (output, context) => {
|
|
1969
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1970
|
+
return de_CommandError(output, context);
|
|
1971
|
+
}
|
|
1972
|
+
const contents = map({
|
|
1973
|
+
$metadata: deserializeMetadata(output),
|
|
1974
|
+
});
|
|
1975
|
+
await collectBody(output.body, context);
|
|
1976
|
+
return contents;
|
|
1977
|
+
};
|
|
1642
1978
|
export const de_UpdateDataSourceCommand = async (output, context) => {
|
|
1643
1979
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1644
1980
|
return de_CommandError(output, context);
|
|
@@ -1724,15 +2060,15 @@ const de_CommandError = async (output, context) => {
|
|
|
1724
2060
|
case "ResourceNotFoundException":
|
|
1725
2061
|
case "com.amazonaws.qbusiness#ResourceNotFoundException":
|
|
1726
2062
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2063
|
+
case "ServiceQuotaExceededException":
|
|
2064
|
+
case "com.amazonaws.qbusiness#ServiceQuotaExceededException":
|
|
2065
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1727
2066
|
case "ThrottlingException":
|
|
1728
2067
|
case "com.amazonaws.qbusiness#ThrottlingException":
|
|
1729
2068
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1730
2069
|
case "ValidationException":
|
|
1731
2070
|
case "com.amazonaws.qbusiness#ValidationException":
|
|
1732
2071
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1733
|
-
case "ServiceQuotaExceededException":
|
|
1734
|
-
case "com.amazonaws.qbusiness#ServiceQuotaExceededException":
|
|
1735
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1736
2072
|
case "ExternalResourceException":
|
|
1737
2073
|
case "com.amazonaws.qbusiness#ExternalResourceException":
|
|
1738
2074
|
throw await de_ExternalResourceExceptionRes(parsedOutput, context);
|
|
@@ -2028,6 +2364,19 @@ const de_TextOutputEvent_event = async (output, context) => {
|
|
|
2028
2364
|
Object.assign(contents, _json(data));
|
|
2029
2365
|
return contents;
|
|
2030
2366
|
};
|
|
2367
|
+
const se_ActionConfiguration = (input, context) => {
|
|
2368
|
+
return take(input, {
|
|
2369
|
+
action: [],
|
|
2370
|
+
filterConfiguration: (_) => se_ActionFilterConfiguration(_, context),
|
|
2371
|
+
});
|
|
2372
|
+
};
|
|
2373
|
+
const se_ActionConfigurationList = (input, context) => {
|
|
2374
|
+
return input
|
|
2375
|
+
.filter((e) => e != null)
|
|
2376
|
+
.map((entry) => {
|
|
2377
|
+
return se_ActionConfiguration(entry, context);
|
|
2378
|
+
});
|
|
2379
|
+
};
|
|
2031
2380
|
const se_ActionExecution = (input, context) => {
|
|
2032
2381
|
return take(input, {
|
|
2033
2382
|
payload: (_) => se_ActionExecutionPayload(_, context),
|
|
@@ -2056,6 +2405,11 @@ const se_ActionExecutionPayloadField = (input, context) => {
|
|
|
2056
2405
|
value: (_) => se_ActionPayloadFieldValue(_, context),
|
|
2057
2406
|
});
|
|
2058
2407
|
};
|
|
2408
|
+
const se_ActionFilterConfiguration = (input, context) => {
|
|
2409
|
+
return take(input, {
|
|
2410
|
+
documentAttributeFilter: (_) => se_AttributeFilter(_, context),
|
|
2411
|
+
});
|
|
2412
|
+
};
|
|
2059
2413
|
const se_ActionPayloadFieldValue = (input, context) => {
|
|
2060
2414
|
return input;
|
|
2061
2415
|
};
|
|
@@ -2208,6 +2562,20 @@ const se_MessageUsefulnessFeedback = (input, context) => {
|
|
|
2208
2562
|
usefulness: [],
|
|
2209
2563
|
});
|
|
2210
2564
|
};
|
|
2565
|
+
const de_ActionConfiguration = (output, context) => {
|
|
2566
|
+
return take(output, {
|
|
2567
|
+
action: __expectString,
|
|
2568
|
+
filterConfiguration: (_) => de_ActionFilterConfiguration(_, context),
|
|
2569
|
+
});
|
|
2570
|
+
};
|
|
2571
|
+
const de_ActionConfigurationList = (output, context) => {
|
|
2572
|
+
const retVal = (output || [])
|
|
2573
|
+
.filter((e) => e != null)
|
|
2574
|
+
.map((entry) => {
|
|
2575
|
+
return de_ActionConfiguration(entry, context);
|
|
2576
|
+
});
|
|
2577
|
+
return retVal;
|
|
2578
|
+
};
|
|
2211
2579
|
const de_ActionExecution = (output, context) => {
|
|
2212
2580
|
return take(output, {
|
|
2213
2581
|
payload: (_) => de_ActionExecutionPayload(_, context),
|
|
@@ -2229,6 +2597,11 @@ const de_ActionExecutionPayloadField = (output, context) => {
|
|
|
2229
2597
|
value: (_) => de_ActionPayloadFieldValue(_, context),
|
|
2230
2598
|
});
|
|
2231
2599
|
};
|
|
2600
|
+
const de_ActionFilterConfiguration = (output, context) => {
|
|
2601
|
+
return take(output, {
|
|
2602
|
+
documentAttributeFilter: (_) => de_AttributeFilter(_, context),
|
|
2603
|
+
});
|
|
2604
|
+
};
|
|
2232
2605
|
const de_ActionPayloadFieldValue = (output, context) => {
|
|
2233
2606
|
return output;
|
|
2234
2607
|
};
|
|
@@ -2296,6 +2669,7 @@ const de_Application = (output, context) => {
|
|
|
2296
2669
|
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2297
2670
|
displayName: __expectString,
|
|
2298
2671
|
identityType: __expectString,
|
|
2672
|
+
quickSightConfiguration: _json,
|
|
2299
2673
|
status: __expectString,
|
|
2300
2674
|
updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2301
2675
|
});
|
|
@@ -2330,6 +2704,28 @@ const de_AttachmentList = (output, context) => {
|
|
|
2330
2704
|
});
|
|
2331
2705
|
return retVal;
|
|
2332
2706
|
};
|
|
2707
|
+
const de_AttributeFilter = (output, context) => {
|
|
2708
|
+
return take(output, {
|
|
2709
|
+
andAllFilters: (_) => de_AttributeFilters(_, context),
|
|
2710
|
+
containsAll: (_) => de_DocumentAttribute(_, context),
|
|
2711
|
+
containsAny: (_) => de_DocumentAttribute(_, context),
|
|
2712
|
+
equalsTo: (_) => de_DocumentAttribute(_, context),
|
|
2713
|
+
greaterThan: (_) => de_DocumentAttribute(_, context),
|
|
2714
|
+
greaterThanOrEquals: (_) => de_DocumentAttribute(_, context),
|
|
2715
|
+
lessThan: (_) => de_DocumentAttribute(_, context),
|
|
2716
|
+
lessThanOrEquals: (_) => de_DocumentAttribute(_, context),
|
|
2717
|
+
notFilter: (_) => de_AttributeFilter(_, context),
|
|
2718
|
+
orAllFilters: (_) => de_AttributeFilters(_, context),
|
|
2719
|
+
});
|
|
2720
|
+
};
|
|
2721
|
+
const de_AttributeFilters = (output, context) => {
|
|
2722
|
+
const retVal = (output || [])
|
|
2723
|
+
.filter((e) => e != null)
|
|
2724
|
+
.map((entry) => {
|
|
2725
|
+
return de_AttributeFilter(entry, context);
|
|
2726
|
+
});
|
|
2727
|
+
return retVal;
|
|
2728
|
+
};
|
|
2333
2729
|
const de_Conversation = (output, context) => {
|
|
2334
2730
|
return take(output, {
|
|
2335
2731
|
conversationId: __expectString,
|
|
@@ -2345,6 +2741,25 @@ const de_Conversations = (output, context) => {
|
|
|
2345
2741
|
});
|
|
2346
2742
|
return retVal;
|
|
2347
2743
|
};
|
|
2744
|
+
const de_DataAccessor = (output, context) => {
|
|
2745
|
+
return take(output, {
|
|
2746
|
+
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2747
|
+
dataAccessorArn: __expectString,
|
|
2748
|
+
dataAccessorId: __expectString,
|
|
2749
|
+
displayName: __expectString,
|
|
2750
|
+
idcApplicationArn: __expectString,
|
|
2751
|
+
principal: __expectString,
|
|
2752
|
+
updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2753
|
+
});
|
|
2754
|
+
};
|
|
2755
|
+
const de_DataAccessors = (output, context) => {
|
|
2756
|
+
const retVal = (output || [])
|
|
2757
|
+
.filter((e) => e != null)
|
|
2758
|
+
.map((entry) => {
|
|
2759
|
+
return de_DataAccessor(entry, context);
|
|
2760
|
+
});
|
|
2761
|
+
return retVal;
|
|
2762
|
+
};
|
|
2348
2763
|
const de_DataSource = (output, context) => {
|
|
2349
2764
|
return take(output, {
|
|
2350
2765
|
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -2385,6 +2800,12 @@ const de_DataSourceSyncJobs = (output, context) => {
|
|
|
2385
2800
|
});
|
|
2386
2801
|
return retVal;
|
|
2387
2802
|
};
|
|
2803
|
+
const de_DocumentAttribute = (output, context) => {
|
|
2804
|
+
return take(output, {
|
|
2805
|
+
name: __expectString,
|
|
2806
|
+
value: (_) => de_DocumentAttributeValue(__expectUnion(_), context),
|
|
2807
|
+
});
|
|
2808
|
+
};
|
|
2388
2809
|
const de_DocumentAttributeCondition = (output, context) => {
|
|
2389
2810
|
return take(output, {
|
|
2390
2811
|
key: __expectString,
|
|
@@ -2392,6 +2813,14 @@ const de_DocumentAttributeCondition = (output, context) => {
|
|
|
2392
2813
|
value: (_) => de_DocumentAttributeValue(__expectUnion(_), context),
|
|
2393
2814
|
});
|
|
2394
2815
|
};
|
|
2816
|
+
const de_DocumentAttributes = (output, context) => {
|
|
2817
|
+
const retVal = (output || [])
|
|
2818
|
+
.filter((e) => e != null)
|
|
2819
|
+
.map((entry) => {
|
|
2820
|
+
return de_DocumentAttribute(entry, context);
|
|
2821
|
+
});
|
|
2822
|
+
return retVal;
|
|
2823
|
+
};
|
|
2395
2824
|
const de_DocumentAttributeTarget = (output, context) => {
|
|
2396
2825
|
return take(output, {
|
|
2397
2826
|
attributeValueOperator: __expectString,
|
|
@@ -2546,6 +2975,24 @@ const de_Plugins = (output, context) => {
|
|
|
2546
2975
|
});
|
|
2547
2976
|
return retVal;
|
|
2548
2977
|
};
|
|
2978
|
+
const de_RelevantContent = (output, context) => {
|
|
2979
|
+
return take(output, {
|
|
2980
|
+
content: __expectString,
|
|
2981
|
+
documentAttributes: (_) => de_DocumentAttributes(_, context),
|
|
2982
|
+
documentId: __expectString,
|
|
2983
|
+
documentTitle: __expectString,
|
|
2984
|
+
documentUri: __expectString,
|
|
2985
|
+
scoreAttributes: _json,
|
|
2986
|
+
});
|
|
2987
|
+
};
|
|
2988
|
+
const de_RelevantContentList = (output, context) => {
|
|
2989
|
+
const retVal = (output || [])
|
|
2990
|
+
.filter((e) => e != null)
|
|
2991
|
+
.map((entry) => {
|
|
2992
|
+
return de_RelevantContent(entry, context);
|
|
2993
|
+
});
|
|
2994
|
+
return retVal;
|
|
2995
|
+
};
|
|
2549
2996
|
const de_SourceAttribution = (output, context) => {
|
|
2550
2997
|
return take(output, {
|
|
2551
2998
|
citationNumber: __expectInt32,
|