@aws-sdk/client-qbusiness 3.703.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 (144) hide show
  1. package/README.md +96 -0
  2. package/dist-cjs/index.js +801 -42
  3. package/dist-es/QBusiness.js +24 -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/GetPolicyCommand.js +22 -0
  11. package/dist-es/commands/ListDataAccessorsCommand.js +23 -0
  12. package/dist-es/commands/ListPluginActionsCommand.js +22 -0
  13. package/dist-es/commands/ListPluginTypeActionsCommand.js +22 -0
  14. package/dist-es/commands/ListPluginTypeMetadataCommand.js +22 -0
  15. package/dist-es/commands/SearchRelevantContentCommand.js +22 -0
  16. package/dist-es/commands/UpdateDataAccessorCommand.js +23 -0
  17. package/dist-es/commands/index.js +12 -0
  18. package/dist-es/models/index.js +1 -0
  19. package/dist-es/models/models_0.js +59 -52
  20. package/dist-es/models/models_1.js +54 -0
  21. package/dist-es/pagination/ListDataAccessorsPaginator.js +4 -0
  22. package/dist-es/pagination/ListPluginActionsPaginator.js +4 -0
  23. package/dist-es/pagination/ListPluginTypeActionsPaginator.js +4 -0
  24. package/dist-es/pagination/ListPluginTypeMetadataPaginator.js +4 -0
  25. package/dist-es/pagination/SearchRelevantContentPaginator.js +4 -0
  26. package/dist-es/pagination/index.js +5 -0
  27. package/dist-es/protocols/Aws_restJson1.js +455 -4
  28. package/dist-types/QBusiness.d.ts +85 -0
  29. package/dist-types/QBusinessClient.d.ts +14 -2
  30. package/dist-types/commands/AssociatePermissionCommand.d.ts +105 -0
  31. package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +2 -2
  32. package/dist-types/commands/BatchPutDocumentCommand.d.ts +2 -2
  33. package/dist-types/commands/ChatCommand.d.ts +5 -4
  34. package/dist-types/commands/ChatSyncCommand.d.ts +5 -4
  35. package/dist-types/commands/CreateApplicationCommand.d.ts +6 -3
  36. package/dist-types/commands/CreateDataAccessorCommand.d.ts +203 -0
  37. package/dist-types/commands/CreateDataSourceCommand.d.ts +2 -2
  38. package/dist-types/commands/CreateIndexCommand.d.ts +2 -2
  39. package/dist-types/commands/CreatePluginCommand.d.ts +9 -3
  40. package/dist-types/commands/CreateRetrieverCommand.d.ts +2 -2
  41. package/dist-types/commands/CreateUserCommand.d.ts +2 -2
  42. package/dist-types/commands/CreateWebExperienceCommand.d.ts +8 -2
  43. package/dist-types/commands/DeleteApplicationCommand.d.ts +2 -2
  44. package/dist-types/commands/DeleteChatControlsConfigurationCommand.d.ts +2 -2
  45. package/dist-types/commands/DeleteConversationCommand.d.ts +2 -2
  46. package/dist-types/commands/DeleteDataAccessorCommand.d.ts +95 -0
  47. package/dist-types/commands/DeleteDataSourceCommand.d.ts +2 -2
  48. package/dist-types/commands/DeleteGroupCommand.d.ts +2 -2
  49. package/dist-types/commands/DeleteIndexCommand.d.ts +2 -2
  50. package/dist-types/commands/DeletePluginCommand.d.ts +2 -2
  51. package/dist-types/commands/DeleteRetrieverCommand.d.ts +2 -2
  52. package/dist-types/commands/DeleteUserCommand.d.ts +2 -2
  53. package/dist-types/commands/DeleteWebExperienceCommand.d.ts +2 -2
  54. package/dist-types/commands/DisassociatePermissionCommand.d.ts +95 -0
  55. package/dist-types/commands/GetApplicationCommand.d.ts +6 -3
  56. package/dist-types/commands/GetChatControlsConfigurationCommand.d.ts +2 -2
  57. package/dist-types/commands/GetDataAccessorCommand.d.ts +191 -0
  58. package/dist-types/commands/GetDataSourceCommand.d.ts +2 -2
  59. package/dist-types/commands/GetGroupCommand.d.ts +2 -2
  60. package/dist-types/commands/GetIndexCommand.d.ts +2 -2
  61. package/dist-types/commands/GetMediaCommand.d.ts +2 -2
  62. package/dist-types/commands/GetPluginCommand.d.ts +9 -3
  63. package/dist-types/commands/GetPolicyCommand.d.ts +92 -0
  64. package/dist-types/commands/GetRetrieverCommand.d.ts +2 -2
  65. package/dist-types/commands/GetUserCommand.d.ts +2 -2
  66. package/dist-types/commands/GetWebExperienceCommand.d.ts +8 -2
  67. package/dist-types/commands/ListApplicationsCommand.d.ts +4 -1
  68. package/dist-types/commands/ListAttachmentsCommand.d.ts +2 -2
  69. package/dist-types/commands/ListConversationsCommand.d.ts +2 -2
  70. package/dist-types/commands/ListDataAccessorsCommand.d.ts +106 -0
  71. package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +2 -2
  72. package/dist-types/commands/ListDataSourcesCommand.d.ts +2 -2
  73. package/dist-types/commands/ListDocumentsCommand.d.ts +2 -2
  74. package/dist-types/commands/ListGroupsCommand.d.ts +2 -2
  75. package/dist-types/commands/ListIndicesCommand.d.ts +2 -2
  76. package/dist-types/commands/ListMessagesCommand.d.ts +3 -3
  77. package/dist-types/commands/ListPluginActionsCommand.d.ts +102 -0
  78. package/dist-types/commands/ListPluginTypeActionsCommand.d.ts +98 -0
  79. package/dist-types/commands/ListPluginTypeMetadataCommand.d.ts +95 -0
  80. package/dist-types/commands/ListPluginsCommand.d.ts +3 -3
  81. package/dist-types/commands/ListRetrieversCommand.d.ts +3 -3
  82. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  83. package/dist-types/commands/ListWebExperiencesCommand.d.ts +2 -2
  84. package/dist-types/commands/PutFeedbackCommand.d.ts +2 -2
  85. package/dist-types/commands/PutGroupCommand.d.ts +2 -2
  86. package/dist-types/commands/SearchRelevantContentCommand.d.ts +218 -0
  87. package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +4 -3
  88. package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +3 -3
  89. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  90. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  91. package/dist-types/commands/UpdateApplicationCommand.d.ts +2 -2
  92. package/dist-types/commands/UpdateChatControlsConfigurationCommand.d.ts +3 -3
  93. package/dist-types/commands/UpdateDataAccessorCommand.d.ts +186 -0
  94. package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -2
  95. package/dist-types/commands/UpdateIndexCommand.d.ts +2 -2
  96. package/dist-types/commands/UpdatePluginCommand.d.ts +8 -2
  97. package/dist-types/commands/UpdateRetrieverCommand.d.ts +2 -2
  98. package/dist-types/commands/UpdateUserCommand.d.ts +3 -3
  99. package/dist-types/commands/UpdateWebExperienceCommand.d.ts +8 -2
  100. package/dist-types/commands/index.d.ts +12 -0
  101. package/dist-types/models/index.d.ts +1 -0
  102. package/dist-types/models/models_0.d.ts +735 -636
  103. package/dist-types/models/models_1.d.ts +752 -0
  104. package/dist-types/pagination/ListDataAccessorsPaginator.d.ts +7 -0
  105. package/dist-types/pagination/ListPluginActionsPaginator.d.ts +7 -0
  106. package/dist-types/pagination/ListPluginTypeActionsPaginator.d.ts +7 -0
  107. package/dist-types/pagination/ListPluginTypeMetadataPaginator.d.ts +7 -0
  108. package/dist-types/pagination/SearchRelevantContentPaginator.d.ts +7 -0
  109. package/dist-types/pagination/index.d.ts +5 -0
  110. package/dist-types/protocols/Aws_restJson1.d.ts +108 -0
  111. package/dist-types/ts3.4/QBusiness.d.ts +205 -0
  112. package/dist-types/ts3.4/QBusinessClient.d.ts +72 -0
  113. package/dist-types/ts3.4/commands/AssociatePermissionCommand.d.ts +51 -0
  114. package/dist-types/ts3.4/commands/ChatCommand.d.ts +2 -1
  115. package/dist-types/ts3.4/commands/ChatSyncCommand.d.ts +2 -1
  116. package/dist-types/ts3.4/commands/CreateDataAccessorCommand.d.ts +49 -0
  117. package/dist-types/ts3.4/commands/DeleteDataAccessorCommand.d.ts +51 -0
  118. package/dist-types/ts3.4/commands/DisassociatePermissionCommand.d.ts +51 -0
  119. package/dist-types/ts3.4/commands/GetDataAccessorCommand.d.ts +48 -0
  120. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +47 -0
  121. package/dist-types/ts3.4/commands/ListDataAccessorsCommand.d.ts +51 -0
  122. package/dist-types/ts3.4/commands/ListPluginActionsCommand.d.ts +51 -0
  123. package/dist-types/ts3.4/commands/ListPluginTypeActionsCommand.d.ts +51 -0
  124. package/dist-types/ts3.4/commands/ListPluginTypeMetadataCommand.d.ts +51 -0
  125. package/dist-types/ts3.4/commands/SearchRelevantContentCommand.d.ts +49 -0
  126. package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +2 -4
  127. package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/UpdateChatControlsConfigurationCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/UpdateDataAccessorCommand.d.ts +49 -0
  132. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  134. package/dist-types/ts3.4/models/index.d.ts +1 -0
  135. package/dist-types/ts3.4/models/models_0.d.ts +250 -224
  136. package/dist-types/ts3.4/models/models_1.d.ts +241 -0
  137. package/dist-types/ts3.4/pagination/ListDataAccessorsPaginator.d.ts +11 -0
  138. package/dist-types/ts3.4/pagination/ListPluginActionsPaginator.d.ts +11 -0
  139. package/dist-types/ts3.4/pagination/ListPluginTypeActionsPaginator.d.ts +11 -0
  140. package/dist-types/ts3.4/pagination/ListPluginTypeMetadataPaginator.d.ts +11 -0
  141. package/dist-types/ts3.4/pagination/SearchRelevantContentPaginator.d.ts +11 -0
  142. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  143. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +144 -0
  144. package/package.json +1 -1
