@aws-amplify/predictions 5.5.25 → 5.5.26

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 (43) hide show
  1. package/lib/Predictions.d.ts +5 -0
  2. package/lib/Predictions.js +5 -0
  3. package/lib/Predictions.js.map +1 -1
  4. package/lib/Providers/AmazonAIConvertPredictionsProvider.d.ts +5 -0
  5. package/lib/Providers/AmazonAIConvertPredictionsProvider.js +5 -0
  6. package/lib/Providers/AmazonAIConvertPredictionsProvider.js.map +1 -1
  7. package/lib/Providers/AmazonAIIdentifyPredictionsProvider.d.ts +5 -0
  8. package/lib/Providers/AmazonAIIdentifyPredictionsProvider.js +5 -0
  9. package/lib/Providers/AmazonAIIdentifyPredictionsProvider.js.map +1 -1
  10. package/lib/Providers/AmazonAIInterpretPredictionsProvider.d.ts +5 -0
  11. package/lib/Providers/AmazonAIInterpretPredictionsProvider.js +5 -0
  12. package/lib/Providers/AmazonAIInterpretPredictionsProvider.js.map +1 -1
  13. package/lib/Providers/AmazonAIPredictionsProvider.d.ts +5 -0
  14. package/lib/Providers/AmazonAIPredictionsProvider.js +5 -0
  15. package/lib/Providers/AmazonAIPredictionsProvider.js.map +1 -1
  16. package/lib/types/Predictions.d.ts +281 -0
  17. package/lib/types/Predictions.js +63 -0
  18. package/lib/types/Predictions.js.map +1 -1
  19. package/lib-esm/Predictions.d.ts +5 -0
  20. package/lib-esm/Predictions.js +5 -0
  21. package/lib-esm/Predictions.js.map +1 -1
  22. package/lib-esm/Providers/AmazonAIConvertPredictionsProvider.d.ts +5 -0
  23. package/lib-esm/Providers/AmazonAIConvertPredictionsProvider.js +5 -0
  24. package/lib-esm/Providers/AmazonAIConvertPredictionsProvider.js.map +1 -1
  25. package/lib-esm/Providers/AmazonAIIdentifyPredictionsProvider.d.ts +5 -0
  26. package/lib-esm/Providers/AmazonAIIdentifyPredictionsProvider.js +5 -0
  27. package/lib-esm/Providers/AmazonAIIdentifyPredictionsProvider.js.map +1 -1
  28. package/lib-esm/Providers/AmazonAIInterpretPredictionsProvider.d.ts +5 -0
  29. package/lib-esm/Providers/AmazonAIInterpretPredictionsProvider.js +5 -0
  30. package/lib-esm/Providers/AmazonAIInterpretPredictionsProvider.js.map +1 -1
  31. package/lib-esm/Providers/AmazonAIPredictionsProvider.d.ts +5 -0
  32. package/lib-esm/Providers/AmazonAIPredictionsProvider.js +5 -0
  33. package/lib-esm/Providers/AmazonAIPredictionsProvider.js.map +1 -1
  34. package/lib-esm/types/Predictions.d.ts +281 -0
  35. package/lib-esm/types/Predictions.js +63 -0
  36. package/lib-esm/types/Predictions.js.map +1 -1
  37. package/package.json +4 -4
  38. package/src/Predictions.ts +5 -0
  39. package/src/Providers/AmazonAIConvertPredictionsProvider.ts +5 -0
  40. package/src/Providers/AmazonAIIdentifyPredictionsProvider.ts +5 -0
  41. package/src/Providers/AmazonAIInterpretPredictionsProvider.ts +5 -0
  42. package/src/Providers/AmazonAIPredictionsProvider.ts +5 -0
  43. package/src/types/Predictions.ts +281 -0
@@ -247,5 +247,10 @@ export class PredictionsClass {
247
247
  }
248
248
  }
249
249
 
250
+ /**
251
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
252
+ * See the migration guide:
253
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
254
+ */
250
255
  export const Predictions = new PredictionsClass({});
251
256
  Amplify.register(Predictions);
@@ -35,6 +35,11 @@ const eventBuilder = new EventStreamMarshaller(toUtf8, fromUtf8);
35
35
 
36
36
  const LANGUAGES_CODE_IN_8KHZ = ['fr-FR', 'en-AU', 'en-GB', 'fr-CA'];
37
37
 
