@aws-sdk/client-qapps 3.612.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 (187) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +397 -0
  3. package/dist-cjs/QApps.js +57 -0
  4. package/dist-cjs/QAppsClient.js +56 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/AssociateLibraryItemReviewCommand.js +28 -0
  8. package/dist-cjs/commands/AssociateQAppWithUserCommand.js +28 -0
  9. package/dist-cjs/commands/CreateLibraryItemCommand.js +28 -0
  10. package/dist-cjs/commands/CreateQAppCommand.js +28 -0
  11. package/dist-cjs/commands/DeleteLibraryItemCommand.js +28 -0
  12. package/dist-cjs/commands/DeleteQAppCommand.js +28 -0
  13. package/dist-cjs/commands/DisassociateLibraryItemReviewCommand.js +28 -0
  14. package/dist-cjs/commands/DisassociateQAppFromUserCommand.js +28 -0
  15. package/dist-cjs/commands/GetLibraryItemCommand.js +28 -0
  16. package/dist-cjs/commands/GetQAppCommand.js +28 -0
  17. package/dist-cjs/commands/GetQAppSessionCommand.js +28 -0
  18. package/dist-cjs/commands/ImportDocumentCommand.js +28 -0
  19. package/dist-cjs/commands/ListLibraryItemsCommand.js +28 -0
  20. package/dist-cjs/commands/ListQAppsCommand.js +28 -0
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
  22. package/dist-cjs/commands/PredictQAppCommand.js +28 -0
  23. package/dist-cjs/commands/StartQAppSessionCommand.js +28 -0
  24. package/dist-cjs/commands/StopQAppSessionCommand.js +28 -0
  25. package/dist-cjs/commands/TagResourceCommand.js +28 -0
  26. package/dist-cjs/commands/UntagResourceCommand.js +28 -0
  27. package/dist-cjs/commands/UpdateLibraryItemCommand.js +28 -0
  28. package/dist-cjs/commands/UpdateQAppCommand.js +28 -0
  29. package/dist-cjs/commands/UpdateQAppSessionCommand.js +28 -0
  30. package/dist-cjs/commands/index.js +26 -0
  31. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  32. package/dist-cjs/endpoint/endpointResolver.js +14 -0
  33. package/dist-cjs/endpoint/ruleset.js +7 -0
  34. package/dist-cjs/extensionConfiguration.js +2 -0
  35. package/dist-cjs/index.js +11 -0
  36. package/dist-cjs/models/QAppsServiceException.js +12 -0
  37. package/dist-cjs/models/index.js +4 -0
  38. package/dist-cjs/models/models_0.js +236 -0
  39. package/dist-cjs/pagination/Interfaces.js +2 -0
  40. package/dist-cjs/pagination/ListLibraryItemsPaginator.js +7 -0
  41. package/dist-cjs/pagination/ListQAppsPaginator.js +7 -0
  42. package/dist-cjs/pagination/index.js +6 -0
  43. package/dist-cjs/protocols/Aws_restJson1.js +1207 -0
  44. package/dist-cjs/runtimeConfig.browser.js +39 -0
  45. package/dist-cjs/runtimeConfig.js +49 -0
  46. package/dist-cjs/runtimeConfig.native.js +15 -0
  47. package/dist-cjs/runtimeConfig.shared.js +34 -0
  48. package/dist-cjs/runtimeExtensions.js +25 -0
  49. package/dist-es/QApps.js +53 -0
  50. package/dist-es/QAppsClient.js +52 -0
  51. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  52. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  53. package/dist-es/commands/AssociateLibraryItemReviewCommand.js +24 -0
  54. package/dist-es/commands/AssociateQAppWithUserCommand.js +24 -0
  55. package/dist-es/commands/CreateLibraryItemCommand.js +24 -0
  56. package/dist-es/commands/CreateQAppCommand.js +24 -0
  57. package/dist-es/commands/DeleteLibraryItemCommand.js +24 -0
  58. package/dist-es/commands/DeleteQAppCommand.js +24 -0
  59. package/dist-es/commands/DisassociateLibraryItemReviewCommand.js +24 -0
  60. package/dist-es/commands/DisassociateQAppFromUserCommand.js +24 -0
  61. package/dist-es/commands/GetLibraryItemCommand.js +24 -0
  62. package/dist-es/commands/GetQAppCommand.js +24 -0
  63. package/dist-es/commands/GetQAppSessionCommand.js +24 -0
  64. package/dist-es/commands/ImportDocumentCommand.js +24 -0
  65. package/dist-es/commands/ListLibraryItemsCommand.js +24 -0
  66. package/dist-es/commands/ListQAppsCommand.js +24 -0
  67. package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
  68. package/dist-es/commands/PredictQAppCommand.js +24 -0
  69. package/dist-es/commands/StartQAppSessionCommand.js +24 -0
  70. package/dist-es/commands/StopQAppSessionCommand.js +24 -0
  71. package/dist-es/commands/TagResourceCommand.js +24 -0
  72. package/dist-es/commands/UntagResourceCommand.js +24 -0
  73. package/dist-es/commands/UpdateLibraryItemCommand.js +24 -0
  74. package/dist-es/commands/UpdateQAppCommand.js +24 -0
  75. package/dist-es/commands/UpdateQAppSessionCommand.js +24 -0
  76. package/dist-es/commands/index.js +23 -0
  77. package/dist-es/endpoint/EndpointParameters.js +14 -0
  78. package/dist-es/endpoint/endpointResolver.js +10 -0
  79. package/dist-es/endpoint/ruleset.js +4 -0
  80. package/dist-es/extensionConfiguration.js +1 -0
  81. package/dist-es/index.js +6 -0
  82. package/dist-es/models/QAppsServiceException.js +8 -0
  83. package/dist-es/models/index.js +1 -0
  84. package/dist-es/models/models_0.js +224 -0
  85. package/dist-es/pagination/Interfaces.js +1 -0
  86. package/dist-es/pagination/ListLibraryItemsPaginator.js +4 -0
  87. package/dist-es/pagination/ListQAppsPaginator.js +4 -0
  88. package/dist-es/pagination/index.js +3 -0
  89. package/dist-es/protocols/Aws_restJson1.js +1158 -0
  90. package/dist-es/runtimeConfig.browser.js +34 -0
  91. package/dist-es/runtimeConfig.js +44 -0
  92. package/dist-es/runtimeConfig.native.js +11 -0
  93. package/dist-es/runtimeConfig.shared.js +30 -0
  94. package/dist-es/runtimeExtensions.js +21 -0
  95. package/dist-types/QApps.d.ts +179 -0
  96. package/dist-types/QAppsClient.d.ts +202 -0
  97. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  98. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  99. package/dist-types/commands/AssociateLibraryItemReviewCommand.d.ts +83 -0
  100. package/dist-types/commands/AssociateQAppWithUserCommand.d.ts +85 -0
  101. package/dist-types/commands/CreateLibraryItemCommand.d.ts +95 -0
  102. package/dist-types/commands/CreateQAppCommand.d.ts +225 -0
  103. package/dist-types/commands/DeleteLibraryItemCommand.d.ts +83 -0
  104. package/dist-types/commands/DeleteQAppCommand.d.ts +78 -0
  105. package/dist-types/commands/DisassociateLibraryItemReviewCommand.d.ts +82 -0
  106. package/dist-types/commands/DisassociateQAppFromUserCommand.d.ts +79 -0
  107. package/dist-types/commands/GetLibraryItemCommand.d.ts +98 -0
  108. package/dist-types/commands/GetQAppCommand.d.ts +224 -0
  109. package/dist-types/commands/GetQAppSessionCommand.d.ts +92 -0
  110. package/dist-types/commands/ImportDocumentCommand.d.ts +97 -0
  111. package/dist-types/commands/ListLibraryItemsCommand.d.ts +103 -0
  112. package/dist-types/commands/ListQAppsCommand.d.ts +91 -0
  113. package/dist-types/commands/ListTagsForResourceCommand.d.ts +78 -0
  114. package/dist-types/commands/PredictQAppCommand.d.ts +209 -0
  115. package/dist-types/commands/StartQAppSessionCommand.d.ts +100 -0
  116. package/dist-types/commands/StopQAppSessionCommand.d.ts +84 -0
  117. package/dist-types/commands/TagResourceCommand.d.ts +81 -0
  118. package/dist-types/commands/UntagResourceCommand.d.ts +77 -0
  119. package/dist-types/commands/UpdateLibraryItemCommand.d.ts +100 -0
  120. package/dist-types/commands/UpdateQAppCommand.d.ts +216 -0
  121. package/dist-types/commands/UpdateQAppSessionCommand.d.ts +95 -0
  122. package/dist-types/commands/index.d.ts +23 -0
  123. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  124. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  125. package/dist-types/endpoint/ruleset.d.ts +2 -0
  126. package/dist-types/extensionConfiguration.d.ts +9 -0
  127. package/dist-types/index.d.ts +22 -0
  128. package/dist-types/models/QAppsServiceException.d.ts +14 -0
  129. package/dist-types/models/index.d.ts +1 -0
  130. package/dist-types/models/models_0.d.ts +2138 -0
  131. package/dist-types/pagination/Interfaces.d.ts +8 -0
  132. package/dist-types/pagination/ListLibraryItemsPaginator.d.ts +7 -0
  133. package/dist-types/pagination/ListQAppsPaginator.d.ts +7 -0
  134. package/dist-types/pagination/index.d.ts +3 -0
  135. package/dist-types/protocols/Aws_restJson1.d.ts +209 -0
  136. package/dist-types/runtimeConfig.browser.d.ts +45 -0
  137. package/dist-types/runtimeConfig.d.ts +45 -0
  138. package/dist-types/runtimeConfig.native.d.ts +44 -0
  139. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  140. package/dist-types/runtimeExtensions.d.ts +17 -0
  141. package/dist-types/ts3.4/QApps.d.ts +396 -0
  142. package/dist-types/ts3.4/QAppsClient.d.ts +258 -0
  143. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  144. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  145. package/dist-types/ts3.4/commands/AssociateLibraryItemReviewCommand.d.ts +36 -0
  146. package/dist-types/ts3.4/commands/AssociateQAppWithUserCommand.d.ts +35 -0
  147. package/dist-types/ts3.4/commands/CreateLibraryItemCommand.d.ts +39 -0
  148. package/dist-types/ts3.4/commands/CreateQAppCommand.d.ts +36 -0
  149. package/dist-types/ts3.4/commands/DeleteLibraryItemCommand.d.ts +34 -0
  150. package/dist-types/ts3.4/commands/DeleteQAppCommand.d.ts +34 -0
  151. package/dist-types/ts3.4/commands/DisassociateLibraryItemReviewCommand.d.ts +36 -0
  152. package/dist-types/ts3.4/commands/DisassociateQAppFromUserCommand.d.ts +36 -0
  153. package/dist-types/ts3.4/commands/GetLibraryItemCommand.d.ts +36 -0
  154. package/dist-types/ts3.4/commands/GetQAppCommand.d.ts +30 -0
  155. package/dist-types/ts3.4/commands/GetQAppSessionCommand.d.ts +36 -0
  156. package/dist-types/ts3.4/commands/ImportDocumentCommand.d.ts +36 -0
  157. package/dist-types/ts3.4/commands/ListLibraryItemsCommand.d.ts +39 -0
  158. package/dist-types/ts3.4/commands/ListQAppsCommand.d.ts +36 -0
  159. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +40 -0
  160. package/dist-types/ts3.4/commands/PredictQAppCommand.d.ts +36 -0
  161. package/dist-types/ts3.4/commands/StartQAppSessionCommand.d.ts +39 -0
  162. package/dist-types/ts3.4/commands/StopQAppSessionCommand.d.ts +34 -0
  163. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +36 -0
  164. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +39 -0
  165. package/dist-types/ts3.4/commands/UpdateLibraryItemCommand.d.ts +39 -0
  166. package/dist-types/ts3.4/commands/UpdateQAppCommand.d.ts +36 -0
  167. package/dist-types/ts3.4/commands/UpdateQAppSessionCommand.d.ts +39 -0
  168. package/dist-types/ts3.4/commands/index.d.ts +23 -0
  169. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  170. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  171. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  172. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  173. package/dist-types/ts3.4/index.d.ts +9 -0
  174. package/dist-types/ts3.4/models/QAppsServiceException.d.ts +9 -0
  175. package/dist-types/ts3.4/models/index.d.ts +1 -0
  176. package/dist-types/ts3.4/models/models_0.d.ts +681 -0
  177. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  178. package/dist-types/ts3.4/pagination/ListLibraryItemsPaginator.d.ts +11 -0
  179. package/dist-types/ts3.4/pagination/ListQAppsPaginator.d.ts +11 -0
  180. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  181. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +281 -0
  182. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +85 -0
  183. package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
  184. package/dist-types/ts3.4/runtimeConfig.native.d.ts +79 -0
  185. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  186. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  187. package/package.json +101 -0
