@aws-sdk/client-qbusiness 3.699.0 → 3.705.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 (151) hide show
  1. package/README.md +112 -0
  2. package/dist-cjs/index.js +1033 -57
  3. package/dist-es/QBusiness.js +28 -0
  4. package/dist-es/commands/AssociatePermissionCommand.js +22 -0
  5. package/dist-es/commands/ChatCommand.js +2 -1
  6. package/dist-es/commands/CreateDataAccessorCommand.js +23 -0
  7. package/dist-es/commands/DeleteDataAccessorCommand.js +22 -0
  8. package/dist-es/commands/DisassociatePermissionCommand.js +22 -0
  9. package/dist-es/commands/GetDataAccessorCommand.js +23 -0
  10. package/dist-es/commands/GetMediaCommand.js +22 -0
  11. package/dist-es/commands/GetPolicyCommand.js +22 -0
  12. package/dist-es/commands/ListAttachmentsCommand.js +22 -0
  13. package/dist-es/commands/ListDataAccessorsCommand.js +23 -0
  14. package/dist-es/commands/ListPluginActionsCommand.js +22 -0
  15. package/dist-es/commands/ListPluginTypeActionsCommand.js +22 -0
  16. package/dist-es/commands/ListPluginTypeMetadataCommand.js +22 -0
  17. package/dist-es/commands/SearchRelevantContentCommand.js +22 -0
  18. package/dist-es/commands/UpdateDataAccessorCommand.js +23 -0
  19. package/dist-es/commands/index.js +14 -0
  20. package/dist-es/models/index.js +1 -0
  21. package/dist-es/models/models_0.js +100 -53
  22. package/dist-es/models/models_1.js +54 -0
  23. package/dist-es/pagination/ListAttachmentsPaginator.js +4 -0
  24. package/dist-es/pagination/ListDataAccessorsPaginator.js +4 -0
  25. package/dist-es/pagination/ListPluginActionsPaginator.js +4 -0
  26. package/dist-es/pagination/ListPluginTypeActionsPaginator.js +4 -0
  27. package/dist-es/pagination/ListPluginTypeMetadataPaginator.js +4 -0
  28. package/dist-es/pagination/SearchRelevantContentPaginator.js +4 -0
  29. package/dist-es/pagination/index.js +6 -0
  30. package/dist-es/protocols/Aws_restJson1.js +574 -4
  31. package/dist-types/QBusiness.d.ts +99 -0
  32. package/dist-types/QBusinessClient.d.ts +16 -2
  33. package/dist-types/commands/AssociatePermissionCommand.d.ts +105 -0
  34. package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +3 -3
  35. package/dist-types/commands/BatchPutDocumentCommand.d.ts +8 -3
  36. package/dist-types/commands/ChatCommand.d.ts +24 -8
  37. package/dist-types/commands/ChatSyncCommand.d.ts +24 -8
  38. package/dist-types/commands/CreateApplicationCommand.d.ts +16 -14
  39. package/dist-types/commands/CreateDataAccessorCommand.d.ts +203 -0
  40. package/dist-types/commands/CreateDataSourceCommand.d.ts +8 -3
  41. package/dist-types/commands/CreateIndexCommand.d.ts +4 -4
  42. package/dist-types/commands/CreatePluginCommand.d.ts +10 -4
  43. package/dist-types/commands/CreateRetrieverCommand.d.ts +3 -3
  44. package/dist-types/commands/CreateUserCommand.d.ts +3 -3
  45. package/dist-types/commands/CreateWebExperienceCommand.d.ts +14 -3
  46. package/dist-types/commands/DeleteApplicationCommand.d.ts +3 -3
  47. package/dist-types/commands/DeleteChatControlsConfigurationCommand.d.ts +2 -2
  48. package/dist-types/commands/DeleteConversationCommand.d.ts +2 -2
  49. package/dist-types/commands/DeleteDataAccessorCommand.d.ts +95 -0
  50. package/dist-types/commands/DeleteDataSourceCommand.d.ts +3 -3
  51. package/dist-types/commands/DeleteGroupCommand.d.ts +3 -3
  52. package/dist-types/commands/DeleteIndexCommand.d.ts +3 -3
  53. package/dist-types/commands/DeletePluginCommand.d.ts +3 -3
  54. package/dist-types/commands/DeleteRetrieverCommand.d.ts +3 -3
  55. package/dist-types/commands/DeleteUserCommand.d.ts +3 -3
  56. package/dist-types/commands/DeleteWebExperienceCommand.d.ts +3 -3
  57. package/dist-types/commands/DisassociatePermissionCommand.d.ts +95 -0
  58. package/dist-types/commands/GetApplicationCommand.d.ts +6 -3
  59. package/dist-types/commands/GetChatControlsConfigurationCommand.d.ts +2 -2
  60. package/dist-types/commands/GetDataAccessorCommand.d.ts +191 -0
  61. package/dist-types/commands/GetDataSourceCommand.d.ts +7 -2
  62. package/dist-types/commands/GetGroupCommand.d.ts +3 -3
  63. package/dist-types/commands/GetIndexCommand.d.ts +3 -3
  64. package/dist-types/commands/GetMediaCommand.d.ts +105 -0
  65. package/dist-types/commands/GetPluginCommand.d.ts +9 -3
  66. package/dist-types/commands/GetPolicyCommand.d.ts +92 -0
  67. package/dist-types/commands/GetRetrieverCommand.d.ts +2 -2
  68. package/dist-types/commands/GetUserCommand.d.ts +3 -3
  69. package/dist-types/commands/GetWebExperienceCommand.d.ts +13 -2
  70. package/dist-types/commands/ListApplicationsCommand.d.ts +10 -1
  71. package/dist-types/commands/ListAttachmentsCommand.d.ts +121 -0
  72. package/dist-types/commands/ListConversationsCommand.d.ts +2 -2
  73. package/dist-types/commands/ListDataAccessorsCommand.d.ts +106 -0
  74. package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +6 -2
  75. package/dist-types/commands/ListDataSourcesCommand.d.ts +2 -2
  76. package/dist-types/commands/ListDocumentsCommand.d.ts +2 -2
  77. package/dist-types/commands/ListGroupsCommand.d.ts +3 -3
  78. package/dist-types/commands/ListIndicesCommand.d.ts +2 -2
  79. package/dist-types/commands/ListMessagesCommand.d.ts +8 -4
  80. package/dist-types/commands/ListPluginActionsCommand.d.ts +102 -0
  81. package/dist-types/commands/ListPluginTypeActionsCommand.d.ts +98 -0
  82. package/dist-types/commands/ListPluginTypeMetadataCommand.d.ts +95 -0
  83. package/dist-types/commands/ListPluginsCommand.d.ts +3 -3
  84. package/dist-types/commands/ListRetrieversCommand.d.ts +3 -3
  85. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  86. package/dist-types/commands/ListWebExperiencesCommand.d.ts +2 -2
  87. package/dist-types/commands/PutFeedbackCommand.d.ts +2 -2
  88. package/dist-types/commands/PutGroupCommand.d.ts +3 -3
  89. package/dist-types/commands/SearchRelevantContentCommand.d.ts +218 -0
  90. package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +5 -4
  91. package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +7 -3
  92. package/dist-types/commands/TagResourceCommand.d.ts +4 -4
  93. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  94. package/dist-types/commands/UpdateApplicationCommand.d.ts +13 -10
  95. package/dist-types/commands/UpdateChatControlsConfigurationCommand.d.ts +4 -4
  96. package/dist-types/commands/UpdateDataAccessorCommand.d.ts +186 -0
  97. package/dist-types/commands/UpdateDataSourceCommand.d.ts +8 -3
  98. package/dist-types/commands/UpdateIndexCommand.d.ts +3 -3
  99. package/dist-types/commands/UpdatePluginCommand.d.ts +9 -3
  100. package/dist-types/commands/UpdateRetrieverCommand.d.ts +3 -3
  101. package/dist-types/commands/UpdateUserCommand.d.ts +3 -3
  102. package/dist-types/commands/UpdateWebExperienceCommand.d.ts +14 -3
  103. package/dist-types/commands/index.d.ts +14 -0
  104. package/dist-types/models/index.d.ts +1 -0
  105. package/dist-types/models/models_0.d.ts +1119 -647
  106. package/dist-types/models/models_1.d.ts +752 -0
  107. package/dist-types/pagination/ListAttachmentsPaginator.d.ts +7 -0
  108. package/dist-types/pagination/ListDataAccessorsPaginator.d.ts +7 -0
  109. package/dist-types/pagination/ListPluginActionsPaginator.d.ts +7 -0
  110. package/dist-types/pagination/ListPluginTypeActionsPaginator.d.ts +7 -0
  111. package/dist-types/pagination/ListPluginTypeMetadataPaginator.d.ts +7 -0
  112. package/dist-types/pagination/SearchRelevantContentPaginator.d.ts +7 -0
  113. package/dist-types/pagination/index.d.ts +6 -0
  114. package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
  115. package/dist-types/ts3.4/QBusiness.d.ts +239 -0
  116. package/dist-types/ts3.4/QBusinessClient.d.ts +84 -0
  117. package/dist-types/ts3.4/commands/AssociatePermissionCommand.d.ts +51 -0
  118. package/dist-types/ts3.4/commands/ChatCommand.d.ts +2 -1
  119. package/dist-types/ts3.4/commands/ChatSyncCommand.d.ts +2 -1
  120. package/dist-types/ts3.4/commands/CreateDataAccessorCommand.d.ts +49 -0
  121. package/dist-types/ts3.4/commands/DeleteDataAccessorCommand.d.ts +51 -0
  122. package/dist-types/ts3.4/commands/DisassociatePermissionCommand.d.ts +51 -0
  123. package/dist-types/ts3.4/commands/GetDataAccessorCommand.d.ts +48 -0
  124. package/dist-types/ts3.4/commands/GetMediaCommand.d.ts +47 -0
  125. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +47 -0
  126. package/dist-types/ts3.4/commands/ListAttachmentsCommand.d.ts +50 -0
  127. package/dist-types/ts3.4/commands/ListDataAccessorsCommand.d.ts +51 -0
  128. package/dist-types/ts3.4/commands/ListPluginActionsCommand.d.ts +51 -0
  129. package/dist-types/ts3.4/commands/ListPluginTypeActionsCommand.d.ts +51 -0
  130. package/dist-types/ts3.4/commands/ListPluginTypeMetadataCommand.d.ts +51 -0
  131. package/dist-types/ts3.4/commands/SearchRelevantContentCommand.d.ts +49 -0
  132. package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +2 -4
  133. package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/UpdateChatControlsConfigurationCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/UpdateDataAccessorCommand.d.ts +49 -0
  138. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  140. package/dist-types/ts3.4/models/index.d.ts +1 -0
  141. package/dist-types/ts3.4/models/models_0.d.ts +360 -232
  142. package/dist-types/ts3.4/models/models_1.d.ts +241 -0
  143. package/dist-types/ts3.4/pagination/ListAttachmentsPaginator.d.ts +11 -0
  144. package/dist-types/ts3.4/pagination/ListDataAccessorsPaginator.d.ts +11 -0
  145. package/dist-types/ts3.4/pagination/ListPluginActionsPaginator.d.ts +11 -0
  146. package/dist-types/ts3.4/pagination/ListPluginTypeActionsPaginator.d.ts +11 -0
  147. package/dist-types/ts3.4/pagination/ListPluginTypeMetadataPaginator.d.ts +11 -0
  148. package/dist-types/ts3.4/pagination/SearchRelevantContentPaginator.d.ts +11 -0
  149. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  150. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
  151. package/package.json +1 -1