@@ -43,7 +43,7 @@ declare const GetApplicationCommand_base: {
43
43
  * // displayName: "STRING_VALUE",
44
44
  * // applicationId: "STRING_VALUE",
45
45
  * // applicationArn: "STRING_VALUE",
46
- * // identityType: "AWS_IAM_IDP_SAML" || "AWS_IAM_IDP_OIDC" || "AWS_IAM_IDC",
46
+ * // identityType: "AWS_IAM_IDP_SAML" || "AWS_IAM_IDP_OIDC" || "AWS_IAM_IDC" || "AWS_QUICKSIGHT_IDP",
47
47
  * // iamIdentityProviderArn: "STRING_VALUE",
48
48
  * // identityCenterApplicationArn: "STRING_VALUE",
49
49
  * // roleArn: "STRING_VALUE",
@@ -74,6 +74,9 @@ declare const GetApplicationCommand_base: {
74
74
  * // clientIdsForOIDC: [ // ClientIdsForOIDC
75
75
  * // "STRING_VALUE",
76
76
  * // ],
77
+ * // quickSightConfiguration: { // QuickSightConfiguration
78
+ * // clientNamespace: "STRING_VALUE", // required
79
+ * // },
77
80
  * // };
78
81
  *
79
82
  * ```
@@ -93,8 +96,8 @@ declare const GetApplicationCommand_base: {
93
96
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
94
97
  *
95
98
  * @throws {@link ResourceNotFoundException} (client fault)
96
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
97
- * resource and try again.</p>
99
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
100
+ * provided the correct resource and try again.</p>
98
101
  *
99
102
  * @throws {@link ThrottlingException} (client fault)
100
103
  * <p>The request was denied due to throttling. Reduce the number of requests and try
@@ -116,8 +116,8 @@ declare const GetChatControlsConfigurationCommand_base: {
116
116
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
117
117
  *
118
118
  * @throws {@link ResourceNotFoundException} (client fault)
119
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
120
- * resource and try again.</p>
119
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
120
+ * provided the correct resource and try again.</p>
121
121
  *
122
122
  * @throws {@link ThrottlingException} (client fault)
123
123
  * <p>The request was denied due to throttling. Reduce the number of requests and try
@@ -0,0 +1,191 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetDataAccessorRequest } from "../models/models_0";
4
+ import { GetDataAccessorResponse } 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 GetDataAccessorCommand}.
15
+ */
16
+ export interface GetDataAccessorCommandInput extends GetDataAccessorRequest {
17
+ }
18
+ /**
19
+ * @public
20
+ *
21
+ * The output of {@link GetDataAccessorCommand}.
22
+ */
23
+ export interface GetDataAccessorCommandOutput extends GetDataAccessorResponse, __MetadataBearer {
24
+ }
25
+ declare const GetDataAccessorCommand_base: {
26
+ new (input: GetDataAccessorCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataAccessorCommandInput, GetDataAccessorCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ new (__0_0: GetDataAccessorCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataAccessorCommandInput, GetDataAccessorCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ /**
31
+ * <p>Retrieves information about a specified data accessor. This operation returns details about the
32
+ * data accessor, including its display name, unique identifier, Amazon Resource Name (ARN), the associated
33
+ * Q Business application and AWS IAM Identity Center application, the IAM role for the ISV, the
34
+ * action configurations, and the timestamps for when the data accessor was created and last updated.</p>
35
+ * @example
36
+ * Use a bare-bones client and the command you need to make an API call.
37
+ * ```javascript
38
+ * import { QBusinessClient, GetDataAccessorCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
39
+ * // const { QBusinessClient, GetDataAccessorCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
40
+ * const client = new QBusinessClient(config);
41
+ * const input = { // GetDataAccessorRequest
42
+ * applicationId: "STRING_VALUE", // required
43
+ * dataAccessorId: "STRING_VALUE", // required
44
+ * };
45
+ * const command = new GetDataAccessorCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // GetDataAccessorResponse
48
+ * // displayName: "STRING_VALUE",
49
+ * // dataAccessorId: "STRING_VALUE",
50
+ * // dataAccessorArn: "STRING_VALUE",
51
+ * // applicationId: "STRING_VALUE",
52
+ * // idcApplicationArn: "STRING_VALUE",
53
+ * // principal: "STRING_VALUE",
54
+ * // actionConfigurations: [ // ActionConfigurationList
55
+ * // { // ActionConfiguration
56
+ * // action: "STRING_VALUE", // required
57
+ * // filterConfiguration: { // ActionFilterConfiguration
58
+ * // documentAttributeFilter: { // AttributeFilter
59
+ * // andAllFilters: [ // AttributeFilters
60
+ * // {
61
+ * // andAllFilters: [
62
+ * // "<AttributeFilter>",
63
+ * // ],
64
+ * // orAllFilters: [
65
+ * // "<AttributeFilter>",
66
+ * // ],
67
+ * // notFilter: "<AttributeFilter>",
68
+ * // equalsTo: { // DocumentAttribute
69
+ * // name: "STRING_VALUE", // required
70
+ * // value: { // DocumentAttributeValue Union: only one key present
71
+ * // stringValue: "STRING_VALUE",
72
+ * // stringListValue: [ // DocumentAttributeStringListValue
73
+ * // "STRING_VALUE",
74
+ * // ],
75
+ * // longValue: Number("long"),
76
+ * // dateValue: new Date("TIMESTAMP"),
77
+ * // },
78
+ * // },
79
+ * // containsAll: {
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
+ * // containsAny: {
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
+ * // greaterThan: {
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
+ * // greaterThanOrEquals: {
113
+ * // name: "STRING_VALUE", // required
114
+ * // value: {// Union: only one key present
115
+ * // stringValue: "STRING_VALUE",
116
+ * // stringListValue: [
117
+ * // "STRING_VALUE",
118
+ * // ],
119
+ * // longValue: Number("long"),
120
+ * // dateValue: new Date("TIMESTAMP"),
121
+ * // },
122
+ * // },
123
+ * // lessThan: "<DocumentAttribute>",
124
+ * // lessThanOrEquals: "<DocumentAttribute>",
125
+ * // },
126
+ * // ],
127
+ * // orAllFilters: [
128
+ * // "<AttributeFilter>",
129
+ * // ],
130
+ * // notFilter: "<AttributeFilter>",
131
+ * // equalsTo: "<DocumentAttribute>",
132
+ * // containsAll: "<DocumentAttribute>",
133
+ * // containsAny: "<DocumentAttribute>",
134
+ * // greaterThan: "<DocumentAttribute>",
135
+ * // greaterThanOrEquals: "<DocumentAttribute>",
136
+ * // lessThan: "<DocumentAttribute>",
137
+ * // lessThanOrEquals: "<DocumentAttribute>",
138
+ * // },
139
+ * // },
140
+ * // },
141
+ * // ],
142
+ * // createdAt: new Date("TIMESTAMP"),
143
+ * // updatedAt: new Date("TIMESTAMP"),
144
+ * // };
145
+ *
146
+ * ```
147
+ *
148
+ * @param GetDataAccessorCommandInput - {@link GetDataAccessorCommandInput}
149
+ * @returns {@link GetDataAccessorCommandOutput}
150
+ * @see {@link GetDataAccessorCommandInput} for command's `input` shape.
151
+ * @see {@link GetDataAccessorCommandOutput} for command's `response` shape.
152
+ * @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
153
+ *
154
+ * @throws {@link AccessDeniedException} (client fault)
155
+ * <p> You don't have access to perform this action. Make sure you have the required
156
+ * permission policies and user accounts and try again.</p>
157
+ *
158
+ * @throws {@link InternalServerException} (server fault)
159
+ * <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait
160
+ * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
161
+ *
162
+ * @throws {@link ResourceNotFoundException} (client fault)
163
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
164
+ * provided the correct resource and try again.</p>
165
+ *
166
+ * @throws {@link ThrottlingException} (client fault)
167
+ * <p>The request was denied due to throttling. Reduce the number of requests and try
168
+ * again.</p>
169
+ *
170
+ * @throws {@link ValidationException} (client fault)
171
+ * <p>The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
172
+ * correct input and try again.</p>
173
+ *
174
+ * @throws {@link QBusinessServiceException}
175
+ * <p>Base exception class for all service exceptions from QBusiness service.</p>
176
+ *
177
+ * @public
178
+ */
179
+ export declare class GetDataAccessorCommand extends GetDataAccessorCommand_base {
180
+ /** @internal type navigation helper, not in runtime. */
181
+ protected static __types: {
182
+ api: {
183
+ input: GetDataAccessorRequest;
184
+ output: GetDataAccessorResponse;
185
+ };
186
+ sdk: {
187
+ input: GetDataAccessorCommandInput;
188
+ output: GetDataAccessorCommandOutput;
189
+ };
190
+ };
191
+ }
@@ -156,8 +156,8 @@ declare const GetDataSourceCommand_base: {
156
156
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
157
157
  *
158
158
  * @throws {@link ResourceNotFoundException} (client fault)
159
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
160
- * resource and try again.</p>
159
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
160
+ * provided the correct resource and try again.</p>
161
161
  *
162
162
  * @throws {@link ThrottlingException} (client fault)
163
163
  * <p>The request was denied due to throttling. Reduce the number of requests and try
@@ -84,8 +84,8 @@ declare const GetGroupCommand_base: {
84
84
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
85
85
  *
86
86
  * @throws {@link ResourceNotFoundException} (client fault)
87
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
88
- * resource and try again.</p>
87
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
88
+ * provided the correct resource and try again.</p>
89
89
  *
90
90
  * @throws {@link ThrottlingException} (client fault)
91
91
  * <p>The request was denied due to throttling. Reduce the number of requests and try
@@ -89,8 +89,8 @@ declare const GetIndexCommand_base: {
89
89
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
90
90
  *
91
91
  * @throws {@link ResourceNotFoundException} (client fault)
92
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
93
- * resource and try again.</p>
92
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
93
+ * provided the correct resource and try again.</p>
94
94
  *
95
95
  * @throws {@link ThrottlingException} (client fault)
96
96
  * <p>The request was denied due to throttling. Reduce the number of requests and try
@@ -74,8 +74,8 @@ declare const GetMediaCommand_base: {
74
74
  * <p>The requested media object is too large to be returned.</p>
75
75
  *
76
76
  * @throws {@link ResourceNotFoundException} (client fault)
77
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
78
- * resource and try again.</p>
77
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
78
+ * provided the correct resource and try again.</p>
79
79
  *
80
80
  * @throws {@link ThrottlingException} (client fault)
81
81
  * <p>The request was denied due to throttling. Reduce the number of requests and try
@@ -44,7 +44,7 @@ declare const GetPluginCommand_base: {
44
44
  * // applicationId: "STRING_VALUE",
45
45
  * // pluginId: "STRING_VALUE",
46
46
  * // displayName: "STRING_VALUE",
47
- * // type: "SERVICE_NOW" || "SALESFORCE" || "JIRA" || "ZENDESK" || "CUSTOM",
47
+ * // type: "SERVICE_NOW" || "SALESFORCE" || "JIRA" || "ZENDESK" || "CUSTOM" || "QUICKSIGHT" || "SERVICENOW_NOW_PLATFORM" || "JIRA_CLOUD" || "SALESFORCE_CRM" || "ZENDESK_SUITE" || "ATLASSIAN_CONFLUENCE" || "GOOGLE_CALENDAR" || "MICROSOFT_TEAMS" || "MICROSOFT_EXCHANGE" || "PAGERDUTY_ADVANCE" || "SMARTSHEET" || "ASANA",
48
48
  * // serverUrl: "STRING_VALUE",
49
49
  * // authConfiguration: { // PluginAuthConfiguration Union: only one key present
50
50
  * // basicAuthConfiguration: { // BasicAuthConfiguration
@@ -54,8 +54,14 @@ declare const GetPluginCommand_base: {
54
54
  * // oAuth2ClientCredentialConfiguration: { // OAuth2ClientCredentialConfiguration
55
55
  * // secretArn: "STRING_VALUE", // required
56
56
  * // roleArn: "STRING_VALUE", // required
57
+ * // authorizationUrl: "STRING_VALUE",
58
+ * // tokenUrl: "STRING_VALUE",
57
59
  * // },
58
60
  * // noAuthConfiguration: {},
61
+ * // idcAuthConfiguration: { // IdcAuthConfiguration
62
+ * // idcApplicationArn: "STRING_VALUE", // required
63
+ * // roleArn: "STRING_VALUE", // required
64
+ * // },
59
65
  * // },
60
66
  * // customPluginConfiguration: { // CustomPluginConfiguration
61
67
  * // description: "STRING_VALUE", // required
@@ -92,8 +98,8 @@ declare const GetPluginCommand_base: {
92
98
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
93
99
  *
94
100
  * @throws {@link ResourceNotFoundException} (client fault)
95
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
96
- * resource and try again.</p>
101
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
102
+ * provided the correct resource and try again.</p>
97
103
  *
98
104
  * @throws {@link ThrottlingException} (client fault)
99
105
  * <p>The request was denied due to throttling. Reduce the number of requests and try
@@ -0,0 +1,92 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetPolicyRequest, GetPolicyResponse } from "../models/models_0";
4
+ import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetPolicyCommand}.
14
+ */
15
+ export interface GetPolicyCommandInput extends GetPolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetPolicyCommand}.
21
+ */
22
+ export interface GetPolicyCommandOutput extends GetPolicyResponse, __MetadataBearer {
23
+ }
24
+ declare const GetPolicyCommand_base: {
25
+ new (input: GetPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetPolicyCommandInput, GetPolicyCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetPolicyCommandInput, GetPolicyCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves the current permission policy for a Q Business application. The policy is
31
+ * returned as a JSON-formatted string and defines the IAM actions that are allowed or denied for the application's resources.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { QBusinessClient, GetPolicyCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
36
+ * // const { QBusinessClient, GetPolicyCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
37
+ * const client = new QBusinessClient(config);
38
+ * const input = { // GetPolicyRequest
39
+ * applicationId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new GetPolicyCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetPolicyResponse
44
+ * // policy: "STRING_VALUE",
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param GetPolicyCommandInput - {@link GetPolicyCommandInput}
50
+ * @returns {@link GetPolicyCommandOutput}
51
+ * @see {@link GetPolicyCommandInput} for command's `input` shape.
52
+ * @see {@link GetPolicyCommandOutput} for command's `response` shape.
53
+ * @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p> You don't have access to perform this action. Make sure you have the required
57
+ * permission policies and user accounts and try again.</p>
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait
61
+ * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
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
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>The request was denied due to throttling. Reduce the number of requests and try
69
+ * again.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
73
+ * correct input and try again.</p>
74
+ *
75
+ * @throws {@link QBusinessServiceException}
76
+ * <p>Base exception class for all service exceptions from QBusiness service.</p>
77
+ *
78
+ * @public
79
+ */
80
+ export declare class GetPolicyCommand extends GetPolicyCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: GetPolicyRequest;
85
+ output: GetPolicyResponse;
86
+ };
87
+ sdk: {
88
+ input: GetPolicyCommandInput;
89
+ output: GetPolicyCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -99,8 +99,8 @@ declare const GetRetrieverCommand_base: {
99
99
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
100
100
  *
101
101
  * @throws {@link ResourceNotFoundException} (client fault)
102
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
103
- * 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>
104
104
  *
105
105
  * @throws {@link ThrottlingException} (client fault)
106
106
  * <p>The request was denied due to throttling. Reduce the number of requests and try
@@ -72,8 +72,8 @@ declare const GetUserCommand_base: {
72
72
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
73
73
  *
74
74
  * @throws {@link ResourceNotFoundException} (client fault)
75
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
76
- * resource and try again.</p>
75
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
76
+ * provided the correct resource and try again.</p>
77
77
  *
78
78
  * @throws {@link ThrottlingException} (client fault)
79
79
  * <p>The request was denied due to throttling. Reduce the number of requests and try
@@ -82,6 +82,12 @@ declare const GetWebExperienceCommand_base: {
82
82
  * // "STRING_VALUE",
83
83
  * // ],
84
84
  * // },
85
+ * // customizationConfiguration: { // CustomizationConfiguration
86
+ * // customCSSUrl: "STRING_VALUE",
87
+ * // logoUrl: "STRING_VALUE",
88
+ * // fontUrl: "STRING_VALUE",
89
+ * // faviconUrl: "STRING_VALUE",
90
+ * // },
85
91
  * // };
86
92
  *
87
93
  * ```
@@ -101,8 +107,8 @@ declare const GetWebExperienceCommand_base: {
101
107
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
102
108
  *
103
109
  * @throws {@link ResourceNotFoundException} (client fault)
104
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
105
- * resource and try again.</p>
110
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
111
+ * provided the correct resource and try again.</p>
106
112
  *
107
113
  * @throws {@link ThrottlingException} (client fault)
108
114
  * <p>The request was denied due to throttling. Reduce the number of requests and try
@@ -55,7 +55,10 @@ declare const ListApplicationsCommand_base: {
55
55
  * // createdAt: new Date("TIMESTAMP"),
56
56
  * // updatedAt: new Date("TIMESTAMP"),
57
57
  * // status: "CREATING" || "ACTIVE" || "DELETING" || "FAILED" || "UPDATING",
58
- * // identityType: "AWS_IAM_IDP_SAML" || "AWS_IAM_IDP_OIDC" || "AWS_IAM_IDC",
58
+ * // identityType: "AWS_IAM_IDP_SAML" || "AWS_IAM_IDP_OIDC" || "AWS_IAM_IDC" || "AWS_QUICKSIGHT_IDP",
59
+ * // quickSightConfiguration: { // QuickSightConfiguration
60
+ * // clientNamespace: "STRING_VALUE", // required
61
+ * // },
59
62
  * // },
60
63
  * // ],
61
64
  * // };
@@ -90,8 +90,8 @@ declare const ListAttachmentsCommand_base: {
90
90
  * your admin to activate your license and try again after your licence is active.</p>
91
91
  *
92
92
  * @throws {@link ResourceNotFoundException} (client fault)
93
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
94
- * resource and try again.</p>
93
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
94
+ * provided the correct resource and try again.</p>
95
95
  *
96
96
  * @throws {@link ThrottlingException} (client fault)
97
97
  * <p>The request was denied due to throttling. Reduce the number of requests and try
@@ -74,8 +74,8 @@ declare const ListConversationsCommand_base: {
74
74
  * your admin to activate your license and try again after your licence is active.</p>
75
75
  *
76
76
  * @throws {@link ResourceNotFoundException} (client fault)
77
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
78
- * resource and try again.</p>
77
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
78
+ * provided the correct resource and try again.</p>
79
79
  *
80
80
  * @throws {@link ThrottlingException} (client fault)
81
81
  * <p>The request was denied due to throttling. Reduce the number of requests and try
@@ -0,0 +1,106 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListDataAccessorsRequest, ListDataAccessorsResponse } from "../models/models_0";
4
+ import { QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QBusinessClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListDataAccessorsCommand}.
14
+ */
15
+ export interface ListDataAccessorsCommandInput extends ListDataAccessorsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListDataAccessorsCommand}.
21
+ */
22
+ export interface ListDataAccessorsCommandOutput extends ListDataAccessorsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListDataAccessorsCommand_base: {
25
+ new (input: ListDataAccessorsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDataAccessorsCommandInput, ListDataAccessorsCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListDataAccessorsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDataAccessorsCommandInput, ListDataAccessorsCommandOutput, QBusinessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the data accessors for a Q Business application. This operation returns a paginated
31
+ * list of data accessor summaries, including the friendly name, unique identifier, ARN,
32
+ * associated IAM role, and creation/update timestamps for each data accessor.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { QBusinessClient, ListDataAccessorsCommand } from "@aws-sdk/client-qbusiness"; // ES Modules import
37
+ * // const { QBusinessClient, ListDataAccessorsCommand } = require("@aws-sdk/client-qbusiness"); // CommonJS import
38
+ * const client = new QBusinessClient(config);
39
+ * const input = { // ListDataAccessorsRequest
40
+ * applicationId: "STRING_VALUE", // required
41
+ * nextToken: "STRING_VALUE",
42
+ * maxResults: Number("int"),
43
+ * };
44
+ * const command = new ListDataAccessorsCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListDataAccessorsResponse
47
+ * // dataAccessors: [ // DataAccessors
48
+ * // { // DataAccessor
49
+ * // displayName: "STRING_VALUE",
50
+ * // dataAccessorId: "STRING_VALUE",
51
+ * // dataAccessorArn: "STRING_VALUE",
52
+ * // idcApplicationArn: "STRING_VALUE",
53
+ * // principal: "STRING_VALUE",
54
+ * // createdAt: new Date("TIMESTAMP"),
55
+ * // updatedAt: new Date("TIMESTAMP"),
56
+ * // },
57
+ * // ],
58
+ * // nextToken: "STRING_VALUE",
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param ListDataAccessorsCommandInput - {@link ListDataAccessorsCommandInput}
64
+ * @returns {@link ListDataAccessorsCommandOutput}
65
+ * @see {@link ListDataAccessorsCommandInput} for command's `input` shape.
66
+ * @see {@link ListDataAccessorsCommandOutput} for command's `response` shape.
67
+ * @see {@link QBusinessClientResolvedConfig | config} for QBusinessClient's `config` shape.
68
+ *
69
+ * @throws {@link AccessDeniedException} (client fault)
70
+ * <p> You don't have access to perform this action. Make sure you have the required
71
+ * permission policies and user accounts and try again.</p>
72
+ *
73
+ * @throws {@link InternalServerException} (server fault)
74
+ * <p>An issue occurred with the internal server used for your Amazon Q Business service. Wait
75
+ * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
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
+ *
81
+ * @throws {@link ThrottlingException} (client fault)
82
+ * <p>The request was denied due to throttling. Reduce the number of requests and try
83
+ * again.</p>
84
+ *
85
+ * @throws {@link ValidationException} (client fault)
86
+ * <p>The input doesn't meet the constraints set by the Amazon Q Business service. Provide the
87
+ * correct input and try again.</p>
88
+ *
89
+ * @throws {@link QBusinessServiceException}
90
+ * <p>Base exception class for all service exceptions from QBusiness service.</p>
91
+ *
92
+ * @public
93
+ */
94
+ export declare class ListDataAccessorsCommand extends ListDataAccessorsCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: ListDataAccessorsRequest;
99
+ output: ListDataAccessorsResponse;
100
+ };
101
+ sdk: {
102
+ input: ListDataAccessorsCommandInput;
103
+ output: ListDataAccessorsCommandOutput;
104
+ };
105
+ };
106
+ }
@@ -91,8 +91,8 @@ declare const ListDataSourceSyncJobsCommand_base: {
91
91
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
92
92
  *
93
93
  * @throws {@link ResourceNotFoundException} (client fault)
94
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
95
- * 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>
96
96
  *
97
97
  * @throws {@link ThrottlingException} (client fault)
98
98
  * <p>The request was denied due to throttling. Reduce the number of requests and try
@@ -73,8 +73,8 @@ declare const ListDataSourcesCommand_base: {
73
73
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
74
74
  *
75
75
  * @throws {@link ResourceNotFoundException} (client fault)
76
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
77
- * resource and try again.</p>
76
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
77
+ * provided the correct resource and try again.</p>
78
78
  *
79
79
  * @throws {@link ThrottlingException} (client fault)
80
80
  * <p>The request was denied due to throttling. Reduce the number of requests and try
@@ -78,8 +78,8 @@ declare const ListDocumentsCommand_base: {
78
78
  * some minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
79
79
  *
80
80
  * @throws {@link ResourceNotFoundException} (client fault)
81
- * <p>The resource you want to use doesn’t exist. Make sure you have provided the correct
82
- * resource and try again.</p>
81
+ * <p>The application or plugin resource you want to use doesn’t exist. Make sure you have
82
+ * provided the correct resource and try again.</p>
83
83
  *
84
84
  * @throws {@link ThrottlingException} (client fault)
85
85
  * <p>The request was denied due to throttling. Reduce the number of requests and try