@aws-sdk/client-qbusiness 3.758.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/dist-cjs/index.js +61 -23
- package/dist-es/models/models_0.js +28 -21
- package/dist-es/models/models_1.js +21 -0
- 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/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/models/models_0.d.ts +223 -190
- package/dist-types/models/models_1.d.ts +191 -1
- 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/models/models_0.d.ts +89 -60
- package/dist-types/ts3.4/models/models_1.d.ts +62 -1
- package/package.json +1 -1
|
@@ -1789,6 +1789,29 @@ export interface DocumentEnrichmentConfiguration {
|
|
|
1789
1789
|
*/
|
|
1790
1790
|
postExtractionHookConfiguration?: HookConfiguration | undefined;
|
|
1791
1791
|
}
|
|
1792
|
+
/**
|
|
1793
|
+
* @public
|
|
1794
|
+
* @enum
|
|
1795
|
+
*/
|
|
1796
|
+
export declare const AudioExtractionStatus: {
|
|
1797
|
+
readonly DISABLED: "DISABLED";
|
|
1798
|
+
readonly ENABLED: "ENABLED";
|
|
1799
|
+
};
|
|
1800
|
+
/**
|
|
1801
|
+
* @public
|
|
1802
|
+
*/
|
|
1803
|
+
export type AudioExtractionStatus = (typeof AudioExtractionStatus)[keyof typeof AudioExtractionStatus];
|
|
1804
|
+
/**
|
|
1805
|
+
* <p>Configuration settings for audio content extraction and processing.</p>
|
|
1806
|
+
* @public
|
|
1807
|
+
*/
|
|
1808
|
+
export interface AudioExtractionConfiguration {
|
|
1809
|
+
/**
|
|
1810
|
+
* <p>The status of audio extraction (ENABLED or DISABLED) for processing audio content from files.</p>
|
|
1811
|
+
* @public
|
|
1812
|
+
*/
|
|
1813
|
+
audioExtractionStatus: AudioExtractionStatus | undefined;
|
|
1814
|
+
}
|
|
1792
1815
|
/**
|
|
1793
1816
|
* @public
|
|
1794
1817
|
* @enum
|
|
@@ -1812,6 +1835,29 @@ export interface ImageExtractionConfiguration {
|
|
|
1812
1835
|
*/
|
|
1813
1836
|
imageExtractionStatus: ImageExtractionStatus | undefined;
|
|
1814
1837
|
}
|
|
1838
|
+
/**
|
|
1839
|
+
* @public
|
|
1840
|
+
* @enum
|
|
1841
|
+
*/
|
|
1842
|
+
export declare const VideoExtractionStatus: {
|
|
1843
|
+
readonly DISABLED: "DISABLED";
|
|
1844
|
+
readonly ENABLED: "ENABLED";
|
|
1845
|
+
};
|
|
1846
|
+
/**
|
|
1847
|
+
* @public
|
|
1848
|
+
*/
|
|
1849
|
+
export type VideoExtractionStatus = (typeof VideoExtractionStatus)[keyof typeof VideoExtractionStatus];
|
|
1850
|
+
/**
|
|
1851
|
+
* <p>Configuration settings for video content extraction and processing.</p>
|
|
1852
|
+
* @public
|
|
1853
|
+
*/
|
|
1854
|
+
export interface VideoExtractionConfiguration {
|
|
1855
|
+
/**
|
|
1856
|
+
* <p>The status of video extraction (ENABLED or DISABLED) for processing video content from files.</p>
|
|
1857
|
+
* @public
|
|
1858
|
+
*/
|
|
1859
|
+
videoExtractionStatus: VideoExtractionStatus | undefined;
|
|
1860
|
+
}
|
|
1815
1861
|
/**
|
|
1816
1862
|
* <p>The configuration for extracting information from media in documents.</p>
|
|
1817
1863
|
* @public
|
|
@@ -1823,6 +1869,16 @@ export interface MediaExtractionConfiguration {
|
|
|
1823
1869
|
* @public
|
|
1824
1870
|
*/
|
|
1825
1871
|
imageExtractionConfiguration?: ImageExtractionConfiguration | undefined;
|
|
1872
|
+
/**
|
|
1873
|
+
* <p>Configuration settings for extracting and processing audio content from media files.</p>
|
|
1874
|
+
* @public
|
|
1875
|
+
*/
|
|
1876
|
+
audioExtractionConfiguration?: AudioExtractionConfiguration | undefined;
|
|
1877
|
+
/**
|
|
1878
|
+
* <p>Configuration settings for extracting and processing video content from media files.</p>
|
|
1879
|
+
* @public
|
|
1880
|
+
*/
|
|
1881
|
+
videoExtractionConfiguration?: VideoExtractionConfiguration | undefined;
|
|
1826
1882
|
}
|
|
1827
1883
|
/**
|
|
1828
1884
|
* <p>Provides configuration information needed to connect to an Amazon VPC (Virtual
|
|
@@ -4693,6 +4749,49 @@ export interface AttachmentOutput {
|
|
|
4693
4749
|
*/
|
|
4694
4750
|
conversationId?: string | undefined;
|
|
4695
4751
|
}
|
|
4752
|
+
/**
|
|
4753
|
+
* @public
|
|
4754
|
+
* @enum
|
|
4755
|
+
*/
|
|
4756
|
+
export declare const AudioExtractionType: {
|
|
4757
|
+
readonly SUMMARY: "SUMMARY";
|
|
4758
|
+
readonly TRANSCRIPT: "TRANSCRIPT";
|
|
4759
|
+
};
|
|
4760
|
+
/**
|
|
4761
|
+
* @public
|
|
4762
|
+
*/
|
|
4763
|
+
export type AudioExtractionType = (typeof AudioExtractionType)[keyof typeof AudioExtractionType];
|
|
4764
|
+
/**
|
|
4765
|
+
* <p>Details about an audio source, including its identifier, format, and time information.</p>
|
|
4766
|
+
* @public
|
|
4767
|
+
*/
|
|
4768
|
+
export interface AudioSourceDetails {
|
|
4769
|
+
/**
|
|
4770
|
+
* <p>Unique identifier for the audio media file.</p>
|
|
4771
|
+
* @public
|
|
4772
|
+
*/
|
|
4773
|
+
mediaId?: string | undefined;
|
|
4774
|
+
/**
|
|
4775
|
+
* <p>The MIME type of the audio file (e.g., audio/mp3, audio/wav).</p>
|
|
4776
|
+
* @public
|
|
4777
|
+
*/
|
|
4778
|
+
mediaMimeType?: string | undefined;
|
|
4779
|
+
/**
|
|
4780
|
+
* <p>The starting timestamp in milliseconds for the relevant audio segment.</p>
|
|
4781
|
+
* @public
|
|
4782
|
+
*/
|
|
4783
|
+
startTimeMilliseconds?: number | undefined;
|
|
4784
|
+
/**
|
|
4785
|
+
* <p>The ending timestamp in milliseconds for the relevant audio segment.</p>
|
|
4786
|
+
* @public
|
|
4787
|
+
*/
|
|
4788
|
+
endTimeMilliseconds?: number | undefined;
|
|
4789
|
+
/**
|
|
4790
|
+
* <p>The type of audio extraction performed on the content.</p>
|
|
4791
|
+
* @public
|
|
4792
|
+
*/
|
|
4793
|
+
audioExtractionType?: AudioExtractionType | undefined;
|
|
4794
|
+
}
|
|
4696
4795
|
/**
|
|
4697
4796
|
* <p>A request made by Amazon Q Business to a third paty authentication server to authenticate
|
|
4698
4797
|
* a custom plugin user.</p>
|
|
@@ -5182,6 +5281,121 @@ export interface SnippetExcerpt {
|
|
|
5182
5281
|
*/
|
|
5183
5282
|
text?: string | undefined;
|
|
5184
5283
|
}
|
|
5284
|
+
/**
|
|
5285
|
+
* <p>Details about an image source, including its identifier and format.</p>
|
|
5286
|
+
* @public
|
|
5287
|
+
*/
|
|
5288
|
+
export interface ImageSourceDetails {
|
|
5289
|
+
/**
|
|
5290
|
+
* <p>Unique identifier for the image file.</p>
|
|
5291
|
+
* @public
|
|
5292
|
+
*/
|
|
5293
|
+
mediaId?: string | undefined;
|
|
5294
|
+
/**
|
|
5295
|
+
* <p>The MIME type of the image file.</p>
|
|
5296
|
+
* @public
|
|
5297
|
+
*/
|
|
5298
|
+
mediaMimeType?: string | undefined;
|
|
5299
|
+
}
|
|
5300
|
+
/**
|
|
5301
|
+
* @public
|
|
5302
|
+
* @enum
|
|
5303
|
+
*/
|
|
5304
|
+
export declare const VideoExtractionType: {
|
|
5305
|
+
readonly SUMMARY: "SUMMARY";
|
|
5306
|
+
readonly TRANSCRIPT: "TRANSCRIPT";
|
|
5307
|
+
};
|
|
5308
|
+
/**
|
|
5309
|
+
* @public
|
|
5310
|
+
*/
|
|
5311
|
+
export type VideoExtractionType = (typeof VideoExtractionType)[keyof typeof VideoExtractionType];
|
|
5312
|
+
/**
|
|
5313
|
+
* <p>Details about a video source, including its identifier, format, and time information.</p>
|
|
5314
|
+
* @public
|
|
5315
|
+
*/
|
|
5316
|
+
export interface VideoSourceDetails {
|
|
5317
|
+
/**
|
|
5318
|
+
* <p>Unique identifier for the video media file.</p>
|
|
5319
|
+
* @public
|
|
5320
|
+
*/
|
|
5321
|
+
mediaId?: string | undefined;
|
|
5322
|
+
/**
|
|
5323
|
+
* <p>The MIME type of the video file (e.g., video/mp4, video/avi).</p>
|
|
5324
|
+
* @public
|
|
5325
|
+
*/
|
|
5326
|
+
mediaMimeType?: string | undefined;
|
|
5327
|
+
/**
|
|
5328
|
+
* <p>The starting timestamp in milliseconds for the relevant video segment.</p>
|
|
5329
|
+
* @public
|
|
5330
|
+
*/
|
|
5331
|
+
startTimeMilliseconds?: number | undefined;
|
|
5332
|
+
/**
|
|
5333
|
+
* <p>The ending timestamp in milliseconds for the relevant video segment.</p>
|
|
5334
|
+
* @public
|
|
5335
|
+
*/
|
|
5336
|
+
endTimeMilliseconds?: number | undefined;
|
|
5337
|
+
/**
|
|
5338
|
+
* <p>The type of video extraction performed on the content.</p>
|
|
5339
|
+
* @public
|
|
5340
|
+
*/
|
|
5341
|
+
videoExtractionType?: VideoExtractionType | undefined;
|
|
5342
|
+
}
|
|
5343
|
+
/**
|
|
5344
|
+
* <p>Container for details about different types of media sources (image, audio, or video).</p>
|
|
5345
|
+
* @public
|
|
5346
|
+
*/
|
|
5347
|
+
export type SourceDetails = SourceDetails.AudioSourceDetailsMember | SourceDetails.ImageSourceDetailsMember | SourceDetails.VideoSourceDetailsMember | SourceDetails.$UnknownMember;
|
|
5348
|
+
/**
|
|
5349
|
+
* @public
|
|
5350
|
+
*/
|
|
5351
|
+
export declare namespace SourceDetails {
|
|
5352
|
+
/**
|
|
5353
|
+
* <p>Details specific to image content within the source.</p>
|
|
5354
|
+
* @public
|
|
5355
|
+
*/
|
|
5356
|
+
interface ImageSourceDetailsMember {
|
|
5357
|
+
imageSourceDetails: ImageSourceDetails;
|
|
5358
|
+
audioSourceDetails?: never;
|
|
5359
|
+
videoSourceDetails?: never;
|
|
5360
|
+
$unknown?: never;
|
|
5361
|
+
}
|
|
5362
|
+
/**
|
|
5363
|
+
* <p>Details specific to audio content within the source.</p>
|
|
5364
|
+
* @public
|
|
5365
|
+
*/
|
|
5366
|
+
interface AudioSourceDetailsMember {
|
|
5367
|
+
imageSourceDetails?: never;
|
|
5368
|
+
audioSourceDetails: AudioSourceDetails;
|
|
5369
|
+
videoSourceDetails?: never;
|
|
5370
|
+
$unknown?: never;
|
|
5371
|
+
}
|
|
5372
|
+
/**
|
|
5373
|
+
* <p>Details specific to video content within the source.</p>
|
|
5374
|
+
* @public
|
|
5375
|
+
*/
|
|
5376
|
+
interface VideoSourceDetailsMember {
|
|
5377
|
+
imageSourceDetails?: never;
|
|
5378
|
+
audioSourceDetails?: never;
|
|
5379
|
+
videoSourceDetails: VideoSourceDetails;
|
|
5380
|
+
$unknown?: never;
|
|
5381
|
+
}
|
|
5382
|
+
/**
|
|
5383
|
+
* @public
|
|
5384
|
+
*/
|
|
5385
|
+
interface $UnknownMember {
|
|
5386
|
+
imageSourceDetails?: never;
|
|
5387
|
+
audioSourceDetails?: never;
|
|
5388
|
+
videoSourceDetails?: never;
|
|
5389
|
+
$unknown: [string, any];
|
|
5390
|
+
}
|
|
5391
|
+
interface Visitor<T> {
|
|
5392
|
+
imageSourceDetails: (value: ImageSourceDetails) => T;
|
|
5393
|
+
audioSourceDetails: (value: AudioSourceDetails) => T;
|
|
5394
|
+
videoSourceDetails: (value: VideoSourceDetails) => T;
|
|
5395
|
+
_: (name: string, value: any) => T;
|
|
5396
|
+
}
|
|
5397
|
+
const visit: <T>(value: SourceDetails, visitor: Visitor<T>) => T;
|
|
5398
|
+
}
|
|
5185
5399
|
/**
|
|
5186
5400
|
* <p>Provides information about a text extract in a chat response that can be attributed to
|
|
5187
5401
|
* a source document.</p>
|
|
@@ -5208,14 +5422,23 @@ export interface TextSegment {
|
|
|
5208
5422
|
snippetExcerpt?: SnippetExcerpt | undefined;
|
|
5209
5423
|
/**
|
|
5210
5424
|
* <p>The identifier of the media object associated with the text segment in the source attribution.</p>
|
|
5425
|
+
*
|
|
5426
|
+
* @deprecated
|
|
5211
5427
|
* @public
|
|
5212
5428
|
*/
|
|
5213
5429
|
mediaId?: string | undefined;
|
|
5214
5430
|
/**
|
|
5215
5431
|
* <p>The MIME type (image/png) of the media object associated with the text segment in the source attribution.</p>
|
|
5432
|
+
*
|
|
5433
|
+
* @deprecated
|
|
5216
5434
|
* @public
|
|
5217
5435
|
*/
|
|
5218
5436
|
mediaMimeType?: string | undefined;
|
|
5437
|
+
/**
|
|
5438
|
+
* <p>Source information for a segment of extracted text, including its media type.</p>
|
|
5439
|
+
* @public
|
|
5440
|
+
*/
|
|
5441
|
+
sourceDetails?: SourceDetails | undefined;
|
|
5219
5442
|
}
|
|
5220
5443
|
/**
|
|
5221
5444
|
* <p>The documents used to generate an Amazon Q Business web experience response.</p>
|
|
@@ -6909,196 +7132,6 @@ export interface ListPluginTypeActionsResponse {
|
|
|
6909
7132
|
*/
|
|
6910
7133
|
items?: ActionSummary[] | undefined;
|
|
6911
7134
|
}
|
|
6912
|
-
/**
|
|
6913
|
-
* @public
|
|
6914
|
-
*/
|
|
6915
|
-
export interface ListPluginTypeMetadataRequest {
|
|
6916
|
-
/**
|
|
6917
|
-
* <p>If the metadata returned exceeds <code>maxResults</code>, Amazon Q Business
|
|
6918
|
-
* returns a next token as a pagination token to retrieve the next set of metadata.</p>
|
|
6919
|
-
* @public
|
|
6920
|
-
*/
|
|
6921
|
-
nextToken?: string | undefined;
|
|
6922
|
-
/**
|
|
6923
|
-
* <p>The maximum number of plugin metadata items to return.</p>
|
|
6924
|
-
* @public
|
|
6925
|
-
*/
|
|
6926
|
-
maxResults?: number | undefined;
|
|
6927
|
-
}
|
|
6928
|
-
/**
|
|
6929
|
-
* @public
|
|
6930
|
-
* @enum
|
|
6931
|
-
*/
|
|
6932
|
-
export declare const PluginTypeCategory: {
|
|
6933
|
-
readonly COMMUNICATION: "Communication";
|
|
6934
|
-
readonly CRM: "Customer relationship management (CRM)";
|
|
6935
|
-
readonly PRODUCTIVITY: "Productivity";
|
|
6936
|
-
readonly PROJECT_MANAGEMENT: "Project management";
|
|
6937
|
-
readonly TICKETING_MANAGEMENT: "Ticketing and incident management";
|
|
6938
|
-
};
|
|
6939
|
-
/**
|
|
6940
|
-
* @public
|
|
6941
|
-
*/
|
|
6942
|
-
export type PluginTypeCategory = (typeof PluginTypeCategory)[keyof typeof PluginTypeCategory];
|
|
6943
|
-
/**
|
|
6944
|
-
* <p>Summary metadata information for a Amazon Q Business plugin.</p>
|
|
6945
|
-
* @public
|
|
6946
|
-
*/
|
|
6947
|
-
export interface PluginTypeMetadataSummary {
|
|
6948
|
-
/**
|
|
6949
|
-
* <p>The type of the plugin.</p>
|
|
6950
|
-
* @public
|
|
6951
|
-
*/
|
|
6952
|
-
type?: PluginType | undefined;
|
|
6953
|
-
/**
|
|
6954
|
-
* <p>The category of the plugin type.</p>
|
|
6955
|
-
* @public
|
|
6956
|
-
*/
|
|
6957
|
-
category?: PluginTypeCategory | undefined;
|
|
6958
|
-
/**
|
|
6959
|
-
* <p>The description assigned by Amazon Q Business to a plugin. You can't
|
|
6960
|
-
* modify this value.</p>
|
|
6961
|
-
* @public
|
|
6962
|
-
*/
|
|
6963
|
-
description?: string | undefined;
|
|
6964
|
-
}
|
|
6965
|
-
/**
|
|
6966
|
-
* @public
|
|
6967
|
-
*/
|
|
6968
|
-
export interface ListPluginTypeMetadataResponse {
|
|
6969
|
-
/**
|
|
6970
|
-
* <p>If the response is truncated, Amazon Q Business returns this token, which you
|
|
6971
|
-
* can use in a later request to list the next set of plugin metadata.</p>
|
|
6972
|
-
* @public
|
|
6973
|
-
*/
|
|
6974
|
-
nextToken?: string | undefined;
|
|
6975
|
-
/**
|
|
6976
|
-
* <p>An array of information on plugin metadata.</p>
|
|
6977
|
-
* @public
|
|
6978
|
-
*/
|
|
6979
|
-
items?: PluginTypeMetadataSummary[] | undefined;
|
|
6980
|
-
}
|
|
6981
|
-
/**
|
|
6982
|
-
* @public
|
|
6983
|
-
*/
|
|
6984
|
-
export interface ListSubscriptionsRequest {
|
|
6985
|
-
/**
|
|
6986
|
-
* <p>The identifier of the Amazon Q Business application linked to the subscription.</p>
|
|
6987
|
-
* @public
|
|
6988
|
-
*/
|
|
6989
|
-
applicationId: string | undefined;
|
|
6990
|
-
/**
|
|
6991
|
-
* <p>If the <code>maxResults</code> response was incomplete because there is more data to
|
|
6992
|
-
* retrieve, Amazon Q Business returns a pagination token in the response. You can use this
|
|
6993
|
-
* pagination token to retrieve the next set of Amazon Q Business subscriptions.</p>
|
|
6994
|
-
* @public
|
|
6995
|
-
*/
|
|
6996
|
-
nextToken?: string | undefined;
|
|
6997
|
-
/**
|
|
6998
|
-
* <p>The maximum number of Amazon Q Business subscriptions to return.</p>
|
|
6999
|
-
* @public
|
|
7000
|
-
*/
|
|
7001
|
-
maxResults?: number | undefined;
|
|
7002
|
-
}
|
|
7003
|
-
/**
|
|
7004
|
-
* <p>Information about an Amazon Q Business subscription.</p>
|
|
7005
|
-
* <p>Subscriptions are used to provide access for an IAM Identity Center user or a group to
|
|
7006
|
-
* an Amazon Q Business application.</p>
|
|
7007
|
-
* <p>Amazon Q Business offers two subscription tiers: <code>Q_LITE</code> and
|
|
7008
|
-
* <code>Q_BUSINESS</code>. Subscription tier determines feature access for the user.
|
|
7009
|
-
* For more information on subscriptions and pricing tiers, see <a href="https://aws.amazon.com/q/business/pricing/">Amazon Q Business
|
|
7010
|
-
* pricing</a>.</p>
|
|
7011
|
-
* @public
|
|
7012
|
-
*/
|
|
7013
|
-
export interface Subscription {
|
|
7014
|
-
/**
|
|
7015
|
-
* <p>The identifier of the Amazon Q Business subscription to be updated.</p>
|
|
7016
|
-
* @public
|
|
7017
|
-
*/
|
|
7018
|
-
subscriptionId?: string | undefined;
|
|
7019
|
-
/**
|
|
7020
|
-
* <p>The Amazon Resource Name (ARN) of the Amazon Q Business subscription that was
|
|
7021
|
-
* updated.</p>
|
|
7022
|
-
* @public
|
|
7023
|
-
*/
|
|
7024
|
-
subscriptionArn?: string | undefined;
|
|
7025
|
-
/**
|
|
7026
|
-
* <p>The IAM Identity Center <code>UserId</code> or <code>GroupId</code> of a user or group
|
|
7027
|
-
* in the IAM Identity Center instance connected to the Amazon Q Business application.</p>
|
|
7028
|
-
* @public
|
|
7029
|
-
*/
|
|
7030
|
-
principal?: SubscriptionPrincipal | undefined;
|
|
7031
|
-
/**
|
|
7032
|
-
* <p>The type of your current Amazon Q Business subscription.</p>
|
|
7033
|
-
* @public
|
|
7034
|
-
*/
|
|
7035
|
-
currentSubscription?: SubscriptionDetails | undefined;
|
|
7036
|
-
/**
|
|
7037
|
-
* <p>The type of the Amazon Q Business subscription for the next month.</p>
|
|
7038
|
-
* @public
|
|
7039
|
-
*/
|
|
7040
|
-
nextSubscription?: SubscriptionDetails | undefined;
|
|
7041
|
-
}
|
|
7042
|
-
/**
|
|
7043
|
-
* @public
|
|
7044
|
-
*/
|
|
7045
|
-
export interface ListSubscriptionsResponse {
|
|
7046
|
-
/**
|
|
7047
|
-
* <p>If the response is truncated, Amazon Q Business returns this token. You can use this token
|
|
7048
|
-
* in a subsequent request to retrieve the next set of subscriptions.</p>
|
|
7049
|
-
* @public
|
|
7050
|
-
*/
|
|
7051
|
-
nextToken?: string | undefined;
|
|
7052
|
-
/**
|
|
7053
|
-
* <p>An array of summary information on the subscriptions configured for an Amazon Q Business
|
|
7054
|
-
* application.</p>
|
|
7055
|
-
* @public
|
|
7056
|
-
*/
|
|
7057
|
-
subscriptions?: Subscription[] | undefined;
|
|
7058
|
-
}
|
|
7059
|
-
/**
|
|
7060
|
-
* @public
|
|
7061
|
-
*/
|
|
7062
|
-
export interface ListTagsForResourceRequest {
|
|
7063
|
-
/**
|
|
7064
|
-
* <p>The Amazon Resource Name (ARN) of the Amazon Q Business application or data source to get
|
|
7065
|
-
* a list of tags for.</p>
|
|
7066
|
-
* @public
|
|
7067
|
-
*/
|
|
7068
|
-
resourceARN: string | undefined;
|
|
7069
|
-
}
|
|
7070
|
-
/**
|
|
7071
|
-
* @public
|
|
7072
|
-
*/
|
|
7073
|
-
export interface ListTagsForResourceResponse {
|
|
7074
|
-
/**
|
|
7075
|
-
* <p>A list of tags associated with the Amazon Q Business application or data source.</p>
|
|
7076
|
-
* @public
|
|
7077
|
-
*/
|
|
7078
|
-
tags?: Tag[] | undefined;
|
|
7079
|
-
}
|
|
7080
|
-
/**
|
|
7081
|
-
* @public
|
|
7082
|
-
* @enum
|
|
7083
|
-
*/
|
|
7084
|
-
export declare const MessageUsefulnessReason: {
|
|
7085
|
-
readonly COMPLETE: "COMPLETE";
|
|
7086
|
-
readonly FACTUALLY_CORRECT: "FACTUALLY_CORRECT";
|
|
7087
|
-
readonly HARMFUL_OR_UNSAFE: "HARMFUL_OR_UNSAFE";
|
|
7088
|
-
readonly HELPFUL: "HELPFUL";
|
|
7089
|
-
readonly INCORRECT_OR_MISSING_SOURCES: "INCORRECT_OR_MISSING_SOURCES";
|
|
7090
|
-
readonly NOT_BASED_ON_DOCUMENTS: "NOT_BASED_ON_DOCUMENTS";
|
|
7091
|
-
readonly NOT_COMPLETE: "NOT_COMPLETE";
|
|
7092
|
-
readonly NOT_CONCISE: "NOT_CONCISE";
|
|
7093
|
-
readonly NOT_FACTUALLY_CORRECT: "NOT_FACTUALLY_CORRECT";
|
|
7094
|
-
readonly NOT_HELPFUL: "NOT_HELPFUL";
|
|
7095
|
-
readonly OTHER: "OTHER";
|
|
7096
|
-
readonly RELEVANT_SOURCES: "RELEVANT_SOURCES";
|
|
7097
|
-
};
|
|
7098
|
-
/**
|
|
7099
|
-
* @public
|
|
7100
|
-
*/
|
|
7101
|
-
export type MessageUsefulnessReason = (typeof MessageUsefulnessReason)[keyof typeof MessageUsefulnessReason];
|
|
7102
7135
|
/**
|
|
7103
7136
|
* @internal
|
|
7104
7137
|
*/
|
|
@@ -1,4 +1,194 @@
|
|
|
1
|
-
import { ActionExecution, ActionExecutionEvent, AttachmentInput, AttachmentInputEvent, AuthChallengeResponse, AuthChallengeResponseEvent, BlockedPhrasesConfigurationUpdate, ChatMode, ChatModeConfiguration, ContentSource, CreatorModeConfiguration, DocumentAttribute, EndOfInputEvent, MembershipType,
|
|
1
|
+
import { ActionExecution, ActionExecutionEvent, AttachmentInput, AttachmentInputEvent, AuthChallengeResponse, AuthChallengeResponseEvent, BlockedPhrasesConfigurationUpdate, ChatMode, ChatModeConfiguration, ContentSource, CreatorModeConfiguration, DocumentAttribute, EndOfInputEvent, MembershipType, OrchestrationControl, PluginType, ResponseScope, S3, SubscriptionDetails, SubscriptionPrincipal, SubscriptionType, Tag, TextInputEvent, TopicConfiguration, UserAlias } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ListPluginTypeMetadataRequest {
|
|
6
|
+
/**
|
|
7
|
+
* <p>If the metadata returned exceeds <code>maxResults</code>, Amazon Q Business
|
|
8
|
+
* returns a next token as a pagination token to retrieve the next set of metadata.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
nextToken?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>The maximum number of plugin metadata items to return.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
maxResults?: number | undefined;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
* @enum
|
|
21
|
+
*/
|
|
22
|
+
export declare const PluginTypeCategory: {
|
|
23
|
+
readonly COMMUNICATION: "Communication";
|
|
24
|
+
readonly CRM: "Customer relationship management (CRM)";
|
|
25
|
+
readonly PRODUCTIVITY: "Productivity";
|
|
26
|
+
readonly PROJECT_MANAGEMENT: "Project management";
|
|
27
|
+
readonly TICKETING_MANAGEMENT: "Ticketing and incident management";
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export type PluginTypeCategory = (typeof PluginTypeCategory)[keyof typeof PluginTypeCategory];
|
|
33
|
+
/**
|
|
34
|
+
* <p>Summary metadata information for a Amazon Q Business plugin.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export interface PluginTypeMetadataSummary {
|
|
38
|
+
/**
|
|
39
|
+
* <p>The type of the plugin.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
type?: PluginType | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* <p>The category of the plugin type.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
category?: PluginTypeCategory | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* <p>The description assigned by Amazon Q Business to a plugin. You can't
|
|
50
|
+
* modify this value.</p>
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
description?: string | undefined;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export interface ListPluginTypeMetadataResponse {
|
|
59
|
+
/**
|
|
60
|
+
* <p>If the response is truncated, Amazon Q Business returns this token, which you
|
|
61
|
+
* can use in a later request to list the next set of plugin metadata.</p>
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
nextToken?: string | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* <p>An array of information on plugin metadata.</p>
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
items?: PluginTypeMetadataSummary[] | undefined;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export interface ListSubscriptionsRequest {
|
|
75
|
+
/**
|
|
76
|
+
* <p>The identifier of the Amazon Q Business application linked to the subscription.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
applicationId: string | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* <p>If the <code>maxResults</code> response was incomplete because there is more data to
|
|
82
|
+
* retrieve, Amazon Q Business returns a pagination token in the response. You can use this
|
|
83
|
+
* pagination token to retrieve the next set of Amazon Q Business subscriptions.</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
nextToken?: string | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* <p>The maximum number of Amazon Q Business subscriptions to return.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
maxResults?: number | undefined;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* <p>Information about an Amazon Q Business subscription.</p>
|
|
95
|
+
* <p>Subscriptions are used to provide access for an IAM Identity Center user or a group to
|
|
96
|
+
* an Amazon Q Business application.</p>
|
|
97
|
+
* <p>Amazon Q Business offers two subscription tiers: <code>Q_LITE</code> and
|
|
98
|
+
* <code>Q_BUSINESS</code>. Subscription tier determines feature access for the user.
|
|
99
|
+
* For more information on subscriptions and pricing tiers, see <a href="https://aws.amazon.com/q/business/pricing/">Amazon Q Business
|
|
100
|
+
* pricing</a>.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export interface Subscription {
|
|
104
|
+
/**
|
|
105
|
+
* <p>The identifier of the Amazon Q Business subscription to be updated.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
subscriptionId?: string | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Q Business subscription that was
|
|
111
|
+
* updated.</p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
subscriptionArn?: string | undefined;
|
|
115
|
+
/**
|
|
116
|
+
* <p>The IAM Identity Center <code>UserId</code> or <code>GroupId</code> of a user or group
|
|
117
|
+
* in the IAM Identity Center instance connected to the Amazon Q Business application.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
principal?: SubscriptionPrincipal | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* <p>The type of your current Amazon Q Business subscription.</p>
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
currentSubscription?: SubscriptionDetails | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* <p>The type of the Amazon Q Business subscription for the next month.</p>
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
nextSubscription?: SubscriptionDetails | undefined;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
export interface ListSubscriptionsResponse {
|
|
136
|
+
/**
|
|
137
|
+
* <p>If the response is truncated, Amazon Q Business returns this token. You can use this token
|
|
138
|
+
* in a subsequent request to retrieve the next set of subscriptions.</p>
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
nextToken?: string | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* <p>An array of summary information on the subscriptions configured for an Amazon Q Business
|
|
144
|
+
* application.</p>
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
subscriptions?: Subscription[] | undefined;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
export interface ListTagsForResourceRequest {
|
|
153
|
+
/**
|
|
154
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Q Business application or data source to get
|
|
155
|
+
* a list of tags for.</p>
|
|
156
|
+
* @public
|
|
157
|
+
*/
|
|
158
|
+
resourceARN: string | undefined;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* @public
|
|
162
|
+
*/
|
|
163
|
+
export interface ListTagsForResourceResponse {
|
|
164
|
+
/**
|
|
165
|
+
* <p>A list of tags associated with the Amazon Q Business application or data source.</p>
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
tags?: Tag[] | undefined;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* @public
|
|
172
|
+
* @enum
|
|
173
|
+
*/
|
|
174
|
+
export declare const MessageUsefulnessReason: {
|
|
175
|
+
readonly COMPLETE: "COMPLETE";
|
|
176
|
+
readonly FACTUALLY_CORRECT: "FACTUALLY_CORRECT";
|
|
177
|
+
readonly HARMFUL_OR_UNSAFE: "HARMFUL_OR_UNSAFE";
|
|
178
|
+
readonly HELPFUL: "HELPFUL";
|
|
179
|
+
readonly INCORRECT_OR_MISSING_SOURCES: "INCORRECT_OR_MISSING_SOURCES";
|
|
180
|
+
readonly NOT_BASED_ON_DOCUMENTS: "NOT_BASED_ON_DOCUMENTS";
|
|
181
|
+
readonly NOT_COMPLETE: "NOT_COMPLETE";
|
|
182
|
+
readonly NOT_CONCISE: "NOT_CONCISE";
|
|
183
|
+
readonly NOT_FACTUALLY_CORRECT: "NOT_FACTUALLY_CORRECT";
|
|
184
|
+
readonly NOT_HELPFUL: "NOT_HELPFUL";
|
|
185
|
+
readonly OTHER: "OTHER";
|
|
186
|
+
readonly RELEVANT_SOURCES: "RELEVANT_SOURCES";
|
|
187
|
+
};
|
|
188
|
+
/**
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
export type MessageUsefulnessReason = (typeof MessageUsefulnessReason)[keyof typeof MessageUsefulnessReason];
|
|
2
192
|
/**
|
|
3
193
|
* @public
|
|
4
194
|
* @enum
|
|
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
3
3
|
import {
|
|
4
4
|
ListPluginTypeMetadataRequest,
|
|
5
5
|
ListPluginTypeMetadataResponse,
|
|
6
|
-
} from "../models/
|
|
6
|
+
} from "../models/models_1";
|
|
7
7
|
import {
|
|
8
8
|
QBusinessClientResolvedConfig,
|
|
9
9
|
ServiceInputTypes,
|