@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.
Files changed (51) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +220 -8
  3. package/dist-es/QBusiness.js +8 -0
  4. package/dist-es/commands/CancelSubscriptionCommand.js +22 -0
  5. package/dist-es/commands/CreateSubscriptionCommand.js +22 -0
  6. package/dist-es/commands/ListSubscriptionsCommand.js +22 -0
  7. package/dist-es/commands/UpdateSubscriptionCommand.js +22 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/models_0.js +10 -7
  10. package/dist-es/models/models_1.js +7 -0
  11. package/dist-es/pagination/ListSubscriptionsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_restJson1.js +118 -0
  14. package/dist-types/QBusiness.d.ts +28 -0
  15. package/dist-types/QBusinessClient.d.ts +6 -2
  16. package/dist-types/commands/AssociatePermissionCommand.d.ts +3 -3
  17. package/dist-types/commands/CancelSubscriptionCommand.d.ts +100 -0
  18. package/dist-types/commands/CreateDataAccessorCommand.d.ts +4 -4
  19. package/dist-types/commands/CreateSubscriptionCommand.d.ts +113 -0
  20. package/dist-types/commands/DeleteDataAccessorCommand.d.ts +1 -1
  21. package/dist-types/commands/DisassociatePermissionCommand.d.ts +1 -1
  22. package/dist-types/commands/GetDataAccessorCommand.d.ts +1 -1
  23. package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
  24. package/dist-types/commands/ListDataAccessorsCommand.d.ts +1 -1
  25. package/dist-types/commands/ListSubscriptionsCommand.d.ts +113 -0
  26. package/dist-types/commands/PutGroupCommand.d.ts +5 -1
  27. package/dist-types/commands/SearchRelevantContentCommand.d.ts +3 -4
  28. package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +1 -2
  29. package/dist-types/commands/UpdateSubscriptionCommand.d.ts +106 -0
  30. package/dist-types/commands/index.d.ts +4 -0
  31. package/dist-types/models/models_0.d.ts +234 -203
  32. package/dist-types/models/models_1.d.ts +241 -7
  33. package/dist-types/pagination/ListSubscriptionsPaginator.d.ts +7 -0
  34. package/dist-types/pagination/index.d.ts +1 -0
  35. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  36. package/dist-types/ts3.4/QBusiness.d.ts +68 -0
  37. package/dist-types/ts3.4/QBusinessClient.d.ts +24 -0
  38. package/dist-types/ts3.4/commands/CancelSubscriptionCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/CreateSubscriptionCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/PutGroupCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/SearchRelevantContentCommand.d.ts +4 -2
  43. package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +4 -2
  44. package/dist-types/ts3.4/commands/UpdateSubscriptionCommand.d.ts +51 -0
  45. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +67 -48
  47. package/dist-types/ts3.4/models/models_1.d.ts +63 -0
  48. package/dist-types/ts3.4/pagination/ListSubscriptionsPaginator.d.ts +11 -0
  49. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  50. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  51. package/package.json +2 -2