38
+ /**
39
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
40
+ * See the migration guide:
41
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
42
+ */
38
43
  export class AmazonAIConvertPredictionsProvider extends AbstractConvertPredictionsProvider {
39
44
  private translateClient: TranslateClient;
40
45
  private pollyClient: PollyClient;
@@ -57,6 +57,11 @@ import {
57
57
  categorizeTextractBlocks,
58
58
  } from './IdentifyTextUtils';
59
59
 
60
+ /**
61
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
62
+ * See the migration guide:
63
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
64
+ */
60
65
  export class AmazonAIIdentifyPredictionsProvider extends AbstractIdentifyPredictionsProvider {
61
66
  private rekognitionClient: RekognitionClient;
62
67
  private textractClient: TextractClient;
@@ -26,6 +26,11 @@ import {
26
26
  DetectSentimentCommand,
27
27
  } from '@aws-sdk/client-comprehend';
28
28
 
29
+ /**
30
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
31
+ * See the migration guide:
32
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
33
+ */
29
34
  export class AmazonAIInterpretPredictionsProvider extends AbstractInterpretPredictionsProvider {
30
35
  private comprehendClient: ComprehendClient;
31
36
 
@@ -22,6 +22,11 @@ import {
22
22
  InterpretTextOutput,
23
23
  } from '../types';
24
24
 
25
+ /**
26
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
27
+ * See the migration guide:
28
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
29
+ */
25
30
  export class AmazonAIPredictionsProvider extends AbstractPredictionsProvider {
26
31
  private convertProvider: AmazonAIConvertPredictionsProvider;
27
32
  private identifyProvider: AmazonAIIdentifyPredictionsProvider;
@@ -4,17 +4,28 @@
4
4
 
5
5
  /**
6
6
  * Base types
7
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
8
+ * See the migration guide:
9
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
7
10
  */
8
11
  export interface PredictionsOptions {
9
12
  [key: string]: any;
10
13
  }
11
14
 
15
+ /**
16
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
17
+ * See the migration guide:
18
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
19
+ */
12
20
  export interface ProviderOptions {
13
21
  providerName?: string;
14
22
  }
15
23
 
16
24
  /**
17
25
  * Convert types
26
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
27
+ * See the migration guide:
28
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
18
29
  */
19
30
 
20
31
  export enum InterpretTextCategories {
@@ -26,10 +37,20 @@ export enum InterpretTextCategories {
26
37
  KEY_PHRASES = 'KEY_PHRASES',
27
38
  }
28
39
 
40
+ /**
41
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
42
+ * See the migration guide:
43
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
44
+ */
29
45
  export interface InterpretTextInput {
30
46
  text: InterpretTextInputLanguage | InterpretTextOthers | InterpretTextAll;
31
47
  }
32
48
 
49
+ /**
50
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
51
+ * See the migration guide:
52
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
53
+ */
33
54
  export interface InterpretTextInputLanguage {
34
55
  source: {
35
56
  text: string;
@@ -37,6 +58,11 @@ export interface InterpretTextInputLanguage {
37
58
  type: InterpretTextCategories.LANGUAGE;
38
59
  }
39
60
 
61
+ /**
62
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
63
+ * See the migration guide:
64
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
65
+ */
40
66
  export interface InterpretTextOthers {
41
67
  source: {
42
68
  text: string;
@@ -49,6 +75,11 @@ export interface InterpretTextOthers {
49
75
  | InterpretTextCategories.KEY_PHRASES;
50
76
  }
51
77
 
78
+ /**
79
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
80
+ * See the migration guide:
81
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
82
+ */
52
83
  export interface InterpretTextAll {
53
84
  source: {
54
85
  text: string;
@@ -56,20 +87,40 @@ export interface InterpretTextAll {
56
87
  type: InterpretTextCategories.ALL;
57
88
  }
58
89
 
90
+ /**
91
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
92
+ * See the migration guide:
93
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
94
+ */
59
95
  export interface TextEntities {
60
96
  type: string;
61
97
  text: string;
62
98
  }
63
99
 
100
+ /**
101
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
102
+ * See the migration guide:
103
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
104
+ */
64
105
  export interface KeyPhrases {
65
106
  text: string;
66
107
  }
67
108
 
109
+ /**
110
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
111
+ * See the migration guide:
112
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
113
+ */
68
114
  export interface TextSyntax {
69
115
  text: string;
70
116
  syntax: string;
71
117
  }
72
118
 
119
+ /**
120
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
121
+ * See the migration guide:
122
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
123
+ */
73
124
  export interface TextSentiment {
74
125
  predominant: string;
75
126
  positive: number;
@@ -78,6 +129,11 @@ export interface TextSentiment {
78
129
  mixed: number;
79
130
  }
80
131
 
132
+ /**
133
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
134
+ * See the migration guide:
135
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
136
+ */
81
137
  export interface InterpretTextOutput {
82
138
  textInterpretation: {
83
139
  language?: string;
@@ -88,6 +144,11 @@ export interface InterpretTextOutput {
88
144
  };
89
145
  }
90
146
 
147
+ /**
148
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
149
+ * See the migration guide:
150
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
151
+ */
91
152
  export interface TranslateTextInput {
92
153
  translateText: {
93
154
  source: {
@@ -98,11 +159,21 @@ export interface TranslateTextInput {
98
159
  };
99
160
  }
100
161
 
162
+ /**
163
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
164
+ * See the migration guide:
165
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
166
+ */
101
167
  export interface TranslateTextOutput {
102
168
  text: string;
103
169
  language: string;
104
170
  }
105
171
 
172
+ /**
173
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
174
+ * See the migration guide:
175
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
176
+ */
106
177
  export interface TextToSpeechInput {
107
178
  textToSpeech: {
108
179
  source: {
@@ -113,26 +184,51 @@ export interface TextToSpeechInput {
113
184
  };
114
185
  }
115
186
 
187
+ /**
188
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
189
+ * See the migration guide:
190
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
191
+ */
116
192
  export interface TextToSpeechOutput {
117
193
  speech: { url: string };
118
194
  audioStream: Buffer;
119
195
  text: string;
120
196
  }
121
197
 
198
+ /**
199
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
200
+ * See the migration guide:
201
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
202
+ */
122
203
  export interface StorageSource {
123
204
  key: string;
124
205
  level?: 'public' | 'private' | 'protected';
125
206
  identityId?: string;
126
207
  }
127
208
 
209
+ /**
210
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
211
+ * See the migration guide:
212
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
213
+ */
128
214
  export interface FileSource {
129
215
  file: File;
130
216
  }
131
217
 
218
+ /**
219
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
220
+ * See the migration guide:
221
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
222
+ */
132
223
  export interface BytesSource {
133
224
  bytes: Buffer | ArrayBuffer | Blob | string;
134
225
  }
135
226
 
227
+ /**
228
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
229
+ * See the migration guide:
230
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
231
+ */
136
232
  export interface SpeechToTextInput {
137
233
  transcription: {
138
234
  source: BytesSource;
@@ -140,14 +236,29 @@ export interface SpeechToTextInput {
140
236
  };
141
237
  }
142
238
 
239
+ /**
240
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
241
+ * See the migration guide:
242
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
243
+ */
143
244
  export interface SpeechToTextOutput {
144
245
  transcription: {
145
246
  fullText: string;
146
247
  };
147
248
  }
148
249
 
250
+ /**
251
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
252
+ * See the migration guide:
253
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
254
+ */
149
255
  export type IdentifySource = StorageSource | FileSource | BytesSource;
150
256
 
257
+ /**
258
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
259
+ * See the migration guide:
260
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
261
+ */
151
262
  export interface IdentifyTextInput {
152
263
  text: {
153
264
  source: IdentifySource;
@@ -155,12 +266,22 @@ export interface IdentifyTextInput {
155
266
  };
156
267
  }
157
268
 
269
+ /**
270
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
271
+ * See the migration guide:
272
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
273
+ */
158
274
  export interface Word {
159
275
  text?: string;
160
276
  polygon?: Polygon;
161
277
  boundingBox?: BoundingBox;
162
278
  }
163
279
 
280
+ /**
281
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
282
+ * See the migration guide:
283
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
284
+ */
164
285
  export interface LineDetailed {
165
286
  text?: string;
166
287
  polygon?: Polygon;
@@ -168,11 +289,21 @@ export interface LineDetailed {
168
289
  page?: number;
169
290
  }
170
291
 
292
+ /**
293
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
294
+ * See the migration guide:
295
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
296
+ */
171
297
  export interface Content {
172
298
  text?: string;
173
299
  selected?: boolean;
174
300
  }
175
301
 
302
+ /**
303
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
304
+ * See the migration guide:
305
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
306
+ */
176
307
  export interface TableCell extends Content {
177
308
  boundingBox?: BoundingBox;
178
309
  polygon?: Polygon;
@@ -180,6 +311,11 @@ export interface TableCell extends Content {
180
311
  columnSpan?: Number;
181
312
  }
182
313
 
314
+ /**
315
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
316
+ * See the migration guide:
317
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
318
+ */
183
319
  export interface Table {
184
320
  size: {
185
321
  rows: number;
@@ -190,6 +326,11 @@ export interface Table {
190
326
  boundingBox: BoundingBox;
191
327
  }
192
328
 
329
+ /**
330
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
331
+ * See the migration guide:
332
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
333
+ */
193
334
  export interface KeyValue {
194
335
  key: string;
195
336
  value: Content;
@@ -197,6 +338,11 @@ export interface KeyValue {
197
338
  boundingBox: BoundingBox;
198
339
  }
199
340
 
341
+ /**
342
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
343
+ * See the migration guide:
344
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
345
+ */
200
346
  export interface IdentifyTextOutput {
201
347
  text: {
202
348
  fullText: string;
@@ -213,6 +359,11 @@ export interface IdentifyTextOutput {
213
359
  };
214
360
  }
215
361
 
362
+ /**
363
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
364
+ * See the migration guide:
365
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
366
+ */
216
367
  export interface IdentifyLabelsInput {
217
368
  labels: {
218
369
  source: IdentifySource;
@@ -220,13 +371,28 @@ export interface IdentifyLabelsInput {
220
371
  };
221
372
  }
222
373
 
374
+ /**
375
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
376
+ * See the migration guide:
377
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
378
+ */
223
379
  export interface Point {
224
380
  x?: Number;
225
381
  y?: Number;
226
382
  }
227
383
 
384
+ /**
385
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
386
+ * See the migration guide:
387
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
388
+ */
228
389
  export type Polygon = Array<Point> | Iterable<Point>;
229
390
 
391
+ /**
392
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
393
+ * See the migration guide:
394
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
395
+ */
230
396
  export interface BoundingBox {
231
397
  width?: Number;
232
398
  height?: Number;
@@ -234,6 +400,11 @@ export interface BoundingBox {
234
400
  top?: Number;
235
401
  }
236
402
 
403
+ /**
404
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
405
+ * See the migration guide:
406
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
407
+ */
237
408
  export interface IdentifyLabelsOutput {
238
409
  labels?: {
239
410
  name: string;
@@ -243,10 +414,20 @@ export interface IdentifyLabelsOutput {
243
414
  unsafe?: 'YES' | 'NO' | 'UNKNOWN';
244
415
  }
245
416
 
417
+ /**
418
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
419
+ * See the migration guide:
420
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
421
+ */
246
422
  export interface IdentifyEntitiesInput {
247
423
  entities: IdentifyFromCollection | IdentifyCelebrities | IdentifyEntities;
248
424
  }
249
425
 
426
+ /**
427
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
428
+ * See the migration guide:
429
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
430
+ */
250
431
  export interface IdentifyFromCollection {
251
432
  source: IdentifySource;
252
433
  collection: true;
@@ -254,15 +435,30 @@ export interface IdentifyFromCollection {
254
435
  maxEntities?: number;
255
436
  }
256
437
 
438
+ /**
439
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
440
+ * See the migration guide:
441
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
442
+ */
257
443
  export interface IdentifyCelebrities {
258
444
  source: IdentifySource;
259
445
  celebrityDetection: true;
260
446
  }
261
447
 
448
+ /**
449
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
450
+ * See the migration guide:
451
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
452
+ */
262
453
  export interface IdentifyEntities {
263
454
  source: IdentifySource;
264
455
  }
265
456
 
457
+ /**
458
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
459
+ * See the migration guide:
460
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
461
+ */
266
462
  export interface FaceAttributes {
267
463
  smile?: boolean;
268
464
  eyeglasses?: boolean;
@@ -275,6 +471,11 @@ export interface FaceAttributes {
275
471
  emotions?: string[];
276
472
  }
277
473
 
474
+ /**
475
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
476
+ * See the migration guide:
477
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
478
+ */
278
479
  export interface IdentifyEntitiesOutput {
279
480
  entities: {
280
481
  boundingBox?: BoundingBox;
@@ -292,6 +493,11 @@ export interface IdentifyEntitiesOutput {
292
493
  }[];
293
494
  }
294
495
 
496
+ /**
497
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
498
+ * See the migration guide:
499
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
500
+ */
295
501
  export function isIdentifyFromCollection(
296
502
  obj: any
297
503
  ): obj is IdentifyFromCollection {
@@ -300,51 +506,101 @@ export function isIdentifyFromCollection(
300
506
  return obj && (obj.hasOwnProperty(key) || obj.hasOwnProperty(keyId));
301
507
  }
302
508
 
509
+ /**
510
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
511
+ * See the migration guide:
512
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
513
+ */
303
514
  export function isIdentifyCelebrities(obj: any): obj is IdentifyCelebrities {
304
515
  const key: keyof IdentifyCelebrities = 'celebrityDetection';
305
516
  return obj && obj.hasOwnProperty(key);
306
517
  }
307
518
 
519
+ /**
520
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
521
+ * See the migration guide:
522
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
523
+ */
308
524
  export function isTranslateTextInput(obj: any): obj is TranslateTextInput {
309
525
  const key: keyof TranslateTextInput = 'translateText';
310
526
  return obj && obj.hasOwnProperty(key);
311
527
  }
312
528
 
529
+ /**
530
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
531
+ * See the migration guide:
532
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
533
+ */
313
534
  export function isTextToSpeechInput(obj: any): obj is TextToSpeechInput {
314
535
  const key: keyof TextToSpeechInput = 'textToSpeech';
315
536
  return obj && obj.hasOwnProperty(key);
316
537
  }
317
538
 
539
+ /**
540
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
541
+ * See the migration guide:
542
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
543
+ */
318
544
  export function isSpeechToTextInput(obj: any): obj is SpeechToTextInput {
319
545
  const key: keyof SpeechToTextInput = 'transcription';
320
546
  return obj && obj.hasOwnProperty(key);
321
547
  }
322
548
 
549
+ /**
550
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
551
+ * See the migration guide:
552
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
553
+ */
323
554
  export function isStorageSource(obj: any): obj is StorageSource {
324
555
  const key: keyof StorageSource = 'key';
325
556
  return obj && obj.hasOwnProperty(key);
326
557
  }
327
558
 
559
+ /**
560
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
561
+ * See the migration guide:
562
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
563
+ */
328
564
  export function isFileSource(obj: any): obj is FileSource {
329
565
  const key: keyof FileSource = 'file';
330
566
  return obj && obj.hasOwnProperty(key);
331
567
  }
332
568
 
569
+ /**
570
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
571
+ * See the migration guide:
572
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
573
+ */
333
574
  export function isBytesSource(obj: any): obj is BytesSource {
334
575
  const key: keyof BytesSource = 'bytes';
335
576
  return obj && obj.hasOwnProperty(key);
336
577
  }
337
578
 
579
+ /**
580
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
581
+ * See the migration guide:
582
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
583
+ */
338
584
  export function isIdentifyTextInput(obj: any): obj is IdentifyTextInput {
339
585
  const key: keyof IdentifyTextInput = 'text';
340
586
  return obj && obj.hasOwnProperty(key);
341
587
  }
342
588
 
589
+ /**
590
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
591
+ * See the migration guide:
592
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
593
+ */
343
594
  export function isIdentifyLabelsInput(obj: any): obj is IdentifyLabelsInput {
344
595
  const key: keyof IdentifyLabelsInput = 'labels';
345
596
  return obj && obj.hasOwnProperty(key);
346
597
  }
347
598
 
599
+ /**
600
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
601
+ * See the migration guide:
602
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
603
+ */
348
604
  export function isIdentifyEntitiesInput(
349
605
  obj: any
350
606
  ): obj is IdentifyEntitiesInput {
@@ -352,11 +608,21 @@ export function isIdentifyEntitiesInput(
352
608
  return obj && obj.hasOwnProperty(key);
353
609
  }
354
610
 
611
+ /**
612
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
613
+ * See the migration guide:
614
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
615
+ */
355
616
  export function isInterpretTextInput(obj: any): obj is InterpretTextInput {
356
617
  const key: keyof InterpretTextInput = 'text';
357
618
  return obj && obj.hasOwnProperty(key);
358
619
  }
359
620
 
621
+ /**
622
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
623
+ * See the migration guide:
624
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
625
+ */
360
626
  export interface Geometry {
361
627
  /**
362
628
  * <p>An axis-aligned coarse representation of the detected text's location on the image.</p>
@@ -369,6 +635,11 @@ export interface Geometry {
369
635
  Polygon?: Array<Point> | Iterable<Point>;
370
636
  }
371
637
 
638
+ /**
639
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
640
+ * See the migration guide:
641
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
642
+ */
372
643
  export interface Relationship {
373
644
  /**
374
645
  * <p>The type of relationship that the blocks in the IDs array have with the current block. The relationship can be <code>VALUE</code> or <code>CHILD</code>.</p>
@@ -381,5 +652,15 @@ export interface Relationship {
381
652
  Ids?: Array<string> | Iterable<string>;
382
653
  }
383
654
 
655
+ /**
656
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
657
+ * See the migration guide:
658
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
659
+ */
384
660
  export type FeatureType = 'TABLES' | 'FORMS' | string;
661
+ /**
662
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
663
+ * See the migration guide:
664
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
665
+ */
385
666
  export type FeatureTypes = FeatureType[];