@@ -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 { StartDataSourceSyncJobRequest, StartDataSourceSyncJobResponse } from "../models/models_0";
3
+ import { StartDataSourceSyncJobRequest } from "../models/models_0";
4
+ import { StartDataSourceSyncJobResponse } from "../models/models_1";
4
5
  import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
5
6
  /**
6
7
  * @public
@@ -60,15 +61,15 @@ declare const StartDataSourceSyncJobCommand_base: {
60
61
  *
61
62
  * @throws {@link ConflictException} (client fault)
62
63
  * <p>You are trying to perform an action that conflicts with the current status of your
63
- * resource. Fix any inconsistences with your resources and try again.</p>
64
+ * resource. Fix any inconsistencies with your resources and try again.</p>
64
65
  *
65
66
  * @throws {@link InternalServerException} (server fault)
66
67
  * <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait
67
68
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
68
69
  *
69
70
  * @throws {@link ResourceNotFoundException} (client fault)
70
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
71
- * resource and try again.</p>
71
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
72
+ * provided the correct resource and try again.</p>
72
73
  *
73
74
  * @throws {@link ServiceQuotaExceededException} (client fault)
74
75
  * <p>You have exceeded the set limits for your Amazon Q Business service. </p>
@@ -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 { StopDataSourceSyncJobRequest, StopDataSourceSyncJobResponse } from "../models/models_0";
3
+ import { StopDataSourceSyncJobRequest, StopDataSourceSyncJobResponse } from "../models/models_1";
4
4
  import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
5
5
  /**
6
6
  * @public
@@ -56,13 +56,17 @@ declare const StopDataSourceSyncJobCommand_base: {
56
56
  * <p> You don't have access to perform this action. Make sure you have the required
57
57
  * permission policies and user accounts and try again.</p>
58
58
  *
59
+ * @throws {@link ConflictException} (client fault)
60
+ * <p>You are trying to perform an action that conflicts with the current status of your
61
+ * resource. Fix any inconsistencies with your resources and try again.</p>
62
+ *
59
63
  * @throws {@link InternalServerException} (server fault)
60
64
  * <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait
61
65
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
62
66
  *
63
67
  * @throws {@link ResourceNotFoundException} (client fault)
64
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
65
- * resource and try again.</p>
68
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
69
+ * provided the correct resource and try again.</p>
66
70
  *
67
71
  * @throws {@link ThrottlingException} (client fault)
68
72
  * <p>The request was denied due to throttling. Reduce the number of requests and try
@@ -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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
3
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_1";
4
4
  import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
5
5
  /**
6
6
  * @public
@@ -63,15 +63,15 @@ declare const TagResourceCommand_base: {
63
63
  *
64
64
  * @throws {@link ConflictException} (client fault)
65
65
  * <p>You are trying to perform an action that conflicts with the current status of your
66
- * resource. Fix any inconsistences with your resources and try again.</p>
66
+ * resource. Fix any inconsistencies with your resources and try again.</p>
67
67
  *
68
68
  * @throws {@link InternalServerException} (server fault)
69
69
  * <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait
70
70
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
71
71
  *
72
72
  * @throws {@link ResourceNotFoundException} (client fault)
73
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
74
- * resource and try again.</p>
73
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
74
+ * provided the correct resource and try again.</p>
75
75
  *
76
76
  * @throws {@link ThrottlingException} (client fault)
77
77
  * <p>The request was denied due to throttling. Reduce the number of requests and try
@@ -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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
3
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_1";
4
4
  import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
5
5
  /**
6
6
  * @public
@@ -61,8 +61,8 @@ declare const UntagResourceCommand_base: {
61
61
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
62
62
  *
63
63
  * @throws {@link ResourceNotFoundException} (client fault)
64
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
65
- * resource and try again.</p>
64
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
65
+ * provided the correct resource and try again.</p>
66
66
  *
67
67
  * @throws {@link ThrottlingException} (client fault)
68
68
  * <p>The request was denied due to throttling. Reduce the number of requests and try
@@ -29,13 +29,16 @@ declare const UpdateApplicationCommand_base: {
29
29
  /**
30
30
  * <p>Updates an existing Amazon Q Business application.</p>
31
31
  * <note>
32
- * <p>
33
- * A Amazon Q Apps service-linked role will be created if it's absent in the Amazon Web Services account
34
- * when the QAppsConfiguration is enabled in the request.
35
- * For more information, see <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/using-service-linked-roles-qapps.html">
36
- * Using service-linked roles for Q Apps
37
- * </a>
38
- * </p>
32
+ * <p>Amazon Q Business applications may securely transmit data for processing across
33
+ * Amazon Web Services Regions within your geography. For more information, see
34
+ * <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/cross-region-inference.html">Cross region
35
+ * inference in Amazon Q Business</a>.</p>
36
+ * </note>
37
+ * <note>
38
+ * <p>An Amazon Q Apps service-linked role will be created if it's absent in the
39
+ * Amazon Web Services account when <code>QAppsConfiguration</code> is enabled in
40
+ * the request. For more information, see <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/using-service-linked-roles-qapps.html">Using
41
+ * service-linked roles for Q Apps</a>. </p>
39
42
  * </note>
40
43
  * @example
41
44
  * Use a bare-bones client and the command you need to make an API call.
@@ -81,15 +84,15 @@ declare const UpdateApplicationCommand_base: {
81
84
  *
82
85
  * @throws {@link ConflictException} (client fault)
83
86
  * <p>You are trying to perform an action that conflicts with the current status of your
84
- * resource. Fix any inconsistences with your resources and try again.</p>
87
+ * resource. Fix any inconsistencies with your resources and try again.</p>
85
88
  *
86
89
  * @throws {@link InternalServerException} (server fault)
87
90
  * <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait
88
91
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
89
92
  *
90
93
  * @throws {@link ResourceNotFoundException} (client fault)
91
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
92
- * resource and try again.</p>
94
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
95
+ * provided the correct resource and try again.</p>
93
96
  *
94
97
  * @throws {@link ThrottlingException} (client fault)
95
98
  * <p>The request was denied due to throttling. Reduce the number of requests and try
@@ -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 { UpdateChatControlsConfigurationRequest, UpdateChatControlsConfigurationResponse } from "../models/models_0";
3
+ import { UpdateChatControlsConfigurationRequest, UpdateChatControlsConfigurationResponse } from "../models/models_1";
4
4
  import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
5
5
  /**
6
6
  * @public
@@ -156,15 +156,15 @@ declare const UpdateChatControlsConfigurationCommand_base: {
156
156
  *
157
157
  * @throws {@link ConflictException} (client fault)
158
158
  * <p>You are trying to perform an action that conflicts with the current status of your
159
- * resource. Fix any inconsistences with your resources and try again.</p>
159
+ * resource. Fix any inconsistencies with your resources and try again.</p>
160
160
  *
161
161
  * @throws {@link InternalServerException} (server fault)
162
162
  * <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait
163
163
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
164
164
  *
165
165
  * @throws {@link ResourceNotFoundException} (client fault)
166
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
167
- * resource and try again.</p>
166
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
167
+ * provided the correct resource and try again.</p>
168
168
  *
169
169
  * @throws {@link ServiceQuotaExceededException} (client fault)
170
170
  * <p>You have exceeded the set limits for your Amazon Q Business service. </p>
@@ -0,0 +1,186 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateDataAccessorResponse } from "../models/models_0";
4
+ import { UpdateDataAccessorRequest } from "../models/models_1";
5
+ import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export type { __MetadataBearer };
10
+ export { $Command };
11
+ /**
12
+ * @public
13
+ *
14
+ * The input for {@link UpdateDataAccessorCommand}.
15
+ */
16
+ export interface UpdateDataAccessorCommandInput extends UpdateDataAccessorRequest {
17
+ }
18
+ /**
19
+ * @public
20
+ *
21
+ * The output of {@link UpdateDataAccessorCommand}.
22
+ */
23
+ export interface UpdateDataAccessorCommandOutput extends UpdateDataAccessorResponse, __MetadataBearer {
24
+ }
25
+ declare const UpdateDataAccessorCommand_base: {
26
+ new (input: UpdateDataAccessorCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDataAccessorCommandInput, UpdateDataAccessorCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ new (__0_0: UpdateDataAccessorCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDataAccessorCommandInput, UpdateDataAccessorCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ /**
31
+ * <p>Updates an existing data accessor. This operation allows modifying the action configurations
32
+ * (the allowed actions and associated filters) and the display name of the data accessor.
33
+ * It does not allow changing the IAM role associated with the data accessor or other core properties of the data accessor.</p>
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { QBusinessClient, UpdateDataAccessorCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
38
+ * // const { QBusinessClient, UpdateDataAccessorCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
39
+ * const client = new QBusinessClient(config);
40
+ * const input = { // UpdateDataAccessorRequest
41
+ * applicationId: "STRING_VALUE", // required
42
+ * dataAccessorId: "STRING_VALUE", // required
43
+ * actionConfigurations: [ // ActionConfigurationList // required
44
+ * { // ActionConfiguration
45
+ * action: "STRING_VALUE", // required
46
+ * filterConfiguration: { // ActionFilterConfiguration
47
+ * documentAttributeFilter: { // AttributeFilter
48
+ * andAllFilters: [ // AttributeFilters
49
+ * {
50
+ * andAllFilters: [
51
+ * "<AttributeFilter>",
52
+ * ],
53
+ * orAllFilters: [
54
+ * "<AttributeFilter>",
55
+ * ],
56
+ * notFilter: "<AttributeFilter>",
57
+ * equalsTo: { // DocumentAttribute
58
+ * name: "STRING_VALUE", // required
59
+ * value: { // DocumentAttributeValue Union: only one key present
60
+ * stringValue: "STRING_VALUE",
61
+ * stringListValue: [ // DocumentAttributeStringListValue
62
+ * "STRING_VALUE",
63
+ * ],
64
+ * longValue: Number("long"),
65
+ * dateValue: new Date("TIMESTAMP"),
66
+ * },
67
+ * },
68
+ * containsAll: {
69
+ * name: "STRING_VALUE", // required
70
+ * value: {// Union: only one key present
71
+ * stringValue: "STRING_VALUE",
72
+ * stringListValue: [
73
+ * "STRING_VALUE",
74
+ * ],
75
+ * longValue: Number("long"),
76
+ * dateValue: new Date("TIMESTAMP"),
77
+ * },
78
+ * },
79
+ * containsAny: {
80
+ * name: "STRING_VALUE", // required
81
+ * value: {// Union: only one key present
82
+ * stringValue: "STRING_VALUE",
83
+ * stringListValue: [
84
+ * "STRING_VALUE",
85
+ * ],
86
+ * longValue: Number("long"),
87
+ * dateValue: new Date("TIMESTAMP"),
88
+ * },
89
+ * },
90
+ * greaterThan: {
91
+ * name: "STRING_VALUE", // required
92
+ * value: {// Union: only one key present
93
+ * stringValue: "STRING_VALUE",
94
+ * stringListValue: [
95
+ * "STRING_VALUE",
96
+ * ],
97
+ * longValue: Number("long"),
98
+ * dateValue: new Date("TIMESTAMP"),
99
+ * },
100
+ * },
101
+ * greaterThanOrEquals: {
102
+ * name: "STRING_VALUE", // required
103
+ * value: {// Union: only one key present
104
+ * stringValue: "STRING_VALUE",
105
+ * stringListValue: [
106
+ * "STRING_VALUE",
107
+ * ],
108
+ * longValue: Number("long"),
109
+ * dateValue: new Date("TIMESTAMP"),
110
+ * },
111
+ * },
112
+ * lessThan: "<DocumentAttribute>",
113
+ * lessThanOrEquals: "<DocumentAttribute>",
114
+ * },
115
+ * ],
116
+ * orAllFilters: [
117
+ * "<AttributeFilter>",
118
+ * ],
119
+ * notFilter: "<AttributeFilter>",
120
+ * equalsTo: "<DocumentAttribute>",
121
+ * containsAll: "<DocumentAttribute>",
122
+ * containsAny: "<DocumentAttribute>",
123
+ * greaterThan: "<DocumentAttribute>",
124
+ * greaterThanOrEquals: "<DocumentAttribute>",
125
+ * lessThan: "<DocumentAttribute>",
126
+ * lessThanOrEquals: "<DocumentAttribute>",
127
+ * },
128
+ * },
129
+ * },
130
+ * ],
131
+ * displayName: "STRING_VALUE",
132
+ * };
133
+ * const command = new UpdateDataAccessorCommand(input);
134
+ * const response = await client.send(command);
135
+ * // {};
136
+ *
137
+ * ```
138
+ *
139
+ * @param UpdateDataAccessorCommandInput - {@link UpdateDataAccessorCommandInput}
140
+ * @returns {@link UpdateDataAccessorCommandOutput}
141
+ * @see {@link UpdateDataAccessorCommandInput} for command's `input` shape.
142
+ * @see {@link UpdateDataAccessorCommandOutput} for command's `response` shape.
143
+ * @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
144
+ *
145
+ * @throws {@link AccessDeniedException} (client fault)
146
+ * <p> You don't have access to perform this action. Make sure you have the required
147
+ * permission policies and user accounts and try again.</p>
148
+ *
149
+ * @throws {@link ConflictException} (client fault)
150
+ * <p>You are trying to perform an action that conflicts with the current status of your
151
+ * resource. Fix any inconsistencies with your resources and try again.</p>
152
+ *
153
+ * @throws {@link InternalServerException} (server fault)
154
+ * <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait
155
+ * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
156
+ *
157
+ * @throws {@link ResourceNotFoundException} (client fault)
158
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
159
+ * provided the correct resource and try again.</p>
160
+ *
161
+ * @throws {@link ThrottlingException} (client fault)
162
+ * <p>The request was denied due to throttling. Reduce the number of requests and try
163
+ * again.</p>
164
+ *
165
+ * @throws {@link ValidationException} (client fault)
166
+ * <p>The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
167
+ * correct input and try again.</p>
168
+ *
169
+ * @throws {@link QBusinessServiceException}
170
+ * <p>Base exception class for all service exceptions from QBusiness service.</p>
171
+ *
172
+ * @public
173
+ */
174
+ export declare class UpdateDataAccessorCommand extends UpdateDataAccessorCommand_base {
175
+ /** @internal type navigation helper, not in runtime. */
176
+ protected static __types: {
177
+ api: {
178
+ input: UpdateDataAccessorRequest;
179
+ output: {};
180
+ };
181
+ sdk: {
182
+ input: UpdateDataAccessorCommandInput;
183
+ output: UpdateDataAccessorCommandOutput;
184
+ };
185
+ };
186
+ }
@@ -116,6 +116,11 @@ declare const UpdateDataSourceCommand_base: {
116
116
  * roleArn: "STRING_VALUE",
117
117
  * },
118
118
  * },
119
+ * mediaExtractionConfiguration: { // MediaExtractionConfiguration
120
+ * imageExtractionConfiguration: { // ImageExtractionConfiguration
121
+ * imageExtractionStatus: "ENABLED" || "DISABLED", // required
122
+ * },
123
+ * },
119
124
  * };
120
125
  * const command = new UpdateDataSourceCommand(input);
121
126
  * const response = await client.send(command);
@@ -135,15 +140,15 @@ declare const UpdateDataSourceCommand_base: {
135
140
  *
136
141
  * @throws {@link ConflictException} (client fault)
137
142
  * <p>You are trying to perform an action that conflicts with the current status of your
138
- * resource. Fix any inconsistences with your resources and try again.</p>
143
+ * resource. Fix any inconsistencies with your resources and try again.</p>
139
144
  *
140
145
  * @throws {@link InternalServerException} (server fault)
141
146
  * <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait
142
147
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
143
148
  *
144
149
  * @throws {@link ResourceNotFoundException} (client fault)
145
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
146
- * resource and try again.</p>
150
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
151
+ * provided the correct resource and try again.</p>
147
152
  *
148
153
  * @throws {@link ThrottlingException} (client fault)
149
154
  * <p>The request was denied due to throttling. Reduce the number of requests and try
@@ -68,15 +68,15 @@ declare const UpdateIndexCommand_base: {
68
68
  *
69
69
  * @throws {@link ConflictException} (client fault)
70
70
  * <p>You are trying to perform an action that conflicts with the current status of your
71
- * resource. Fix any inconsistences with your resources and try again.</p>
71
+ * resource. Fix any inconsistencies with your resources and try again.</p>
72
72
  *
73
73
  * @throws {@link InternalServerException} (server fault)
74
74
  * <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait
75
75
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
76
76
  *
77
77
  * @throws {@link ResourceNotFoundException} (client fault)
78
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
79
- * resource and try again.</p>
78
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
79
+ * provided the correct resource and try again.</p>
80
80
  *
81
81
  * @throws {@link ServiceQuotaExceededException} (client fault)
82
82
  * <p>You have exceeded the set limits for your Amazon Q Business service. </p>
@@ -59,8 +59,14 @@ declare const UpdatePluginCommand_base: {
59
59
  * oAuth2ClientCredentialConfiguration: { // OAuth2ClientCredentialConfiguration
60
60
  * secretArn: "STRING_VALUE", // required
61
61
  * roleArn: "STRING_VALUE", // required
62
+ * authorizationUrl: "STRING_VALUE",
63
+ * tokenUrl: "STRING_VALUE",
62
64
  * },
63
65
  * noAuthConfiguration: {},
66
+ * idcAuthConfiguration: { // IdcAuthConfiguration
67
+ * idcApplicationArn: "STRING_VALUE", // required
68
+ * roleArn: "STRING_VALUE", // required
69
+ * },
64
70
  * },
65
71
  * };
66
72
  * const command = new UpdatePluginCommand(input);
@@ -81,15 +87,15 @@ declare const UpdatePluginCommand_base: {
81
87
  *
82
88
  * @throws {@link ConflictException} (client fault)
83
89
  * <p>You are trying to perform an action that conflicts with the current status of your
84
- * resource. Fix any inconsistences with your resources and try again.</p>
90
+ * resource. Fix any inconsistencies with your resources and try again.</p>
85
91
  *
86
92
  * @throws {@link InternalServerException} (server fault)
87
93
  * <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait
88
94
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
89
95
  *
90
96
  * @throws {@link ResourceNotFoundException} (client fault)
91
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
92
- * resource and try again.</p>
97
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
98
+ * provided the correct resource and try again.</p>
93
99
  *
94
100
  * @throws {@link ServiceQuotaExceededException} (client fault)
95
101
  * <p>You have exceeded the set limits for your Amazon Q Business service. </p>
@@ -87,15 +87,15 @@ declare const UpdateRetrieverCommand_base: {
87
87
  *
88
88
  * @throws {@link ConflictException} (client fault)
89
89
  * <p>You are trying to perform an action that conflicts with the current status of your
90
- * resource. Fix any inconsistences with your resources and try again.</p>
90
+ * resource. Fix any inconsistencies with your resources and try again.</p>
91
91
  *
92
92
  * @throws {@link InternalServerException} (server fault)
93
93
  * <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait
94
94
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
95
95
  *
96
96
  * @throws {@link ResourceNotFoundException} (client fault)
97
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
98
- * resource and try again.</p>
97
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
98
+ * provided the correct resource and try again.</p>
99
99
  *
100
100
  * @throws {@link ServiceQuotaExceededException} (client fault)
101
101
  * <p>You have exceeded the set limits for your Amazon Q Business service. </p>
@@ -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 { UpdateUserRequest, UpdateUserResponse } from "../models/models_0";
3
+ import { UpdateUserRequest, UpdateUserResponse } from "../models/models_1";
4
4
  import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
5
5
  /**
6
6
  * @public
@@ -95,8 +95,8 @@ declare const UpdateUserCommand_base: {
95
95
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
96
96
  *
97
97
  * @throws {@link ResourceNotFoundException} (client fault)
98
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
99
- * resource and try again.</p>
98
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
99
+ * provided the correct resource and try again.</p>
100
100
  *
101
101
  * @throws {@link ServiceQuotaExceededException} (client fault)
102
102
  * <p>You have exceeded the set limits for your Amazon Q Business service. </p>
@@ -62,6 +62,17 @@ declare const UpdateWebExperienceCommand_base: {
62
62
  * origins: [ // WebExperienceOrigins
63
63
  * "STRING_VALUE",
64
64
  * ],
65
+ * browserExtensionConfiguration: { // BrowserExtensionConfiguration
66
+ * enabledBrowserExtensions: [ // BrowserExtensionList // required
67
+ * "STRING_VALUE",
68
+ * ],
69
+ * },
70
+ * customizationConfiguration: { // CustomizationConfiguration
71
+ * customCSSUrl: "STRING_VALUE",
72
+ * logoUrl: "STRING_VALUE",
73
+ * fontUrl: "STRING_VALUE",
74
+ * faviconUrl: "STRING_VALUE",
75
+ * },
65
76
  * };
66
77
  * const command = new UpdateWebExperienceCommand(input);
67
78
  * const response = await client.send(command);
@@ -81,15 +92,15 @@ declare const UpdateWebExperienceCommand_base: {
81
92
  *
82
93
  * @throws {@link ConflictException} (client fault)
83
94
  * <p>You are trying to perform an action that conflicts with the current status of your
84
- * resource. Fix any inconsistences with your resources and try again.</p>
95
+ * resource. Fix any inconsistencies with your resources and try again.</p>
85
96
  *
86
97
  * @throws {@link InternalServerException} (server fault)
87
98
  * <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait
88
99
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
89
100
  *
90
101
  * @throws {@link ResourceNotFoundException} (client fault)
91
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
92
- * resource and try again.</p>
102
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
103
+ * provided the correct resource and try again.</p>
93
104
  *
94
105
  * @throws {@link ThrottlingException} (client fault)
95
106
  * <p>The request was denied due to throttling. Reduce the number of requests and try
@@ -1,8 +1,10 @@
1
+ export * from "./AssociatePermissionCommand";
1
2
  export * from "./BatchDeleteDocumentCommand";
2
3
  export * from "./BatchPutDocumentCommand";
3
4
  export * from "./ChatCommand";
4
5
  export * from "./ChatSyncCommand";
5
6
  export * from "./CreateApplicationCommand";
7
+ export * from "./CreateDataAccessorCommand";
6
8
  export * from "./CreateDataSourceCommand";
7
9
  export * from "./CreateIndexCommand";
8
10
  export * from "./CreatePluginCommand";
@@ -12,6 +14,7 @@ export * from "./CreateWebExperienceCommand";
12
14
  export * from "./DeleteApplicationCommand";
13
15
  export * from "./DeleteChatControlsConfigurationCommand";
14
16
  export * from "./DeleteConversationCommand";
17
+ export * from "./DeleteDataAccessorCommand";
15
18
  export * from "./DeleteDataSourceCommand";
16
19
  export * from "./DeleteGroupCommand";
17
20
  export * from "./DeleteIndexCommand";
@@ -19,35 +22,46 @@ export * from "./DeletePluginCommand";
19
22
  export * from "./DeleteRetrieverCommand";
20
23
  export * from "./DeleteUserCommand";
21
24
  export * from "./DeleteWebExperienceCommand";
25
+ export * from "./DisassociatePermissionCommand";
22
26
  export * from "./GetApplicationCommand";
23
27
  export * from "./GetChatControlsConfigurationCommand";
28
+ export * from "./GetDataAccessorCommand";
24
29
  export * from "./GetDataSourceCommand";
25
30
  export * from "./GetGroupCommand";
26
31
  export * from "./GetIndexCommand";
32
+ export * from "./GetMediaCommand";
27
33
  export * from "./GetPluginCommand";
34
+ export * from "./GetPolicyCommand";
28
35
  export * from "./GetRetrieverCommand";
29
36
  export * from "./GetUserCommand";
30
37
  export * from "./GetWebExperienceCommand";
31
38
  export * from "./ListApplicationsCommand";
39
+ export * from "./ListAttachmentsCommand";
32
40
  export * from "./ListConversationsCommand";
41
+ export * from "./ListDataAccessorsCommand";
33
42
  export * from "./ListDataSourceSyncJobsCommand";
34
43
  export * from "./ListDataSourcesCommand";
35
44
  export * from "./ListDocumentsCommand";
36
45
  export * from "./ListGroupsCommand";
37
46
  export * from "./ListIndicesCommand";
38
47
  export * from "./ListMessagesCommand";
48
+ export * from "./ListPluginActionsCommand";
49
+ export * from "./ListPluginTypeActionsCommand";
50
+ export * from "./ListPluginTypeMetadataCommand";
39
51
  export * from "./ListPluginsCommand";
40
52
  export * from "./ListRetrieversCommand";
41
53
  export * from "./ListTagsForResourceCommand";
42
54
  export * from "./ListWebExperiencesCommand";
43
55
  export * from "./PutFeedbackCommand";
44
56
  export * from "./PutGroupCommand";
57
+ export * from "./SearchRelevantContentCommand";
45
58
  export * from "./StartDataSourceSyncJobCommand";
46
59
  export * from "./StopDataSourceSyncJobCommand";
47
60
  export * from "./TagResourceCommand";
48
61
  export * from "./UntagResourceCommand";
49
62
  export * from "./UpdateApplicationCommand";
50
63
  export * from "./UpdateChatControlsConfigurationCommand";
64
+ export * from "./UpdateDataAccessorCommand";
51
65
  export * from "./UpdateDataSourceCommand";
52
66
  export * from "./UpdateIndexCommand";
53
67
  export * from "./UpdatePluginCommand";
@@ -1 +1,2 @@
1
1
  export * from "./models_0";
2
+ export * from "./models_1";