@@ -1,4 +1,196 @@
1
- import { ActionExecution, ActionExecutionEvent, AttachmentInput, AttachmentInputEvent, AuthChallengeResponse, AuthChallengeResponseEvent, BlockedPhrasesConfigurationUpdate, ChatMode, ChatModeConfiguration, ContentSource, CreatorModeConfiguration, DocumentAttribute, EndOfInputEvent, ResponseScope, Tag, TextInputEvent, TopicConfiguration, UserAlias } from "./models_0";
1
+ import { ActionExecution, ActionExecutionEvent, AttachmentInput, AttachmentInputEvent, AuthChallengeResponse, AuthChallengeResponseEvent, BlockedPhrasesConfigurationUpdate, ChatMode, ChatModeConfiguration, ContentSource, CreatorModeConfiguration, DocumentAttribute, EndOfInputEvent, MemberGroup, MembershipType, ResponseScope, S3, SubscriptionDetails, SubscriptionType, Tag, TextInputEvent, TopicConfiguration, UserAlias } from "./models_0";
2
+ /**
3
+ * <p>The users that belong to a group.</p>
4
+ * @public
5
+ */
6
+ export interface MemberUser {
7
+ /**
8
+ * <p>The identifier of the user you want to map to a group.</p>
9
+ * @public
10
+ */
11
+ userId: string | undefined;
12
+ /**
13
+ * <p>The type of the user.</p>
14
+ * @public
15
+ */
16
+ type?: MembershipType | undefined;
17
+ }
18
+ /**
19
+ * <p>A list of users or sub groups that belong to a group. This is for generating
20
+ * Amazon Q Business chat results only from document a user has access to.</p>
21
+ * @public
22
+ */
23
+ export interface GroupMembers {
24
+ /**
25
+ * <p>A list of sub groups that belong to a group. For example, the sub groups "Research",
26
+ * "Engineering", and "Sales and Marketing" all belong to the group "Company".</p>
27
+ * @public
28
+ */
29
+ memberGroups?: MemberGroup[] | undefined;
30
+ /**
31
+ * <p>A list of users that belong to a group. For example, a list of interns all belong to
32
+ * the "Interns" group.</p>
33
+ * @public
34
+ */
35
+ memberUsers?: MemberUser[] | undefined;
36
+ /**
37
+ * <p>Information required for Amazon Q Business to find a specific file in an Amazon S3
38
+ * bucket.</p>
39
+ * @public
40
+ */
41
+ s3PathForGroupMembers?: S3 | undefined;
42
+ }
43
+ /**
44
+ * @public
45
+ */
46
+ export interface PutGroupRequest {
47
+ /**
48
+ * <p>The identifier of the application in which the user and group mapping belongs.</p>
49
+ * @public
50
+ */
51
+ applicationId: string | undefined;
52
+ /**
53
+ * <p>The identifier of the index in which you want to map users to their groups.</p>
54
+ * @public
55
+ */
56
+ indexId: string | undefined;
57
+ /**
58
+ * <p>The list that contains your users or sub groups that belong the same group. For
59
+ * example, the group "Company" includes the user "CEO" and the sub groups "Research",
60
+ * "Engineering", and "Sales and Marketing".</p>
61
+ * @public
62
+ */
63
+ groupName: string | undefined;
64
+ /**
65
+ * <p>The identifier of the data source for which you want to map users to their groups.
66
+ * This is useful if a group is tied to multiple data sources, but you only want the group
67
+ * to access documents of a certain data source. For example, the groups "Research",
68
+ * "Engineering", and "Sales and Marketing" are all tied to the company's documents stored
69
+ * in the data sources Confluence and Salesforce. However, "Sales and Marketing" team only
70
+ * needs access to customer-related documents stored in Salesforce.</p>
71
+ * @public
72
+ */
73
+ dataSourceId?: string | undefined;
74
+ /**
75
+ * <p>The type of the group.</p>
76
+ * @public
77
+ */
78
+ type: MembershipType | undefined;
79
+ /**
80
+ * <p>A list of users or sub groups that belong to a group. This is for generating
81
+ * Amazon Q Business chat results only from document a user has access to.</p>
82
+ * @public
83
+ */
84
+ groupMembers: GroupMembers | undefined;
85
+ /**
86
+ * <p>The Amazon Resource Name (ARN) of an IAM role that has access to the S3 file that contains
87
+ * your list of users that belong to a group.</p>
88
+ * @public
89
+ */
90
+ roleArn?: string | undefined;
91
+ }
92
+ /**
93
+ * @public
94
+ */
95
+ export interface PutGroupResponse {
96
+ }
97
+ /**
98
+ * @public
99
+ * @enum
100
+ */
101
+ export declare const ScoreConfidence: {
102
+ readonly HIGH: "HIGH";
103
+ readonly LOW: "LOW";
104
+ readonly MEDIUM: "MEDIUM";
105
+ readonly NOT_AVAILABLE: "NOT_AVAILABLE";
106
+ readonly VERY_HIGH: "VERY_HIGH";
107
+ };
108
+ /**
109
+ * @public
110
+ */
111
+ export type ScoreConfidence = (typeof ScoreConfidence)[keyof typeof ScoreConfidence];
112
+ /**
113
+ * <p>Provides information about the relevance score of content.</p>
114
+ * @public
115
+ */
116
+ export interface ScoreAttributes {
117
+ /**
118
+ * <p>The confidence level of the relevance score.</p>
119
+ * @public
120
+ */
121
+ scoreConfidence?: ScoreConfidence | undefined;
122
+ }
123
+ /**
124
+ * <p>Represents a piece of content that is relevant to a search query.</p>
125
+ * @public
126
+ */
127
+ export interface RelevantContent {
128
+ /**
129
+ * <p>The actual content of the relevant item.</p>
130
+ * @public
131
+ */
132
+ content?: string | undefined;
133
+ /**
134
+ * <p>The unique identifier of the document containing the relevant content.</p>
135
+ * @public
136
+ */
137
+ documentId?: string | undefined;
138
+ /**
139
+ * <p>The title of the document containing the relevant content.</p>
140
+ * @public
141
+ */
142
+ documentTitle?: string | undefined;
143
+ /**
144
+ * <p>The URI of the document containing the relevant content.</p>
145
+ * @public
146
+ */
147
+ documentUri?: string | undefined;
148
+ /**
149
+ * <p>Additional attributes of the document containing the relevant content.</p>
150
+ * @public
151
+ */
152
+ documentAttributes?: DocumentAttribute[] | undefined;
153
+ /**
154
+ * <p>Attributes related to the relevance score of the content.</p>
155
+ * @public
156
+ */
157
+ scoreAttributes?: ScoreAttributes | undefined;
158
+ }
159
+ /**
160
+ * @public
161
+ */
162
+ export interface SearchRelevantContentResponse {
163
+ /**
164
+ * <p>The list of relevant content items found.</p>
165
+ * @public
166
+ */
167
+ relevantContent?: RelevantContent[] | undefined;
168
+ /**
169
+ * <p>The token to use to retrieve the next set of results, if there are any.</p>
170
+ * @public
171
+ */
172
+ nextToken?: string | undefined;
173
+ }
174
+ /**
175
+ * @public
176
+ */
177
+ export interface StartDataSourceSyncJobRequest {
178
+ /**
179
+ * <p> The identifier of the data source connector. </p>
180
+ * @public
181
+ */
182
+ dataSourceId: string | undefined;
183
+ /**
184
+ * <p>The identifier of Amazon Q Business application the data source is connected to.</p>
185
+ * @public
186
+ */
187
+ applicationId: string | undefined;
188
+ /**
189
+ * <p>The identifier of the index used with the data source connector.</p>
190
+ * @public
191
+ */
192
+ indexId: string | undefined;
193
+ }
2
194
  /**
3
195
  * @public
4
196
  */
