@aws-sdk/client-qbusiness 3.696.0 → 3.703.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 +16 -0
- package/dist-cjs/index.js +218 -1
- package/dist-es/QBusiness.js +4 -0
- package/dist-es/commands/GetMediaCommand.js +22 -0
- package/dist-es/commands/ListAttachmentsCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +41 -1
- package/dist-es/pagination/ListAttachmentsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +120 -1
- package/dist-types/QBusiness.d.ts +14 -0
- package/dist-types/QBusinessClient.d.ts +4 -2
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +1 -1
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +6 -1
- package/dist-types/commands/ChatCommand.d.ts +19 -4
- package/dist-types/commands/ChatSyncCommand.d.ts +19 -4
- package/dist-types/commands/CreateApplicationCommand.d.ts +10 -11
- package/dist-types/commands/CreateDataSourceCommand.d.ts +6 -1
- package/dist-types/commands/CreateIndexCommand.d.ts +2 -2
- package/dist-types/commands/CreatePluginCommand.d.ts +1 -1
- package/dist-types/commands/CreateRetrieverCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserCommand.d.ts +1 -1
- package/dist-types/commands/CreateWebExperienceCommand.d.ts +6 -1
- package/dist-types/commands/DeleteApplicationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIndexCommand.d.ts +1 -1
- package/dist-types/commands/DeletePluginCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRetrieverCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
- package/dist-types/commands/DeleteWebExperienceCommand.d.ts +1 -1
- package/dist-types/commands/GetDataSourceCommand.d.ts +5 -0
- package/dist-types/commands/GetGroupCommand.d.ts +1 -1
- package/dist-types/commands/GetIndexCommand.d.ts +1 -1
- package/dist-types/commands/GetMediaCommand.d.ts +105 -0
- package/dist-types/commands/GetUserCommand.d.ts +1 -1
- package/dist-types/commands/GetWebExperienceCommand.d.ts +5 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +6 -0
- package/dist-types/commands/ListAttachmentsCommand.d.ts +121 -0
- package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +4 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListMessagesCommand.d.ts +5 -1
- package/dist-types/commands/PutGroupCommand.d.ts +1 -1
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +1 -1
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApplicationCommand.d.ts +11 -8
- package/dist-types/commands/UpdateChatControlsConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +6 -1
- package/dist-types/commands/UpdateIndexCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePluginCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRetrieverCommand.d.ts +1 -1
- package/dist-types/commands/UpdateWebExperienceCommand.d.ts +6 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +410 -37
- package/dist-types/pagination/ListAttachmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/QBusiness.d.ts +34 -0
- package/dist-types/ts3.4/QBusinessClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetMediaCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListAttachmentsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +111 -9
- package/dist-types/ts3.4/pagination/ListAttachmentsPaginator.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 +24 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -448,6 +448,14 @@ GetIndex
|
|
|
448
448
|
|
|
449
449
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qbusiness/command/GetIndexCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/GetIndexCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/GetIndexCommandOutput/)
|
|
450
450
|
|
|
451
|
+
</details>
|
|
452
|
+
<details>
|
|
453
|
+
<summary>
|
|
454
|
+
GetMedia
|
|
455
|
+
</summary>
|
|
456
|
+
|
|
457
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qbusiness/command/GetMediaCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/GetMediaCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/GetMediaCommandOutput/)
|
|
458
|
+
|
|
451
459
|
</details>
|
|
452
460
|
<details>
|
|
453
461
|
<summary>
|
|
@@ -488,6 +496,14 @@ ListApplications
|
|
|
488
496
|
|
|
489
497
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qbusiness/command/ListApplicationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/ListApplicationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/ListApplicationsCommandOutput/)
|
|
490
498
|
|
|
499
|
+
</details>
|
|
500
|
+
<details>
|
|
501
|
+
<summary>
|
|
502
|
+
ListAttachments
|
|
503
|
+
</summary>
|
|
504
|
+
|
|
505
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qbusiness/command/ListAttachmentsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/ListAttachmentsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/ListAttachmentsCommandOutput/)
|
|
506
|
+
|
|
491
507
|
</details>
|
|
492
508
|
<details>
|
|
493
509
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -34,6 +34,7 @@ __export(src_exports, {
|
|
|
34
34
|
AutoSubscriptionStatus: () => AutoSubscriptionStatus,
|
|
35
35
|
BatchDeleteDocumentCommand: () => BatchDeleteDocumentCommand,
|
|
36
36
|
BatchPutDocumentCommand: () => BatchPutDocumentCommand,
|
|
37
|
+
BrowserExtension: () => BrowserExtension,
|
|
37
38
|
ChatCommand: () => ChatCommand,
|
|
38
39
|
ChatInputFilterSensitiveLog: () => ChatInputFilterSensitiveLog,
|
|
39
40
|
ChatInputStream: () => ChatInputStream,
|
|
@@ -46,6 +47,7 @@ __export(src_exports, {
|
|
|
46
47
|
ChatSyncCommand: () => ChatSyncCommand,
|
|
47
48
|
ConflictException: () => ConflictException,
|
|
48
49
|
ContentType: () => ContentType,
|
|
50
|
+
CopyFromSource: () => CopyFromSource,
|
|
49
51
|
CreateApplicationCommand: () => CreateApplicationCommand,
|
|
50
52
|
CreateApplicationRequestFilterSensitiveLog: () => CreateApplicationRequestFilterSensitiveLog,
|
|
51
53
|
CreateDataSourceCommand: () => CreateDataSourceCommand,
|
|
@@ -78,12 +80,14 @@ __export(src_exports, {
|
|
|
78
80
|
DocumentStatus: () => DocumentStatus,
|
|
79
81
|
EncryptionConfigurationFilterSensitiveLog: () => EncryptionConfigurationFilterSensitiveLog,
|
|
80
82
|
ErrorCode: () => ErrorCode,
|
|
83
|
+
ExternalResourceException: () => ExternalResourceException,
|
|
81
84
|
GetApplicationCommand: () => GetApplicationCommand,
|
|
82
85
|
GetApplicationResponseFilterSensitiveLog: () => GetApplicationResponseFilterSensitiveLog,
|
|
83
86
|
GetChatControlsConfigurationCommand: () => GetChatControlsConfigurationCommand,
|
|
84
87
|
GetDataSourceCommand: () => GetDataSourceCommand,
|
|
85
88
|
GetGroupCommand: () => GetGroupCommand,
|
|
86
89
|
GetIndexCommand: () => GetIndexCommand,
|
|
90
|
+
GetMediaCommand: () => GetMediaCommand,
|
|
87
91
|
GetPluginCommand: () => GetPluginCommand,
|
|
88
92
|
GetPluginResponseFilterSensitiveLog: () => GetPluginResponseFilterSensitiveLog,
|
|
89
93
|
GetRetrieverCommand: () => GetRetrieverCommand,
|
|
@@ -92,11 +96,13 @@ __export(src_exports, {
|
|
|
92
96
|
GroupStatus: () => GroupStatus,
|
|
93
97
|
IdentityProviderConfiguration: () => IdentityProviderConfiguration,
|
|
94
98
|
IdentityType: () => IdentityType,
|
|
99
|
+
ImageExtractionStatus: () => ImageExtractionStatus,
|
|
95
100
|
IndexStatus: () => IndexStatus,
|
|
96
101
|
IndexType: () => IndexType,
|
|
97
102
|
InternalServerException: () => InternalServerException,
|
|
98
103
|
LicenseNotFoundException: () => LicenseNotFoundException,
|
|
99
104
|
ListApplicationsCommand: () => ListApplicationsCommand,
|
|
105
|
+
ListAttachmentsCommand: () => ListAttachmentsCommand,
|
|
100
106
|
ListConversationsCommand: () => ListConversationsCommand,
|
|
101
107
|
ListDataSourceSyncJobsCommand: () => ListDataSourceSyncJobsCommand,
|
|
102
108
|
ListDataSourcesCommand: () => ListDataSourcesCommand,
|
|
@@ -108,6 +114,7 @@ __export(src_exports, {
|
|
|
108
114
|
ListRetrieversCommand: () => ListRetrieversCommand,
|
|
109
115
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
110
116
|
ListWebExperiencesCommand: () => ListWebExperiencesCommand,
|
|
117
|
+
MediaTooLargeException: () => MediaTooLargeException,
|
|
111
118
|
MemberRelation: () => MemberRelation,
|
|
112
119
|
MembershipType: () => MembershipType,
|
|
113
120
|
MessageType: () => MessageType,
|
|
@@ -160,6 +167,7 @@ __export(src_exports, {
|
|
|
160
167
|
__Client: () => import_smithy_client.Client,
|
|
161
168
|
paginateGetChatControlsConfiguration: () => paginateGetChatControlsConfiguration,
|
|
162
169
|
paginateListApplications: () => paginateListApplications,
|
|
170
|
+
paginateListAttachments: () => paginateListAttachments,
|
|
163
171
|
paginateListConversations: () => paginateListConversations,
|
|
164
172
|
paginateListDataSourceSyncJobs: () => paginateListDataSourceSyncJobs,
|
|
165
173
|
paginateListDataSources: () => paginateListDataSources,
|
|
@@ -599,6 +607,10 @@ var DocumentContentOperator = {
|
|
|
599
607
|
var AttributeValueOperator = {
|
|
600
608
|
DELETE: "DELETE"
|
|
601
609
|
};
|
|
610
|
+
var ImageExtractionStatus = {
|
|
611
|
+
DISABLED: "DISABLED",
|
|
612
|
+
ENABLED: "ENABLED"
|
|
613
|
+
};
|
|
602
614
|
var DataSourceStatus = {
|
|
603
615
|
ACTIVE: "ACTIVE",
|
|
604
616
|
CREATING: "CREATING",
|
|
@@ -699,6 +711,10 @@ var RetrieverStatus = {
|
|
|
699
711
|
CREATING: "CREATING",
|
|
700
712
|
FAILED: "FAILED"
|
|
701
713
|
};
|
|
714
|
+
var BrowserExtension = {
|
|
715
|
+
CHROME: "CHROME",
|
|
716
|
+
FIREFOX: "FIREFOX"
|
|
717
|
+
};
|
|
702
718
|
var IdentityProviderConfiguration;
|
|
703
719
|
((IdentityProviderConfiguration3) => {
|
|
704
720
|
IdentityProviderConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -732,9 +748,17 @@ var CreatorModeControl = {
|
|
|
732
748
|
DISABLED: "DISABLED",
|
|
733
749
|
ENABLED: "ENABLED"
|
|
734
750
|
};
|
|
751
|
+
var CopyFromSource;
|
|
752
|
+
((CopyFromSource3) => {
|
|
753
|
+
CopyFromSource3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
754
|
+
if (value.conversation !== void 0)
|
|
755
|
+
return visitor.conversation(value.conversation);
|
|
756
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
757
|
+
}, "visit");
|
|
758
|
+
})(CopyFromSource || (CopyFromSource = {}));
|
|
735
759
|
var AttachmentStatus = {
|
|
736
760
|
FAILED: "FAILED",
|
|
737
|
-
|
|
761
|
+
SUCCESS: "SUCCESS"
|
|
738
762
|
};
|
|
739
763
|
var DocumentContent;
|
|
740
764
|
((DocumentContent2) => {
|
|
@@ -789,6 +813,23 @@ var ChatOutputStream;
|
|
|
789
813
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
790
814
|
}, "visit");
|
|
791
815
|
})(ChatOutputStream || (ChatOutputStream = {}));
|
|
816
|
+
var _ExternalResourceException = class _ExternalResourceException extends QBusinessServiceException {
|
|
817
|
+
/**
|
|
818
|
+
* @internal
|
|
819
|
+
*/
|
|
820
|
+
constructor(opts) {
|
|
821
|
+
super({
|
|
822
|
+
name: "ExternalResourceException",
|
|
823
|
+
$fault: "client",
|
|
824
|
+
...opts
|
|
825
|
+
});
|
|
826
|
+
this.name = "ExternalResourceException";
|
|
827
|
+
this.$fault = "client";
|
|
828
|
+
Object.setPrototypeOf(this, _ExternalResourceException.prototype);
|
|
829
|
+
}
|
|
830
|
+
};
|
|
831
|
+
__name(_ExternalResourceException, "ExternalResourceException");
|
|
832
|
+
var ExternalResourceException = _ExternalResourceException;
|
|
792
833
|
var _LicenseNotFoundException = class _LicenseNotFoundException extends QBusinessServiceException {
|
|
793
834
|
/**
|
|
794
835
|
* @internal
|
|
@@ -850,6 +891,23 @@ var GroupStatus = {
|
|
|
850
891
|
PROCESSING: "PROCESSING",
|
|
851
892
|
SUCCEEDED: "SUCCEEDED"
|
|
852
893
|
};
|
|
894
|
+
var _MediaTooLargeException = class _MediaTooLargeException extends QBusinessServiceException {
|
|
895
|
+
/**
|
|
896
|
+
* @internal
|
|
897
|
+
*/
|
|
898
|
+
constructor(opts) {
|
|
899
|
+
super({
|
|
900
|
+
name: "MediaTooLargeException",
|
|
901
|
+
$fault: "client",
|
|
902
|
+
...opts
|
|
903
|
+
});
|
|
904
|
+
this.name = "MediaTooLargeException";
|
|
905
|
+
this.$fault = "client";
|
|
906
|
+
Object.setPrototypeOf(this, _MediaTooLargeException.prototype);
|
|
907
|
+
}
|
|
908
|
+
};
|
|
909
|
+
__name(_MediaTooLargeException, "MediaTooLargeException");
|
|
910
|
+
var MediaTooLargeException = _MediaTooLargeException;
|
|
853
911
|
var MessageType = {
|
|
854
912
|
SYSTEM: "SYSTEM",
|
|
855
913
|
USER: "USER"
|
|
@@ -1110,6 +1168,7 @@ var se_CreateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1110
1168
|
description: [],
|
|
1111
1169
|
displayName: [],
|
|
1112
1170
|
documentEnrichmentConfiguration: (_) => se_DocumentEnrichmentConfiguration(_, context),
|
|
1171
|
+
mediaExtractionConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
1113
1172
|
roleArn: [],
|
|
1114
1173
|
syncSchedule: [],
|
|
1115
1174
|
tags: (_) => (0, import_smithy_client._json)(_),
|
|
@@ -1211,6 +1270,7 @@ var se_CreateWebExperienceCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
1211
1270
|
let body;
|
|
1212
1271
|
body = JSON.stringify(
|
|
1213
1272
|
(0, import_smithy_client.take)(input, {
|
|
1273
|
+
browserExtensionConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
1214
1274
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1215
1275
|
identityProviderConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
1216
1276
|
origins: (_) => (0, import_smithy_client._json)(_),
|
|
@@ -1388,6 +1448,18 @@ var se_GetIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1388
1448
|
b.m("GET").h(headers).b(body);
|
|
1389
1449
|
return b.build();
|
|
1390
1450
|
}, "se_GetIndexCommand");
|
|
1451
|
+
var se_GetMediaCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1452
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1453
|
+
const headers = {};
|
|
1454
|
+
b.bp("/applications/{applicationId}/conversations/{conversationId}/messages/{messageId}/media/{mediaId}");
|
|
1455
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
1456
|
+
b.p("conversationId", () => input.conversationId, "{conversationId}", false);
|
|
1457
|
+
b.p("messageId", () => input.messageId, "{messageId}", false);
|
|
1458
|
+
b.p("mediaId", () => input.mediaId, "{mediaId}", false);
|
|
1459
|
+
let body;
|
|
1460
|
+
b.m("GET").h(headers).b(body);
|
|
1461
|
+
return b.build();
|
|
1462
|
+
}, "se_GetMediaCommand");
|
|
1391
1463
|
var se_GetPluginCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1392
1464
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1393
1465
|
const headers = {};
|
|
@@ -1440,6 +1512,21 @@ var se_ListApplicationsCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1440
1512
|
b.m("GET").h(headers).q(query).b(body);
|
|
1441
1513
|
return b.build();
|
|
1442
1514
|
}, "se_ListApplicationsCommand");
|
|
1515
|
+
var se_ListAttachmentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1516
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1517
|
+
const headers = {};
|
|
1518
|
+
b.bp("/applications/{applicationId}/attachments");
|
|
1519
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
1520
|
+
const query = (0, import_smithy_client.map)({
|
|
1521
|
+
[_cI]: [, input[_cI]],
|
|
1522
|
+
[_uI]: [, input[_uI]],
|
|
1523
|
+
[_nT]: [, input[_nT]],
|
|
1524
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
1525
|
+
});
|
|
1526
|
+
let body;
|
|
1527
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1528
|
+
return b.build();
|
|
1529
|
+
}, "se_ListAttachmentsCommand");
|
|
1443
1530
|
var se_ListConversationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1444
1531
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1445
1532
|
const headers = {};
|
|
@@ -1749,6 +1836,7 @@ var se_UpdateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1749
1836
|
description: [],
|
|
1750
1837
|
displayName: [],
|
|
1751
1838
|
documentEnrichmentConfiguration: (_) => se_DocumentEnrichmentConfiguration(_, context),
|
|
1839
|
+
mediaExtractionConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
1752
1840
|
roleArn: [],
|
|
1753
1841
|
syncSchedule: [],
|
|
1754
1842
|
vpcConfiguration: (_) => (0, import_smithy_client._json)(_)
|
|
@@ -1847,6 +1935,7 @@ var se_UpdateWebExperienceCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
1847
1935
|
body = JSON.stringify(
|
|
1848
1936
|
(0, import_smithy_client.take)(input, {
|
|
1849
1937
|
authenticationConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
1938
|
+
browserExtensionConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
1850
1939
|
identityProviderConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
1851
1940
|
origins: (_) => (0, import_smithy_client._json)(_),
|
|
1852
1941
|
roleArn: [],
|
|
@@ -2188,6 +2277,7 @@ var de_GetDataSourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2188
2277
|
documentEnrichmentConfiguration: (_) => de_DocumentEnrichmentConfiguration(_, context),
|
|
2189
2278
|
error: import_smithy_client._json,
|
|
2190
2279
|
indexId: import_smithy_client.expectString,
|
|
2280
|
+
mediaExtractionConfiguration: import_smithy_client._json,
|
|
2191
2281
|
roleArn: import_smithy_client.expectString,
|
|
2192
2282
|
status: import_smithy_client.expectString,
|
|
2193
2283
|
syncSchedule: import_smithy_client.expectString,
|
|
@@ -2239,6 +2329,21 @@ var de_GetIndexCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2239
2329
|
Object.assign(contents, doc);
|
|
2240
2330
|
return contents;
|
|
2241
2331
|
}, "de_GetIndexCommand");
|
|
2332
|
+
var de_GetMediaCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2333
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2334
|
+
return de_CommandError(output, context);
|
|
2335
|
+
}
|
|
2336
|
+
const contents = (0, import_smithy_client.map)({
|
|
2337
|
+
$metadata: deserializeMetadata(output)
|
|
2338
|
+
});
|
|
2339
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2340
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2341
|
+
mediaBytes: context.base64Decoder,
|
|
2342
|
+
mediaMimeType: import_smithy_client.expectString
|
|
2343
|
+
});
|
|
2344
|
+
Object.assign(contents, doc);
|
|
2345
|
+
return contents;
|
|
2346
|
+
}, "de_GetMediaCommand");
|
|
2242
2347
|
var de_GetPluginCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2243
2348
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2244
2349
|
return de_CommandError(output, context);
|
|
@@ -2312,6 +2417,7 @@ var de_GetWebExperienceCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2312
2417
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2313
2418
|
applicationId: import_smithy_client.expectString,
|
|
2314
2419
|
authenticationConfiguration: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
2420
|
+
browserExtensionConfiguration: import_smithy_client._json,
|
|
2315
2421
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2316
2422
|
defaultEndpoint: import_smithy_client.expectString,
|
|
2317
2423
|
error: import_smithy_client._json,
|
|
@@ -2345,6 +2451,21 @@ var de_ListApplicationsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2345
2451
|
Object.assign(contents, doc);
|
|
2346
2452
|
return contents;
|
|
2347
2453
|
}, "de_ListApplicationsCommand");
|
|
2454
|
+
var de_ListAttachmentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2455
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2456
|
+
return de_CommandError(output, context);
|
|
2457
|
+
}
|
|
2458
|
+
const contents = (0, import_smithy_client.map)({
|
|
2459
|
+
$metadata: deserializeMetadata(output)
|
|
2460
|
+
});
|
|
2461
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2462
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2463
|
+
attachments: (_) => de_AttachmentList(_, context),
|
|
2464
|
+
nextToken: import_smithy_client.expectString
|
|
2465
|
+
});
|
|
2466
|
+
Object.assign(contents, doc);
|
|
2467
|
+
return contents;
|
|
2468
|
+
}, "de_ListAttachmentsCommand");
|
|
2348
2469
|
var de_ListConversationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2349
2470
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2350
2471
|
return de_CommandError(output, context);
|
|
@@ -2687,9 +2808,15 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2687
2808
|
case "ServiceQuotaExceededException":
|
|
2688
2809
|
case "com.amazonaws.qbusiness#ServiceQuotaExceededException":
|
|
2689
2810
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2811
|
+
case "ExternalResourceException":
|
|
2812
|
+
case "com.amazonaws.qbusiness#ExternalResourceException":
|
|
2813
|
+
throw await de_ExternalResourceExceptionRes(parsedOutput, context);
|
|
2690
2814
|
case "LicenseNotFoundException":
|
|
2691
2815
|
case "com.amazonaws.qbusiness#LicenseNotFoundException":
|
|
2692
2816
|
throw await de_LicenseNotFoundExceptionRes(parsedOutput, context);
|
|
2817
|
+
case "MediaTooLargeException":
|
|
2818
|
+
case "com.amazonaws.qbusiness#MediaTooLargeException":
|
|
2819
|
+
throw await de_MediaTooLargeExceptionRes(parsedOutput, context);
|
|
2693
2820
|
default:
|
|
2694
2821
|
const parsedBody = parsedOutput.body;
|
|
2695
2822
|
return throwDefaultError({
|
|
@@ -2728,6 +2855,19 @@ var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, contex
|
|
|
2728
2855
|
});
|
|
2729
2856
|
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2730
2857
|
}, "de_ConflictExceptionRes");
|
|
2858
|
+
var de_ExternalResourceExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2859
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2860
|
+
const data = parsedOutput.body;
|
|
2861
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2862
|
+
message: import_smithy_client.expectString
|
|
2863
|
+
});
|
|
2864
|
+
Object.assign(contents, doc);
|
|
2865
|
+
const exception = new ExternalResourceException({
|
|
2866
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2867
|
+
...contents
|
|
2868
|
+
});
|
|
2869
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2870
|
+
}, "de_ExternalResourceExceptionRes");
|
|
2731
2871
|
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2732
2872
|
const contents = (0, import_smithy_client.map)({});
|
|
2733
2873
|
const data = parsedOutput.body;
|
|
@@ -2754,6 +2894,19 @@ var de_LicenseNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput,
|
|
|
2754
2894
|
});
|
|
2755
2895
|
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2756
2896
|
}, "de_LicenseNotFoundExceptionRes");
|
|
2897
|
+
var de_MediaTooLargeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2898
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2899
|
+
const data = parsedOutput.body;
|
|
2900
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2901
|
+
message: import_smithy_client.expectString
|
|
2902
|
+
});
|
|
2903
|
+
Object.assign(contents, doc);
|
|
2904
|
+
const exception = new MediaTooLargeException({
|
|
2905
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2906
|
+
...contents
|
|
2907
|
+
});
|
|
2908
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2909
|
+
}, "de_MediaTooLargeExceptionRes");
|
|
2757
2910
|
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2758
2911
|
const contents = (0, import_smithy_client.map)({});
|
|
2759
2912
|
const data = parsedOutput.body;
|
|
@@ -2986,6 +3139,7 @@ var se_ActionPayloadFieldValue = /* @__PURE__ */ __name((input, context) => {
|
|
|
2986
3139
|
}, "se_ActionPayloadFieldValue");
|
|
2987
3140
|
var se_AttachmentInput = /* @__PURE__ */ __name((input, context) => {
|
|
2988
3141
|
return (0, import_smithy_client.take)(input, {
|
|
3142
|
+
copyFrom: import_smithy_client._json,
|
|
2989
3143
|
data: context.base64Encoder,
|
|
2990
3144
|
name: []
|
|
2991
3145
|
});
|
|
@@ -3037,6 +3191,7 @@ var se_Document = /* @__PURE__ */ __name((input, context) => {
|
|
|
3037
3191
|
contentType: [],
|
|
3038
3192
|
documentEnrichmentConfiguration: (_) => se_DocumentEnrichmentConfiguration(_, context),
|
|
3039
3193
|
id: [],
|
|
3194
|
+
mediaExtractionConfiguration: import_smithy_client._json,
|
|
3040
3195
|
title: []
|
|
3041
3196
|
});
|
|
3042
3197
|
}, "se_Document");
|
|
@@ -3220,6 +3375,26 @@ var de_Applications = /* @__PURE__ */ __name((output, context) => {
|
|
|
3220
3375
|
});
|
|
3221
3376
|
return retVal;
|
|
3222
3377
|
}, "de_Applications");
|
|
3378
|
+
var de_Attachment = /* @__PURE__ */ __name((output, context) => {
|
|
3379
|
+
return (0, import_smithy_client.take)(output, {
|
|
3380
|
+
attachmentId: import_smithy_client.expectString,
|
|
3381
|
+
conversationId: import_smithy_client.expectString,
|
|
3382
|
+
copyFrom: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
3383
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3384
|
+
error: import_smithy_client._json,
|
|
3385
|
+
fileSize: import_smithy_client.expectInt32,
|
|
3386
|
+
fileType: import_smithy_client.expectString,
|
|
3387
|
+
md5chksum: import_smithy_client.expectString,
|
|
3388
|
+
name: import_smithy_client.expectString,
|
|
3389
|
+
status: import_smithy_client.expectString
|
|
3390
|
+
});
|
|
3391
|
+
}, "de_Attachment");
|
|
3392
|
+
var de_AttachmentList = /* @__PURE__ */ __name((output, context) => {
|
|
3393
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3394
|
+
return de_Attachment(entry, context);
|
|
3395
|
+
});
|
|
3396
|
+
return retVal;
|
|
3397
|
+
}, "de_AttachmentList");
|
|
3223
3398
|
var de_Conversation = /* @__PURE__ */ __name((output, context) => {
|
|
3224
3399
|
return (0, import_smithy_client.take)(output, {
|
|
3225
3400
|
conversationId: import_smithy_client.expectString,
|
|
@@ -3846,6 +4021,20 @@ var _GetIndexCommand = class _GetIndexCommand extends import_smithy_client.Comma
|
|
|
3846
4021
|
__name(_GetIndexCommand, "GetIndexCommand");
|
|
3847
4022
|
var GetIndexCommand = _GetIndexCommand;
|
|
3848
4023
|
|
|
4024
|
+
// src/commands/GetMediaCommand.ts
|
|
4025
|
+
|
|
4026
|
+
|
|
4027
|
+
|
|
4028
|
+
var _GetMediaCommand = class _GetMediaCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4029
|
+
return [
|
|
4030
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4031
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4032
|
+
];
|
|
4033
|
+
}).s("ExpertQ", "GetMedia", {}).n("QBusinessClient", "GetMediaCommand").f(void 0, void 0).ser(se_GetMediaCommand).de(de_GetMediaCommand).build() {
|
|
4034
|
+
};
|
|
4035
|
+
__name(_GetMediaCommand, "GetMediaCommand");
|
|
4036
|
+
var GetMediaCommand = _GetMediaCommand;
|
|
4037
|
+
|
|
3849
4038
|
// src/commands/GetPluginCommand.ts
|
|
3850
4039
|
|
|
3851
4040
|
|
|
@@ -3916,6 +4105,20 @@ var _ListApplicationsCommand = class _ListApplicationsCommand extends import_smi
|
|
|
3916
4105
|
__name(_ListApplicationsCommand, "ListApplicationsCommand");
|
|
3917
4106
|
var ListApplicationsCommand = _ListApplicationsCommand;
|
|
3918
4107
|
|
|
4108
|
+
// src/commands/ListAttachmentsCommand.ts
|
|
4109
|
+
|
|
4110
|
+
|
|
4111
|
+
|
|
4112
|
+
var _ListAttachmentsCommand = class _ListAttachmentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4113
|
+
return [
|
|
4114
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4115
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4116
|
+
];
|
|
4117
|
+
}).s("ExpertQ", "ListAttachments", {}).n("QBusinessClient", "ListAttachmentsCommand").f(void 0, void 0).ser(se_ListAttachmentsCommand).de(de_ListAttachmentsCommand).build() {
|
|
4118
|
+
};
|
|
4119
|
+
__name(_ListAttachmentsCommand, "ListAttachmentsCommand");
|
|
4120
|
+
var ListAttachmentsCommand = _ListAttachmentsCommand;
|
|
4121
|
+
|
|
3919
4122
|
// src/commands/ListConversationsCommand.ts
|
|
3920
4123
|
|
|
3921
4124
|
|
|
@@ -4294,11 +4497,13 @@ var commands = {
|
|
|
4294
4497
|
GetDataSourceCommand,
|
|
4295
4498
|
GetGroupCommand,
|
|
4296
4499
|
GetIndexCommand,
|
|
4500
|
+
GetMediaCommand,
|
|
4297
4501
|
GetPluginCommand,
|
|
4298
4502
|
GetRetrieverCommand,
|
|
4299
4503
|
GetUserCommand,
|
|
4300
4504
|
GetWebExperienceCommand,
|
|
4301
4505
|
ListApplicationsCommand,
|
|
4506
|
+
ListAttachmentsCommand,
|
|
4302
4507
|
ListConversationsCommand,
|
|
4303
4508
|
ListDataSourcesCommand,
|
|
4304
4509
|
ListDataSourceSyncJobsCommand,
|
|
@@ -4339,6 +4544,10 @@ var paginateGetChatControlsConfiguration = (0, import_core.createPaginator)(QBus
|
|
|
4339
4544
|
|
|
4340
4545
|
var paginateListApplications = (0, import_core.createPaginator)(QBusinessClient, ListApplicationsCommand, "nextToken", "nextToken", "maxResults");
|
|
4341
4546
|
|
|
4547
|
+
// src/pagination/ListAttachmentsPaginator.ts
|
|
4548
|
+
|
|
4549
|
+
var paginateListAttachments = (0, import_core.createPaginator)(QBusinessClient, ListAttachmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
4550
|
+
|
|
4342
4551
|
// src/pagination/ListConversationsPaginator.ts
|
|
4343
4552
|
|
|
4344
4553
|
var paginateListConversations = (0, import_core.createPaginator)(QBusinessClient, ListConversationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -4412,11 +4621,13 @@ var paginateListWebExperiences = (0, import_core.createPaginator)(QBusinessClien
|
|
|
4412
4621
|
GetDataSourceCommand,
|
|
4413
4622
|
GetGroupCommand,
|
|
4414
4623
|
GetIndexCommand,
|
|
4624
|
+
GetMediaCommand,
|
|
4415
4625
|
GetPluginCommand,
|
|
4416
4626
|
GetRetrieverCommand,
|
|
4417
4627
|
GetUserCommand,
|
|
4418
4628
|
GetWebExperienceCommand,
|
|
4419
4629
|
ListApplicationsCommand,
|
|
4630
|
+
ListAttachmentsCommand,
|
|
4420
4631
|
ListConversationsCommand,
|
|
4421
4632
|
ListDataSourceSyncJobsCommand,
|
|
4422
4633
|
ListDataSourcesCommand,
|
|
@@ -4444,6 +4655,7 @@ var paginateListWebExperiences = (0, import_core.createPaginator)(QBusinessClien
|
|
|
4444
4655
|
UpdateWebExperienceCommand,
|
|
4445
4656
|
paginateGetChatControlsConfiguration,
|
|
4446
4657
|
paginateListApplications,
|
|
4658
|
+
paginateListAttachments,
|
|
4447
4659
|
paginateListConversations,
|
|
4448
4660
|
paginateListDataSourceSyncJobs,
|
|
4449
4661
|
paginateListDataSources,
|
|
@@ -4483,6 +4695,7 @@ var paginateListWebExperiences = (0, import_core.createPaginator)(QBusinessClien
|
|
|
4483
4695
|
DocumentAttributeValue,
|
|
4484
4696
|
DocumentContentOperator,
|
|
4485
4697
|
AttributeValueOperator,
|
|
4698
|
+
ImageExtractionStatus,
|
|
4486
4699
|
DataSourceStatus,
|
|
4487
4700
|
Status,
|
|
4488
4701
|
AttributeType,
|
|
@@ -4497,17 +4710,20 @@ var paginateListWebExperiences = (0, import_core.createPaginator)(QBusinessClien
|
|
|
4497
4710
|
RetrieverConfiguration,
|
|
4498
4711
|
RetrieverType,
|
|
4499
4712
|
RetrieverStatus,
|
|
4713
|
+
BrowserExtension,
|
|
4500
4714
|
IdentityProviderConfiguration,
|
|
4501
4715
|
WebExperienceSamplePromptsControlMode,
|
|
4502
4716
|
WebExperienceAuthConfiguration,
|
|
4503
4717
|
WebExperienceStatus,
|
|
4504
4718
|
CreatorModeControl,
|
|
4719
|
+
CopyFromSource,
|
|
4505
4720
|
AttachmentStatus,
|
|
4506
4721
|
DocumentContent,
|
|
4507
4722
|
ContentType,
|
|
4508
4723
|
ChatMode,
|
|
4509
4724
|
ChatModeConfiguration,
|
|
4510
4725
|
ChatOutputStream,
|
|
4726
|
+
ExternalResourceException,
|
|
4511
4727
|
LicenseNotFoundException,
|
|
4512
4728
|
DataSourceSyncJobStatus,
|
|
4513
4729
|
DocumentStatus,
|
|
@@ -4515,6 +4731,7 @@ var paginateListWebExperiences = (0, import_core.createPaginator)(QBusinessClien
|
|
|
4515
4731
|
RuleConfiguration,
|
|
4516
4732
|
RuleType,
|
|
4517
4733
|
GroupStatus,
|
|
4734
|
+
MediaTooLargeException,
|
|
4518
4735
|
MessageType,
|
|
4519
4736
|
MessageUsefulnessReason,
|
|
4520
4737
|
MessageUsefulness,
|
package/dist-es/QBusiness.js
CHANGED
|
@@ -25,11 +25,13 @@ import { GetChatControlsConfigurationCommand, } from "./commands/GetChatControls
|
|
|
25
25
|
import { GetDataSourceCommand, } from "./commands/GetDataSourceCommand";
|
|
26
26
|
import { GetGroupCommand } from "./commands/GetGroupCommand";
|
|
27
27
|
import { GetIndexCommand } from "./commands/GetIndexCommand";
|
|
28
|
+
import { GetMediaCommand } from "./commands/GetMediaCommand";
|
|
28
29
|
import { GetPluginCommand } from "./commands/GetPluginCommand";
|
|
29
30
|
import { GetRetrieverCommand, } from "./commands/GetRetrieverCommand";
|
|
30
31
|
import { GetUserCommand } from "./commands/GetUserCommand";
|
|
31
32
|
import { GetWebExperienceCommand, } from "./commands/GetWebExperienceCommand";
|
|
32
33
|
import { ListApplicationsCommand, } from "./commands/ListApplicationsCommand";
|
|
34
|
+
import { ListAttachmentsCommand, } from "./commands/ListAttachmentsCommand";
|
|
33
35
|
import { ListConversationsCommand, } from "./commands/ListConversationsCommand";
|
|
34
36
|
import { ListDataSourcesCommand, } from "./commands/ListDataSourcesCommand";
|
|
35
37
|
import { ListDataSourceSyncJobsCommand, } from "./commands/ListDataSourceSyncJobsCommand";
|
|
@@ -83,11 +85,13 @@ const commands = {
|
|
|
83
85
|
GetDataSourceCommand,
|
|
84
86
|
GetGroupCommand,
|
|
85
87
|
GetIndexCommand,
|
|
88
|
+
GetMediaCommand,
|
|
86
89
|
GetPluginCommand,
|
|
87
90
|
GetRetrieverCommand,
|
|
88
91
|
GetUserCommand,
|
|
89
92
|
GetWebExperienceCommand,
|
|
90
93
|
ListApplicationsCommand,
|
|
94
|
+
ListAttachmentsCommand,
|
|
91
95
|
ListConversationsCommand,
|
|
92
96
|
ListDataSourcesCommand,
|
|
93
97
|
ListDataSourceSyncJobsCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetMediaCommand, se_GetMediaCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetMediaCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("ExpertQ", "GetMedia", {})
|
|
17
|
+
.n("QBusinessClient", "GetMediaCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetMediaCommand)
|
|
20
|
+
.de(de_GetMediaCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListAttachmentsCommand, se_ListAttachmentsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListAttachmentsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("ExpertQ", "ListAttachments", {})
|
|
17
|
+
.n("QBusinessClient", "ListAttachmentsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListAttachmentsCommand)
|
|
20
|
+
.de(de_ListAttachmentsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -24,11 +24,13 @@ export * from "./GetChatControlsConfigurationCommand";
|
|
|
24
24
|
export * from "./GetDataSourceCommand";
|
|
25
25
|
export * from "./GetGroupCommand";
|
|
26
26
|
export * from "./GetIndexCommand";
|
|
27
|
+
export * from "./GetMediaCommand";
|
|
27
28
|
export * from "./GetPluginCommand";
|
|
28
29
|
export * from "./GetRetrieverCommand";
|
|
29
30
|
export * from "./GetUserCommand";
|
|
30
31
|
export * from "./GetWebExperienceCommand";
|
|
31
32
|
export * from "./ListApplicationsCommand";
|
|
33
|
+
export * from "./ListAttachmentsCommand";
|
|
32
34
|
export * from "./ListConversationsCommand";
|
|
33
35
|
export * from "./ListDataSourceSyncJobsCommand";
|
|
34
36
|
export * from "./ListDataSourcesCommand";
|