@aws-sdk/client-qbusiness 3.835.0 → 3.838.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/dist-cjs/index.js +33 -3
- package/dist-es/models/models_0.js +16 -0
- package/dist-es/models/models_1.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +5 -0
- package/dist-types/commands/AssociatePermissionCommand.d.ts +9 -0
- package/dist-types/commands/CreateDataAccessorCommand.d.ts +11 -0
- package/dist-types/commands/GetDataAccessorCommand.d.ts +11 -0
- package/dist-types/commands/GetUserCommand.d.ts +2 -1
- package/dist-types/commands/ListAttachmentsCommand.d.ts +1 -1
- package/dist-types/commands/ListConversationsCommand.d.ts +1 -1
- package/dist-types/commands/ListDataAccessorsCommand.d.ts +11 -0
- package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +1 -2
- package/dist-types/commands/UpdateDataAccessorCommand.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +117 -141
- package/dist-types/models/models_1.d.ts +156 -1
- package/dist-types/ts3.4/commands/GetUserCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListAttachmentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConversationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDataSourceSyncJobsCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +51 -34
- package/dist-types/ts3.4/models/models_1.d.ts +41 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -69,6 +69,8 @@ __export(index_exports, {
|
|
|
69
69
|
CreateWebExperienceCommand: () => CreateWebExperienceCommand,
|
|
70
70
|
CreatorModeControl: () => CreatorModeControl,
|
|
71
71
|
CustomPluginConfigurationFilterSensitiveLog: () => CustomPluginConfigurationFilterSensitiveLog,
|
|
72
|
+
DataAccessorAuthenticationConfiguration: () => DataAccessorAuthenticationConfiguration,
|
|
73
|
+
DataAccessorAuthenticationType: () => DataAccessorAuthenticationType,
|
|
72
74
|
DataAccessorFilterSensitiveLog: () => DataAccessorFilterSensitiveLog,
|
|
73
75
|
DataSourceStatus: () => DataSourceStatus,
|
|
74
76
|
DataSourceSyncJobStatus: () => DataSourceSyncJobStatus,
|
|
@@ -146,6 +148,7 @@ __export(index_exports, {
|
|
|
146
148
|
MessageUsefulnessReason: () => MessageUsefulnessReason,
|
|
147
149
|
NumberAttributeBoostingType: () => NumberAttributeBoostingType,
|
|
148
150
|
OrchestrationControl: () => OrchestrationControl,
|
|
151
|
+
PermissionConditionOperator: () => PermissionConditionOperator,
|
|
149
152
|
PersonalizationControlMode: () => PersonalizationControlMode,
|
|
150
153
|
PluginAuthConfiguration: () => PluginAuthConfiguration,
|
|
151
154
|
PluginBuildStatus: () => PluginBuildStatus,
|
|
@@ -670,6 +673,18 @@ var ValidationException = class _ValidationException extends QBusinessServiceExc
|
|
|
670
673
|
this.fields = opts.fields;
|
|
671
674
|
}
|
|
672
675
|
};
|
|
676
|
+
var DataAccessorAuthenticationConfiguration;
|
|
677
|
+
((DataAccessorAuthenticationConfiguration3) => {
|
|
678
|
+
DataAccessorAuthenticationConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
679
|
+
if (value.idcTrustedTokenIssuerConfiguration !== void 0)
|
|
680
|
+
return visitor.idcTrustedTokenIssuerConfiguration(value.idcTrustedTokenIssuerConfiguration);
|
|
681
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
682
|
+
}, "visit");
|
|
683
|
+
})(DataAccessorAuthenticationConfiguration || (DataAccessorAuthenticationConfiguration = {}));
|
|
684
|
+
var DataAccessorAuthenticationType = {
|
|
685
|
+
AWS_IAM_IDC_AUTH_CODE: "AWS_IAM_IDC_AUTH_CODE",
|
|
686
|
+
AWS_IAM_IDC_TTI: "AWS_IAM_IDC_TTI"
|
|
687
|
+
};
|
|
673
688
|
var AutoSubscriptionStatus = {
|
|
674
689
|
DISABLED: "DISABLED",
|
|
675
690
|
ENABLED: "ENABLED"
|
|
@@ -854,6 +869,9 @@ var OrchestrationControl = {
|
|
|
854
869
|
DISABLED: "DISABLED",
|
|
855
870
|
ENABLED: "ENABLED"
|
|
856
871
|
};
|
|
872
|
+
var PermissionConditionOperator = {
|
|
873
|
+
STRING_EQUALS: "StringEquals"
|
|
874
|
+
};
|
|
857
875
|
var CopyFromSource;
|
|
858
876
|
((CopyFromSource3) => {
|
|
859
877
|
CopyFromSource3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -1064,7 +1082,8 @@ var CreateApplicationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) =>
|
|
|
1064
1082
|
}), "CreateApplicationRequestFilterSensitiveLog");
|
|
1065
1083
|
var DataAccessorFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1066
1084
|
...obj,
|
|
1067
|
-
...obj.displayName && { displayName: import_smithy_client.SENSITIVE_STRING }
|
|
1085
|
+
...obj.displayName && { displayName: import_smithy_client.SENSITIVE_STRING },
|
|
1086
|
+
...obj.authenticationDetail && { authenticationDetail: obj.authenticationDetail }
|
|
1068
1087
|
}), "DataAccessorFilterSensitiveLog");
|
|
1069
1088
|
var ListDataAccessorsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1070
1089
|
...obj,
|
|
@@ -1182,16 +1201,19 @@ var ChatInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
1182
1201
|
var CreateDataAccessorRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1183
1202
|
...obj,
|
|
1184
1203
|
...obj.actionConfigurations && { actionConfigurations: obj.actionConfigurations.map((item) => item) },
|
|
1185
|
-
...obj.displayName && { displayName: import_smithy_client.SENSITIVE_STRING }
|
|
1204
|
+
...obj.displayName && { displayName: import_smithy_client.SENSITIVE_STRING },
|
|
1205
|
+
...obj.authenticationDetail && { authenticationDetail: obj.authenticationDetail }
|
|
1186
1206
|
}), "CreateDataAccessorRequestFilterSensitiveLog");
|
|
1187
1207
|
var GetDataAccessorResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1188
1208
|
...obj,
|
|
1189
1209
|
...obj.displayName && { displayName: import_smithy_client.SENSITIVE_STRING },
|
|
1190
|
-
...obj.actionConfigurations && { actionConfigurations: obj.actionConfigurations.map((item) => item) }
|
|
1210
|
+
...obj.actionConfigurations && { actionConfigurations: obj.actionConfigurations.map((item) => item) },
|
|
1211
|
+
...obj.authenticationDetail && { authenticationDetail: obj.authenticationDetail }
|
|
1191
1212
|
}), "GetDataAccessorResponseFilterSensitiveLog");
|
|
1192
1213
|
var UpdateDataAccessorRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1193
1214
|
...obj,
|
|
1194
1215
|
...obj.actionConfigurations && { actionConfigurations: obj.actionConfigurations.map((item) => item) },
|
|
1216
|
+
...obj.authenticationDetail && { authenticationDetail: obj.authenticationDetail },
|
|
1195
1217
|
...obj.displayName && { displayName: import_smithy_client.SENSITIVE_STRING }
|
|
1196
1218
|
}), "UpdateDataAccessorRequestFilterSensitiveLog");
|
|
1197
1219
|
|
|
@@ -1207,6 +1229,7 @@ var se_AssociatePermissionCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
1207
1229
|
body = JSON.stringify(
|
|
1208
1230
|
(0, import_smithy_client.take)(input, {
|
|
1209
1231
|
actions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "actions"),
|
|
1232
|
+
conditions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "conditions"),
|
|
1210
1233
|
principal: [],
|
|
1211
1234
|
statementId: []
|
|
1212
1235
|
})
|
|
@@ -1383,6 +1406,7 @@ var se_CreateDataAccessorCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1383
1406
|
body = JSON.stringify(
|
|
1384
1407
|
(0, import_smithy_client.take)(input, {
|
|
1385
1408
|
actionConfigurations: /* @__PURE__ */ __name((_) => se_ActionConfigurationList(_, context), "actionConfigurations"),
|
|
1409
|
+
authenticationDetail: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "authenticationDetail"),
|
|
1386
1410
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1387
1411
|
displayName: [],
|
|
1388
1412
|
principal: [],
|
|
@@ -2231,6 +2255,7 @@ var se_UpdateDataAccessorCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
2231
2255
|
body = JSON.stringify(
|
|
2232
2256
|
(0, import_smithy_client.take)(input, {
|
|
2233
2257
|
actionConfigurations: /* @__PURE__ */ __name((_) => se_ActionConfigurationList(_, context), "actionConfigurations"),
|
|
2258
|
+
authenticationDetail: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "authenticationDetail"),
|
|
2234
2259
|
displayName: []
|
|
2235
2260
|
})
|
|
2236
2261
|
);
|
|
@@ -2831,6 +2856,7 @@ var de_GetDataAccessorCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2831
2856
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2832
2857
|
actionConfigurations: /* @__PURE__ */ __name((_) => de_ActionConfigurationList(_, context), "actionConfigurations"),
|
|
2833
2858
|
applicationId: import_smithy_client.expectString,
|
|
2859
|
+
authenticationDetail: import_smithy_client._json,
|
|
2834
2860
|
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
2835
2861
|
dataAccessorArn: import_smithy_client.expectString,
|
|
2836
2862
|
dataAccessorId: import_smithy_client.expectString,
|
|
@@ -4179,6 +4205,7 @@ var de_Conversations = /* @__PURE__ */ __name((output, context) => {
|
|
|
4179
4205
|
}, "de_Conversations");
|
|
4180
4206
|
var de_DataAccessor = /* @__PURE__ */ __name((output, context) => {
|
|
4181
4207
|
return (0, import_smithy_client.take)(output, {
|
|
4208
|
+
authenticationDetail: import_smithy_client._json,
|
|
4182
4209
|
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
4183
4210
|
dataAccessorArn: import_smithy_client.expectString,
|
|
4184
4211
|
dataAccessorId: import_smithy_client.expectString,
|
|
@@ -5914,6 +5941,8 @@ var paginateSearchRelevantContent = (0, import_core.createPaginator)(QBusinessCl
|
|
|
5914
5941
|
ThrottlingException,
|
|
5915
5942
|
ValidationExceptionReason,
|
|
5916
5943
|
ValidationException,
|
|
5944
|
+
DataAccessorAuthenticationConfiguration,
|
|
5945
|
+
DataAccessorAuthenticationType,
|
|
5917
5946
|
AutoSubscriptionStatus,
|
|
5918
5947
|
SubscriptionType,
|
|
5919
5948
|
ErrorCode,
|
|
@@ -5945,6 +5974,7 @@ var paginateSearchRelevantContent = (0, import_core.createPaginator)(QBusinessCl
|
|
|
5945
5974
|
WebExperienceStatus,
|
|
5946
5975
|
CreatorModeControl,
|
|
5947
5976
|
OrchestrationControl,
|
|
5977
|
+
PermissionConditionOperator,
|
|
5948
5978
|
CopyFromSource,
|
|
5949
5979
|
AttachmentStatus,
|
|
5950
5980
|
AudioExtractionType,
|
|
@@ -205,6 +205,18 @@ export class ValidationException extends __BaseException {
|
|
|
205
205
|
this.fields = opts.fields;
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
|
+
export var DataAccessorAuthenticationConfiguration;
|
|
209
|
+
(function (DataAccessorAuthenticationConfiguration) {
|
|
210
|
+
DataAccessorAuthenticationConfiguration.visit = (value, visitor) => {
|
|
211
|
+
if (value.idcTrustedTokenIssuerConfiguration !== undefined)
|
|
212
|
+
return visitor.idcTrustedTokenIssuerConfiguration(value.idcTrustedTokenIssuerConfiguration);
|
|
213
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
214
|
+
};
|
|
215
|
+
})(DataAccessorAuthenticationConfiguration || (DataAccessorAuthenticationConfiguration = {}));
|
|
216
|
+
export const DataAccessorAuthenticationType = {
|
|
217
|
+
AWS_IAM_IDC_AUTH_CODE: "AWS_IAM_IDC_AUTH_CODE",
|
|
218
|
+
AWS_IAM_IDC_TTI: "AWS_IAM_IDC_TTI",
|
|
219
|
+
};
|
|
208
220
|
export const AutoSubscriptionStatus = {
|
|
209
221
|
DISABLED: "DISABLED",
|
|
210
222
|
ENABLED: "ENABLED",
|
|
@@ -397,6 +409,9 @@ export const OrchestrationControl = {
|
|
|
397
409
|
DISABLED: "DISABLED",
|
|
398
410
|
ENABLED: "ENABLED",
|
|
399
411
|
};
|
|
412
|
+
export const PermissionConditionOperator = {
|
|
413
|
+
STRING_EQUALS: "StringEquals",
|
|
414
|
+
};
|
|
400
415
|
export var CopyFromSource;
|
|
401
416
|
(function (CopyFromSource) {
|
|
402
417
|
CopyFromSource.visit = (value, visitor) => {
|
|
@@ -609,6 +624,7 @@ export const CreateApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
|
609
624
|
export const DataAccessorFilterSensitiveLog = (obj) => ({
|
|
610
625
|
...obj,
|
|
611
626
|
...(obj.displayName && { displayName: SENSITIVE_STRING }),
|
|
627
|
+
...(obj.authenticationDetail && { authenticationDetail: obj.authenticationDetail }),
|
|
612
628
|
});
|
|
613
629
|
export const ListDataAccessorsResponseFilterSensitiveLog = (obj) => ({
|
|
614
630
|
...obj,
|
|
@@ -77,14 +77,17 @@ export const CreateDataAccessorRequestFilterSensitiveLog = (obj) => ({
|
|
|
77
77
|
...obj,
|
|
78
78
|
...(obj.actionConfigurations && { actionConfigurations: obj.actionConfigurations.map((item) => item) }),
|
|
79
79
|
...(obj.displayName && { displayName: SENSITIVE_STRING }),
|
|
80
|
+
...(obj.authenticationDetail && { authenticationDetail: obj.authenticationDetail }),
|
|
80
81
|
});
|
|
81
82
|
export const GetDataAccessorResponseFilterSensitiveLog = (obj) => ({
|
|
82
83
|
...obj,
|
|
83
84
|
...(obj.displayName && { displayName: SENSITIVE_STRING }),
|
|
84
85
|
...(obj.actionConfigurations && { actionConfigurations: obj.actionConfigurations.map((item) => item) }),
|
|
86
|
+
...(obj.authenticationDetail && { authenticationDetail: obj.authenticationDetail }),
|
|
85
87
|
});
|
|
86
88
|
export const UpdateDataAccessorRequestFilterSensitiveLog = (obj) => ({
|
|
87
89
|
...obj,
|
|
88
90
|
...(obj.actionConfigurations && { actionConfigurations: obj.actionConfigurations.map((item) => item) }),
|
|
91
|
+
...(obj.authenticationDetail && { authenticationDetail: obj.authenticationDetail }),
|
|
89
92
|
...(obj.displayName && { displayName: SENSITIVE_STRING }),
|
|
90
93
|
});
|
|
@@ -15,6 +15,7 @@ export const se_AssociatePermissionCommand = async (input, context) => {
|
|
|
15
15
|
let body;
|
|
16
16
|
body = JSON.stringify(take(input, {
|
|
17
17
|
actions: (_) => _json(_),
|
|
18
|
+
conditions: (_) => _json(_),
|
|
18
19
|
principal: [],
|
|
19
20
|
statementId: [],
|
|
20
21
|
}));
|
|
@@ -179,6 +180,7 @@ export const se_CreateDataAccessorCommand = async (input, context) => {
|
|
|
179
180
|
let body;
|
|
180
181
|
body = JSON.stringify(take(input, {
|
|
181
182
|
actionConfigurations: (_) => se_ActionConfigurationList(_, context),
|
|
183
|
+
authenticationDetail: (_) => _json(_),
|
|
182
184
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
183
185
|
displayName: [],
|
|
184
186
|
principal: [],
|
|
@@ -999,6 +1001,7 @@ export const se_UpdateDataAccessorCommand = async (input, context) => {
|
|
|
999
1001
|
let body;
|
|
1000
1002
|
body = JSON.stringify(take(input, {
|
|
1001
1003
|
actionConfigurations: (_) => se_ActionConfigurationList(_, context),
|
|
1004
|
+
authenticationDetail: (_) => _json(_),
|
|
1002
1005
|
displayName: [],
|
|
1003
1006
|
}));
|
|
1004
1007
|
b.m("PUT").h(headers).b(body);
|
|
@@ -1584,6 +1587,7 @@ export const de_GetDataAccessorCommand = async (output, context) => {
|
|
|
1584
1587
|
const doc = take(data, {
|
|
1585
1588
|
actionConfigurations: (_) => de_ActionConfigurationList(_, context),
|
|
1586
1589
|
applicationId: __expectString,
|
|
1590
|
+
authenticationDetail: _json,
|
|
1587
1591
|
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1588
1592
|
dataAccessorArn: __expectString,
|
|
1589
1593
|
dataAccessorId: __expectString,
|
|
@@ -2950,6 +2954,7 @@ const de_Conversations = (output, context) => {
|
|
|
2950
2954
|
};
|
|
2951
2955
|
const de_DataAccessor = (output, context) => {
|
|
2952
2956
|
return take(output, {
|
|
2957
|
+
authenticationDetail: _json,
|
|
2953
2958
|
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2954
2959
|
dataAccessorArn: __expectString,
|
|
2955
2960
|
dataAccessorId: __expectString,
|
|
@@ -40,6 +40,15 @@ declare const AssociatePermissionCommand_base: {
|
|
|
40
40
|
* actions: [ // QIamActions // required
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
|
+
* conditions: [ // PermissionConditions
|
|
44
|
+
* { // PermissionCondition
|
|
45
|
+
* conditionOperator: "StringEquals", // required
|
|
46
|
+
* conditionKey: "STRING_VALUE", // required
|
|
47
|
+
* conditionValues: [ // PermissionConditionValues // required
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
43
52
|
* principal: "STRING_VALUE", // required
|
|
44
53
|
* };
|
|
45
54
|
* const command = new AssociatePermissionCommand(input);
|
|
@@ -128,6 +128,17 @@ declare const CreateDataAccessorCommand_base: {
|
|
|
128
128
|
* ],
|
|
129
129
|
* clientToken: "STRING_VALUE",
|
|
130
130
|
* displayName: "STRING_VALUE", // required
|
|
131
|
+
* authenticationDetail: { // DataAccessorAuthenticationDetail
|
|
132
|
+
* authenticationType: "AWS_IAM_IDC_TTI" || "AWS_IAM_IDC_AUTH_CODE", // required
|
|
133
|
+
* authenticationConfiguration: { // DataAccessorAuthenticationConfiguration Union: only one key present
|
|
134
|
+
* idcTrustedTokenIssuerConfiguration: { // DataAccessorIdcTrustedTokenIssuerConfiguration
|
|
135
|
+
* idcTrustedTokenIssuerArn: "STRING_VALUE", // required
|
|
136
|
+
* },
|
|
137
|
+
* },
|
|
138
|
+
* externalIds: [ // DataAccessorExternalIds
|
|
139
|
+
* "STRING_VALUE",
|
|
140
|
+
* ],
|
|
141
|
+
* },
|
|
131
142
|
* tags: [ // Tags
|
|
132
143
|
* { // Tag
|
|
133
144
|
* key: "STRING_VALUE", // required
|
|
@@ -136,6 +136,17 @@ declare const GetDataAccessorCommand_base: {
|
|
|
136
136
|
* // },
|
|
137
137
|
* // },
|
|
138
138
|
* // ],
|
|
139
|
+
* // authenticationDetail: { // DataAccessorAuthenticationDetail
|
|
140
|
+
* // authenticationType: "AWS_IAM_IDC_TTI" || "AWS_IAM_IDC_AUTH_CODE", // required
|
|
141
|
+
* // authenticationConfiguration: { // DataAccessorAuthenticationConfiguration Union: only one key present
|
|
142
|
+
* // idcTrustedTokenIssuerConfiguration: { // DataAccessorIdcTrustedTokenIssuerConfiguration
|
|
143
|
+
* // idcTrustedTokenIssuerArn: "STRING_VALUE", // required
|
|
144
|
+
* // },
|
|
145
|
+
* // },
|
|
146
|
+
* // externalIds: [ // DataAccessorExternalIds
|
|
147
|
+
* // "STRING_VALUE",
|
|
148
|
+
* // ],
|
|
149
|
+
* // },
|
|
139
150
|
* // createdAt: new Date("TIMESTAMP"),
|
|
140
151
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
141
152
|
* // };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetUserRequest
|
|
3
|
+
import { GetUserRequest } from "../models/models_0";
|
|
4
|
+
import { GetUserResponse } from "../models/models_1";
|
|
4
5
|
import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListAttachmentsRequest, ListAttachmentsResponse } from "../models/
|
|
3
|
+
import { ListAttachmentsRequest, ListAttachmentsResponse } from "../models/models_1";
|
|
4
4
|
import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListConversationsRequest, ListConversationsResponse } from "../models/
|
|
3
|
+
import { ListConversationsRequest, ListConversationsResponse } from "../models/models_1";
|
|
4
4
|
import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -49,6 +49,17 @@ declare const ListDataAccessorsCommand_base: {
|
|
|
49
49
|
* // dataAccessorArn: "STRING_VALUE",
|
|
50
50
|
* // idcApplicationArn: "STRING_VALUE",
|
|
51
51
|
* // principal: "STRING_VALUE",
|
|
52
|
+
* // authenticationDetail: { // DataAccessorAuthenticationDetail
|
|
53
|
+
* // authenticationType: "AWS_IAM_IDC_TTI" || "AWS_IAM_IDC_AUTH_CODE", // required
|
|
54
|
+
* // authenticationConfiguration: { // DataAccessorAuthenticationConfiguration Union: only one key present
|
|
55
|
+
* // idcTrustedTokenIssuerConfiguration: { // DataAccessorIdcTrustedTokenIssuerConfiguration
|
|
56
|
+
* // idcTrustedTokenIssuerArn: "STRING_VALUE", // required
|
|
57
|
+
* // },
|
|
58
|
+
* // },
|
|
59
|
+
* // externalIds: [ // DataAccessorExternalIds
|
|
60
|
+
* // "STRING_VALUE",
|
|
61
|
+
* // ],
|
|
62
|
+
* // },
|
|
52
63
|
* // createdAt: new Date("TIMESTAMP"),
|
|
53
64
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
54
65
|
* // },
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListDataSourceSyncJobsRequest } from "../models/
|
|
4
|
-
import { ListDataSourceSyncJobsResponse } from "../models/models_1";
|
|
3
|
+
import { ListDataSourceSyncJobsRequest, ListDataSourceSyncJobsResponse } from "../models/models_1";
|
|
5
4
|
import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
@@ -126,6 +126,17 @@ declare const UpdateDataAccessorCommand_base: {
|
|
|
126
126
|
* },
|
|
127
127
|
* },
|
|
128
128
|
* ],
|
|
129
|
+
* authenticationDetail: { // DataAccessorAuthenticationDetail
|
|
130
|
+
* authenticationType: "AWS_IAM_IDC_TTI" || "AWS_IAM_IDC_AUTH_CODE", // required
|
|
131
|
+
* authenticationConfiguration: { // DataAccessorAuthenticationConfiguration Union: only one key present
|
|
132
|
+
* idcTrustedTokenIssuerConfiguration: { // DataAccessorIdcTrustedTokenIssuerConfiguration
|
|
133
|
+
* idcTrustedTokenIssuerArn: "STRING_VALUE", // required
|
|
134
|
+
* },
|
|
135
|
+
* },
|
|
136
|
+
* externalIds: [ // DataAccessorExternalIds
|
|
137
|
+
* "STRING_VALUE",
|
|
138
|
+
* ],
|
|
139
|
+
* },
|
|
129
140
|
* displayName: "STRING_VALUE",
|
|
130
141
|
* };
|
|
131
142
|
* const command = new UpdateDataAccessorCommand(input);
|
|
@@ -985,6 +985,80 @@ export declare class ValidationException extends __BaseException {
|
|
|
985
985
|
*/
|
|
986
986
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
987
987
|
}
|
|
988
|
+
/**
|
|
989
|
+
* <p>Configuration details for IAM Identity Center Trusted Token Issuer (TTI) authentication.</p>
|
|
990
|
+
* @public
|
|
991
|
+
*/
|
|
992
|
+
export interface DataAccessorIdcTrustedTokenIssuerConfiguration {
|
|
993
|
+
/**
|
|
994
|
+
* <p>The Amazon Resource Name (ARN) of the IAM Identity Center Trusted Token Issuer that will be used for authentication.</p>
|
|
995
|
+
* @public
|
|
996
|
+
*/
|
|
997
|
+
idcTrustedTokenIssuerArn: string | undefined;
|
|
998
|
+
}
|
|
999
|
+
/**
|
|
1000
|
+
* <p>A union type that contains the specific authentication configuration based on the authentication type selected.</p>
|
|
1001
|
+
* @public
|
|
1002
|
+
*/
|
|
1003
|
+
export type DataAccessorAuthenticationConfiguration = DataAccessorAuthenticationConfiguration.IdcTrustedTokenIssuerConfigurationMember | DataAccessorAuthenticationConfiguration.$UnknownMember;
|
|
1004
|
+
/**
|
|
1005
|
+
* @public
|
|
1006
|
+
*/
|
|
1007
|
+
export declare namespace DataAccessorAuthenticationConfiguration {
|
|
1008
|
+
/**
|
|
1009
|
+
* <p>Configuration for IAM Identity Center Trusted Token Issuer (TTI) authentication used when the authentication type is <code>AWS_IAM_IDC_TTI</code>.</p>
|
|
1010
|
+
* @public
|
|
1011
|
+
*/
|
|
1012
|
+
interface IdcTrustedTokenIssuerConfigurationMember {
|
|
1013
|
+
idcTrustedTokenIssuerConfiguration: DataAccessorIdcTrustedTokenIssuerConfiguration;
|
|
1014
|
+
$unknown?: never;
|
|
1015
|
+
}
|
|
1016
|
+
/**
|
|
1017
|
+
* @public
|
|
1018
|
+
*/
|
|
1019
|
+
interface $UnknownMember {
|
|
1020
|
+
idcTrustedTokenIssuerConfiguration?: never;
|
|
1021
|
+
$unknown: [string, any];
|
|
1022
|
+
}
|
|
1023
|
+
interface Visitor<T> {
|
|
1024
|
+
idcTrustedTokenIssuerConfiguration: (value: DataAccessorIdcTrustedTokenIssuerConfiguration) => T;
|
|
1025
|
+
_: (name: string, value: any) => T;
|
|
1026
|
+
}
|
|
1027
|
+
const visit: <T>(value: DataAccessorAuthenticationConfiguration, visitor: Visitor<T>) => T;
|
|
1028
|
+
}
|
|
1029
|
+
/**
|
|
1030
|
+
* @public
|
|
1031
|
+
* @enum
|
|
1032
|
+
*/
|
|
1033
|
+
export declare const DataAccessorAuthenticationType: {
|
|
1034
|
+
readonly AWS_IAM_IDC_AUTH_CODE: "AWS_IAM_IDC_AUTH_CODE";
|
|
1035
|
+
readonly AWS_IAM_IDC_TTI: "AWS_IAM_IDC_TTI";
|
|
1036
|
+
};
|
|
1037
|
+
/**
|
|
1038
|
+
* @public
|
|
1039
|
+
*/
|
|
1040
|
+
export type DataAccessorAuthenticationType = (typeof DataAccessorAuthenticationType)[keyof typeof DataAccessorAuthenticationType];
|
|
1041
|
+
/**
|
|
1042
|
+
* <p>Contains the authentication configuration details for a data accessor. This structure defines how the ISV authenticates when accessing data through the data accessor.</p>
|
|
1043
|
+
* @public
|
|
1044
|
+
*/
|
|
1045
|
+
export interface DataAccessorAuthenticationDetail {
|
|
1046
|
+
/**
|
|
1047
|
+
* <p>The type of authentication to use for the data accessor. This determines how the ISV authenticates when accessing data. You can use one of two authentication types:</p> <ul> <li> <p> <code>AWS_IAM_IDC_TTI</code> - Authentication using IAM Identity Center Trusted Token Issuer (TTI). This authentication type allows the ISV to use a trusted token issuer to generate tokens for accessing the data.</p> </li> <li> <p> <code>AWS_IAM_IDC_AUTH_CODE</code> - Authentication using IAM Identity Center authorization code flow. This authentication type uses the standard OAuth 2.0 authorization code flow for authentication.</p> </li> </ul>
|
|
1048
|
+
* @public
|
|
1049
|
+
*/
|
|
1050
|
+
authenticationType: DataAccessorAuthenticationType | undefined;
|
|
1051
|
+
/**
|
|
1052
|
+
* <p>The specific authentication configuration based on the authentication type.</p>
|
|
1053
|
+
* @public
|
|
1054
|
+
*/
|
|
1055
|
+
authenticationConfiguration?: DataAccessorAuthenticationConfiguration | undefined;
|
|
1056
|
+
/**
|
|
1057
|
+
* <p>A list of external identifiers associated with this authentication configuration. These are used to correlate the data accessor with external systems.</p>
|
|
1058
|
+
* @public
|
|
1059
|
+
*/
|
|
1060
|
+
externalIds?: string[] | undefined;
|
|
1061
|
+
}
|
|
988
1062
|
/**
|
|
989
1063
|
* @public
|
|
990
1064
|
*/
|
|
@@ -1090,6 +1164,11 @@ export interface DataAccessor {
|
|
|
1090
1164
|
* @public
|
|
1091
1165
|
*/
|
|
1092
1166
|
principal?: string | undefined;
|
|
1167
|
+
/**
|
|
1168
|
+
* <p>The authentication configuration details for the data accessor. This specifies how the ISV authenticates when accessing data through this data accessor.</p>
|
|
1169
|
+
* @public
|
|
1170
|
+
*/
|
|
1171
|
+
authenticationDetail?: DataAccessorAuthenticationDetail | undefined;
|
|
1093
1172
|
/**
|
|
1094
1173
|
* <p>The timestamp when the data accessor was created.</p>
|
|
1095
1174
|
* @public
|
|
@@ -1522,7 +1601,7 @@ export interface HookConfiguration {
|
|
|
1522
1601
|
*/
|
|
1523
1602
|
invocationCondition?: DocumentAttributeCondition | undefined;
|
|
1524
1603
|
/**
|
|
1525
|
-
* <p>The Amazon Resource Name (ARN) of the Lambda function
|
|
1604
|
+
* <p>The Amazon Resource Name (ARN) of the Lambda function during ingestion. For more information, see <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/cde-lambda-operations.html">Using Lambda functions for Amazon Q Business document enrichment</a>.</p>
|
|
1526
1605
|
* @public
|
|
1527
1606
|
*/
|
|
1528
1607
|
lambdaArn?: string | undefined;
|
|
@@ -4039,6 +4118,38 @@ export interface AssociatedUser {
|
|
|
4039
4118
|
*/
|
|
4040
4119
|
type?: MembershipType | undefined;
|
|
4041
4120
|
}
|
|
4121
|
+
/**
|
|
4122
|
+
* @public
|
|
4123
|
+
* @enum
|
|
4124
|
+
*/
|
|
4125
|
+
export declare const PermissionConditionOperator: {
|
|
4126
|
+
readonly STRING_EQUALS: "StringEquals";
|
|
4127
|
+
};
|
|
4128
|
+
/**
|
|
4129
|
+
* @public
|
|
4130
|
+
*/
|
|
4131
|
+
export type PermissionConditionOperator = (typeof PermissionConditionOperator)[keyof typeof PermissionConditionOperator];
|
|
4132
|
+
/**
|
|
4133
|
+
* <p>Defines a condition that restricts when a permission is effective. Conditions allow you to control access based on specific attributes of the request.</p>
|
|
4134
|
+
* @public
|
|
4135
|
+
*/
|
|
4136
|
+
export interface PermissionCondition {
|
|
4137
|
+
/**
|
|
4138
|
+
* <p>The operator to use for the condition evaluation. This determines how the condition values are compared.</p>
|
|
4139
|
+
* @public
|
|
4140
|
+
*/
|
|
4141
|
+
conditionOperator: PermissionConditionOperator | undefined;
|
|
4142
|
+
/**
|
|
4143
|
+
* <p>The key for the condition. This identifies the attribute that the condition applies to.</p>
|
|
4144
|
+
* @public
|
|
4145
|
+
*/
|
|
4146
|
+
conditionKey: string | undefined;
|
|
4147
|
+
/**
|
|
4148
|
+
* <p>The values to compare against using the specified condition operator.</p>
|
|
4149
|
+
* @public
|
|
4150
|
+
*/
|
|
4151
|
+
conditionValues: string[] | undefined;
|
|
4152
|
+
}
|
|
4042
4153
|
/**
|
|
4043
4154
|
* @public
|
|
4044
4155
|
*/
|
|
@@ -4058,6 +4169,11 @@ export interface AssociatePermissionRequest {
|
|
|
4058
4169
|
* @public
|
|
4059
4170
|
*/
|
|
4060
4171
|
actions: string[] | undefined;
|
|
4172
|
+
/**
|
|
4173
|
+
* <p>The conditions that restrict when the permission is effective. These conditions can be used to limit the permission based on specific attributes of the request.</p>
|
|
4174
|
+
* @public
|
|
4175
|
+
*/
|
|
4176
|
+
conditions?: PermissionCondition[] | undefined;
|
|
4061
4177
|
/**
|
|
4062
4178
|
* <p>The Amazon Resource Name of the IAM role for the ISV that is being granted permission.</p>
|
|
4063
4179
|
* @public
|
|
@@ -6262,146 +6378,6 @@ export interface GetUserRequest {
|
|
|
6262
6378
|
*/
|
|
6263
6379
|
userId: string | undefined;
|
|
6264
6380
|
}
|
|
6265
|
-
/**
|
|
6266
|
-
* @public
|
|
6267
|
-
*/
|
|
6268
|
-
export interface GetUserResponse {
|
|
6269
|
-
/**
|
|
6270
|
-
* <p>A list of user aliases attached to a user.</p>
|
|
6271
|
-
* @public
|
|
6272
|
-
*/
|
|
6273
|
-
userAliases?: UserAlias[] | undefined;
|
|
6274
|
-
}
|
|
6275
|
-
/**
|
|
6276
|
-
* @public
|
|
6277
|
-
*/
|
|
6278
|
-
export interface ListAttachmentsRequest {
|
|
6279
|
-
/**
|
|
6280
|
-
* <p>The unique identifier for the Amazon Q Business application.</p>
|
|
6281
|
-
* @public
|
|
6282
|
-
*/
|
|
6283
|
-
applicationId: string | undefined;
|
|
6284
|
-
/**
|
|
6285
|
-
* <p>The unique identifier of the Amazon Q Business web experience conversation.</p>
|
|
6286
|
-
* @public
|
|
6287
|
-
*/
|
|
6288
|
-
conversationId?: string | undefined;
|
|
6289
|
-
/**
|
|
6290
|
-
* <p>The unique identifier of the user involved in the Amazon Q Business web experience conversation.</p>
|
|
6291
|
-
* @public
|
|
6292
|
-
*/
|
|
6293
|
-
userId?: string | undefined;
|
|
6294
|
-
/**
|
|
6295
|
-
* <p>If the number of attachments returned exceeds <code>maxResults</code>, Amazon Q Business returns a next token as a pagination token to retrieve the next set of attachments.</p>
|
|
6296
|
-
* @public
|
|
6297
|
-
*/
|
|
6298
|
-
nextToken?: string | undefined;
|
|
6299
|
-
/**
|
|
6300
|
-
* <p>The maximum number of attachements to return.</p>
|
|
6301
|
-
* @public
|
|
6302
|
-
*/
|
|
6303
|
-
maxResults?: number | undefined;
|
|
6304
|
-
}
|
|
6305
|
-
/**
|
|
6306
|
-
* @public
|
|
6307
|
-
*/
|
|
6308
|
-
export interface ListAttachmentsResponse {
|
|
6309
|
-
/**
|
|
6310
|
-
* <p>An array of information on one or more attachments.</p>
|
|
6311
|
-
* @public
|
|
6312
|
-
*/
|
|
6313
|
-
attachments?: Attachment[] | undefined;
|
|
6314
|
-
/**
|
|
6315
|
-
* <p>If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of attachments.</p>
|
|
6316
|
-
* @public
|
|
6317
|
-
*/
|
|
6318
|
-
nextToken?: string | undefined;
|
|
6319
|
-
}
|
|
6320
|
-
/**
|
|
6321
|
-
* @public
|
|
6322
|
-
*/
|
|
6323
|
-
export interface ListConversationsRequest {
|
|
6324
|
-
/**
|
|
6325
|
-
* <p>The identifier of the Amazon Q Business application.</p>
|
|
6326
|
-
* @public
|
|
6327
|
-
*/
|
|
6328
|
-
applicationId: string | undefined;
|
|
6329
|
-
/**
|
|
6330
|
-
* <p>The identifier of the user involved in the Amazon Q Business web experience conversation. </p>
|
|
6331
|
-
* @public
|
|
6332
|
-
*/
|
|
6333
|
-
userId?: string | undefined;
|
|
6334
|
-
/**
|
|
6335
|
-
* <p>If the <code>maxResults</code> response was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q Business conversations.</p>
|
|
6336
|
-
* @public
|
|
6337
|
-
*/
|
|
6338
|
-
nextToken?: string | undefined;
|
|
6339
|
-
/**
|
|
6340
|
-
* <p>The maximum number of Amazon Q Business conversations to return.</p>
|
|
6341
|
-
* @public
|
|
6342
|
-
*/
|
|
6343
|
-
maxResults?: number | undefined;
|
|
6344
|
-
}
|
|
6345
|
-
/**
|
|
6346
|
-
* @public
|
|
6347
|
-
*/
|
|
6348
|
-
export interface ListConversationsResponse {
|
|
6349
|
-
/**
|
|
6350
|
-
* <p>If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of messages.</p>
|
|
6351
|
-
* @public
|
|
6352
|
-
*/
|
|
6353
|
-
nextToken?: string | undefined;
|
|
6354
|
-
/**
|
|
6355
|
-
* <p>An array of summary information on the configuration of one or more Amazon Q Business web experiences.</p>
|
|
6356
|
-
* @public
|
|
6357
|
-
*/
|
|
6358
|
-
conversations?: Conversation[] | undefined;
|
|
6359
|
-
}
|
|
6360
|
-
/**
|
|
6361
|
-
* @public
|
|
6362
|
-
*/
|
|
6363
|
-
export interface ListDataSourceSyncJobsRequest {
|
|
6364
|
-
/**
|
|
6365
|
-
* <p> The identifier of the data source connector.</p>
|
|
6366
|
-
* @public
|
|
6367
|
-
*/
|
|
6368
|
-
dataSourceId: string | undefined;
|
|
6369
|
-
/**
|
|
6370
|
-
* <p>The identifier of the Amazon Q Business application connected to the data source.</p>
|
|
6371
|
-
* @public
|
|
6372
|
-
*/
|
|
6373
|
-
applicationId: string | undefined;
|
|
6374
|
-
/**
|
|
6375
|
-
* <p>The identifier of the index used with the Amazon Q Business data source connector.</p>
|
|
6376
|
-
* @public
|
|
6377
|
-
*/
|
|
6378
|
-
indexId: string | undefined;
|
|
6379
|
-
/**
|
|
6380
|
-
* <p>If the <code>maxResults</code> response was incpmplete because there is more data to retriever, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of responses.</p>
|
|
6381
|
-
* @public
|
|
6382
|
-
*/
|
|
6383
|
-
nextToken?: string | undefined;
|
|
6384
|
-
/**
|
|
6385
|
-
* <p>The maximum number of synchronization jobs to return in the response.</p>
|
|
6386
|
-
* @public
|
|
6387
|
-
*/
|
|
6388
|
-
maxResults?: number | undefined;
|
|
6389
|
-
/**
|
|
6390
|
-
* <p> The start time of the data source connector sync. </p>
|
|
6391
|
-
* @public
|
|
6392
|
-
*/
|
|
6393
|
-
startTime?: Date | undefined;
|
|
6394
|
-
/**
|
|
6395
|
-
* <p> The end time of the data source connector sync.</p>
|
|
6396
|
-
* @public
|
|
6397
|
-
*/
|
|
6398
|
-
endTime?: Date | undefined;
|
|
6399
|
-
/**
|
|
6400
|
-
* <p>Only returns synchronization jobs with the <code>Status</code> field equal to the specified status.</p>
|
|
6401
|
-
* @public
|
|
6402
|
-
*/
|
|
6403
|
-
statusFilter?: DataSourceSyncJobStatus | undefined;
|
|
6404
|
-
}
|
|
6405
6381
|
/**
|
|
6406
6382
|
* @internal
|
|
6407
6383
|
*/
|
|
@@ -1,4 +1,144 @@
|
|
|
1
|
-
import { ActionExecution, ActionExecutionEvent, ActionReview, ActionSummary, AttachmentInput, AttachmentInputEvent, AttachmentOutput, AuthChallengeResponse, AuthChallengeResponseEvent, BlockedPhrasesConfigurationUpdate, ChatMode, ChatModeConfiguration, ContentSource, CreatorModeConfiguration, DataSourceSyncJob, DocumentAttribute, DocumentDetails, EndOfInputEvent, HallucinationReductionConfiguration, MembershipType, OrchestrationControl, PluginType, ResponseScope, S3, SourceAttribution, SubscriptionDetails, SubscriptionPrincipal, SubscriptionType, Tag, TextInputEvent, TopicConfiguration, UserAlias } from "./models_0";
|
|
1
|
+
import { ActionExecution, ActionExecutionEvent, ActionReview, ActionSummary, Attachment, AttachmentInput, AttachmentInputEvent, AttachmentOutput, AuthChallengeResponse, AuthChallengeResponseEvent, BlockedPhrasesConfigurationUpdate, ChatMode, ChatModeConfiguration, ContentSource, Conversation, CreatorModeConfiguration, DataAccessorAuthenticationDetail, DataSourceSyncJob, DataSourceSyncJobStatus, DocumentAttribute, DocumentDetails, EndOfInputEvent, HallucinationReductionConfiguration, MembershipType, OrchestrationControl, PluginType, ResponseScope, S3, SourceAttribution, SubscriptionDetails, SubscriptionPrincipal, SubscriptionType, Tag, TextInputEvent, TopicConfiguration, UserAlias } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface GetUserResponse {
|
|
6
|
+
/**
|
|
7
|
+
* <p>A list of user aliases attached to a user.</p>
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
userAliases?: UserAlias[] | undefined;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAttachmentsRequest {
|
|
16
|
+
/**
|
|
17
|
+
* <p>The unique identifier for the Amazon Q Business application.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
applicationId: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* <p>The unique identifier of the Amazon Q Business web experience conversation.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
conversationId?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* <p>The unique identifier of the user involved in the Amazon Q Business web experience conversation.</p>
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
userId?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* <p>If the number of attachments returned exceeds <code>maxResults</code>, Amazon Q Business returns a next token as a pagination token to retrieve the next set of attachments.</p>
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
nextToken?: string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* <p>The maximum number of attachements to return.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
maxResults?: number | undefined;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export interface ListAttachmentsResponse {
|
|
46
|
+
/**
|
|
47
|
+
* <p>An array of information on one or more attachments.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
attachments?: Attachment[] | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* <p>If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of attachments.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
nextToken?: string | undefined;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export interface ListConversationsRequest {
|
|
61
|
+
/**
|
|
62
|
+
* <p>The identifier of the Amazon Q Business application.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
applicationId: string | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* <p>The identifier of the user involved in the Amazon Q Business web experience conversation. </p>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
userId?: string | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* <p>If the <code>maxResults</code> response was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q Business conversations.</p>
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
nextToken?: string | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* <p>The maximum number of Amazon Q Business conversations to return.</p>
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
maxResults?: number | undefined;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export interface ListConversationsResponse {
|
|
86
|
+
/**
|
|
87
|
+
* <p>If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of messages.</p>
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
nextToken?: string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* <p>An array of summary information on the configuration of one or more Amazon Q Business web experiences.</p>
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
conversations?: Conversation[] | undefined;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export interface ListDataSourceSyncJobsRequest {
|
|
101
|
+
/**
|
|
102
|
+
* <p> The identifier of the data source connector.</p>
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
dataSourceId: string | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* <p>The identifier of the Amazon Q Business application connected to the data source.</p>
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
applicationId: string | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* <p>The identifier of the index used with the Amazon Q Business data source connector.</p>
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
indexId: string | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* <p>If the <code>maxResults</code> response was incpmplete because there is more data to retriever, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of responses.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
nextToken?: string | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* <p>The maximum number of synchronization jobs to return in the response.</p>
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
maxResults?: number | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* <p> The start time of the data source connector sync. </p>
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
startTime?: Date | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* <p> The end time of the data source connector sync.</p>
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
endTime?: Date | undefined;
|
|
136
|
+
/**
|
|
137
|
+
* <p>Only returns synchronization jobs with the <code>Status</code> field equal to the specified status.</p>
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
statusFilter?: DataSourceSyncJobStatus | undefined;
|
|
141
|
+
}
|
|
2
142
|
/**
|
|
3
143
|
* @public
|
|
4
144
|
*/
|
|
@@ -1354,6 +1494,11 @@ export interface CreateDataAccessorRequest {
|
|
|
1354
1494
|
* @public
|
|
1355
1495
|
*/
|
|
1356
1496
|
displayName: string | undefined;
|
|
1497
|
+
/**
|
|
1498
|
+
* <p>The authentication configuration details for the data accessor. This specifies how the ISV will authenticate when accessing data through this data accessor.</p>
|
|
1499
|
+
* @public
|
|
1500
|
+
*/
|
|
1501
|
+
authenticationDetail?: DataAccessorAuthenticationDetail | undefined;
|
|
1357
1502
|
/**
|
|
1358
1503
|
* <p>The tags to associate with the data accessor.</p>
|
|
1359
1504
|
* @public
|
|
@@ -1399,6 +1544,11 @@ export interface GetDataAccessorResponse {
|
|
|
1399
1544
|
* @public
|
|
1400
1545
|
*/
|
|
1401
1546
|
actionConfigurations?: ActionConfiguration[] | undefined;
|
|
1547
|
+
/**
|
|
1548
|
+
* <p>The authentication configuration details for the data accessor. This specifies how the ISV authenticates when accessing data through this data accessor.</p>
|
|
1549
|
+
* @public
|
|
1550
|
+
*/
|
|
1551
|
+
authenticationDetail?: DataAccessorAuthenticationDetail | undefined;
|
|
1402
1552
|
/**
|
|
1403
1553
|
* <p>The timestamp when the data accessor was created.</p>
|
|
1404
1554
|
* @public
|
|
@@ -1429,6 +1579,11 @@ export interface UpdateDataAccessorRequest {
|
|
|
1429
1579
|
* @public
|
|
1430
1580
|
*/
|
|
1431
1581
|
actionConfigurations: ActionConfiguration[] | undefined;
|
|
1582
|
+
/**
|
|
1583
|
+
* <p>The updated authentication configuration details for the data accessor. This specifies how the ISV will authenticate when accessing data through this data accessor.</p>
|
|
1584
|
+
* @public
|
|
1585
|
+
*/
|
|
1586
|
+
authenticationDetail?: DataAccessorAuthenticationDetail | undefined;
|
|
1432
1587
|
/**
|
|
1433
1588
|
* <p>The updated friendly name for the data accessor.</p>
|
|
1434
1589
|
* @public
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetUserRequest
|
|
3
|
+
import { GetUserRequest } from "../models/models_0";
|
|
4
|
+
import { GetUserResponse } from "../models/models_1";
|
|
4
5
|
import {
|
|
5
6
|
QBusinessClientResolvedConfig,
|
|
6
7
|
ServiceInputTypes,
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import {
|
|
4
|
+
ListDataSourceSyncJobsRequest,
|
|
5
|
+
ListDataSourceSyncJobsResponse,
|
|
6
|
+
} from "../models/models_1";
|
|
5
7
|
import {
|
|
6
8
|
QBusinessClientResolvedConfig,
|
|
7
9
|
ServiceInputTypes,
|
|
@@ -380,6 +380,45 @@ export declare class ValidationException extends __BaseException {
|
|
|
380
380
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
381
381
|
);
|
|
382
382
|
}
|
|
383
|
+
export interface DataAccessorIdcTrustedTokenIssuerConfiguration {
|
|
384
|
+
idcTrustedTokenIssuerArn: string | undefined;
|
|
385
|
+
}
|
|
386
|
+
export type DataAccessorAuthenticationConfiguration =
|
|
387
|
+
| DataAccessorAuthenticationConfiguration.IdcTrustedTokenIssuerConfigurationMember
|
|
388
|
+
| DataAccessorAuthenticationConfiguration.$UnknownMember;
|
|
389
|
+
export declare namespace DataAccessorAuthenticationConfiguration {
|
|
390
|
+
interface IdcTrustedTokenIssuerConfigurationMember {
|
|
391
|
+
idcTrustedTokenIssuerConfiguration: DataAccessorIdcTrustedTokenIssuerConfiguration;
|
|
392
|
+
$unknown?: never;
|
|
393
|
+
}
|
|
394
|
+
interface $UnknownMember {
|
|
395
|
+
idcTrustedTokenIssuerConfiguration?: never;
|
|
396
|
+
$unknown: [string, any];
|
|
397
|
+
}
|
|
398
|
+
interface Visitor<T> {
|
|
399
|
+
idcTrustedTokenIssuerConfiguration: (
|
|
400
|
+
value: DataAccessorIdcTrustedTokenIssuerConfiguration
|
|
401
|
+
) => T;
|
|
402
|
+
_: (name: string, value: any) => T;
|
|
403
|
+
}
|
|
404
|
+
const visit: <T>(
|
|
405
|
+
value: DataAccessorAuthenticationConfiguration,
|
|
406
|
+
visitor: Visitor<T>
|
|
407
|
+
) => T;
|
|
408
|
+
}
|
|
409
|
+
export declare const DataAccessorAuthenticationType: {
|
|
410
|
+
readonly AWS_IAM_IDC_AUTH_CODE: "AWS_IAM_IDC_AUTH_CODE";
|
|
411
|
+
readonly AWS_IAM_IDC_TTI: "AWS_IAM_IDC_TTI";
|
|
412
|
+
};
|
|
413
|
+
export type DataAccessorAuthenticationType =
|
|
414
|
+
(typeof DataAccessorAuthenticationType)[keyof typeof DataAccessorAuthenticationType];
|
|
415
|
+
export interface DataAccessorAuthenticationDetail {
|
|
416
|
+
authenticationType: DataAccessorAuthenticationType | undefined;
|
|
417
|
+
authenticationConfiguration?:
|
|
418
|
+
| DataAccessorAuthenticationConfiguration
|
|
419
|
+
| undefined;
|
|
420
|
+
externalIds?: string[] | undefined;
|
|
421
|
+
}
|
|
383
422
|
export interface CreateDataAccessorResponse {
|
|
384
423
|
dataAccessorId: string | undefined;
|
|
385
424
|
idcApplicationArn: string | undefined;
|
|
@@ -405,6 +444,7 @@ export interface DataAccessor {
|
|
|
405
444
|
dataAccessorArn?: string | undefined;
|
|
406
445
|
idcApplicationArn?: string | undefined;
|
|
407
446
|
principal?: string | undefined;
|
|
447
|
+
authenticationDetail?: DataAccessorAuthenticationDetail | undefined;
|
|
408
448
|
createdAt?: Date | undefined;
|
|
409
449
|
updatedAt?: Date | undefined;
|
|
410
450
|
}
|
|
@@ -1332,10 +1372,21 @@ export interface AssociatedUser {
|
|
|
1332
1372
|
id?: string | undefined;
|
|
1333
1373
|
type?: MembershipType | undefined;
|
|
1334
1374
|
}
|
|
1375
|
+
export declare const PermissionConditionOperator: {
|
|
1376
|
+
readonly STRING_EQUALS: "StringEquals";
|
|
1377
|
+
};
|
|
1378
|
+
export type PermissionConditionOperator =
|
|
1379
|
+
(typeof PermissionConditionOperator)[keyof typeof PermissionConditionOperator];
|
|
1380
|
+
export interface PermissionCondition {
|
|
1381
|
+
conditionOperator: PermissionConditionOperator | undefined;
|
|
1382
|
+
conditionKey: string | undefined;
|
|
1383
|
+
conditionValues: string[] | undefined;
|
|
1384
|
+
}
|
|
1335
1385
|
export interface AssociatePermissionRequest {
|
|
1336
1386
|
applicationId: string | undefined;
|
|
1337
1387
|
statementId: string | undefined;
|
|
1338
1388
|
actions: string[] | undefined;
|
|
1389
|
+
conditions?: PermissionCondition[] | undefined;
|
|
1339
1390
|
principal: string | undefined;
|
|
1340
1391
|
}
|
|
1341
1392
|
export interface AssociatePermissionResponse {
|
|
@@ -2085,40 +2136,6 @@ export interface GetUserRequest {
|
|
|
2085
2136
|
applicationId: string | undefined;
|
|
2086
2137
|
userId: string | undefined;
|
|
2087
2138
|
}
|
|
2088
|
-
export interface GetUserResponse {
|
|
2089
|
-
userAliases?: UserAlias[] | undefined;
|
|
2090
|
-
}
|
|
2091
|
-
export interface ListAttachmentsRequest {
|
|
2092
|
-
applicationId: string | undefined;
|
|
2093
|
-
conversationId?: string | undefined;
|
|
2094
|
-
userId?: string | undefined;
|
|
2095
|
-
nextToken?: string | undefined;
|
|
2096
|
-
maxResults?: number | undefined;
|
|
2097
|
-
}
|
|
2098
|
-
export interface ListAttachmentsResponse {
|
|
2099
|
-
attachments?: Attachment[] | undefined;
|
|
2100
|
-
nextToken?: string | undefined;
|
|
2101
|
-
}
|
|
2102
|
-
export interface ListConversationsRequest {
|
|
2103
|
-
applicationId: string | undefined;
|
|
2104
|
-
userId?: string | undefined;
|
|
2105
|
-
nextToken?: string | undefined;
|
|
2106
|
-
maxResults?: number | undefined;
|
|
2107
|
-
}
|
|
2108
|
-
export interface ListConversationsResponse {
|
|
2109
|
-
nextToken?: string | undefined;
|
|
2110
|
-
conversations?: Conversation[] | undefined;
|
|
2111
|
-
}
|
|
2112
|
-
export interface ListDataSourceSyncJobsRequest {
|
|
2113
|
-
dataSourceId: string | undefined;
|
|
2114
|
-
applicationId: string | undefined;
|
|
2115
|
-
indexId: string | undefined;
|
|
2116
|
-
nextToken?: string | undefined;
|
|
2117
|
-
maxResults?: number | undefined;
|
|
2118
|
-
startTime?: Date | undefined;
|
|
2119
|
-
endTime?: Date | undefined;
|
|
2120
|
-
statusFilter?: DataSourceSyncJobStatus | undefined;
|
|
2121
|
-
}
|
|
2122
2139
|
export declare const APISchemaFilterSensitiveLog: (obj: APISchema) => any;
|
|
2123
2140
|
export declare const EncryptionConfigurationFilterSensitiveLog: (
|
|
2124
2141
|
obj: EncryptionConfiguration
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
ActionExecutionEvent,
|
|
4
4
|
ActionReview,
|
|
5
5
|
ActionSummary,
|
|
6
|
+
Attachment,
|
|
6
7
|
AttachmentInput,
|
|
7
8
|
AttachmentInputEvent,
|
|
8
9
|
AttachmentOutput,
|
|
@@ -12,8 +13,11 @@ import {
|
|
|
12
13
|
ChatMode,
|
|
13
14
|
ChatModeConfiguration,
|
|
14
15
|
ContentSource,
|
|
16
|
+
Conversation,
|
|
15
17
|
CreatorModeConfiguration,
|
|
18
|
+
DataAccessorAuthenticationDetail,
|
|
16
19
|
DataSourceSyncJob,
|
|
20
|
+
DataSourceSyncJobStatus,
|
|
17
21
|
DocumentAttribute,
|
|
18
22
|
DocumentDetails,
|
|
19
23
|
EndOfInputEvent,
|
|
@@ -32,6 +36,40 @@ import {
|
|
|
32
36
|
TopicConfiguration,
|
|
33
37
|
UserAlias,
|
|
34
38
|
} from "./models_0";
|
|
39
|
+
export interface GetUserResponse {
|
|
40
|
+
userAliases?: UserAlias[] | undefined;
|
|
41
|
+
}
|
|
42
|
+
export interface ListAttachmentsRequest {
|
|
43
|
+
applicationId: string | undefined;
|
|
44
|
+
conversationId?: string | undefined;
|
|
45
|
+
userId?: string | undefined;
|
|
46
|
+
nextToken?: string | undefined;
|
|
47
|
+
maxResults?: number | undefined;
|
|
48
|
+
}
|
|
49
|
+
export interface ListAttachmentsResponse {
|
|
50
|
+
attachments?: Attachment[] | undefined;
|
|
51
|
+
nextToken?: string | undefined;
|
|
52
|
+
}
|
|
53
|
+
export interface ListConversationsRequest {
|
|
54
|
+
applicationId: string | undefined;
|
|
55
|
+
userId?: string | undefined;
|
|
56
|
+
nextToken?: string | undefined;
|
|
57
|
+
maxResults?: number | undefined;
|
|
58
|
+
}
|
|
59
|
+
export interface ListConversationsResponse {
|
|
60
|
+
nextToken?: string | undefined;
|
|
61
|
+
conversations?: Conversation[] | undefined;
|
|
62
|
+
}
|
|
63
|
+
export interface ListDataSourceSyncJobsRequest {
|
|
64
|
+
dataSourceId: string | undefined;
|
|
65
|
+
applicationId: string | undefined;
|
|
66
|
+
indexId: string | undefined;
|
|
67
|
+
nextToken?: string | undefined;
|
|
68
|
+
maxResults?: number | undefined;
|
|
69
|
+
startTime?: Date | undefined;
|
|
70
|
+
endTime?: Date | undefined;
|
|
71
|
+
statusFilter?: DataSourceSyncJobStatus | undefined;
|
|
72
|
+
}
|
|
35
73
|
export interface ListDataSourceSyncJobsResponse {
|
|
36
74
|
history?: DataSourceSyncJob[] | undefined;
|
|
37
75
|
nextToken?: string | undefined;
|
|
@@ -443,6 +481,7 @@ export interface CreateDataAccessorRequest {
|
|
|
443
481
|
actionConfigurations: ActionConfiguration[] | undefined;
|
|
444
482
|
clientToken?: string | undefined;
|
|
445
483
|
displayName: string | undefined;
|
|
484
|
+
authenticationDetail?: DataAccessorAuthenticationDetail | undefined;
|
|
446
485
|
tags?: Tag[] | undefined;
|
|
447
486
|
}
|
|
448
487
|
export interface GetDataAccessorResponse {
|
|
@@ -453,6 +492,7 @@ export interface GetDataAccessorResponse {
|
|
|
453
492
|
idcApplicationArn?: string | undefined;
|
|
454
493
|
principal?: string | undefined;
|
|
455
494
|
actionConfigurations?: ActionConfiguration[] | undefined;
|
|
495
|
+
authenticationDetail?: DataAccessorAuthenticationDetail | undefined;
|
|
456
496
|
createdAt?: Date | undefined;
|
|
457
497
|
updatedAt?: Date | undefined;
|
|
458
498
|
}
|
|
@@ -460,6 +500,7 @@ export interface UpdateDataAccessorRequest {
|
|
|
460
500
|
applicationId: string | undefined;
|
|
461
501
|
dataAccessorId: string | undefined;
|
|
462
502
|
actionConfigurations: ActionConfiguration[] | undefined;
|
|
503
|
+
authenticationDetail?: DataAccessorAuthenticationDetail | undefined;
|
|
463
504
|
displayName?: string | undefined;
|
|
464
505
|
}
|
|
465
506
|
export declare const ChatInputStreamFilterSensitiveLog: (
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-qbusiness",
|
|
3
3
|
"description": "AWS SDK for JavaScript Qbusiness Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.838.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-qbusiness",
|