@aws-sdk/client-qbusiness 3.738.0 → 3.741.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 +32 -0
- package/dist-cjs/index.js +220 -8
- package/dist-es/QBusiness.js +8 -0
- package/dist-es/commands/CancelSubscriptionCommand.js +22 -0
- package/dist-es/commands/CreateSubscriptionCommand.js +22 -0
- package/dist-es/commands/ListSubscriptionsCommand.js +22 -0
- package/dist-es/commands/UpdateSubscriptionCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +10 -7
- package/dist-es/models/models_1.js +7 -0
- package/dist-es/pagination/ListSubscriptionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +118 -0
- package/dist-types/QBusiness.d.ts +28 -0
- package/dist-types/QBusinessClient.d.ts +6 -2
- package/dist-types/commands/AssociatePermissionCommand.d.ts +3 -3
- package/dist-types/commands/CancelSubscriptionCommand.d.ts +100 -0
- package/dist-types/commands/CreateDataAccessorCommand.d.ts +4 -4
- package/dist-types/commands/CreateSubscriptionCommand.d.ts +113 -0
- package/dist-types/commands/DeleteDataAccessorCommand.d.ts +1 -1
- package/dist-types/commands/DisassociatePermissionCommand.d.ts +1 -1
- package/dist-types/commands/GetDataAccessorCommand.d.ts +1 -1
- package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
- package/dist-types/commands/ListDataAccessorsCommand.d.ts +1 -1
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +113 -0
- package/dist-types/commands/PutGroupCommand.d.ts +5 -1
- package/dist-types/commands/SearchRelevantContentCommand.d.ts +3 -4
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +1 -2
- package/dist-types/commands/UpdateSubscriptionCommand.d.ts +106 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +234 -203
- package/dist-types/models/models_1.d.ts +241 -7
- package/dist-types/pagination/ListSubscriptionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/QBusiness.d.ts +68 -0
- package/dist-types/ts3.4/QBusinessClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CancelSubscriptionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateSubscriptionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchRelevantContentCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdateSubscriptionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +67 -48
- package/dist-types/ts3.4/models/models_1.d.ts +63 -0
- package/dist-types/ts3.4/pagination/ListSubscriptionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +2 -2
|
@@ -1082,7 +1082,7 @@ export interface CreateDataAccessorResponse {
|
|
|
1082
1082
|
*/
|
|
1083
1083
|
dataAccessorId: string | undefined;
|
|
1084
1084
|
/**
|
|
1085
|
-
* <p>The Amazon Resource Name (ARN) of the
|
|
1085
|
+
* <p>The Amazon Resource Name (ARN) of the IAM Identity Center application created for this data accessor.</p>
|
|
1086
1086
|
* @public
|
|
1087
1087
|
*/
|
|
1088
1088
|
idcApplicationArn: string | undefined;
|
|
@@ -1097,7 +1097,7 @@ export interface CreateDataAccessorResponse {
|
|
|
1097
1097
|
*/
|
|
1098
1098
|
export interface DeleteDataAccessorRequest {
|
|
1099
1099
|
/**
|
|
1100
|
-
* <p>The unique identifier of the Q Business application.</p>
|
|
1100
|
+
* <p>The unique identifier of the Amazon Q Business application.</p>
|
|
1101
1101
|
* @public
|
|
1102
1102
|
*/
|
|
1103
1103
|
applicationId: string | undefined;
|
|
@@ -1117,7 +1117,7 @@ export interface DeleteDataAccessorResponse {
|
|
|
1117
1117
|
*/
|
|
1118
1118
|
export interface GetDataAccessorRequest {
|
|
1119
1119
|
/**
|
|
1120
|
-
* <p>The unique identifier of the Q Business application.</p>
|
|
1120
|
+
* <p>The unique identifier of the Amazon Q Business application.</p>
|
|
1121
1121
|
* @public
|
|
1122
1122
|
*/
|
|
1123
1123
|
applicationId: string | undefined;
|
|
@@ -1132,7 +1132,7 @@ export interface GetDataAccessorRequest {
|
|
|
1132
1132
|
*/
|
|
1133
1133
|
export interface ListDataAccessorsRequest {
|
|
1134
1134
|
/**
|
|
1135
|
-
* <p>The unique identifier of the Q Business application.</p>
|
|
1135
|
+
* <p>The unique identifier of the Amazon Q Business application.</p>
|
|
1136
1136
|
* @public
|
|
1137
1137
|
*/
|
|
1138
1138
|
applicationId: string | undefined;
|
|
@@ -1168,7 +1168,7 @@ export interface DataAccessor {
|
|
|
1168
1168
|
*/
|
|
1169
1169
|
dataAccessorArn?: string | undefined;
|
|
1170
1170
|
/**
|
|
1171
|
-
* <p>The Amazon Resource Name (ARN) of the associated
|
|
1171
|
+
* <p>The Amazon Resource Name (ARN) of the associated IAM Identity Center application.</p>
|
|
1172
1172
|
* @public
|
|
1173
1173
|
*/
|
|
1174
1174
|
idcApplicationArn?: string | undefined;
|
|
@@ -4458,7 +4458,7 @@ export interface AppliedCreatorModeConfiguration {
|
|
|
4458
4458
|
*/
|
|
4459
4459
|
export interface AssociatePermissionRequest {
|
|
4460
4460
|
/**
|
|
4461
|
-
* <p>The unique identifier of the Q Business application.</p>
|
|
4461
|
+
* <p>The unique identifier of the Amazon Q Business application.</p>
|
|
4462
4462
|
* @public
|
|
4463
4463
|
*/
|
|
4464
4464
|
applicationId: string | undefined;
|
|
@@ -4468,12 +4468,12 @@ export interface AssociatePermissionRequest {
|
|
|
4468
4468
|
*/
|
|
4469
4469
|
statementId: string | undefined;
|
|
4470
4470
|
/**
|
|
4471
|
-
* <p>The list of Q Business actions that the ISV is allowed to perform.</p>
|
|
4471
|
+
* <p>The list of Amazon Q Business actions that the ISV is allowed to perform.</p>
|
|
4472
4472
|
* @public
|
|
4473
4473
|
*/
|
|
4474
4474
|
actions: string[] | undefined;
|
|
4475
4475
|
/**
|
|
4476
|
-
* <p>The Amazon Resource Name
|
|
4476
|
+
* <p>The Amazon Resource Name of the IAM role for the ISV that is being granted permission.</p>
|
|
4477
4477
|
* @public
|
|
4478
4478
|
*/
|
|
4479
4479
|
principal: string | undefined;
|
|
@@ -4994,6 +4994,54 @@ export interface BlockedPhrasesConfigurationUpdate {
|
|
|
4994
4994
|
*/
|
|
4995
4995
|
systemMessageOverride?: string | undefined;
|
|
4996
4996
|
}
|
|
4997
|
+
/**
|
|
4998
|
+
* @public
|
|
4999
|
+
*/
|
|
5000
|
+
export interface CancelSubscriptionRequest {
|
|
5001
|
+
/**
|
|
5002
|
+
* <p>The identifier of the Amazon Q Business application for which the subscription is being
|
|
5003
|
+
* cancelled.</p>
|
|
5004
|
+
* @public
|
|
5005
|
+
*/
|
|
5006
|
+
applicationId: string | undefined;
|
|
5007
|
+
/**
|
|
5008
|
+
* <p>The identifier of the Amazon Q Business subscription being cancelled.</p>
|
|
5009
|
+
* @public
|
|
5010
|
+
*/
|
|
5011
|
+
subscriptionId: string | undefined;
|
|
5012
|
+
}
|
|
5013
|
+
/**
|
|
5014
|
+
* <p> The details of an Amazon Q Business subscription. </p>
|
|
5015
|
+
* @public
|
|
5016
|
+
*/
|
|
5017
|
+
export interface SubscriptionDetails {
|
|
5018
|
+
/**
|
|
5019
|
+
* <p> The type of an Amazon Q Business subscription. </p>
|
|
5020
|
+
* @public
|
|
5021
|
+
*/
|
|
5022
|
+
type?: SubscriptionType | undefined;
|
|
5023
|
+
}
|
|
5024
|
+
/**
|
|
5025
|
+
* @public
|
|
5026
|
+
*/
|
|
5027
|
+
export interface CancelSubscriptionResponse {
|
|
5028
|
+
/**
|
|
5029
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Q Business subscription being
|
|
5030
|
+
* cancelled.</p>
|
|
5031
|
+
* @public
|
|
5032
|
+
*/
|
|
5033
|
+
subscriptionArn?: string | undefined;
|
|
5034
|
+
/**
|
|
5035
|
+
* <p>The type of your current Amazon Q Business subscription.</p>
|
|
5036
|
+
* @public
|
|
5037
|
+
*/
|
|
5038
|
+
currentSubscription?: SubscriptionDetails | undefined;
|
|
5039
|
+
/**
|
|
5040
|
+
* <p>The type of the Amazon Q Business subscription for the next month.</p>
|
|
5041
|
+
* @public
|
|
5042
|
+
*/
|
|
5043
|
+
nextSubscription?: SubscriptionDetails | undefined;
|
|
5044
|
+
}
|
|
4997
5045
|
/**
|
|
4998
5046
|
* @public
|
|
4999
5047
|
* @enum
|
|
@@ -5529,6 +5577,104 @@ export interface Conversation {
|
|
|
5529
5577
|
*/
|
|
5530
5578
|
startTime?: Date | undefined;
|
|
5531
5579
|
}
|
|
5580
|
+
/**
|
|
5581
|
+
* <p>A user or group in the IAM Identity Center instance connected to the Amazon Q Business
|
|
5582
|
+
* application.</p>
|
|
5583
|
+
* @public
|
|
5584
|
+
*/
|
|
5585
|
+
export type SubscriptionPrincipal = SubscriptionPrincipal.GroupMember | SubscriptionPrincipal.UserMember | SubscriptionPrincipal.$UnknownMember;
|
|
5586
|
+
/**
|
|
5587
|
+
* @public
|
|
5588
|
+
*/
|
|
5589
|
+
export declare namespace SubscriptionPrincipal {
|
|
5590
|
+
/**
|
|
5591
|
+
* <p>The identifier of a user in the IAM Identity Center instance connected to the
|
|
5592
|
+
* Amazon Q Business application.</p>
|
|
5593
|
+
* @public
|
|
5594
|
+
*/
|
|
5595
|
+
interface UserMember {
|
|
5596
|
+
user: string;
|
|
5597
|
+
group?: never;
|
|
5598
|
+
$unknown?: never;
|
|
5599
|
+
}
|
|
5600
|
+
/**
|
|
5601
|
+
* <p>The identifier of a group in the IAM Identity Center instance connected to the
|
|
5602
|
+
* Amazon Q Business application.</p>
|
|
5603
|
+
* @public
|
|
5604
|
+
*/
|
|
5605
|
+
interface GroupMember {
|
|
5606
|
+
user?: never;
|
|
5607
|
+
group: string;
|
|
5608
|
+
$unknown?: never;
|
|
5609
|
+
}
|
|
5610
|
+
/**
|
|
5611
|
+
* @public
|
|
5612
|
+
*/
|
|
5613
|
+
interface $UnknownMember {
|
|
5614
|
+
user?: never;
|
|
5615
|
+
group?: never;
|
|
5616
|
+
$unknown: [string, any];
|
|
5617
|
+
}
|
|
5618
|
+
interface Visitor<T> {
|
|
5619
|
+
user: (value: string) => T;
|
|
5620
|
+
group: (value: string) => T;
|
|
5621
|
+
_: (name: string, value: any) => T;
|
|
5622
|
+
}
|
|
5623
|
+
const visit: <T>(value: SubscriptionPrincipal, visitor: Visitor<T>) => T;
|
|
5624
|
+
}
|
|
5625
|
+
/**
|
|
5626
|
+
* @public
|
|
5627
|
+
*/
|
|
5628
|
+
export interface CreateSubscriptionRequest {
|
|
5629
|
+
/**
|
|
5630
|
+
* <p>The identifier of the Amazon Q Business application the subscription should be added
|
|
5631
|
+
* to.</p>
|
|
5632
|
+
* @public
|
|
5633
|
+
*/
|
|
5634
|
+
applicationId: string | undefined;
|
|
5635
|
+
/**
|
|
5636
|
+
* <p>The IAM Identity Center <code>UserId</code> or <code>GroupId</code> of a user or group
|
|
5637
|
+
* in the IAM Identity Center instance connected to the Amazon Q Business application.</p>
|
|
5638
|
+
* @public
|
|
5639
|
+
*/
|
|
5640
|
+
principal: SubscriptionPrincipal | undefined;
|
|
5641
|
+
/**
|
|
5642
|
+
* <p>The type of Amazon Q Business subscription you want to create.</p>
|
|
5643
|
+
* @public
|
|
5644
|
+
*/
|
|
5645
|
+
type: SubscriptionType | undefined;
|
|
5646
|
+
/**
|
|
5647
|
+
* <p>A token that you provide to identify the request to create a subscription for your
|
|
5648
|
+
* Amazon Q Business application.</p>
|
|
5649
|
+
* @public
|
|
5650
|
+
*/
|
|
5651
|
+
clientToken?: string | undefined;
|
|
5652
|
+
}
|
|
5653
|
+
/**
|
|
5654
|
+
* @public
|
|
5655
|
+
*/
|
|
5656
|
+
export interface CreateSubscriptionResponse {
|
|
5657
|
+
/**
|
|
5658
|
+
* <p>The identifier of the Amazon Q Business subscription created.</p>
|
|
5659
|
+
* @public
|
|
5660
|
+
*/
|
|
5661
|
+
subscriptionId?: string | undefined;
|
|
5662
|
+
/**
|
|
5663
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Q Business subscription created.</p>
|
|
5664
|
+
* @public
|
|
5665
|
+
*/
|
|
5666
|
+
subscriptionArn?: string | undefined;
|
|
5667
|
+
/**
|
|
5668
|
+
* <p>The type of your current Amazon Q Business subscription.</p>
|
|
5669
|
+
* @public
|
|
5670
|
+
*/
|
|
5671
|
+
currentSubscription?: SubscriptionDetails | undefined;
|
|
5672
|
+
/**
|
|
5673
|
+
* <p>The type of the Amazon Q Business subscription for the next month.</p>
|
|
5674
|
+
* @public
|
|
5675
|
+
*/
|
|
5676
|
+
nextSubscription?: SubscriptionDetails | undefined;
|
|
5677
|
+
}
|
|
5532
5678
|
/**
|
|
5533
5679
|
* <p>Aliases attached to a user id within an Amazon Q Business application.</p>
|
|
5534
5680
|
* @public
|
|
@@ -5800,7 +5946,7 @@ export interface DeleteUserResponse {
|
|
|
5800
5946
|
*/
|
|
5801
5947
|
export interface DisassociatePermissionRequest {
|
|
5802
5948
|
/**
|
|
5803
|
-
* <p>The unique identifier of the Q Business application.</p>
|
|
5949
|
+
* <p>The unique identifier of the Amazon Q Business application.</p>
|
|
5804
5950
|
* @public
|
|
5805
5951
|
*/
|
|
5806
5952
|
applicationId: string | undefined;
|
|
@@ -6196,7 +6342,7 @@ export declare class MediaTooLargeException extends __BaseException {
|
|
|
6196
6342
|
*/
|
|
6197
6343
|
export interface GetPolicyRequest {
|
|
6198
6344
|
/**
|
|
6199
|
-
* <p>The unique identifier of the Q Business application.</p>
|
|
6345
|
+
* <p>The unique identifier of the Amazon Q Business application.</p>
|
|
6200
6346
|
* @public
|
|
6201
6347
|
*/
|
|
6202
6348
|
applicationId: string | undefined;
|
|
@@ -6766,6 +6912,84 @@ export interface ListPluginTypeMetadataResponse {
|
|
|
6766
6912
|
*/
|
|
6767
6913
|
items?: PluginTypeMetadataSummary[] | undefined;
|
|
6768
6914
|
}
|
|
6915
|
+
/**
|
|
6916
|
+
* @public
|
|
6917
|
+
*/
|
|
6918
|
+
export interface ListSubscriptionsRequest {
|
|
6919
|
+
/**
|
|
6920
|
+
* <p>The identifier of the Amazon Q Business application linked to the subscription.</p>
|
|
6921
|
+
* @public
|
|
6922
|
+
*/
|
|
6923
|
+
applicationId: string | undefined;
|
|
6924
|
+
/**
|
|
6925
|
+
* <p>If the <code>maxResults</code> response was incomplete because there is more data to
|
|
6926
|
+
* retrieve, Amazon Q Business returns a pagination token in the response. You can use this
|
|
6927
|
+
* pagination token to retrieve the next set of Amazon Q Business subscriptions.</p>
|
|
6928
|
+
* @public
|
|
6929
|
+
*/
|
|
6930
|
+
nextToken?: string | undefined;
|
|
6931
|
+
/**
|
|
6932
|
+
* <p>The maximum number of Amazon Q Business subscriptions to return.</p>
|
|
6933
|
+
* @public
|
|
6934
|
+
*/
|
|
6935
|
+
maxResults?: number | undefined;
|
|
6936
|
+
}
|
|
6937
|
+
/**
|
|
6938
|
+
* <p>Information about an Amazon Q Business subscription.</p>
|
|
6939
|
+
* <p>Subscriptions are used to provide access for an IAM Identity Center user or a group to
|
|
6940
|
+
* an Amazon Q Business application.</p>
|
|
6941
|
+
* <p>Amazon Q Business offers two subscription tiers: <code>Q_LITE</code> and
|
|
6942
|
+
* <code>Q_BUSINESS</code>. Subscription tier determines feature access for the user.
|
|
6943
|
+
* For more information on subscriptions and pricing tiers, see <a href="https://aws.amazon.com/q/business/pricing/">Amazon Q Business
|
|
6944
|
+
* pricing</a>.</p>
|
|
6945
|
+
* @public
|
|
6946
|
+
*/
|
|
6947
|
+
export interface Subscription {
|
|
6948
|
+
/**
|
|
6949
|
+
* <p>The identifier of the Amazon Q Business subscription to be updated.</p>
|
|
6950
|
+
* @public
|
|
6951
|
+
*/
|
|
6952
|
+
subscriptionId?: string | undefined;
|
|
6953
|
+
/**
|
|
6954
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Q Business subscription that was
|
|
6955
|
+
* updated.</p>
|
|
6956
|
+
* @public
|
|
6957
|
+
*/
|
|
6958
|
+
subscriptionArn?: string | undefined;
|
|
6959
|
+
/**
|
|
6960
|
+
* <p>The IAM Identity Center <code>UserId</code> or <code>GroupId</code> of a user or group
|
|
6961
|
+
* in the IAM Identity Center instance connected to the Amazon Q Business application.</p>
|
|
6962
|
+
* @public
|
|
6963
|
+
*/
|
|
6964
|
+
principal?: SubscriptionPrincipal | undefined;
|
|
6965
|
+
/**
|
|
6966
|
+
* <p>The type of your current Amazon Q Business subscription.</p>
|
|
6967
|
+
* @public
|
|
6968
|
+
*/
|
|
6969
|
+
currentSubscription?: SubscriptionDetails | undefined;
|
|
6970
|
+
/**
|
|
6971
|
+
* <p>The type of the Amazon Q Business subscription for the next month.</p>
|
|
6972
|
+
* @public
|
|
6973
|
+
*/
|
|
6974
|
+
nextSubscription?: SubscriptionDetails | undefined;
|
|
6975
|
+
}
|
|
6976
|
+
/**
|
|
6977
|
+
* @public
|
|
6978
|
+
*/
|
|
6979
|
+
export interface ListSubscriptionsResponse {
|
|
6980
|
+
/**
|
|
6981
|
+
* <p>If the response is truncated, Amazon Q Business returns this token. You can use this token
|
|
6982
|
+
* in a subsequent request to retrieve the next set of subscriptions.</p>
|
|
6983
|
+
* @public
|
|
6984
|
+
*/
|
|
6985
|
+
nextToken?: string | undefined;
|
|
6986
|
+
/**
|
|
6987
|
+
* <p>An array of summary information on the subscriptions configured for an Amazon Q Business
|
|
6988
|
+
* application.</p>
|
|
6989
|
+
* @public
|
|
6990
|
+
*/
|
|
6991
|
+
subscriptions?: Subscription[] | undefined;
|
|
6992
|
+
}
|
|
6769
6993
|
/**
|
|
6770
6994
|
* @public
|
|
6771
6995
|
*/
|
|
@@ -6899,199 +7123,6 @@ export interface MemberGroup {
|
|
|
6899
7123
|
*/
|
|
6900
7124
|
type?: MembershipType | undefined;
|
|
6901
7125
|
}
|
|
6902
|
-
/**
|
|
6903
|
-
* <p>The users that belong to a group.</p>
|
|
6904
|
-
* @public
|
|
6905
|
-
*/
|
|
6906
|
-
export interface MemberUser {
|
|
6907
|
-
/**
|
|
6908
|
-
* <p>The identifier of the user you want to map to a group.</p>
|
|
6909
|
-
* @public
|
|
6910
|
-
*/
|
|
6911
|
-
userId: string | undefined;
|
|
6912
|
-
/**
|
|
6913
|
-
* <p>The type of the user.</p>
|
|
6914
|
-
* @public
|
|
6915
|
-
*/
|
|
6916
|
-
type?: MembershipType | undefined;
|
|
6917
|
-
}
|
|
6918
|
-
/**
|
|
6919
|
-
* <p>A list of users or sub groups that belong to a group. This is for generating
|
|
6920
|
-
* Amazon Q Business chat results only from document a user has access to.</p>
|
|
6921
|
-
* @public
|
|
6922
|
-
*/
|
|
6923
|
-
export interface GroupMembers {
|
|
6924
|
-
/**
|
|
6925
|
-
* <p>A list of sub groups that belong to a group. For example, the sub groups "Research",
|
|
6926
|
-
* "Engineering", and "Sales and Marketing" all belong to the group "Company".</p>
|
|
6927
|
-
* @public
|
|
6928
|
-
*/
|
|
6929
|
-
memberGroups?: MemberGroup[] | undefined;
|
|
6930
|
-
/**
|
|
6931
|
-
* <p>A list of users that belong to a group. For example, a list of interns all belong to
|
|
6932
|
-
* the "Interns" group.</p>
|
|
6933
|
-
* @public
|
|
6934
|
-
*/
|
|
6935
|
-
memberUsers?: MemberUser[] | undefined;
|
|
6936
|
-
/**
|
|
6937
|
-
* <p>Information required for Amazon Q Business to find a specific file in an Amazon S3
|
|
6938
|
-
* bucket.</p>
|
|
6939
|
-
* @public
|
|
6940
|
-
*/
|
|
6941
|
-
s3PathForGroupMembers?: S3 | undefined;
|
|
6942
|
-
}
|
|
6943
|
-
/**
|
|
6944
|
-
* @public
|
|
6945
|
-
*/
|
|
6946
|
-
export interface PutGroupRequest {
|
|
6947
|
-
/**
|
|
6948
|
-
* <p>The identifier of the application in which the user and group mapping belongs.</p>
|
|
6949
|
-
* @public
|
|
6950
|
-
*/
|
|
6951
|
-
applicationId: string | undefined;
|
|
6952
|
-
/**
|
|
6953
|
-
* <p>The identifier of the index in which you want to map users to their groups.</p>
|
|
6954
|
-
* @public
|
|
6955
|
-
*/
|
|
6956
|
-
indexId: string | undefined;
|
|
6957
|
-
/**
|
|
6958
|
-
* <p>The list that contains your users or sub groups that belong the same group. For
|
|
6959
|
-
* example, the group "Company" includes the user "CEO" and the sub groups "Research",
|
|
6960
|
-
* "Engineering", and "Sales and Marketing".</p>
|
|
6961
|
-
* @public
|
|
6962
|
-
*/
|
|
6963
|
-
groupName: string | undefined;
|
|
6964
|
-
/**
|
|
6965
|
-
* <p>The identifier of the data source for which you want to map users to their groups.
|
|
6966
|
-
* This is useful if a group is tied to multiple data sources, but you only want the group
|
|
6967
|
-
* to access documents of a certain data source. For example, the groups "Research",
|
|
6968
|
-
* "Engineering", and "Sales and Marketing" are all tied to the company's documents stored
|
|
6969
|
-
* in the data sources Confluence and Salesforce. However, "Sales and Marketing" team only
|
|
6970
|
-
* needs access to customer-related documents stored in Salesforce.</p>
|
|
6971
|
-
* @public
|
|
6972
|
-
*/
|
|
6973
|
-
dataSourceId?: string | undefined;
|
|
6974
|
-
/**
|
|
6975
|
-
* <p>The type of the group.</p>
|
|
6976
|
-
* @public
|
|
6977
|
-
*/
|
|
6978
|
-
type: MembershipType | undefined;
|
|
6979
|
-
/**
|
|
6980
|
-
* <p>A list of users or sub groups that belong to a group. This is for generating
|
|
6981
|
-
* Amazon Q Business chat results only from document a user has access to.</p>
|
|
6982
|
-
* @public
|
|
6983
|
-
*/
|
|
6984
|
-
groupMembers: GroupMembers | undefined;
|
|
6985
|
-
/**
|
|
6986
|
-
* <p>The Amazon Resource Name (ARN) of an IAM role that has access to the S3 file that contains
|
|
6987
|
-
* your list of users that belong to a group.The Amazon Resource Name (ARN) of an IAM role that
|
|
6988
|
-
* has access to the S3 file that contains your list of users that belong to a group.</p>
|
|
6989
|
-
* @public
|
|
6990
|
-
*/
|
|
6991
|
-
roleArn?: string | undefined;
|
|
6992
|
-
}
|
|
6993
|
-
/**
|
|
6994
|
-
* @public
|
|
6995
|
-
*/
|
|
6996
|
-
export interface PutGroupResponse {
|
|
6997
|
-
}
|
|
6998
|
-
/**
|
|
6999
|
-
* @public
|
|
7000
|
-
* @enum
|
|
7001
|
-
*/
|
|
7002
|
-
export declare const ScoreConfidence: {
|
|
7003
|
-
readonly HIGH: "HIGH";
|
|
7004
|
-
readonly LOW: "LOW";
|
|
7005
|
-
readonly MEDIUM: "MEDIUM";
|
|
7006
|
-
readonly NOT_AVAILABLE: "NOT_AVAILABLE";
|
|
7007
|
-
readonly VERY_HIGH: "VERY_HIGH";
|
|
7008
|
-
};
|
|
7009
|
-
/**
|
|
7010
|
-
* @public
|
|
7011
|
-
*/
|
|
7012
|
-
export type ScoreConfidence = (typeof ScoreConfidence)[keyof typeof ScoreConfidence];
|
|
7013
|
-
/**
|
|
7014
|
-
* <p>Provides information about the relevance score of content.</p>
|
|
7015
|
-
* @public
|
|
7016
|
-
*/
|
|
7017
|
-
export interface ScoreAttributes {
|
|
7018
|
-
/**
|
|
7019
|
-
* <p>The confidence level of the relevance score.</p>
|
|
7020
|
-
* @public
|
|
7021
|
-
*/
|
|
7022
|
-
scoreConfidence?: ScoreConfidence | undefined;
|
|
7023
|
-
}
|
|
7024
|
-
/**
|
|
7025
|
-
* <p>Represents a piece of content that is relevant to a search query.</p>
|
|
7026
|
-
* @public
|
|
7027
|
-
*/
|
|
7028
|
-
export interface RelevantContent {
|
|
7029
|
-
/**
|
|
7030
|
-
* <p>The actual content of the relevant item.</p>
|
|
7031
|
-
* @public
|
|
7032
|
-
*/
|
|
7033
|
-
content?: string | undefined;
|
|
7034
|
-
/**
|
|
7035
|
-
* <p>The unique identifier of the document containing the relevant content.</p>
|
|
7036
|
-
* @public
|
|
7037
|
-
*/
|
|
7038
|
-
documentId?: string | undefined;
|
|
7039
|
-
/**
|
|
7040
|
-
* <p>The title of the document containing the relevant content.</p>
|
|
7041
|
-
* @public
|
|
7042
|
-
*/
|
|
7043
|
-
documentTitle?: string | undefined;
|
|
7044
|
-
/**
|
|
7045
|
-
* <p>The URI of the document containing the relevant content.</p>
|
|
7046
|
-
* @public
|
|
7047
|
-
*/
|
|
7048
|
-
documentUri?: string | undefined;
|
|
7049
|
-
/**
|
|
7050
|
-
* <p>Additional attributes of the document containing the relevant content.</p>
|
|
7051
|
-
* @public
|
|
7052
|
-
*/
|
|
7053
|
-
documentAttributes?: DocumentAttribute[] | undefined;
|
|
7054
|
-
/**
|
|
7055
|
-
* <p>Attributes related to the relevance score of the content.</p>
|
|
7056
|
-
* @public
|
|
7057
|
-
*/
|
|
7058
|
-
scoreAttributes?: ScoreAttributes | undefined;
|
|
7059
|
-
}
|
|
7060
|
-
/**
|
|
7061
|
-
* @public
|
|
7062
|
-
*/
|
|
7063
|
-
export interface SearchRelevantContentResponse {
|
|
7064
|
-
/**
|
|
7065
|
-
* <p>The list of relevant content items found.</p>
|
|
7066
|
-
* @public
|
|
7067
|
-
*/
|
|
7068
|
-
relevantContent?: RelevantContent[] | undefined;
|
|
7069
|
-
/**
|
|
7070
|
-
* <p>The token to use to retrieve the next set of results, if there are any.</p>
|
|
7071
|
-
* @public
|
|
7072
|
-
*/
|
|
7073
|
-
nextToken?: string | undefined;
|
|
7074
|
-
}
|
|
7075
|
-
/**
|
|
7076
|
-
* @public
|
|
7077
|
-
*/
|
|
7078
|
-
export interface StartDataSourceSyncJobRequest {
|
|
7079
|
-
/**
|
|
7080
|
-
* <p> The identifier of the data source connector. </p>
|
|
7081
|
-
* @public
|
|
7082
|
-
*/
|
|
7083
|
-
dataSourceId: string | undefined;
|
|
7084
|
-
/**
|
|
7085
|
-
* <p>The identifier of Amazon Q Business application the data source is connected to.</p>
|
|
7086
|
-
* @public
|
|
7087
|
-
*/
|
|
7088
|
-
applicationId: string | undefined;
|
|
7089
|
-
/**
|
|
7090
|
-
* <p>The identifier of the index used with the data source connector.</p>
|
|
7091
|
-
* @public
|
|
7092
|
-
*/
|
|
7093
|
-
indexId: string | undefined;
|
|
7094
|
-
}
|
|
7095
7126
|
/**
|
|
7096
7127
|
* @internal
|
|
7097
7128
|
*/
|