@@ -0,0 +1,396 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ AssociateLibraryItemReviewCommandInput,
4
+ AssociateLibraryItemReviewCommandOutput,
5
+ } from "./commands/AssociateLibraryItemReviewCommand";
6
+ import {
7
+ AssociateQAppWithUserCommandInput,
8
+ AssociateQAppWithUserCommandOutput,
9
+ } from "./commands/AssociateQAppWithUserCommand";
10
+ import {
11
+ CreateLibraryItemCommandInput,
12
+ CreateLibraryItemCommandOutput,
13
+ } from "./commands/CreateLibraryItemCommand";
14
+ import {
15
+ CreateQAppCommandInput,
16
+ CreateQAppCommandOutput,
17
+ } from "./commands/CreateQAppCommand";
18
+ import {
19
+ DeleteLibraryItemCommandInput,
20
+ DeleteLibraryItemCommandOutput,
21
+ } from "./commands/DeleteLibraryItemCommand";
22
+ import {
23
+ DeleteQAppCommandInput,
24
+ DeleteQAppCommandOutput,
25
+ } from "./commands/DeleteQAppCommand";
26
+ import {
27
+ DisassociateLibraryItemReviewCommandInput,
28
+ DisassociateLibraryItemReviewCommandOutput,
29
+ } from "./commands/DisassociateLibraryItemReviewCommand";
30
+ import {
31
+ DisassociateQAppFromUserCommandInput,
32
+ DisassociateQAppFromUserCommandOutput,
33
+ } from "./commands/DisassociateQAppFromUserCommand";
34
+ import {
35
+ GetLibraryItemCommandInput,
36
+ GetLibraryItemCommandOutput,
37
+ } from "./commands/GetLibraryItemCommand";
38
+ import {
39
+ GetQAppCommandInput,
40
+ GetQAppCommandOutput,
41
+ } from "./commands/GetQAppCommand";
42
+ import {
43
+ GetQAppSessionCommandInput,
44
+ GetQAppSessionCommandOutput,
45
+ } from "./commands/GetQAppSessionCommand";
46
+ import {
47
+ ImportDocumentCommandInput,
48
+ ImportDocumentCommandOutput,
49
+ } from "./commands/ImportDocumentCommand";
50
+ import {
51
+ ListLibraryItemsCommandInput,
52
+ ListLibraryItemsCommandOutput,
53
+ } from "./commands/ListLibraryItemsCommand";
54
+ import {
55
+ ListQAppsCommandInput,
56
+ ListQAppsCommandOutput,
57
+ } from "./commands/ListQAppsCommand";
58
+ import {
59
+ ListTagsForResourceCommandInput,
60
+ ListTagsForResourceCommandOutput,
61
+ } from "./commands/ListTagsForResourceCommand";
62
+ import {
63
+ PredictQAppCommandInput,
64
+ PredictQAppCommandOutput,
65
+ } from "./commands/PredictQAppCommand";
66
+ import {
67
+ StartQAppSessionCommandInput,
68
+ StartQAppSessionCommandOutput,
69
+ } from "./commands/StartQAppSessionCommand";
70
+ import {
71
+ StopQAppSessionCommandInput,
72
+ StopQAppSessionCommandOutput,
73
+ } from "./commands/StopQAppSessionCommand";
74
+ import {
75
+ TagResourceCommandInput,
76
+ TagResourceCommandOutput,
77
+ } from "./commands/TagResourceCommand";
78
+ import {
79
+ UntagResourceCommandInput,
80
+ UntagResourceCommandOutput,
81
+ } from "./commands/UntagResourceCommand";
82
+ import {
83
+ UpdateLibraryItemCommandInput,
84
+ UpdateLibraryItemCommandOutput,
85
+ } from "./commands/UpdateLibraryItemCommand";
86
+ import {
87
+ UpdateQAppCommandInput,
88
+ UpdateQAppCommandOutput,
89
+ } from "./commands/UpdateQAppCommand";
90
+ import {
91
+ UpdateQAppSessionCommandInput,
92
+ UpdateQAppSessionCommandOutput,
93
+ } from "./commands/UpdateQAppSessionCommand";
94
+ import { QAppsClient } from "./QAppsClient";
95
+ export interface QApps {
96
+ associateLibraryItemReview(
97
+ args: AssociateLibraryItemReviewCommandInput,
98
+ options?: __HttpHandlerOptions
99
+ ): Promise<AssociateLibraryItemReviewCommandOutput>;
100
+ associateLibraryItemReview(
101
+ args: AssociateLibraryItemReviewCommandInput,
102
+ cb: (err: any, data?: AssociateLibraryItemReviewCommandOutput) => void
103
+ ): void;
104
+ associateLibraryItemReview(
105
+ args: AssociateLibraryItemReviewCommandInput,
106
+ options: __HttpHandlerOptions,
107
+ cb: (err: any, data?: AssociateLibraryItemReviewCommandOutput) => void
108
+ ): void;
109
+ associateQAppWithUser(
110
+ args: AssociateQAppWithUserCommandInput,
111
+ options?: __HttpHandlerOptions
112
+ ): Promise<AssociateQAppWithUserCommandOutput>;
113
+ associateQAppWithUser(
114
+ args: AssociateQAppWithUserCommandInput,
115
+ cb: (err: any, data?: AssociateQAppWithUserCommandOutput) => void
116
+ ): void;
117
+ associateQAppWithUser(
118
+ args: AssociateQAppWithUserCommandInput,
119
+ options: __HttpHandlerOptions,
120
+ cb: (err: any, data?: AssociateQAppWithUserCommandOutput) => void
121
+ ): void;
122
+ createLibraryItem(
123
+ args: CreateLibraryItemCommandInput,
124
+ options?: __HttpHandlerOptions
125
+ ): Promise<CreateLibraryItemCommandOutput>;
126
+ createLibraryItem(
127
+ args: CreateLibraryItemCommandInput,
128
+ cb: (err: any, data?: CreateLibraryItemCommandOutput) => void
129
+ ): void;
130
+ createLibraryItem(
131
+ args: CreateLibraryItemCommandInput,
132
+ options: __HttpHandlerOptions,
133
+ cb: (err: any, data?: CreateLibraryItemCommandOutput) => void
134
+ ): void;
135
+ createQApp(
136
+ args: CreateQAppCommandInput,
137
+ options?: __HttpHandlerOptions
138
+ ): Promise<CreateQAppCommandOutput>;
139
+ createQApp(
140
+ args: CreateQAppCommandInput,
141
+ cb: (err: any, data?: CreateQAppCommandOutput) => void
142
+ ): void;
143
+ createQApp(
144
+ args: CreateQAppCommandInput,
145
+ options: __HttpHandlerOptions,
146
+ cb: (err: any, data?: CreateQAppCommandOutput) => void
147
+ ): void;
148
+ deleteLibraryItem(
149
+ args: DeleteLibraryItemCommandInput,
150
+ options?: __HttpHandlerOptions
151
+ ): Promise<DeleteLibraryItemCommandOutput>;
152
+ deleteLibraryItem(
153
+ args: DeleteLibraryItemCommandInput,
154
+ cb: (err: any, data?: DeleteLibraryItemCommandOutput) => void
155
+ ): void;
156
+ deleteLibraryItem(
157
+ args: DeleteLibraryItemCommandInput,
158
+ options: __HttpHandlerOptions,
159
+ cb: (err: any, data?: DeleteLibraryItemCommandOutput) => void
160
+ ): void;
161
+ deleteQApp(
162
+ args: DeleteQAppCommandInput,
163
+ options?: __HttpHandlerOptions
164
+ ): Promise<DeleteQAppCommandOutput>;
165
+ deleteQApp(
166
+ args: DeleteQAppCommandInput,
167
+ cb: (err: any, data?: DeleteQAppCommandOutput) => void
168
+ ): void;
169
+ deleteQApp(
170
+ args: DeleteQAppCommandInput,
171
+ options: __HttpHandlerOptions,
172
+ cb: (err: any, data?: DeleteQAppCommandOutput) => void
173
+ ): void;
174
+ disassociateLibraryItemReview(
175
+ args: DisassociateLibraryItemReviewCommandInput,
176
+ options?: __HttpHandlerOptions
177
+ ): Promise<DisassociateLibraryItemReviewCommandOutput>;
178
+ disassociateLibraryItemReview(
179
+ args: DisassociateLibraryItemReviewCommandInput,
180
+ cb: (err: any, data?: DisassociateLibraryItemReviewCommandOutput) => void
181
+ ): void;
182
+ disassociateLibraryItemReview(
183
+ args: DisassociateLibraryItemReviewCommandInput,
184
+ options: __HttpHandlerOptions,
185
+ cb: (err: any, data?: DisassociateLibraryItemReviewCommandOutput) => void
186
+ ): void;
187
+ disassociateQAppFromUser(
188
+ args: DisassociateQAppFromUserCommandInput,
189
+ options?: __HttpHandlerOptions
190
+ ): Promise<DisassociateQAppFromUserCommandOutput>;
191
+ disassociateQAppFromUser(
192
+ args: DisassociateQAppFromUserCommandInput,
193
+ cb: (err: any, data?: DisassociateQAppFromUserCommandOutput) => void
194
+ ): void;
195
+ disassociateQAppFromUser(
196
+ args: DisassociateQAppFromUserCommandInput,
197
+ options: __HttpHandlerOptions,
198
+ cb: (err: any, data?: DisassociateQAppFromUserCommandOutput) => void
199
+ ): void;
200
+ getLibraryItem(
201
+ args: GetLibraryItemCommandInput,
202
+ options?: __HttpHandlerOptions
203
+ ): Promise<GetLibraryItemCommandOutput>;
204
+ getLibraryItem(
205
+ args: GetLibraryItemCommandInput,
206
+ cb: (err: any, data?: GetLibraryItemCommandOutput) => void
207
+ ): void;
208
+ getLibraryItem(
209
+ args: GetLibraryItemCommandInput,
210
+ options: __HttpHandlerOptions,
211
+ cb: (err: any, data?: GetLibraryItemCommandOutput) => void
212
+ ): void;
213
+ getQApp(
214
+ args: GetQAppCommandInput,
215
+ options?: __HttpHandlerOptions
216
+ ): Promise<GetQAppCommandOutput>;
217
+ getQApp(
218
+ args: GetQAppCommandInput,
219
+ cb: (err: any, data?: GetQAppCommandOutput) => void
220
+ ): void;
221
+ getQApp(
222
+ args: GetQAppCommandInput,
223
+ options: __HttpHandlerOptions,
224
+ cb: (err: any, data?: GetQAppCommandOutput) => void
225
+ ): void;
226
+ getQAppSession(
227
+ args: GetQAppSessionCommandInput,
228
+ options?: __HttpHandlerOptions
229
+ ): Promise<GetQAppSessionCommandOutput>;
230
+ getQAppSession(
231
+ args: GetQAppSessionCommandInput,
232
+ cb: (err: any, data?: GetQAppSessionCommandOutput) => void
233
+ ): void;
234
+ getQAppSession(
235
+ args: GetQAppSessionCommandInput,
236
+ options: __HttpHandlerOptions,
237
+ cb: (err: any, data?: GetQAppSessionCommandOutput) => void
238
+ ): void;
239
+ importDocument(
240
+ args: ImportDocumentCommandInput,
241
+ options?: __HttpHandlerOptions
242
+ ): Promise<ImportDocumentCommandOutput>;
243
+ importDocument(
244
+ args: ImportDocumentCommandInput,
245
+ cb: (err: any, data?: ImportDocumentCommandOutput) => void
246
+ ): void;
247
+ importDocument(
248
+ args: ImportDocumentCommandInput,
249
+ options: __HttpHandlerOptions,
250
+ cb: (err: any, data?: ImportDocumentCommandOutput) => void
251
+ ): void;
252
+ listLibraryItems(
253
+ args: ListLibraryItemsCommandInput,
254
+ options?: __HttpHandlerOptions
255
+ ): Promise<ListLibraryItemsCommandOutput>;
256
+ listLibraryItems(
257
+ args: ListLibraryItemsCommandInput,
258
+ cb: (err: any, data?: ListLibraryItemsCommandOutput) => void
259
+ ): void;
260
+ listLibraryItems(
261
+ args: ListLibraryItemsCommandInput,
262
+ options: __HttpHandlerOptions,
263
+ cb: (err: any, data?: ListLibraryItemsCommandOutput) => void
264
+ ): void;
265
+ listQApps(
266
+ args: ListQAppsCommandInput,
267
+ options?: __HttpHandlerOptions
268
+ ): Promise<ListQAppsCommandOutput>;
269
+ listQApps(
270
+ args: ListQAppsCommandInput,
271
+ cb: (err: any, data?: ListQAppsCommandOutput) => void
272
+ ): void;
273
+ listQApps(
274
+ args: ListQAppsCommandInput,
275
+ options: __HttpHandlerOptions,
276
+ cb: (err: any, data?: ListQAppsCommandOutput) => void
277
+ ): void;
278
+ listTagsForResource(
279
+ args: ListTagsForResourceCommandInput,
280
+ options?: __HttpHandlerOptions
281
+ ): Promise<ListTagsForResourceCommandOutput>;
282
+ listTagsForResource(
283
+ args: ListTagsForResourceCommandInput,
284
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
285
+ ): void;
286
+ listTagsForResource(
287
+ args: ListTagsForResourceCommandInput,
288
+ options: __HttpHandlerOptions,
289
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
290
+ ): void;
291
+ predictQApp(
292
+ args: PredictQAppCommandInput,
293
+ options?: __HttpHandlerOptions
294
+ ): Promise<PredictQAppCommandOutput>;
295
+ predictQApp(
296
+ args: PredictQAppCommandInput,
297
+ cb: (err: any, data?: PredictQAppCommandOutput) => void
298
+ ): void;
299
+ predictQApp(
300
+ args: PredictQAppCommandInput,
301
+ options: __HttpHandlerOptions,
302
+ cb: (err: any, data?: PredictQAppCommandOutput) => void
303
+ ): void;
304
+ startQAppSession(
305
+ args: StartQAppSessionCommandInput,
306
+ options?: __HttpHandlerOptions
307
+ ): Promise<StartQAppSessionCommandOutput>;
308
+ startQAppSession(
309
+ args: StartQAppSessionCommandInput,
310
+ cb: (err: any, data?: StartQAppSessionCommandOutput) => void
311
+ ): void;
312
+ startQAppSession(
313
+ args: StartQAppSessionCommandInput,
314
+ options: __HttpHandlerOptions,
315
+ cb: (err: any, data?: StartQAppSessionCommandOutput) => void
316
+ ): void;
317
+ stopQAppSession(
318
+ args: StopQAppSessionCommandInput,
319
+ options?: __HttpHandlerOptions
320
+ ): Promise<StopQAppSessionCommandOutput>;
321
+ stopQAppSession(
322
+ args: StopQAppSessionCommandInput,
323
+ cb: (err: any, data?: StopQAppSessionCommandOutput) => void
324
+ ): void;
325
+ stopQAppSession(
326
+ args: StopQAppSessionCommandInput,
327
+ options: __HttpHandlerOptions,
328
+ cb: (err: any, data?: StopQAppSessionCommandOutput) => void
329
+ ): void;
330
+ tagResource(
331
+ args: TagResourceCommandInput,
332
+ options?: __HttpHandlerOptions
333
+ ): Promise<TagResourceCommandOutput>;
334
+ tagResource(
335
+ args: TagResourceCommandInput,
336
+ cb: (err: any, data?: TagResourceCommandOutput) => void
337
+ ): void;
338
+ tagResource(
339
+ args: TagResourceCommandInput,
340
+ options: __HttpHandlerOptions,
341
+ cb: (err: any, data?: TagResourceCommandOutput) => void
342
+ ): void;
343
+ untagResource(
344
+ args: UntagResourceCommandInput,
345
+ options?: __HttpHandlerOptions
346
+ ): Promise<UntagResourceCommandOutput>;
347
+ untagResource(
348
+ args: UntagResourceCommandInput,
349
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
350
+ ): void;
351
+ untagResource(
352
+ args: UntagResourceCommandInput,
353
+ options: __HttpHandlerOptions,
354
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
355
+ ): void;
356
+ updateLibraryItem(
357
+ args: UpdateLibraryItemCommandInput,
358
+ options?: __HttpHandlerOptions
359
+ ): Promise<UpdateLibraryItemCommandOutput>;
360
+ updateLibraryItem(
361
+ args: UpdateLibraryItemCommandInput,
362
+ cb: (err: any, data?: UpdateLibraryItemCommandOutput) => void
363
+ ): void;
364
+ updateLibraryItem(
365
+ args: UpdateLibraryItemCommandInput,
366
+ options: __HttpHandlerOptions,
367
+ cb: (err: any, data?: UpdateLibraryItemCommandOutput) => void
368
+ ): void;
369
+ updateQApp(
370
+ args: UpdateQAppCommandInput,
371
+ options?: __HttpHandlerOptions
372
+ ): Promise<UpdateQAppCommandOutput>;
373
+ updateQApp(
374
+ args: UpdateQAppCommandInput,
375
+ cb: (err: any, data?: UpdateQAppCommandOutput) => void
376
+ ): void;
377
+ updateQApp(
378
+ args: UpdateQAppCommandInput,
379
+ options: __HttpHandlerOptions,
380
+ cb: (err: any, data?: UpdateQAppCommandOutput) => void
381
+ ): void;
382
+ updateQAppSession(
383
+ args: UpdateQAppSessionCommandInput,
384
+ options?: __HttpHandlerOptions
385
+ ): Promise<UpdateQAppSessionCommandOutput>;
386
+ updateQAppSession(
387
+ args: UpdateQAppSessionCommandInput,
388
+ cb: (err: any, data?: UpdateQAppSessionCommandOutput) => void
389
+ ): void;
390
+ updateQAppSession(
391
+ args: UpdateQAppSessionCommandInput,
392
+ options: __HttpHandlerOptions,
393
+ cb: (err: any, data?: UpdateQAppSessionCommandOutput) => void
394
+ ): void;
395
+ }
396
+ export declare class QApps extends QAppsClient implements QApps {}
@@ -0,0 +1,258 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ UserAgentInputConfig,
7
+ UserAgentResolvedConfig,
8
+ } from "@aws-sdk/middleware-user-agent";
9
+ import {
10
+ RegionInputConfig,
11
+ RegionResolvedConfig,
12
+ } from "@smithy/config-resolver";
13
+ import {
14
+ EndpointInputConfig,
15
+ EndpointResolvedConfig,
16
+ } from "@smithy/middleware-endpoint";
17
+ import {
18
+ RetryInputConfig,
19
+ RetryResolvedConfig,
20
+ } from "@smithy/middleware-retry";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
+ import {
23
+ Client as __Client,
24
+ DefaultsMode as __DefaultsMode,
25
+ SmithyConfiguration as __SmithyConfiguration,
26
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
27
+ } from "@smithy/smithy-client";
28
+ import {
29
+ AwsCredentialIdentityProvider,
30
+ BodyLengthCalculator as __BodyLengthCalculator,
31
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
+ ChecksumConstructor as __ChecksumConstructor,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ StreamCollector as __StreamCollector,
41
+ UrlParser as __UrlParser,
42
+ UserAgent as __UserAgent,
43
+ } from "@smithy/types";
44
+ import {
45
+ HttpAuthSchemeInputConfig,
46
+ HttpAuthSchemeResolvedConfig,
47
+ } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ AssociateLibraryItemReviewCommandInput,
50
+ AssociateLibraryItemReviewCommandOutput,
51
+ } from "./commands/AssociateLibraryItemReviewCommand";
52
+ import {
53
+ AssociateQAppWithUserCommandInput,
54
+ AssociateQAppWithUserCommandOutput,
55
+ } from "./commands/AssociateQAppWithUserCommand";
56
+ import {
57
+ CreateLibraryItemCommandInput,
58
+ CreateLibraryItemCommandOutput,
59
+ } from "./commands/CreateLibraryItemCommand";
60
+ import {
61
+ CreateQAppCommandInput,
62
+ CreateQAppCommandOutput,
63
+ } from "./commands/CreateQAppCommand";
64
+ import {
65
+ DeleteLibraryItemCommandInput,
66
+ DeleteLibraryItemCommandOutput,
67
+ } from "./commands/DeleteLibraryItemCommand";
68
+ import {
69
+ DeleteQAppCommandInput,
70
+ DeleteQAppCommandOutput,
71
+ } from "./commands/DeleteQAppCommand";
72
+ import {
73
+ DisassociateLibraryItemReviewCommandInput,
74
+ DisassociateLibraryItemReviewCommandOutput,
75
+ } from "./commands/DisassociateLibraryItemReviewCommand";
76
+ import {
77
+ DisassociateQAppFromUserCommandInput,
78
+ DisassociateQAppFromUserCommandOutput,
79
+ } from "./commands/DisassociateQAppFromUserCommand";
80
+ import {
81
+ GetLibraryItemCommandInput,
82
+ GetLibraryItemCommandOutput,
83
+ } from "./commands/GetLibraryItemCommand";
84
+ import {
85
+ GetQAppCommandInput,
86
+ GetQAppCommandOutput,
87
+ } from "./commands/GetQAppCommand";
88
+ import {
89
+ GetQAppSessionCommandInput,
90
+ GetQAppSessionCommandOutput,
91
+ } from "./commands/GetQAppSessionCommand";
92
+ import {
93
+ ImportDocumentCommandInput,
94
+ ImportDocumentCommandOutput,
95
+ } from "./commands/ImportDocumentCommand";
96
+ import {
97
+ ListLibraryItemsCommandInput,
98
+ ListLibraryItemsCommandOutput,
99
+ } from "./commands/ListLibraryItemsCommand";
100
+ import {
101
+ ListQAppsCommandInput,
102
+ ListQAppsCommandOutput,
103
+ } from "./commands/ListQAppsCommand";
104
+ import {
105
+ ListTagsForResourceCommandInput,
106
+ ListTagsForResourceCommandOutput,
107
+ } from "./commands/ListTagsForResourceCommand";
108
+ import {
109
+ PredictQAppCommandInput,
110
+ PredictQAppCommandOutput,
111
+ } from "./commands/PredictQAppCommand";
112
+ import {
113
+ StartQAppSessionCommandInput,
114
+ StartQAppSessionCommandOutput,
115
+ } from "./commands/StartQAppSessionCommand";
116
+ import {
117
+ StopQAppSessionCommandInput,
118
+ StopQAppSessionCommandOutput,
119
+ } from "./commands/StopQAppSessionCommand";
120
+ import {
121
+ TagResourceCommandInput,
122
+ TagResourceCommandOutput,
123
+ } from "./commands/TagResourceCommand";
124
+ import {
125
+ UntagResourceCommandInput,
126
+ UntagResourceCommandOutput,
127
+ } from "./commands/UntagResourceCommand";
128
+ import {
129
+ UpdateLibraryItemCommandInput,
130
+ UpdateLibraryItemCommandOutput,
131
+ } from "./commands/UpdateLibraryItemCommand";
132
+ import {
133
+ UpdateQAppCommandInput,
134
+ UpdateQAppCommandOutput,
135
+ } from "./commands/UpdateQAppCommand";
136
+ import {
137
+ UpdateQAppSessionCommandInput,
138
+ UpdateQAppSessionCommandOutput,
139
+ } from "./commands/UpdateQAppSessionCommand";
140
+ import {
141
+ ClientInputEndpointParameters,
142
+ ClientResolvedEndpointParameters,
143
+ EndpointParameters,
144
+ } from "./endpoint/EndpointParameters";
145
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
146
+ export { __Client };
147
+ export type ServiceInputTypes =
148
+ | AssociateLibraryItemReviewCommandInput
149
+ | AssociateQAppWithUserCommandInput
150
+ | CreateLibraryItemCommandInput
151
+ | CreateQAppCommandInput
152
+ | DeleteLibraryItemCommandInput
153
+ | DeleteQAppCommandInput
154
+ | DisassociateLibraryItemReviewCommandInput
155
+ | DisassociateQAppFromUserCommandInput
156
+ | GetLibraryItemCommandInput
157
+ | GetQAppCommandInput
158
+ | GetQAppSessionCommandInput
159
+ | ImportDocumentCommandInput
160
+ | ListLibraryItemsCommandInput
161
+ | ListQAppsCommandInput
162
+ | ListTagsForResourceCommandInput
163
+ | PredictQAppCommandInput
164
+ | StartQAppSessionCommandInput
165
+ | StopQAppSessionCommandInput
166
+ | TagResourceCommandInput
167
+ | UntagResourceCommandInput
168
+ | UpdateLibraryItemCommandInput
169
+ | UpdateQAppCommandInput
170
+ | UpdateQAppSessionCommandInput;
171
+ export type ServiceOutputTypes =
172
+ | AssociateLibraryItemReviewCommandOutput
173
+ | AssociateQAppWithUserCommandOutput
174
+ | CreateLibraryItemCommandOutput
175
+ | CreateQAppCommandOutput
176
+ | DeleteLibraryItemCommandOutput
177
+ | DeleteQAppCommandOutput
178
+ | DisassociateLibraryItemReviewCommandOutput
179
+ | DisassociateQAppFromUserCommandOutput
180
+ | GetLibraryItemCommandOutput
181
+ | GetQAppCommandOutput
182
+ | GetQAppSessionCommandOutput
183
+ | ImportDocumentCommandOutput
184
+ | ListLibraryItemsCommandOutput
185
+ | ListQAppsCommandOutput
186
+ | ListTagsForResourceCommandOutput
187
+ | PredictQAppCommandOutput
188
+ | StartQAppSessionCommandOutput
189
+ | StopQAppSessionCommandOutput
190
+ | TagResourceCommandOutput
191
+ | UntagResourceCommandOutput
192
+ | UpdateLibraryItemCommandOutput
193
+ | UpdateQAppCommandOutput
194
+ | UpdateQAppSessionCommandOutput;
195
+ export interface ClientDefaults
196
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
197
+ requestHandler?: __HttpHandlerUserInput;
198
+ sha256?: __ChecksumConstructor | __HashConstructor;
199
+ urlParser?: __UrlParser;
200
+ bodyLengthChecker?: __BodyLengthCalculator;
201
+ streamCollector?: __StreamCollector;
202
+ base64Decoder?: __Decoder;
203
+ base64Encoder?: __Encoder;
204
+ utf8Decoder?: __Decoder;
205
+ utf8Encoder?: __Encoder;
206
+ runtime?: string;
207
+ disableHostPrefix?: boolean;
208
+ serviceId?: string;
209
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
210
+ useFipsEndpoint?: boolean | __Provider<boolean>;
211
+ region?: string | __Provider<string>;
212
+ defaultUserAgentProvider?: Provider<__UserAgent>;
213
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
214
+ maxAttempts?: number | __Provider<number>;
215
+ retryMode?: string | __Provider<string>;
216
+ logger?: __Logger;
217
+ extensions?: RuntimeExtension[];
218
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
219
+ }
220
+ export type QAppsClientConfigType = Partial<
221
+ __SmithyConfiguration<__HttpHandlerOptions>
222
+ > &
223
+ ClientDefaults &
224
+ RegionInputConfig &
225
+ EndpointInputConfig<EndpointParameters> &
226
+ RetryInputConfig &
227
+ HostHeaderInputConfig &
228
+ UserAgentInputConfig &
229
+ HttpAuthSchemeInputConfig &
230
+ ClientInputEndpointParameters;
231
+ export interface QAppsClientConfig extends QAppsClientConfigType {}
232
+ export type QAppsClientResolvedConfigType =
233
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
234
+ Required<ClientDefaults> &
235
+ RuntimeExtensionsConfig &
236
+ RegionResolvedConfig &
237
+ EndpointResolvedConfig<EndpointParameters> &
238
+ RetryResolvedConfig &
239
+ HostHeaderResolvedConfig &
240
+ UserAgentResolvedConfig &
241
+ HttpAuthSchemeResolvedConfig &
242
+ ClientResolvedEndpointParameters;
243
+ export interface QAppsClientResolvedConfig
244
+ extends QAppsClientResolvedConfigType {}
245
+ export declare class QAppsClient extends __Client<
246
+ __HttpHandlerOptions,
247
+ ServiceInputTypes,
248
+ ServiceOutputTypes,
249
+ QAppsClientResolvedConfig
250
+ > {
251
+ readonly config: QAppsClientResolvedConfig;
252
+ constructor(
253
+ ...[configuration]: __CheckOptionalClientConfig<QAppsClientConfig>
254
+ );
255
+ destroy(): void;
256
+ private getDefaultHttpAuthSchemeParametersProvider;
257
+ private getIdentityProviderConfigProvider;
258
+ }
@@ -0,0 +1,32 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { QAppsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: QAppsHttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): QAppsHttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: QAppsHttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;