@aws-sdk/client-qbusiness 3.751.0 → 3.760.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 +8 -0
- package/dist-cjs/index.js +108 -28
- package/dist-es/QBusiness.js +2 -0
- package/dist-es/commands/DeleteAttachmentCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +28 -25
- package/dist-es/models/models_1.js +25 -0
- package/dist-es/protocols/Aws_restJson1.js +24 -0
- package/dist-types/QBusiness.d.ts +7 -0
- package/dist-types/QBusinessClient.d.ts +3 -2
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +6 -0
- package/dist-types/commands/ChatCommand.d.ts +20 -0
- package/dist-types/commands/ChatSyncCommand.d.ts +20 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +6 -0
- package/dist-types/commands/DeleteAttachmentCommand.d.ts +96 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +6 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +20 -0
- package/dist-types/commands/ListPluginTypeMetadataCommand.d.ts +1 -1
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +253 -229
- package/dist-types/models/models_1.d.ts +230 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/QBusiness.d.ts +17 -0
- package/dist-types/ts3.4/QBusinessClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/DeleteAttachmentCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListPluginTypeMetadataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +96 -72
- package/dist-types/ts3.4/models/models_1.d.ts +74 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -368,6 +368,14 @@ DeleteApplication
|
|
|
368
368
|
|
|
369
369
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qbusiness/command/DeleteApplicationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/DeleteApplicationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/DeleteApplicationCommandOutput/)
|
|
370
370
|
|
|
371
|
+
</details>
|
|
372
|
+
<details>
|
|
373
|
+
<summary>
|
|
374
|
+
DeleteAttachment
|
|
375
|
+
</summary>
|
|
376
|
+
|
|
377
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qbusiness/command/DeleteAttachmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/DeleteAttachmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qbusiness/Interface/DeleteAttachmentCommandOutput/)
|
|
378
|
+
|
|
371
379
|
</details>
|
|
372
380
|
<details>
|
|
373
381
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -32,6 +32,8 @@ __export(src_exports, {
|
|
|
32
32
|
AttachmentsControlMode: () => AttachmentsControlMode,
|
|
33
33
|
AttributeType: () => AttributeType,
|
|
34
34
|
AttributeValueOperator: () => AttributeValueOperator,
|
|
35
|
+
AudioExtractionStatus: () => AudioExtractionStatus,
|
|
36
|
+
AudioExtractionType: () => AudioExtractionType,
|
|
35
37
|
AutoSubscriptionStatus: () => AutoSubscriptionStatus,
|
|
36
38
|
BatchDeleteDocumentCommand: () => BatchDeleteDocumentCommand,
|
|
37
39
|
BatchPutDocumentCommand: () => BatchPutDocumentCommand,
|
|
@@ -69,6 +71,7 @@ __export(src_exports, {
|
|
|
69
71
|
DataSourceStatus: () => DataSourceStatus,
|
|
70
72
|
DataSourceSyncJobStatus: () => DataSourceSyncJobStatus,
|
|
71
73
|
DeleteApplicationCommand: () => DeleteApplicationCommand,
|
|
74
|
+
DeleteAttachmentCommand: () => DeleteAttachmentCommand,
|
|
72
75
|
DeleteChatControlsConfigurationCommand: () => DeleteChatControlsConfigurationCommand,
|
|
73
76
|
DeleteConversationCommand: () => DeleteConversationCommand,
|
|
74
77
|
DeleteDataAccessorCommand: () => DeleteDataAccessorCommand,
|
|
@@ -164,6 +167,7 @@ __export(src_exports, {
|
|
|
164
167
|
ScoreConfidence: () => ScoreConfidence,
|
|
165
168
|
SearchRelevantContentCommand: () => SearchRelevantContentCommand,
|
|
166
169
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
170
|
+
SourceDetails: () => SourceDetails,
|
|
167
171
|
StartDataSourceSyncJobCommand: () => StartDataSourceSyncJobCommand,
|
|
168
172
|
Status: () => Status,
|
|
169
173
|
StopDataSourceSyncJobCommand: () => StopDataSourceSyncJobCommand,
|
|
@@ -187,6 +191,8 @@ __export(src_exports, {
|
|
|
187
191
|
UpdateWebExperienceCommand: () => UpdateWebExperienceCommand,
|
|
188
192
|
ValidationException: () => ValidationException,
|
|
189
193
|
ValidationExceptionReason: () => ValidationExceptionReason,
|
|
194
|
+
VideoExtractionStatus: () => VideoExtractionStatus,
|
|
195
|
+
VideoExtractionType: () => VideoExtractionType,
|
|
190
196
|
WebExperienceAuthConfiguration: () => WebExperienceAuthConfiguration,
|
|
191
197
|
WebExperienceSamplePromptsControlMode: () => WebExperienceSamplePromptsControlMode,
|
|
192
198
|
WebExperienceStatus: () => WebExperienceStatus,
|
|
@@ -705,10 +711,18 @@ var DocumentContentOperator = {
|
|
|
705
711
|
var AttributeValueOperator = {
|
|
706
712
|
DELETE: "DELETE"
|
|
707
713
|
};
|
|
714
|
+
var AudioExtractionStatus = {
|
|
715
|
+
DISABLED: "DISABLED",
|
|
716
|
+
ENABLED: "ENABLED"
|
|
717
|
+
};
|
|
708
718
|
var ImageExtractionStatus = {
|
|
709
719
|
DISABLED: "DISABLED",
|
|
710
720
|
ENABLED: "ENABLED"
|
|
711
721
|
};
|
|
722
|
+
var VideoExtractionStatus = {
|
|
723
|
+
DISABLED: "DISABLED",
|
|
724
|
+
ENABLED: "ENABLED"
|
|
725
|
+
};
|
|
712
726
|
var DataSourceStatus = {
|
|
713
727
|
ACTIVE: "ACTIVE",
|
|
714
728
|
CREATING: "CREATING",
|
|
@@ -864,6 +878,10 @@ var AttachmentStatus = {
|
|
|
864
878
|
FAILED: "FAILED",
|
|
865
879
|
SUCCESS: "SUCCESS"
|
|
866
880
|
};
|
|
881
|
+
var AudioExtractionType = {
|
|
882
|
+
SUMMARY: "SUMMARY",
|
|
883
|
+
TRANSCRIPT: "TRANSCRIPT"
|
|
884
|
+
};
|
|
867
885
|
var DocumentContent;
|
|
868
886
|
((DocumentContent2) => {
|
|
869
887
|
DocumentContent2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -901,6 +919,22 @@ var ChatModeConfiguration;
|
|
|
901
919
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
902
920
|
}, "visit");
|
|
903
921
|
})(ChatModeConfiguration || (ChatModeConfiguration = {}));
|
|
922
|
+
var VideoExtractionType = {
|
|
923
|
+
SUMMARY: "SUMMARY",
|
|
924
|
+
TRANSCRIPT: "TRANSCRIPT"
|
|
925
|
+
};
|
|
926
|
+
var SourceDetails;
|
|
927
|
+
((SourceDetails2) => {
|
|
928
|
+
SourceDetails2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
929
|
+
if (value.imageSourceDetails !== void 0)
|
|
930
|
+
return visitor.imageSourceDetails(value.imageSourceDetails);
|
|
931
|
+
if (value.audioSourceDetails !== void 0)
|
|
932
|
+
return visitor.audioSourceDetails(value.audioSourceDetails);
|
|
933
|
+
if (value.videoSourceDetails !== void 0)
|
|
934
|
+
return visitor.videoSourceDetails(value.videoSourceDetails);
|
|
935
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
936
|
+
}, "visit");
|
|
937
|
+
})(SourceDetails || (SourceDetails = {}));
|
|
904
938
|
var ChatOutputStream;
|
|
905
939
|
((ChatOutputStream3) => {
|
|
906
940
|
ChatOutputStream3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -1037,31 +1071,6 @@ var MessageType = {
|
|
|
1037
1071
|
SYSTEM: "SYSTEM",
|
|
1038
1072
|
USER: "USER"
|
|
1039
1073
|
};
|
|
1040
|
-
var PluginTypeCategory = {
|
|
1041
|
-
COMMUNICATION: "Communication",
|
|
1042
|
-
CRM: "Customer relationship management (CRM)",
|
|
1043
|
-
PRODUCTIVITY: "Productivity",
|
|
1044
|
-
PROJECT_MANAGEMENT: "Project management",
|
|
1045
|
-
TICKETING_MANAGEMENT: "Ticketing and incident management"
|
|
1046
|
-
};
|
|
1047
|
-
var MessageUsefulnessReason = {
|
|
1048
|
-
COMPLETE: "COMPLETE",
|
|
1049
|
-
FACTUALLY_CORRECT: "FACTUALLY_CORRECT",
|
|
1050
|
-
HARMFUL_OR_UNSAFE: "HARMFUL_OR_UNSAFE",
|
|
1051
|
-
HELPFUL: "HELPFUL",
|
|
1052
|
-
INCORRECT_OR_MISSING_SOURCES: "INCORRECT_OR_MISSING_SOURCES",
|
|
1053
|
-
NOT_BASED_ON_DOCUMENTS: "NOT_BASED_ON_DOCUMENTS",
|
|
1054
|
-
NOT_COMPLETE: "NOT_COMPLETE",
|
|
1055
|
-
NOT_CONCISE: "NOT_CONCISE",
|
|
1056
|
-
NOT_FACTUALLY_CORRECT: "NOT_FACTUALLY_CORRECT",
|
|
1057
|
-
NOT_HELPFUL: "NOT_HELPFUL",
|
|
1058
|
-
OTHER: "OTHER",
|
|
1059
|
-
RELEVANT_SOURCES: "RELEVANT_SOURCES"
|
|
1060
|
-
};
|
|
1061
|
-
var MessageUsefulness = {
|
|
1062
|
-
NOT_USEFUL: "NOT_USEFUL",
|
|
1063
|
-
USEFUL: "USEFUL"
|
|
1064
|
-
};
|
|
1065
1074
|
var APISchemaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
1066
1075
|
if (obj.payload !== void 0)
|
|
1067
1076
|
return { payload: import_smithy_client.SENSITIVE_STRING };
|
|
@@ -1140,6 +1149,31 @@ var ChatOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
1140
1149
|
|
|
1141
1150
|
// src/models/models_1.ts
|
|
1142
1151
|
|
|
1152
|
+
var PluginTypeCategory = {
|
|
1153
|
+
COMMUNICATION: "Communication",
|
|
1154
|
+
CRM: "Customer relationship management (CRM)",
|
|
1155
|
+
PRODUCTIVITY: "Productivity",
|
|
1156
|
+
PROJECT_MANAGEMENT: "Project management",
|
|
1157
|
+
TICKETING_MANAGEMENT: "Ticketing and incident management"
|
|
1158
|
+
};
|
|
1159
|
+
var MessageUsefulnessReason = {
|
|
1160
|
+
COMPLETE: "COMPLETE",
|
|
1161
|
+
FACTUALLY_CORRECT: "FACTUALLY_CORRECT",
|
|
1162
|
+
HARMFUL_OR_UNSAFE: "HARMFUL_OR_UNSAFE",
|
|
1163
|
+
HELPFUL: "HELPFUL",
|
|
1164
|
+
INCORRECT_OR_MISSING_SOURCES: "INCORRECT_OR_MISSING_SOURCES",
|
|
1165
|
+
NOT_BASED_ON_DOCUMENTS: "NOT_BASED_ON_DOCUMENTS",
|
|
1166
|
+
NOT_COMPLETE: "NOT_COMPLETE",
|
|
1167
|
+
NOT_CONCISE: "NOT_CONCISE",
|
|
1168
|
+
NOT_FACTUALLY_CORRECT: "NOT_FACTUALLY_CORRECT",
|
|
1169
|
+
NOT_HELPFUL: "NOT_HELPFUL",
|
|
1170
|
+
OTHER: "OTHER",
|
|
1171
|
+
RELEVANT_SOURCES: "RELEVANT_SOURCES"
|
|
1172
|
+
};
|
|
1173
|
+
var MessageUsefulness = {
|
|
1174
|
+
NOT_USEFUL: "NOT_USEFUL",
|
|
1175
|
+
USEFUL: "USEFUL"
|
|
1176
|
+
};
|
|
1143
1177
|
var ScoreConfidence = {
|
|
1144
1178
|
HIGH: "HIGH",
|
|
1145
1179
|
LOW: "LOW",
|
|
@@ -1527,6 +1561,20 @@ var se_DeleteApplicationCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1527
1561
|
b.m("DELETE").h(headers).b(body);
|
|
1528
1562
|
return b.build();
|
|
1529
1563
|
}, "se_DeleteApplicationCommand");
|
|
1564
|
+
var se_DeleteAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1565
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1566
|
+
const headers = {};
|
|
1567
|
+
b.bp("/applications/{applicationId}/conversations/{conversationId}/attachments/{attachmentId}");
|
|
1568
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
1569
|
+
b.p("conversationId", () => input.conversationId, "{conversationId}", false);
|
|
1570
|
+
b.p("attachmentId", () => input.attachmentId, "{attachmentId}", false);
|
|
1571
|
+
const query = (0, import_smithy_client.map)({
|
|
1572
|
+
[_uI]: [, input[_uI]]
|
|
1573
|
+
});
|
|
1574
|
+
let body;
|
|
1575
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
1576
|
+
return b.build();
|
|
1577
|
+
}, "se_DeleteAttachmentCommand");
|
|
1530
1578
|
var se_DeleteChatControlsConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1531
1579
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1532
1580
|
const headers = {};
|
|
@@ -2576,6 +2624,16 @@ var de_DeleteApplicationCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2576
2624
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2577
2625
|
return contents;
|
|
2578
2626
|
}, "de_DeleteApplicationCommand");
|
|
2627
|
+
var de_DeleteAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2628
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2629
|
+
return de_CommandError(output, context);
|
|
2630
|
+
}
|
|
2631
|
+
const contents = (0, import_smithy_client.map)({
|
|
2632
|
+
$metadata: deserializeMetadata(output)
|
|
2633
|
+
});
|
|
2634
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2635
|
+
return contents;
|
|
2636
|
+
}, "de_DeleteAttachmentCommand");
|
|
2579
2637
|
var de_DeleteChatControlsConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2580
2638
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2581
2639
|
return de_CommandError(output, context);
|
|
@@ -4628,6 +4686,21 @@ var DeleteApplicationCommand = class extends import_smithy_client.Command.classB
|
|
|
4628
4686
|
}
|
|
4629
4687
|
};
|
|
4630
4688
|
|
|
4689
|
+
// src/commands/DeleteAttachmentCommand.ts
|
|
4690
|
+
|
|
4691
|
+
|
|
4692
|
+
|
|
4693
|
+
var DeleteAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4694
|
+
return [
|
|
4695
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4696
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4697
|
+
];
|
|
4698
|
+
}).s("ExpertQ", "DeleteAttachment", {}).n("QBusinessClient", "DeleteAttachmentCommand").f(void 0, void 0).ser(se_DeleteAttachmentCommand).de(de_DeleteAttachmentCommand).build() {
|
|
4699
|
+
static {
|
|
4700
|
+
__name(this, "DeleteAttachmentCommand");
|
|
4701
|
+
}
|
|
4702
|
+
};
|
|
4703
|
+
|
|
4631
4704
|
// src/commands/DeleteChatControlsConfigurationCommand.ts
|
|
4632
4705
|
|
|
4633
4706
|
|
|
@@ -5516,6 +5589,7 @@ var commands = {
|
|
|
5516
5589
|
CreateUserCommand,
|
|
5517
5590
|
CreateWebExperienceCommand,
|
|
5518
5591
|
DeleteApplicationCommand,
|
|
5592
|
+
DeleteAttachmentCommand,
|
|
5519
5593
|
DeleteChatControlsConfigurationCommand,
|
|
5520
5594
|
DeleteConversationCommand,
|
|
5521
5595
|
DeleteDataAccessorCommand,
|
|
@@ -5681,6 +5755,7 @@ var paginateSearchRelevantContent = (0, import_core.createPaginator)(QBusinessCl
|
|
|
5681
5755
|
CreateUserCommand,
|
|
5682
5756
|
CreateWebExperienceCommand,
|
|
5683
5757
|
DeleteApplicationCommand,
|
|
5758
|
+
DeleteAttachmentCommand,
|
|
5684
5759
|
DeleteChatControlsConfigurationCommand,
|
|
5685
5760
|
DeleteConversationCommand,
|
|
5686
5761
|
DeleteDataAccessorCommand,
|
|
@@ -5787,7 +5862,9 @@ var paginateSearchRelevantContent = (0, import_core.createPaginator)(QBusinessCl
|
|
|
5787
5862
|
DocumentEnrichmentConditionOperator,
|
|
5788
5863
|
DocumentContentOperator,
|
|
5789
5864
|
AttributeValueOperator,
|
|
5865
|
+
AudioExtractionStatus,
|
|
5790
5866
|
ImageExtractionStatus,
|
|
5867
|
+
VideoExtractionStatus,
|
|
5791
5868
|
DataSourceStatus,
|
|
5792
5869
|
Status,
|
|
5793
5870
|
AttributeType,
|
|
@@ -5811,10 +5888,13 @@ var paginateSearchRelevantContent = (0, import_core.createPaginator)(QBusinessCl
|
|
|
5811
5888
|
OrchestrationControl,
|
|
5812
5889
|
CopyFromSource,
|
|
5813
5890
|
AttachmentStatus,
|
|
5891
|
+
AudioExtractionType,
|
|
5814
5892
|
DocumentContent,
|
|
5815
5893
|
ContentType,
|
|
5816
5894
|
ChatMode,
|
|
5817
5895
|
ChatModeConfiguration,
|
|
5896
|
+
VideoExtractionType,
|
|
5897
|
+
SourceDetails,
|
|
5818
5898
|
ChatOutputStream,
|
|
5819
5899
|
ExternalResourceException,
|
|
5820
5900
|
LicenseNotFoundException,
|
|
@@ -5828,9 +5908,6 @@ var paginateSearchRelevantContent = (0, import_core.createPaginator)(QBusinessCl
|
|
|
5828
5908
|
GroupStatus,
|
|
5829
5909
|
MediaTooLargeException,
|
|
5830
5910
|
MessageType,
|
|
5831
|
-
PluginTypeCategory,
|
|
5832
|
-
MessageUsefulnessReason,
|
|
5833
|
-
MessageUsefulness,
|
|
5834
5911
|
APISchemaFilterSensitiveLog,
|
|
5835
5912
|
EncryptionConfigurationFilterSensitiveLog,
|
|
5836
5913
|
CreateApplicationRequestFilterSensitiveLog,
|
|
@@ -5843,6 +5920,9 @@ var paginateSearchRelevantContent = (0, import_core.createPaginator)(QBusinessCl
|
|
|
5843
5920
|
UpdatePluginRequestFilterSensitiveLog,
|
|
5844
5921
|
ChatOutputStreamFilterSensitiveLog,
|
|
5845
5922
|
ChatOutputFilterSensitiveLog,
|
|
5923
|
+
PluginTypeCategory,
|
|
5924
|
+
MessageUsefulnessReason,
|
|
5925
|
+
MessageUsefulness,
|
|
5846
5926
|
ScoreConfidence,
|
|
5847
5927
|
ChatInputStream,
|
|
5848
5928
|
ChatInputStreamFilterSensitiveLog,
|
package/dist-es/QBusiness.js
CHANGED
|
@@ -15,6 +15,7 @@ import { CreateSubscriptionCommand, } from "./commands/CreateSubscriptionCommand
|
|
|
15
15
|
import { CreateUserCommand } from "./commands/CreateUserCommand";
|
|
16
16
|
import { CreateWebExperienceCommand, } from "./commands/CreateWebExperienceCommand";
|
|
17
17
|
import { DeleteApplicationCommand, } from "./commands/DeleteApplicationCommand";
|
|
18
|
+
import { DeleteAttachmentCommand, } from "./commands/DeleteAttachmentCommand";
|
|
18
19
|
import { DeleteChatControlsConfigurationCommand, } from "./commands/DeleteChatControlsConfigurationCommand";
|
|
19
20
|
import { DeleteConversationCommand, } from "./commands/DeleteConversationCommand";
|
|
20
21
|
import { DeleteDataAccessorCommand, } from "./commands/DeleteDataAccessorCommand";
|
|
@@ -91,6 +92,7 @@ const commands = {
|
|
|
91
92
|
CreateUserCommand,
|
|
92
93
|
CreateWebExperienceCommand,
|
|
93
94
|
DeleteApplicationCommand,
|
|
95
|
+
DeleteAttachmentCommand,
|
|
94
96
|
DeleteChatControlsConfigurationCommand,
|
|
95
97
|
DeleteConversationCommand,
|
|
96
98
|
DeleteDataAccessorCommand,
|
|
@@ -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_DeleteAttachmentCommand, se_DeleteAttachmentCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteAttachmentCommand 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", "DeleteAttachment", {})
|
|
17
|
+
.n("QBusinessClient", "DeleteAttachmentCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteAttachmentCommand)
|
|
20
|
+
.de(de_DeleteAttachmentCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -14,6 +14,7 @@ export * from "./CreateSubscriptionCommand";
|
|
|
14
14
|
export * from "./CreateUserCommand";
|
|
15
15
|
export * from "./CreateWebExperienceCommand";
|
|
16
16
|
export * from "./DeleteApplicationCommand";
|
|
17
|
+
export * from "./DeleteAttachmentCommand";
|
|
17
18
|
export * from "./DeleteChatControlsConfigurationCommand";
|
|
18
19
|
export * from "./DeleteConversationCommand";
|
|
19
20
|
export * from "./DeleteDataAccessorCommand";
|
|
@@ -241,10 +241,18 @@ export const DocumentContentOperator = {
|
|
|
241
241
|
export const AttributeValueOperator = {
|
|
242
242
|
DELETE: "DELETE",
|
|
243
243
|
};
|
|
244
|
+
export const AudioExtractionStatus = {
|
|
245
|
+
DISABLED: "DISABLED",
|
|
246
|
+
ENABLED: "ENABLED",
|
|
247
|
+
};
|
|
244
248
|
export const ImageExtractionStatus = {
|
|
245
249
|
DISABLED: "DISABLED",
|
|
246
250
|
ENABLED: "ENABLED",
|
|
247
251
|
};
|
|
252
|
+
export const VideoExtractionStatus = {
|
|
253
|
+
DISABLED: "DISABLED",
|
|
254
|
+
ENABLED: "ENABLED",
|
|
255
|
+
};
|
|
248
256
|
export const DataSourceStatus = {
|
|
249
257
|
ACTIVE: "ACTIVE",
|
|
250
258
|
CREATING: "CREATING",
|
|
@@ -400,6 +408,10 @@ export const AttachmentStatus = {
|
|
|
400
408
|
FAILED: "FAILED",
|
|
401
409
|
SUCCESS: "SUCCESS",
|
|
402
410
|
};
|
|
411
|
+
export const AudioExtractionType = {
|
|
412
|
+
SUMMARY: "SUMMARY",
|
|
413
|
+
TRANSCRIPT: "TRANSCRIPT",
|
|
414
|
+
};
|
|
403
415
|
export var DocumentContent;
|
|
404
416
|
(function (DocumentContent) {
|
|
405
417
|
DocumentContent.visit = (value, visitor) => {
|
|
@@ -437,6 +449,22 @@ export var ChatModeConfiguration;
|
|
|
437
449
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
438
450
|
};
|
|
439
451
|
})(ChatModeConfiguration || (ChatModeConfiguration = {}));
|
|
452
|
+
export const VideoExtractionType = {
|
|
453
|
+
SUMMARY: "SUMMARY",
|
|
454
|
+
TRANSCRIPT: "TRANSCRIPT",
|
|
455
|
+
};
|
|
456
|
+
export var SourceDetails;
|
|
457
|
+
(function (SourceDetails) {
|
|
458
|
+
SourceDetails.visit = (value, visitor) => {
|
|
459
|
+
if (value.imageSourceDetails !== undefined)
|
|
460
|
+
return visitor.imageSourceDetails(value.imageSourceDetails);
|
|
461
|
+
if (value.audioSourceDetails !== undefined)
|
|
462
|
+
return visitor.audioSourceDetails(value.audioSourceDetails);
|
|
463
|
+
if (value.videoSourceDetails !== undefined)
|
|
464
|
+
return visitor.videoSourceDetails(value.videoSourceDetails);
|
|
465
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
466
|
+
};
|
|
467
|
+
})(SourceDetails || (SourceDetails = {}));
|
|
440
468
|
export var ChatOutputStream;
|
|
441
469
|
(function (ChatOutputStream) {
|
|
442
470
|
ChatOutputStream.visit = (value, visitor) => {
|
|
@@ -555,31 +583,6 @@ export const MessageType = {
|
|
|
555
583
|
SYSTEM: "SYSTEM",
|
|
556
584
|
USER: "USER",
|
|
557
585
|
};
|
|
558
|
-
export const PluginTypeCategory = {
|
|
559
|
-
COMMUNICATION: "Communication",
|
|
560
|
-
CRM: "Customer relationship management (CRM)",
|
|
561
|
-
PRODUCTIVITY: "Productivity",
|
|
562
|
-
PROJECT_MANAGEMENT: "Project management",
|
|
563
|
-
TICKETING_MANAGEMENT: "Ticketing and incident management",
|
|
564
|
-
};
|
|
565
|
-
export const MessageUsefulnessReason = {
|
|
566
|
-
COMPLETE: "COMPLETE",
|
|
567
|
-
FACTUALLY_CORRECT: "FACTUALLY_CORRECT",
|
|
568
|
-
HARMFUL_OR_UNSAFE: "HARMFUL_OR_UNSAFE",
|
|
569
|
-
HELPFUL: "HELPFUL",
|
|
570
|
-
INCORRECT_OR_MISSING_SOURCES: "INCORRECT_OR_MISSING_SOURCES",
|
|
571
|
-
NOT_BASED_ON_DOCUMENTS: "NOT_BASED_ON_DOCUMENTS",
|
|
572
|
-
NOT_COMPLETE: "NOT_COMPLETE",
|
|
573
|
-
NOT_CONCISE: "NOT_CONCISE",
|
|
574
|
-
NOT_FACTUALLY_CORRECT: "NOT_FACTUALLY_CORRECT",
|
|
575
|
-
NOT_HELPFUL: "NOT_HELPFUL",
|
|
576
|
-
OTHER: "OTHER",
|
|
577
|
-
RELEVANT_SOURCES: "RELEVANT_SOURCES",
|
|
578
|
-
};
|
|
579
|
-
export const MessageUsefulness = {
|
|
580
|
-
NOT_USEFUL: "NOT_USEFUL",
|
|
581
|
-
USEFUL: "USEFUL",
|
|
582
|
-
};
|
|
583
586
|
export const APISchemaFilterSensitiveLog = (obj) => {
|
|
584
587
|
if (obj.payload !== undefined)
|
|
585
588
|
return { payload: SENSITIVE_STRING };
|
|
@@ -1,4 +1,29 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
export const PluginTypeCategory = {
|
|
3
|
+
COMMUNICATION: "Communication",
|
|
4
|
+
CRM: "Customer relationship management (CRM)",
|
|
5
|
+
PRODUCTIVITY: "Productivity",
|
|
6
|
+
PROJECT_MANAGEMENT: "Project management",
|
|
7
|
+
TICKETING_MANAGEMENT: "Ticketing and incident management",
|
|
8
|
+
};
|
|
9
|
+
export const MessageUsefulnessReason = {
|
|
10
|
+
COMPLETE: "COMPLETE",
|
|
11
|
+
FACTUALLY_CORRECT: "FACTUALLY_CORRECT",
|
|
12
|
+
HARMFUL_OR_UNSAFE: "HARMFUL_OR_UNSAFE",
|
|
13
|
+
HELPFUL: "HELPFUL",
|
|
14
|
+
INCORRECT_OR_MISSING_SOURCES: "INCORRECT_OR_MISSING_SOURCES",
|
|
15
|
+
NOT_BASED_ON_DOCUMENTS: "NOT_BASED_ON_DOCUMENTS",
|
|
16
|
+
NOT_COMPLETE: "NOT_COMPLETE",
|
|
17
|
+
NOT_CONCISE: "NOT_CONCISE",
|
|
18
|
+
NOT_FACTUALLY_CORRECT: "NOT_FACTUALLY_CORRECT",
|
|
19
|
+
NOT_HELPFUL: "NOT_HELPFUL",
|
|
20
|
+
OTHER: "OTHER",
|
|
21
|
+
RELEVANT_SOURCES: "RELEVANT_SOURCES",
|
|
22
|
+
};
|
|
23
|
+
export const MessageUsefulness = {
|
|
24
|
+
NOT_USEFUL: "NOT_USEFUL",
|
|
25
|
+
USEFUL: "USEFUL",
|
|
26
|
+
};
|
|
2
27
|
export const ScoreConfidence = {
|
|
3
28
|
HIGH: "HIGH",
|
|
4
29
|
LOW: "LOW",
|
|
@@ -304,6 +304,20 @@ export const se_DeleteApplicationCommand = async (input, context) => {
|
|
|
304
304
|
b.m("DELETE").h(headers).b(body);
|
|
305
305
|
return b.build();
|
|
306
306
|
};
|
|
307
|
+
export const se_DeleteAttachmentCommand = async (input, context) => {
|
|
308
|
+
const b = rb(input, context);
|
|
309
|
+
const headers = {};
|
|
310
|
+
b.bp("/applications/{applicationId}/conversations/{conversationId}/attachments/{attachmentId}");
|
|
311
|
+
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
312
|
+
b.p("conversationId", () => input.conversationId, "{conversationId}", false);
|
|
313
|
+
b.p("attachmentId", () => input.attachmentId, "{attachmentId}", false);
|
|
314
|
+
const query = map({
|
|
315
|
+
[_uI]: [, input[_uI]],
|
|
316
|
+
});
|
|
317
|
+
let body;
|
|
318
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
319
|
+
return b.build();
|
|
320
|
+
};
|
|
307
321
|
export const se_DeleteChatControlsConfigurationCommand = async (input, context) => {
|
|
308
322
|
const b = rb(input, context);
|
|
309
323
|
const headers = {};
|
|
@@ -1325,6 +1339,16 @@ export const de_DeleteApplicationCommand = async (output, context) => {
|
|
|
1325
1339
|
await collectBody(output.body, context);
|
|
1326
1340
|
return contents;
|
|
1327
1341
|
};
|
|
1342
|
+
export const de_DeleteAttachmentCommand = async (output, context) => {
|
|
1343
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1344
|
+
return de_CommandError(output, context);
|
|
1345
|
+
}
|
|
1346
|
+
const contents = map({
|
|
1347
|
+
$metadata: deserializeMetadata(output),
|
|
1348
|
+
});
|
|
1349
|
+
await collectBody(output.body, context);
|
|
1350
|
+
return contents;
|
|
1351
|
+
};
|
|
1328
1352
|
export const de_DeleteChatControlsConfigurationCommand = async (output, context) => {
|
|
1329
1353
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1330
1354
|
return de_CommandError(output, context);
|
|
@@ -15,6 +15,7 @@ import { CreateSubscriptionCommandInput, CreateSubscriptionCommandOutput } from
|
|
|
15
15
|
import { CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand";
|
|
16
16
|
import { CreateWebExperienceCommandInput, CreateWebExperienceCommandOutput } from "./commands/CreateWebExperienceCommand";
|
|
17
17
|
import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
|
|
18
|
+
import { DeleteAttachmentCommandInput, DeleteAttachmentCommandOutput } from "./commands/DeleteAttachmentCommand";
|
|
18
19
|
import { DeleteChatControlsConfigurationCommandInput, DeleteChatControlsConfigurationCommandOutput } from "./commands/DeleteChatControlsConfigurationCommand";
|
|
19
20
|
import { DeleteConversationCommandInput, DeleteConversationCommandOutput } from "./commands/DeleteConversationCommand";
|
|
20
21
|
import { DeleteDataAccessorCommandInput, DeleteDataAccessorCommandOutput } from "./commands/DeleteDataAccessorCommand";
|
|
@@ -171,6 +172,12 @@ export interface QBusiness {
|
|
|
171
172
|
deleteApplication(args: DeleteApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationCommandOutput>;
|
|
172
173
|
deleteApplication(args: DeleteApplicationCommandInput, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
|
|
173
174
|
deleteApplication(args: DeleteApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
|
|
175
|
+
/**
|
|
176
|
+
* @see {@link DeleteAttachmentCommand}
|
|
177
|
+
*/
|
|
178
|
+
deleteAttachment(args: DeleteAttachmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAttachmentCommandOutput>;
|
|
179
|
+
deleteAttachment(args: DeleteAttachmentCommandInput, cb: (err: any, data?: DeleteAttachmentCommandOutput) => void): void;
|
|
180
|
+
deleteAttachment(args: DeleteAttachmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAttachmentCommandOutput) => void): void;
|
|
174
181
|
/**
|
|
175
182
|
* @see {@link DeleteChatControlsConfigurationCommand}
|
|
176
183
|
*/
|
|
@@ -26,6 +26,7 @@ import { CreateSubscriptionCommandInput, CreateSubscriptionCommandOutput } from
|
|
|
26
26
|
import { CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand";
|
|
27
27
|
import { CreateWebExperienceCommandInput, CreateWebExperienceCommandOutput } from "./commands/CreateWebExperienceCommand";
|
|
28
28
|
import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
|
|
29
|
+
import { DeleteAttachmentCommandInput, DeleteAttachmentCommandOutput } from "./commands/DeleteAttachmentCommand";
|
|
29
30
|
import { DeleteChatControlsConfigurationCommandInput, DeleteChatControlsConfigurationCommandOutput } from "./commands/DeleteChatControlsConfigurationCommand";
|
|
30
31
|
import { DeleteConversationCommandInput, DeleteConversationCommandOutput } from "./commands/DeleteConversationCommand";
|
|
31
32
|
import { DeleteDataAccessorCommandInput, DeleteDataAccessorCommandOutput } from "./commands/DeleteDataAccessorCommand";
|
|
@@ -90,11 +91,11 @@ export { __Client };
|
|
|
90
91
|
/**
|
|
91
92
|
* @public
|
|
92
93
|
*/
|
|
93
|
-
export type ServiceInputTypes = AssociatePermissionCommandInput | BatchDeleteDocumentCommandInput | BatchPutDocumentCommandInput | CancelSubscriptionCommandInput | ChatCommandInput | ChatSyncCommandInput | CreateApplicationCommandInput | CreateDataAccessorCommandInput | CreateDataSourceCommandInput | CreateIndexCommandInput | CreatePluginCommandInput | CreateRetrieverCommandInput | CreateSubscriptionCommandInput | CreateUserCommandInput | CreateWebExperienceCommandInput | DeleteApplicationCommandInput | DeleteChatControlsConfigurationCommandInput | DeleteConversationCommandInput | DeleteDataAccessorCommandInput | DeleteDataSourceCommandInput | DeleteGroupCommandInput | DeleteIndexCommandInput | DeletePluginCommandInput | DeleteRetrieverCommandInput | DeleteUserCommandInput | DeleteWebExperienceCommandInput | DisassociatePermissionCommandInput | GetApplicationCommandInput | GetChatControlsConfigurationCommandInput | GetDataAccessorCommandInput | GetDataSourceCommandInput | GetGroupCommandInput | GetIndexCommandInput | GetMediaCommandInput | GetPluginCommandInput | GetPolicyCommandInput | GetRetrieverCommandInput | GetUserCommandInput | GetWebExperienceCommandInput | ListApplicationsCommandInput | ListAttachmentsCommandInput | ListConversationsCommandInput | ListDataAccessorsCommandInput | ListDataSourceSyncJobsCommandInput | ListDataSourcesCommandInput | ListDocumentsCommandInput | ListGroupsCommandInput | ListIndicesCommandInput | ListMessagesCommandInput | ListPluginActionsCommandInput | ListPluginTypeActionsCommandInput | ListPluginTypeMetadataCommandInput | ListPluginsCommandInput | ListRetrieversCommandInput | ListSubscriptionsCommandInput | ListTagsForResourceCommandInput | ListWebExperiencesCommandInput | PutFeedbackCommandInput | PutGroupCommandInput | SearchRelevantContentCommandInput | StartDataSourceSyncJobCommandInput | StopDataSourceSyncJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateChatControlsConfigurationCommandInput | UpdateDataAccessorCommandInput | UpdateDataSourceCommandInput | UpdateIndexCommandInput | UpdatePluginCommandInput | UpdateRetrieverCommandInput | UpdateSubscriptionCommandInput | UpdateUserCommandInput | UpdateWebExperienceCommandInput;
|
|
94
|
+
export type ServiceInputTypes = AssociatePermissionCommandInput | BatchDeleteDocumentCommandInput | BatchPutDocumentCommandInput | CancelSubscriptionCommandInput | ChatCommandInput | ChatSyncCommandInput | CreateApplicationCommandInput | CreateDataAccessorCommandInput | CreateDataSourceCommandInput | CreateIndexCommandInput | CreatePluginCommandInput | CreateRetrieverCommandInput | CreateSubscriptionCommandInput | CreateUserCommandInput | CreateWebExperienceCommandInput | DeleteApplicationCommandInput | DeleteAttachmentCommandInput | DeleteChatControlsConfigurationCommandInput | DeleteConversationCommandInput | DeleteDataAccessorCommandInput | DeleteDataSourceCommandInput | DeleteGroupCommandInput | DeleteIndexCommandInput | DeletePluginCommandInput | DeleteRetrieverCommandInput | DeleteUserCommandInput | DeleteWebExperienceCommandInput | DisassociatePermissionCommandInput | GetApplicationCommandInput | GetChatControlsConfigurationCommandInput | GetDataAccessorCommandInput | GetDataSourceCommandInput | GetGroupCommandInput | GetIndexCommandInput | GetMediaCommandInput | GetPluginCommandInput | GetPolicyCommandInput | GetRetrieverCommandInput | GetUserCommandInput | GetWebExperienceCommandInput | ListApplicationsCommandInput | ListAttachmentsCommandInput | ListConversationsCommandInput | ListDataAccessorsCommandInput | ListDataSourceSyncJobsCommandInput | ListDataSourcesCommandInput | ListDocumentsCommandInput | ListGroupsCommandInput | ListIndicesCommandInput | ListMessagesCommandInput | ListPluginActionsCommandInput | ListPluginTypeActionsCommandInput | ListPluginTypeMetadataCommandInput | ListPluginsCommandInput | ListRetrieversCommandInput | ListSubscriptionsCommandInput | ListTagsForResourceCommandInput | ListWebExperiencesCommandInput | PutFeedbackCommandInput | PutGroupCommandInput | SearchRelevantContentCommandInput | StartDataSourceSyncJobCommandInput | StopDataSourceSyncJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateChatControlsConfigurationCommandInput | UpdateDataAccessorCommandInput | UpdateDataSourceCommandInput | UpdateIndexCommandInput | UpdatePluginCommandInput | UpdateRetrieverCommandInput | UpdateSubscriptionCommandInput | UpdateUserCommandInput | UpdateWebExperienceCommandInput;
|
|
94
95
|
/**
|
|
95
96
|
* @public
|
|
96
97
|
*/
|
|
97
|
-
export type ServiceOutputTypes = AssociatePermissionCommandOutput | BatchDeleteDocumentCommandOutput | BatchPutDocumentCommandOutput | CancelSubscriptionCommandOutput | ChatCommandOutput | ChatSyncCommandOutput | CreateApplicationCommandOutput | CreateDataAccessorCommandOutput | CreateDataSourceCommandOutput | CreateIndexCommandOutput | CreatePluginCommandOutput | CreateRetrieverCommandOutput | CreateSubscriptionCommandOutput | CreateUserCommandOutput | CreateWebExperienceCommandOutput | DeleteApplicationCommandOutput | DeleteChatControlsConfigurationCommandOutput | DeleteConversationCommandOutput | DeleteDataAccessorCommandOutput | DeleteDataSourceCommandOutput | DeleteGroupCommandOutput | DeleteIndexCommandOutput | DeletePluginCommandOutput | DeleteRetrieverCommandOutput | DeleteUserCommandOutput | DeleteWebExperienceCommandOutput | DisassociatePermissionCommandOutput | GetApplicationCommandOutput | GetChatControlsConfigurationCommandOutput | GetDataAccessorCommandOutput | GetDataSourceCommandOutput | GetGroupCommandOutput | GetIndexCommandOutput | GetMediaCommandOutput | GetPluginCommandOutput | GetPolicyCommandOutput | GetRetrieverCommandOutput | GetUserCommandOutput | GetWebExperienceCommandOutput | ListApplicationsCommandOutput | ListAttachmentsCommandOutput | ListConversationsCommandOutput | ListDataAccessorsCommandOutput | ListDataSourceSyncJobsCommandOutput | ListDataSourcesCommandOutput | ListDocumentsCommandOutput | ListGroupsCommandOutput | ListIndicesCommandOutput | ListMessagesCommandOutput | ListPluginActionsCommandOutput | ListPluginTypeActionsCommandOutput | ListPluginTypeMetadataCommandOutput | ListPluginsCommandOutput | ListRetrieversCommandOutput | ListSubscriptionsCommandOutput | ListTagsForResourceCommandOutput | ListWebExperiencesCommandOutput | PutFeedbackCommandOutput | PutGroupCommandOutput | SearchRelevantContentCommandOutput | StartDataSourceSyncJobCommandOutput | StopDataSourceSyncJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateChatControlsConfigurationCommandOutput | UpdateDataAccessorCommandOutput | UpdateDataSourceCommandOutput | UpdateIndexCommandOutput | UpdatePluginCommandOutput | UpdateRetrieverCommandOutput | UpdateSubscriptionCommandOutput | UpdateUserCommandOutput | UpdateWebExperienceCommandOutput;
|
|
98
|
+
export type ServiceOutputTypes = AssociatePermissionCommandOutput | BatchDeleteDocumentCommandOutput | BatchPutDocumentCommandOutput | CancelSubscriptionCommandOutput | ChatCommandOutput | ChatSyncCommandOutput | CreateApplicationCommandOutput | CreateDataAccessorCommandOutput | CreateDataSourceCommandOutput | CreateIndexCommandOutput | CreatePluginCommandOutput | CreateRetrieverCommandOutput | CreateSubscriptionCommandOutput | CreateUserCommandOutput | CreateWebExperienceCommandOutput | DeleteApplicationCommandOutput | DeleteAttachmentCommandOutput | DeleteChatControlsConfigurationCommandOutput | DeleteConversationCommandOutput | DeleteDataAccessorCommandOutput | DeleteDataSourceCommandOutput | DeleteGroupCommandOutput | DeleteIndexCommandOutput | DeletePluginCommandOutput | DeleteRetrieverCommandOutput | DeleteUserCommandOutput | DeleteWebExperienceCommandOutput | DisassociatePermissionCommandOutput | GetApplicationCommandOutput | GetChatControlsConfigurationCommandOutput | GetDataAccessorCommandOutput | GetDataSourceCommandOutput | GetGroupCommandOutput | GetIndexCommandOutput | GetMediaCommandOutput | GetPluginCommandOutput | GetPolicyCommandOutput | GetRetrieverCommandOutput | GetUserCommandOutput | GetWebExperienceCommandOutput | ListApplicationsCommandOutput | ListAttachmentsCommandOutput | ListConversationsCommandOutput | ListDataAccessorsCommandOutput | ListDataSourceSyncJobsCommandOutput | ListDataSourcesCommandOutput | ListDocumentsCommandOutput | ListGroupsCommandOutput | ListIndicesCommandOutput | ListMessagesCommandOutput | ListPluginActionsCommandOutput | ListPluginTypeActionsCommandOutput | ListPluginTypeMetadataCommandOutput | ListPluginsCommandOutput | ListRetrieversCommandOutput | ListSubscriptionsCommandOutput | ListTagsForResourceCommandOutput | ListWebExperiencesCommandOutput | PutFeedbackCommandOutput | PutGroupCommandOutput | SearchRelevantContentCommandOutput | StartDataSourceSyncJobCommandOutput | StopDataSourceSyncJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateChatControlsConfigurationCommandOutput | UpdateDataAccessorCommandOutput | UpdateDataSourceCommandOutput | UpdateIndexCommandOutput | UpdatePluginCommandOutput | UpdateRetrieverCommandOutput | UpdateSubscriptionCommandOutput | UpdateUserCommandOutput | UpdateWebExperienceCommandOutput;
|
|
98
99
|
/**
|
|
99
100
|
* @public
|
|
100
101
|
*/
|
|
@@ -155,6 +155,12 @@ declare const BatchPutDocumentCommand_base: {
|
|
|
155
155
|
* imageExtractionConfiguration: { // ImageExtractionConfiguration
|
|
156
156
|
* imageExtractionStatus: "ENABLED" || "DISABLED", // required
|
|
157
157
|
* },
|
|
158
|
+
* audioExtractionConfiguration: { // AudioExtractionConfiguration
|
|
159
|
+
* audioExtractionStatus: "ENABLED" || "DISABLED", // required
|
|
160
|
+
* },
|
|
161
|
+
* videoExtractionConfiguration: { // VideoExtractionConfiguration
|
|
162
|
+
* videoExtractionStatus: "ENABLED" || "DISABLED", // required
|
|
163
|
+
* },
|
|
158
164
|
* },
|
|
159
165
|
* },
|
|
160
166
|
* ],
|
|
@@ -196,6 +196,26 @@ declare const ChatCommand_base: {
|
|
|
196
196
|
* // },
|
|
197
197
|
* // mediaId: "STRING_VALUE",
|
|
198
198
|
* // mediaMimeType: "STRING_VALUE",
|
|
199
|
+
* // sourceDetails: { // SourceDetails Union: only one key present
|
|
200
|
+
* // imageSourceDetails: { // ImageSourceDetails
|
|
201
|
+
* // mediaId: "STRING_VALUE",
|
|
202
|
+
* // mediaMimeType: "STRING_VALUE",
|
|
203
|
+
* // },
|
|
204
|
+
* // audioSourceDetails: { // AudioSourceDetails
|
|
205
|
+
* // mediaId: "STRING_VALUE",
|
|
206
|
+
* // mediaMimeType: "STRING_VALUE",
|
|
207
|
+
* // startTimeMilliseconds: Number("long"),
|
|
208
|
+
* // endTimeMilliseconds: Number("long"),
|
|
209
|
+
* // audioExtractionType: "TRANSCRIPT" || "SUMMARY",
|
|
210
|
+
* // },
|
|
211
|
+
* // videoSourceDetails: { // VideoSourceDetails
|
|
212
|
+
* // mediaId: "STRING_VALUE",
|
|
213
|
+
* // mediaMimeType: "STRING_VALUE",
|
|
214
|
+
* // startTimeMilliseconds: Number("long"),
|
|
215
|
+
* // endTimeMilliseconds: Number("long"),
|
|
216
|
+
* // videoExtractionType: "TRANSCRIPT" || "SUMMARY",
|
|
217
|
+
* // },
|
|
218
|
+
* // },
|
|
199
219
|
* // },
|
|
200
220
|
* // ],
|
|
201
221
|
* // },
|
|
@@ -208,6 +208,26 @@ declare const ChatSyncCommand_base: {
|
|
|
208
208
|
* // },
|
|
209
209
|
* // mediaId: "STRING_VALUE",
|
|
210
210
|
* // mediaMimeType: "STRING_VALUE",
|
|
211
|
+
* // sourceDetails: { // SourceDetails Union: only one key present
|
|
212
|
+
* // imageSourceDetails: { // ImageSourceDetails
|
|
213
|
+
* // mediaId: "STRING_VALUE",
|
|
214
|
+
* // mediaMimeType: "STRING_VALUE",
|
|
215
|
+
* // },
|
|
216
|
+
* // audioSourceDetails: { // AudioSourceDetails
|
|
217
|
+
* // mediaId: "STRING_VALUE",
|
|
218
|
+
* // mediaMimeType: "STRING_VALUE",
|
|
219
|
+
* // startTimeMilliseconds: Number("long"),
|
|
220
|
+
* // endTimeMilliseconds: Number("long"),
|
|
221
|
+
* // audioExtractionType: "TRANSCRIPT" || "SUMMARY",
|
|
222
|
+
* // },
|
|
223
|
+
* // videoSourceDetails: { // VideoSourceDetails
|
|
224
|
+
* // mediaId: "STRING_VALUE",
|
|
225
|
+
* // mediaMimeType: "STRING_VALUE",
|
|
226
|
+
* // startTimeMilliseconds: Number("long"),
|
|
227
|
+
* // endTimeMilliseconds: Number("long"),
|
|
228
|
+
* // videoExtractionType: "TRANSCRIPT" || "SUMMARY",
|
|
229
|
+
* // },
|
|
230
|
+
* // },
|
|
211
231
|
* // },
|
|
212
232
|
* // ],
|
|
213
233
|
* // },
|
|
@@ -129,6 +129,12 @@ declare const CreateDataSourceCommand_base: {
|
|
|
129
129
|
* imageExtractionConfiguration: { // ImageExtractionConfiguration
|
|
130
130
|
* imageExtractionStatus: "ENABLED" || "DISABLED", // required
|
|
131
131
|
* },
|
|
132
|
+
* audioExtractionConfiguration: { // AudioExtractionConfiguration
|
|
133
|
+
* audioExtractionStatus: "ENABLED" || "DISABLED", // required
|
|
134
|
+
* },
|
|
135
|
+
* videoExtractionConfiguration: { // VideoExtractionConfiguration
|
|
136
|
+
* videoExtractionStatus: "ENABLED" || "DISABLED", // required
|
|
137
|
+
* },
|
|
132
138
|
* },
|
|
133
139
|
* };
|
|
134
140
|
* const command = new CreateDataSourceCommand(input);
|