@@ -128,6 +320,48 @@ export interface UpdateChatControlsConfigurationRequest {
128
320
  */
129
321
  export interface UpdateChatControlsConfigurationResponse {
130
322
  }
323
+ /**
324
+ * @public
325
+ */
326
+ export interface UpdateSubscriptionRequest {
327
+ /**
328
+ * <p>The identifier of the Amazon Q Business application where the subscription update should
329
+ * take effect.</p>
330
+ * @public
331
+ */
332
+ applicationId: string | undefined;
333
+ /**
334
+ * <p>The identifier of the Amazon Q Business subscription to be updated.</p>
335
+ * @public
336
+ */
337
+ subscriptionId: string | undefined;
338
+ /**
339
+ * <p>The type of the Amazon Q Business subscription to be updated.</p>
340
+ * @public
341
+ */
342
+ type: SubscriptionType | undefined;
343
+ }
344
+ /**
345
+ * @public
346
+ */
347
+ export interface UpdateSubscriptionResponse {
348
+ /**
349
+ * <p>The Amazon Resource Name (ARN) of the Amazon Q Business subscription that was
350
+ * updated.</p>
351
+ * @public
352
+ */
353
+ subscriptionArn?: string | undefined;
354
+ /**
355
+ * <p>The type of your current Amazon Q Business subscription.</p>
356
+ * @public
357
+ */
358
+ currentSubscription?: SubscriptionDetails | undefined;
359
+ /**
360
+ * <p>The type of the Amazon Q Business subscription for the next month.</p>
361
+ * @public
362
+ */
363
+ nextSubscription?: SubscriptionDetails | undefined;
364
+ }
131
365
  /**
132
366
  * @public
133
367
  */
@@ -410,7 +644,7 @@ export interface ConfigurationEvent {
410
644
  */
411
645
  export interface SearchRelevantContentRequest {
412
646
  /**
413
- * <p>The unique identifier of the Q Business application to search.</p>
647
+ * <p>The unique identifier of the Amazon Q Business application to search.</p>
414
648
  * @public
415
649
  */
416
650
  applicationId: string | undefined;
@@ -446,7 +680,7 @@ export interface SearchRelevantContentRequest {
446
680
  */
447
681
  export interface ActionConfiguration {
448
682
  /**
449
- * <p>The Q Business action that is allowed.</p>
683
+ * <p>The Amazon Q Business action that is allowed.</p>
450
684
  * @public
451
685
  */
452
686
  action: string | undefined;
@@ -615,7 +849,7 @@ export interface ChatInput {
615
849
  */
616
850
  export interface CreateDataAccessorRequest {
617
851
  /**
618
- * <p>The unique identifier of the Q Business application.</p>
852
+ * <p>The unique identifier of the Amazon Q Business application.</p>
619
853
  * @public
620
854
  */
621
855
  applicationId: string | undefined;
@@ -665,12 +899,12 @@ export interface GetDataAccessorResponse {
665
899
  */
666
900
  dataAccessorArn?: string | undefined;
667
901
  /**
668
- * <p>The unique identifier of the Q Business application associated with this data accessor.</p>
902
+ * <p>The unique identifier of the Amazon Q Business application associated with this data accessor.</p>
669
903
  * @public
670
904
  */
671
905
  applicationId?: string | undefined;
672
906
  /**
673
- * <p>The Amazon Resource Name (ARN) of the AWS IAM Identity Center application associated with this data accessor.</p>
907
+ * <p>The Amazon Resource Name (ARN) of the IAM Identity Center application associated with this data accessor.</p>
674
908
  * @public
675
909
  */
676
910
  idcApplicationArn?: string | undefined;
@@ -700,7 +934,7 @@ export interface GetDataAccessorResponse {
700
934
  */
701
935
  export interface UpdateDataAccessorRequest {
702
936
  /**
703
- * <p>The unique identifier of the Q Business application.</p>
937
+ * <p>The unique identifier of the Amazon Q Business application.</p>
704
938
  * @public
705
939
  */
706
940
  applicationId: string | undefined;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListSubscriptionsCommandInput, ListSubscriptionsCommandOutput } from "../commands/ListSubscriptionsCommand";
3
+ import { QBusinessPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListSubscriptions: (config: QBusinessPaginationConfiguration, input: ListSubscriptionsCommandInput, ...rest: any[]) => Paginator<ListSubscriptionsCommandOutput>;
@@ -15,5 +15,6 @@ export * from "./ListPluginTypeActionsPaginator";
15
15
  export * from "./ListPluginTypeMetadataPaginator";
16
16
  export * from "./ListPluginsPaginator";
17
17
  export * from "./ListRetrieversPaginator";
18
+ export * from "./ListSubscriptionsPaginator";
18
19
  export * from "./ListWebExperiencesPaginator";
19
20
  export * from "./SearchRelevantContentPaginator";
@@ -3,6 +3,7 @@ import { EventStreamSerdeContext as __EventStreamSerdeContext, SerdeContext as _
3
3
  import { AssociatePermissionCommandInput, AssociatePermissionCommandOutput } from "../commands/AssociatePermissionCommand";
4
4
  import { BatchDeleteDocumentCommandInput, BatchDeleteDocumentCommandOutput } from "../commands/BatchDeleteDocumentCommand";
5
5
  import { BatchPutDocumentCommandInput, BatchPutDocumentCommandOutput } from "../commands/BatchPutDocumentCommand";
6
+ import { CancelSubscriptionCommandInput, CancelSubscriptionCommandOutput } from "../commands/CancelSubscriptionCommand";
6
7
  import { ChatCommandInput, ChatCommandOutput } from "../commands/ChatCommand";
7
8
  import { ChatSyncCommandInput, ChatSyncCommandOutput } from "../commands/ChatSyncCommand";
8
9
  import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "../commands/CreateApplicationCommand";
@@ -11,6 +12,7 @@ import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "../
11
12
  import { CreateIndexCommandInput, CreateIndexCommandOutput } from "../commands/CreateIndexCommand";
12
13
  import { CreatePluginCommandInput, CreatePluginCommandOutput } from "../commands/CreatePluginCommand";
13
14
  import { CreateRetrieverCommandInput, CreateRetrieverCommandOutput } from "../commands/CreateRetrieverCommand";
15
+ import { CreateSubscriptionCommandInput, CreateSubscriptionCommandOutput } from "../commands/CreateSubscriptionCommand";
14
16
  import { CreateUserCommandInput, CreateUserCommandOutput } from "../commands/CreateUserCommand";
15
17
  import { CreateWebExperienceCommandInput, CreateWebExperienceCommandOutput } from "../commands/CreateWebExperienceCommand";
16
18
  import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "../commands/DeleteApplicationCommand";
@@ -52,6 +54,7 @@ import { ListPluginsCommandInput, ListPluginsCommandOutput } from "../commands/L
52
54
  import { ListPluginTypeActionsCommandInput, ListPluginTypeActionsCommandOutput } from "../commands/ListPluginTypeActionsCommand";
53
55
  import { ListPluginTypeMetadataCommandInput, ListPluginTypeMetadataCommandOutput } from "../commands/ListPluginTypeMetadataCommand";
54
56
  import { ListRetrieversCommandInput, ListRetrieversCommandOutput } from "../commands/ListRetrieversCommand";
57
+ import { ListSubscriptionsCommandInput, ListSubscriptionsCommandOutput } from "../commands/ListSubscriptionsCommand";
55
58
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
56
59
  import { ListWebExperiencesCommandInput, ListWebExperiencesCommandOutput } from "../commands/ListWebExperiencesCommand";
57
60
  import { PutFeedbackCommandInput, PutFeedbackCommandOutput } from "../commands/PutFeedbackCommand";
@@ -68,6 +71,7 @@ import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "../
68
71
  import { UpdateIndexCommandInput, UpdateIndexCommandOutput } from "../commands/UpdateIndexCommand";
69
72
  import { UpdatePluginCommandInput, UpdatePluginCommandOutput } from "../commands/UpdatePluginCommand";
70
73
  import { UpdateRetrieverCommandInput, UpdateRetrieverCommandOutput } from "../commands/UpdateRetrieverCommand";
74
+ import { UpdateSubscriptionCommandInput, UpdateSubscriptionCommandOutput } from "../commands/UpdateSubscriptionCommand";
71
75
  import { UpdateUserCommandInput, UpdateUserCommandOutput } from "../commands/UpdateUserCommand";
72
76
  import { UpdateWebExperienceCommandInput, UpdateWebExperienceCommandOutput } from "../commands/UpdateWebExperienceCommand";
73
77
  /**
@@ -82,6 +86,10 @@ export declare const se_BatchDeleteDocumentCommand: (input: BatchDeleteDocumentC
82
86
  * serializeAws_restJson1BatchPutDocumentCommand
83
87
  */
84
88
  export declare const se_BatchPutDocumentCommand: (input: BatchPutDocumentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
89
+ /**
90
+ * serializeAws_restJson1CancelSubscriptionCommand
91
+ */
92
+ export declare const se_CancelSubscriptionCommand: (input: CancelSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
85
93
  /**
86
94
  * serializeAws_restJson1ChatCommand
87
95
  */
@@ -114,6 +122,10 @@ export declare const se_CreatePluginCommand: (input: CreatePluginCommandInput, c
114
122
  * serializeAws_restJson1CreateRetrieverCommand
115
123
  */
116
124
  export declare const se_CreateRetrieverCommand: (input: CreateRetrieverCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
125
+ /**
126
+ * serializeAws_restJson1CreateSubscriptionCommand
127
+ */
128
+ export declare const se_CreateSubscriptionCommand: (input: CreateSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
117
129
  /**
118
130
  * serializeAws_restJson1CreateUserCommand
119
131
  */
@@ -278,6 +290,10 @@ export declare const se_ListPluginTypeMetadataCommand: (input: ListPluginTypeMet
278
290
  * serializeAws_restJson1ListRetrieversCommand
279
291
  */
280
292
  export declare const se_ListRetrieversCommand: (input: ListRetrieversCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
293
+ /**
294
+ * serializeAws_restJson1ListSubscriptionsCommand
295
+ */
296
+ export declare const se_ListSubscriptionsCommand: (input: ListSubscriptionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
281
297
  /**
282
298
  * serializeAws_restJson1ListTagsForResourceCommand
283
299
  */
@@ -342,6 +358,10 @@ export declare const se_UpdatePluginCommand: (input: UpdatePluginCommandInput, c
342
358
  * serializeAws_restJson1UpdateRetrieverCommand
343
359
  */
344
360
  export declare const se_UpdateRetrieverCommand: (input: UpdateRetrieverCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
361
+ /**
362
+ * serializeAws_restJson1UpdateSubscriptionCommand
363
+ */
364
+ export declare const se_UpdateSubscriptionCommand: (input: UpdateSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
345
365
  /**
346
366
  * serializeAws_restJson1UpdateUserCommand
347
367
  */
@@ -362,6 +382,10 @@ export declare const de_BatchDeleteDocumentCommand: (output: __HttpResponse, con
362
382
  * deserializeAws_restJson1BatchPutDocumentCommand
363
383
  */
364
384
  export declare const de_BatchPutDocumentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchPutDocumentCommandOutput>;
385
+ /**
386
+ * deserializeAws_restJson1CancelSubscriptionCommand
387
+ */
388
+ export declare const de_CancelSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelSubscriptionCommandOutput>;
365
389
  /**
366
390
  * deserializeAws_restJson1ChatCommand
367
391
  */
@@ -394,6 +418,10 @@ export declare const de_CreatePluginCommand: (output: __HttpResponse, context: _
394
418
  * deserializeAws_restJson1CreateRetrieverCommand
395
419
  */
396
420
  export declare const de_CreateRetrieverCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateRetrieverCommandOutput>;
421
+ /**
422
+ * deserializeAws_restJson1CreateSubscriptionCommand
423
+ */
424
+ export declare const de_CreateSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateSubscriptionCommandOutput>;
397
425
  /**
398
426
  * deserializeAws_restJson1CreateUserCommand
399
427
  */
@@ -558,6 +586,10 @@ export declare const de_ListPluginTypeMetadataCommand: (output: __HttpResponse,
558
586
  * deserializeAws_restJson1ListRetrieversCommand
559
587
  */
560
588
  export declare const de_ListRetrieversCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRetrieversCommandOutput>;
589
+ /**
590
+ * deserializeAws_restJson1ListSubscriptionsCommand
591
+ */
592
+ export declare const de_ListSubscriptionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSubscriptionsCommandOutput>;
561
593
  /**
562
594
  * deserializeAws_restJson1ListTagsForResourceCommand
563
595
  */
@@ -622,6 +654,10 @@ export declare const de_UpdatePluginCommand: (output: __HttpResponse, context: _
622
654
  * deserializeAws_restJson1UpdateRetrieverCommand
623
655
  */
624
656
  export declare const de_UpdateRetrieverCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateRetrieverCommandOutput>;
657
+ /**
658
+ * deserializeAws_restJson1UpdateSubscriptionCommand
659
+ */
660
+ export declare const de_UpdateSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateSubscriptionCommandOutput>;
625
661
  /**
626
662
  * deserializeAws_restJson1UpdateUserCommand
627
663
  */
@@ -11,6 +11,10 @@ import {
11
11
  BatchPutDocumentCommandInput,
12
12
  BatchPutDocumentCommandOutput,
13
13
  } from "./commands/BatchPutDocumentCommand";
14
+ import {
15
+ CancelSubscriptionCommandInput,
16
+ CancelSubscriptionCommandOutput,
17
+ } from "./commands/CancelSubscriptionCommand";
14
18
  import { ChatCommandInput, ChatCommandOutput } from "./commands/ChatCommand";
15
19
  import {
16
20
  ChatSyncCommandInput,
@@ -40,6 +44,10 @@ import {
40
44
  CreateRetrieverCommandInput,
41
45
  CreateRetrieverCommandOutput,
42
46
  } from "./commands/CreateRetrieverCommand";
47
+ import {
48
+ CreateSubscriptionCommandInput,
49
+ CreateSubscriptionCommandOutput,
50
+ } from "./commands/CreateSubscriptionCommand";
43
51
  import {
44
52
  CreateUserCommandInput,
45
53
  CreateUserCommandOutput,
@@ -204,6 +212,10 @@ import {
204
212
  ListRetrieversCommandInput,
205
213
  ListRetrieversCommandOutput,
206
214
  } from "./commands/ListRetrieversCommand";
215
+ import {
216
+ ListSubscriptionsCommandInput,
217
+ ListSubscriptionsCommandOutput,
218
+ } from "./commands/ListSubscriptionsCommand";
207
219
  import {
208
220
  ListTagsForResourceCommandInput,
209
221
  ListTagsForResourceCommandOutput,
@@ -268,6 +280,10 @@ import {
268
280
  UpdateRetrieverCommandInput,
269
281
  UpdateRetrieverCommandOutput,
270
282
  } from "./commands/UpdateRetrieverCommand";
283
+ import {
284
+ UpdateSubscriptionCommandInput,
285
+ UpdateSubscriptionCommandOutput,
286
+ } from "./commands/UpdateSubscriptionCommand";
271
287
  import {
272
288
  UpdateUserCommandInput,
273
289
  UpdateUserCommandOutput,
@@ -317,6 +333,19 @@ export interface QBusiness {
317
333
  options: __HttpHandlerOptions,
318
334
  cb: (err: any, data?: BatchPutDocumentCommandOutput) => void
319
335
  ): void;
336
+ cancelSubscription(
337
+ args: CancelSubscriptionCommandInput,
338
+ options?: __HttpHandlerOptions
339
+ ): Promise<CancelSubscriptionCommandOutput>;
340
+ cancelSubscription(
341
+ args: CancelSubscriptionCommandInput,
342
+ cb: (err: any, data?: CancelSubscriptionCommandOutput) => void
343
+ ): void;
344
+ cancelSubscription(
345
+ args: CancelSubscriptionCommandInput,
346
+ options: __HttpHandlerOptions,
347
+ cb: (err: any, data?: CancelSubscriptionCommandOutput) => void
348
+ ): void;
320
349
  chat(
321
350
  args: ChatCommandInput,
322
351
  options?: __HttpHandlerOptions
@@ -421,6 +450,19 @@ export interface QBusiness {
421
450
  options: __HttpHandlerOptions,
422
451
  cb: (err: any, data?: CreateRetrieverCommandOutput) => void
423
452
  ): void;
453
+ createSubscription(
454
+ args: CreateSubscriptionCommandInput,
455
+ options?: __HttpHandlerOptions
456
+ ): Promise<CreateSubscriptionCommandOutput>;
457
+ createSubscription(
458
+ args: CreateSubscriptionCommandInput,
459
+ cb: (err: any, data?: CreateSubscriptionCommandOutput) => void
460
+ ): void;
461
+ createSubscription(
462
+ args: CreateSubscriptionCommandInput,
463
+ options: __HttpHandlerOptions,
464
+ cb: (err: any, data?: CreateSubscriptionCommandOutput) => void
465
+ ): void;
424
466
  createUser(
425
467
  args: CreateUserCommandInput,
426
468
  options?: __HttpHandlerOptions
@@ -956,6 +998,19 @@ export interface QBusiness {
956
998
  options: __HttpHandlerOptions,
957
999
  cb: (err: any, data?: ListRetrieversCommandOutput) => void
958
1000
  ): void;
1001
+ listSubscriptions(
1002
+ args: ListSubscriptionsCommandInput,
1003
+ options?: __HttpHandlerOptions
1004
+ ): Promise<ListSubscriptionsCommandOutput>;
1005
+ listSubscriptions(
1006
+ args: ListSubscriptionsCommandInput,
1007
+ cb: (err: any, data?: ListSubscriptionsCommandOutput) => void
1008
+ ): void;
1009
+ listSubscriptions(
1010
+ args: ListSubscriptionsCommandInput,
1011
+ options: __HttpHandlerOptions,
1012
+ cb: (err: any, data?: ListSubscriptionsCommandOutput) => void
1013
+ ): void;
959
1014
  listTagsForResource(
960
1015
  args: ListTagsForResourceCommandInput,
961
1016
  options?: __HttpHandlerOptions
@@ -1164,6 +1219,19 @@ export interface QBusiness {
1164
1219
  options: __HttpHandlerOptions,
1165
1220
  cb: (err: any, data?: UpdateRetrieverCommandOutput) => void
1166
1221
  ): void;
1222
+ updateSubscription(
1223
+ args: UpdateSubscriptionCommandInput,
1224
+ options?: __HttpHandlerOptions
1225
+ ): Promise<UpdateSubscriptionCommandOutput>;
1226
+ updateSubscription(
1227
+ args: UpdateSubscriptionCommandInput,
1228
+ cb: (err: any, data?: UpdateSubscriptionCommandOutput) => void
1229
+ ): void;
1230
+ updateSubscription(
1231
+ args: UpdateSubscriptionCommandInput,
1232
+ options: __HttpHandlerOptions,
1233
+ cb: (err: any, data?: UpdateSubscriptionCommandOutput) => void
1234
+ ): void;
1167
1235
  updateUser(
1168
1236
  args: UpdateUserCommandInput,
1169
1237
  options?: __HttpHandlerOptions
@@ -67,6 +67,10 @@ import {
67
67
  BatchPutDocumentCommandInput,
68
68
  BatchPutDocumentCommandOutput,
69
69
  } from "./commands/BatchPutDocumentCommand";
70
+ import {
71
+ CancelSubscriptionCommandInput,
72
+ CancelSubscriptionCommandOutput,
73
+ } from "./commands/CancelSubscriptionCommand";
70
74
  import { ChatCommandInput, ChatCommandOutput } from "./commands/ChatCommand";
71
75
  import {
72
76
  ChatSyncCommandInput,
@@ -96,6 +100,10 @@ import {
96
100
  CreateRetrieverCommandInput,
97
101
  CreateRetrieverCommandOutput,
98
102
  } from "./commands/CreateRetrieverCommand";
103
+ import {
104
+ CreateSubscriptionCommandInput,
105
+ CreateSubscriptionCommandOutput,
106
+ } from "./commands/CreateSubscriptionCommand";
99
107
  import {
100
108
  CreateUserCommandInput,
101
109
  CreateUserCommandOutput,
@@ -260,6 +268,10 @@ import {
260
268
  ListRetrieversCommandInput,
261
269
  ListRetrieversCommandOutput,
262
270
  } from "./commands/ListRetrieversCommand";
271
+ import {
272
+ ListSubscriptionsCommandInput,
273
+ ListSubscriptionsCommandOutput,
274
+ } from "./commands/ListSubscriptionsCommand";
263
275
  import {
264
276
  ListTagsForResourceCommandInput,
265
277
  ListTagsForResourceCommandOutput,
@@ -324,6 +336,10 @@ import {
324
336
  UpdateRetrieverCommandInput,
325
337
  UpdateRetrieverCommandOutput,
326
338
  } from "./commands/UpdateRetrieverCommand";
339
+ import {
340
+ UpdateSubscriptionCommandInput,
341
+ UpdateSubscriptionCommandOutput,
342
+ } from "./commands/UpdateSubscriptionCommand";
327
343
  import {
328
344
  UpdateUserCommandInput,
329
345
  UpdateUserCommandOutput,
@@ -343,6 +359,7 @@ export type ServiceInputTypes =
343
359
  | AssociatePermissionCommandInput
344
360
  | BatchDeleteDocumentCommandInput
345
361
  | BatchPutDocumentCommandInput
362
+ | CancelSubscriptionCommandInput
346
363
  | ChatCommandInput
347
364
  | ChatSyncCommandInput
348
365
  | CreateApplicationCommandInput
@@ -351,6 +368,7 @@ export type ServiceInputTypes =
351
368
  | CreateIndexCommandInput
352
369
  | CreatePluginCommandInput
353
370
  | CreateRetrieverCommandInput
371
+ | CreateSubscriptionCommandInput
354
372
  | CreateUserCommandInput
355
373
  | CreateWebExperienceCommandInput
356
374
  | DeleteApplicationCommandInput
@@ -392,6 +410,7 @@ export type ServiceInputTypes =
392
410
  | ListPluginTypeMetadataCommandInput
393
411
  | ListPluginsCommandInput
394
412
  | ListRetrieversCommandInput
413
+ | ListSubscriptionsCommandInput
395
414
  | ListTagsForResourceCommandInput
396
415
  | ListWebExperiencesCommandInput
397
416
  | PutFeedbackCommandInput
@@ -408,12 +427,14 @@ export type ServiceInputTypes =
408
427
  | UpdateIndexCommandInput
409
428
  | UpdatePluginCommandInput
410
429
  | UpdateRetrieverCommandInput
430
+ | UpdateSubscriptionCommandInput
411
431
  | UpdateUserCommandInput
412
432
  | UpdateWebExperienceCommandInput;
413
433
  export type ServiceOutputTypes =
414
434
  | AssociatePermissionCommandOutput
415
435
  | BatchDeleteDocumentCommandOutput
416
436
  | BatchPutDocumentCommandOutput
437
+ | CancelSubscriptionCommandOutput
417
438
  | ChatCommandOutput
418
439
  | ChatSyncCommandOutput
419
440
  | CreateApplicationCommandOutput
@@ -422,6 +443,7 @@ export type ServiceOutputTypes =
422
443
  | CreateIndexCommandOutput
423
444
  | CreatePluginCommandOutput
424
445
  | CreateRetrieverCommandOutput
446
+ | CreateSubscriptionCommandOutput
425
447
  | CreateUserCommandOutput
426
448
  | CreateWebExperienceCommandOutput
427
449
  | DeleteApplicationCommandOutput
@@ -463,6 +485,7 @@ export type ServiceOutputTypes =
463
485
  | ListPluginTypeMetadataCommandOutput
464
486
  | ListPluginsCommandOutput
465
487
  | ListRetrieversCommandOutput
488
+ | ListSubscriptionsCommandOutput
466
489
  | ListTagsForResourceCommandOutput
467
490
  | ListWebExperiencesCommandOutput
468
491
  | PutFeedbackCommandOutput
@@ -479,6 +502,7 @@ export type ServiceOutputTypes =
479
502
  | UpdateIndexCommandOutput
480
503
  | UpdatePluginCommandOutput
481
504
  | UpdateRetrieverCommandOutput
505
+ | UpdateSubscriptionCommandOutput
482
506
  | UpdateUserCommandOutput
483
507
  | UpdateWebExperienceCommandOutput;
484
508
  export interface ClientDefaults