@aws-sdk/client-elementalinference 3.1054.0 → 3.1056.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 (55) hide show
  1. package/README.md +42 -0
  2. package/dist-cjs/index.js +123 -0
  3. package/dist-cjs/schemas/schemas_0.js +144 -14
  4. package/dist-es/ElementalInference.js +14 -0
  5. package/dist-es/commands/CreateDictionaryCommand.js +16 -0
  6. package/dist-es/commands/DeleteDictionaryCommand.js +16 -0
  7. package/dist-es/commands/ExportDictionaryEntriesCommand.js +16 -0
  8. package/dist-es/commands/GetDictionaryCommand.js +16 -0
  9. package/dist-es/commands/ListDictionariesCommand.js +16 -0
  10. package/dist-es/commands/UpdateDictionaryCommand.js +16 -0
  11. package/dist-es/commands/index.js +6 -0
  12. package/dist-es/models/enums.js +31 -0
  13. package/dist-es/pagination/ListDictionariesPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/schemas/schemas_0.js +142 -13
  16. package/dist-types/ElementalInference.d.ts +50 -0
  17. package/dist-types/ElementalInferenceClient.d.ts +8 -2
  18. package/dist-types/commands/AssociateFeedCommand.d.ts +14 -5
  19. package/dist-types/commands/CreateDictionaryCommand.d.ts +109 -0
  20. package/dist-types/commands/CreateFeedCommand.d.ts +23 -5
  21. package/dist-types/commands/DeleteDictionaryCommand.d.ts +96 -0
  22. package/dist-types/commands/DeleteFeedCommand.d.ts +4 -4
  23. package/dist-types/commands/DisassociateFeedCommand.d.ts +4 -4
  24. package/dist-types/commands/ExportDictionaryEntriesCommand.d.ts +91 -0
  25. package/dist-types/commands/GetDictionaryCommand.d.ts +101 -0
  26. package/dist-types/commands/GetFeedCommand.d.ts +11 -2
  27. package/dist-types/commands/ListDictionariesCommand.d.ts +98 -0
  28. package/dist-types/commands/ListFeedsCommand.d.ts +3 -3
  29. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  30. package/dist-types/commands/TagResourceCommand.d.ts +4 -4
  31. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  32. package/dist-types/commands/UpdateDictionaryCommand.d.ts +107 -0
  33. package/dist-types/commands/UpdateFeedCommand.d.ts +23 -5
  34. package/dist-types/commands/index.d.ts +6 -0
  35. package/dist-types/models/enums.d.ts +63 -0
  36. package/dist-types/models/errors.d.ts +4 -4
  37. package/dist-types/models/models_0.d.ts +399 -52
  38. package/dist-types/pagination/ListDictionariesPaginator.d.ts +7 -0
  39. package/dist-types/pagination/index.d.ts +1 -0
  40. package/dist-types/schemas/schemas_0.d.ts +21 -0
  41. package/dist-types/ts3.4/ElementalInference.d.ts +110 -0
  42. package/dist-types/ts3.4/ElementalInferenceClient.d.ts +36 -0
  43. package/dist-types/ts3.4/commands/CreateDictionaryCommand.d.ts +52 -0
  44. package/dist-types/ts3.4/commands/DeleteDictionaryCommand.d.ts +52 -0
  45. package/dist-types/ts3.4/commands/ExportDictionaryEntriesCommand.d.ts +53 -0
  46. package/dist-types/ts3.4/commands/GetDictionaryCommand.d.ts +52 -0
  47. package/dist-types/ts3.4/commands/ListDictionariesCommand.d.ts +52 -0
  48. package/dist-types/ts3.4/commands/UpdateDictionaryCommand.d.ts +52 -0
  49. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  50. package/dist-types/ts3.4/models/enums.d.ts +39 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +100 -1
  52. package/dist-types/ts3.4/pagination/ListDictionariesPaginator.d.ts +11 -0
  53. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  54. package/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -0
  55. package/package.json +6 -6
package/README.md CHANGED
@@ -188,6 +188,13 @@ AssociateFeed
188
188
  </details>
189
189
  <details>
190
190
  <summary>
191
+ CreateDictionary
192
+ </summary>
193
+
194
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/elementalinference/command/CreateDictionaryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elementalinference/Interface/CreateDictionaryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elementalinference/Interface/CreateDictionaryCommandOutput/)
195
+ </details>
196
+ <details>
197
+ <summary>
191
198
  CreateFeed
192
199
  </summary>
193
200
 
@@ -195,6 +202,13 @@ CreateFeed
195
202
  </details>
196
203
  <details>
197
204
  <summary>
205
+ DeleteDictionary
206
+ </summary>
207
+
208
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/elementalinference/command/DeleteDictionaryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elementalinference/Interface/DeleteDictionaryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elementalinference/Interface/DeleteDictionaryCommandOutput/)
209
+ </details>
210
+ <details>
211
+ <summary>
198
212
  DeleteFeed
199
213
  </summary>
200
214
 
@@ -209,6 +223,20 @@ DisassociateFeed
209
223
  </details>
210
224
  <details>
211
225
  <summary>
226
+ ExportDictionaryEntries
227
+ </summary>
228
+
229
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/elementalinference/command/ExportDictionaryEntriesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elementalinference/Interface/ExportDictionaryEntriesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elementalinference/Interface/ExportDictionaryEntriesCommandOutput/)
230
+ </details>
231
+ <details>
232
+ <summary>
233
+ GetDictionary
234
+ </summary>
235
+
236
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/elementalinference/command/GetDictionaryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elementalinference/Interface/GetDictionaryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elementalinference/Interface/GetDictionaryCommandOutput/)
237
+ </details>
238
+ <details>
239
+ <summary>
212
240
  GetFeed
213
241
  </summary>
214
242
 
@@ -216,6 +244,13 @@ GetFeed
216
244
  </details>
217
245
  <details>
218
246
  <summary>
247
+ ListDictionaries
248
+ </summary>
249
+
250
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/elementalinference/command/ListDictionariesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elementalinference/Interface/ListDictionariesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elementalinference/Interface/ListDictionariesCommandOutput/)
251
+ </details>
252
+ <details>
253
+ <summary>
219
254
  ListFeeds
220
255
  </summary>
221
256
 
@@ -244,6 +279,13 @@ UntagResource
244
279
  </details>
245
280
  <details>
246
281
  <summary>
282
+ UpdateDictionary
283
+ </summary>
284
+
285
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/elementalinference/command/UpdateDictionaryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elementalinference/Interface/UpdateDictionaryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elementalinference/Interface/UpdateDictionaryCommandOutput/)
286
+ </details>
287
+ <details>
288
+ <summary>
247
289
  UpdateFeed
248
290
  </summary>
249
291
 
package/dist-cjs/index.js CHANGED
@@ -120,6 +120,18 @@ class AssociateFeedCommand extends client.Command
120
120
  .build() {
121
121
  }
122
122
 
123
+ class CreateDictionaryCommand extends client.Command
124
+ .classBuilder()
125
+ .ep(commonParams)
126
+ .m(function (Command, cs, config, o) {
127
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
128
+ })
129
+ .s("ElementalInference", "CreateDictionary", {})
130
+ .n("ElementalInferenceClient", "CreateDictionaryCommand")
131
+ .sc(schemas_0.CreateDictionary$)
132
+ .build() {
133
+ }
134
+
123
135
  class CreateFeedCommand extends client.Command
124
136
  .classBuilder()
125
137
  .ep(commonParams)
@@ -132,6 +144,18 @@ class CreateFeedCommand extends client.Command
132
144
  .build() {
133
145
  }
134
146
 
147
+ class DeleteDictionaryCommand extends client.Command
148
+ .classBuilder()
149
+ .ep(commonParams)
150
+ .m(function (Command, cs, config, o) {
151
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
152
+ })
153
+ .s("ElementalInference", "DeleteDictionary", {})
154
+ .n("ElementalInferenceClient", "DeleteDictionaryCommand")
155
+ .sc(schemas_0.DeleteDictionary$)
156
+ .build() {
157
+ }
158
+
135
159
  class DeleteFeedCommand extends client.Command
136
160
  .classBuilder()
137
161
  .ep(commonParams)
@@ -156,6 +180,30 @@ class DisassociateFeedCommand extends client.Command
156
180
  .build() {
157
181
  }
158
182
 
183
+ class ExportDictionaryEntriesCommand extends client.Command
184
+ .classBuilder()
185
+ .ep(commonParams)
186
+ .m(function (Command, cs, config, o) {
187
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
188
+ })
189
+ .s("ElementalInference", "ExportDictionaryEntries", {})
190
+ .n("ElementalInferenceClient", "ExportDictionaryEntriesCommand")
191
+ .sc(schemas_0.ExportDictionaryEntries$)
192
+ .build() {
193
+ }
194
+
195
+ class GetDictionaryCommand extends client.Command
196
+ .classBuilder()
197
+ .ep(commonParams)
198
+ .m(function (Command, cs, config, o) {
199
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
200
+ })
201
+ .s("ElementalInference", "GetDictionary", {})
202
+ .n("ElementalInferenceClient", "GetDictionaryCommand")
203
+ .sc(schemas_0.GetDictionary$)
204
+ .build() {
205
+ }
206
+
159
207
  class GetFeedCommand extends client.Command
160
208
  .classBuilder()
161
209
  .ep(commonParams)
@@ -168,6 +216,18 @@ class GetFeedCommand extends client.Command
168
216
  .build() {
169
217
  }
170
218
 
219
+ class ListDictionariesCommand extends client.Command
220
+ .classBuilder()
221
+ .ep(commonParams)
222
+ .m(function (Command, cs, config, o) {
223
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
224
+ })
225
+ .s("ElementalInference", "ListDictionaries", {})
226
+ .n("ElementalInferenceClient", "ListDictionariesCommand")
227
+ .sc(schemas_0.ListDictionaries$)
228
+ .build() {
229
+ }
230
+
171
231
  class ListFeedsCommand extends client.Command
172
232
  .classBuilder()
173
233
  .ep(commonParams)
@@ -216,6 +276,18 @@ class UntagResourceCommand extends client.Command
216
276
  .build() {
217
277
  }
218
278
 
279
+ class UpdateDictionaryCommand extends client.Command
280
+ .classBuilder()
281
+ .ep(commonParams)
282
+ .m(function (Command, cs, config, o) {
283
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
284
+ })
285
+ .s("ElementalInference", "UpdateDictionary", {})
286
+ .n("ElementalInferenceClient", "UpdateDictionaryCommand")
287
+ .sc(schemas_0.UpdateDictionary$)
288
+ .build() {
289
+ }
290
+
219
291
  class UpdateFeedCommand extends client.Command
220
292
  .classBuilder()
221
293
  .ep(commonParams)
@@ -228,6 +300,8 @@ class UpdateFeedCommand extends client.Command
228
300
  .build() {
229
301
  }
230
302
 
303
+ const paginateListDictionaries = core.createPaginator(ElementalInferenceClient, ListDictionariesCommand, "nextToken", "nextToken", "maxResults");
304
+
231
305
  const paginateListFeeds = core.createPaginator(ElementalInferenceClient, ListFeedsCommand, "nextToken", "nextToken", "maxResults");
232
306
 
233
307
  const checkState = async (client$1, input) => {
@@ -280,17 +354,24 @@ const waitUntilFeedDeleted = async (params, input) => {
280
354
 
281
355
  const commands = {
282
356
  AssociateFeedCommand,
357
+ CreateDictionaryCommand,
283
358
  CreateFeedCommand,
359
+ DeleteDictionaryCommand,
284
360
  DeleteFeedCommand,
285
361
  DisassociateFeedCommand,
362
+ ExportDictionaryEntriesCommand,
363
+ GetDictionaryCommand,
286
364
  GetFeedCommand,
365
+ ListDictionariesCommand,
287
366
  ListFeedsCommand,
288
367
  ListTagsForResourceCommand,
289
368
  TagResourceCommand,
290
369
  UntagResourceCommand,
370
+ UpdateDictionaryCommand,
291
371
  UpdateFeedCommand,
292
372
  };
293
373
  const paginators = {
374
+ paginateListDictionaries,
294
375
  paginateListFeeds,
295
376
  };
296
377
  const waiters = {
@@ -300,10 +381,41 @@ class ElementalInference extends ElementalInferenceClient {
300
381
  }
301
382
  client.createAggregatedClient(commands, ElementalInference, { paginators, waiters });
302
383
 
384
+ const TranscriptionLanguage = {
385
+ DEU: "deu",
386
+ ENG: "eng",
387
+ ENG_AU: "eng-au",
388
+ ENG_GB: "eng-gb",
389
+ ENG_US: "eng-us",
390
+ FRA: "fra",
391
+ ITA: "ita",
392
+ POR: "por",
393
+ SPA: "spa",
394
+ };
395
+ const ProfanityFilterMode = {
396
+ CENSOR: "CENSOR",
397
+ DISABLED: "DISABLED",
398
+ DROP: "DROP",
399
+ };
303
400
  const OutputStatus = {
304
401
  DISABLED: "DISABLED",
305
402
  ENABLED: "ENABLED",
306
403
  };
404
+ const DictionaryLanguage = {
405
+ DEU: "deu",
406
+ ENG: "eng",
407
+ FRA: "fra",
408
+ ITA: "ita",
409
+ POR: "por",
410
+ SPA: "spa",
411
+ };
412
+ const DictionaryStatus = {
413
+ AVAILABLE: "AVAILABLE",
414
+ CREATING: "CREATING",
415
+ DELETED: "DELETED",
416
+ DELETING: "DELETING",
417
+ REFERENCED: "REFERENCED",
418
+ };
307
419
  const FeedStatus = {
308
420
  ACTIVE: "ACTIVE",
309
421
  ARCHIVED: "ARCHIVED",
@@ -318,19 +430,30 @@ exports.$Command = client.Command;
318
430
  exports.__Client = client.Client;
319
431
  exports.ElementalInferenceServiceException = ElementalInferenceServiceException.ElementalInferenceServiceException;
320
432
  exports.AssociateFeedCommand = AssociateFeedCommand;
433
+ exports.CreateDictionaryCommand = CreateDictionaryCommand;
321
434
  exports.CreateFeedCommand = CreateFeedCommand;
435
+ exports.DeleteDictionaryCommand = DeleteDictionaryCommand;
322
436
  exports.DeleteFeedCommand = DeleteFeedCommand;
437
+ exports.DictionaryLanguage = DictionaryLanguage;
438
+ exports.DictionaryStatus = DictionaryStatus;
323
439
  exports.DisassociateFeedCommand = DisassociateFeedCommand;
324
440
  exports.ElementalInference = ElementalInference;
325
441
  exports.ElementalInferenceClient = ElementalInferenceClient;
442
+ exports.ExportDictionaryEntriesCommand = ExportDictionaryEntriesCommand;
326
443
  exports.FeedStatus = FeedStatus;
444
+ exports.GetDictionaryCommand = GetDictionaryCommand;
327
445
  exports.GetFeedCommand = GetFeedCommand;
446
+ exports.ListDictionariesCommand = ListDictionariesCommand;
328
447
  exports.ListFeedsCommand = ListFeedsCommand;
329
448
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
330
449
  exports.OutputStatus = OutputStatus;
450
+ exports.ProfanityFilterMode = ProfanityFilterMode;
331
451
  exports.TagResourceCommand = TagResourceCommand;
452
+ exports.TranscriptionLanguage = TranscriptionLanguage;
332
453
  exports.UntagResourceCommand = UntagResourceCommand;
454
+ exports.UpdateDictionaryCommand = UpdateDictionaryCommand;
333
455
  exports.UpdateFeedCommand = UpdateFeedCommand;
456
+ exports.paginateListDictionaries = paginateListDictionaries;
334
457
  exports.paginateListFeeds = paginateListFeeds;
335
458
  exports.waitForFeedDeleted = waitForFeedDeleted;
336
459
  exports.waitUntilFeedDeleted = waitUntilFeedDeleted;
@@ -1,33 +1,52 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateFeed$ = exports.UntagResource$ = exports.TagResource$ = exports.ListTagsForResource$ = exports.ListFeeds$ = exports.GetFeed$ = exports.DisassociateFeed$ = exports.DeleteFeed$ = exports.CreateFeed$ = exports.AssociateFeed$ = exports.OutputConfig$ = exports.UpdateOutput$ = exports.UpdateFeedResponse$ = exports.UpdateFeedRequest$ = exports.UntagResourceRequest$ = exports.TagResourceRequest$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListFeedsResponse$ = exports.ListFeedsRequest$ = exports.GetOutput$ = exports.GetFeedResponse$ = exports.GetFeedRequest$ = exports.FeedSummary$ = exports.FeedAssociation$ = exports.DisassociateFeedResponse$ = exports.DisassociateFeedRequest$ = exports.DeleteFeedResponse$ = exports.DeleteFeedRequest$ = exports.CroppingConfig$ = exports.CreateOutput$ = exports.CreateFeedResponse$ = exports.CreateFeedRequest$ = exports.ClippingConfig$ = exports.AssociateFeedResponse$ = exports.AssociateFeedRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.TooManyRequestException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerErrorException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.ElementalInferenceServiceException$ = void 0;
3
+ exports.OutputConfig$ = exports.UpdateOutput$ = exports.UpdateFeedResponse$ = exports.UpdateFeedRequest$ = exports.UpdateDictionaryResponse$ = exports.UpdateDictionaryRequest$ = exports.UntagResourceRequest$ = exports.TagResourceRequest$ = exports.SubtitlingConfig$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListFeedsResponse$ = exports.ListFeedsRequest$ = exports.ListDictionariesResponse$ = exports.ListDictionariesRequest$ = exports.GetOutput$ = exports.GetFeedResponse$ = exports.GetFeedRequest$ = exports.GetDictionaryResponse$ = exports.GetDictionaryRequest$ = exports.FeedSummary$ = exports.FeedAssociation$ = exports.ExportDictionaryEntriesResponse$ = exports.ExportDictionaryEntriesRequest$ = exports.DisassociateFeedResponse$ = exports.DisassociateFeedRequest$ = exports.DictionarySummary$ = exports.DeleteFeedResponse$ = exports.DeleteFeedRequest$ = exports.DeleteDictionaryResponse$ = exports.DeleteDictionaryRequest$ = exports.CroppingConfig$ = exports.CreateOutput$ = exports.CreateFeedResponse$ = exports.CreateFeedRequest$ = exports.CreateDictionaryResponse$ = exports.CreateDictionaryRequest$ = exports.ClippingConfig$ = exports.AssociateFeedResponse$ = exports.AssociateFeedRequest$ = exports.AspectRatio$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.TooManyRequestException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerErrorException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.ElementalInferenceServiceException$ = void 0;
4
+ exports.UpdateFeed$ = exports.UpdateDictionary$ = exports.UntagResource$ = exports.TagResource$ = exports.ListTagsForResource$ = exports.ListFeeds$ = exports.ListDictionaries$ = exports.GetFeed$ = exports.GetDictionary$ = exports.ExportDictionaryEntries$ = exports.DisassociateFeed$ = exports.DeleteFeed$ = exports.DeleteDictionary$ = exports.CreateFeed$ = exports.CreateDictionary$ = exports.AssociateFeed$ = void 0;
4
5
  const _ADE = "AccessDeniedException";
5
6
  const _AF = "AssociateFeed";
6
7
  const _AFR = "AssociateFeedRequest";
7
8
  const _AFRs = "AssociateFeedResponse";
9
+ const _AR = "AspectRatio";
8
10
  const _CC = "ClippingConfig";
9
11
  const _CCr = "CroppingConfig";
12
+ const _CD = "CreateDictionary";
13
+ const _CDR = "CreateDictionaryRequest";
14
+ const _CDRr = "CreateDictionaryResponse";
10
15
  const _CE = "ConflictException";
11
16
  const _CF = "CreateFeed";
12
17
  const _CFR = "CreateFeedRequest";
13
18
  const _CFRr = "CreateFeedResponse";
14
19
  const _CO = "CreateOutput";
15
20
  const _COL = "CreateOutputList";
21
+ const _DD = "DeleteDictionary";
22
+ const _DDR = "DeleteDictionaryRequest";
23
+ const _DDRe = "DeleteDictionaryResponse";
16
24
  const _DF = "DeleteFeed";
17
25
  const _DFR = "DeleteFeedRequest";
18
26
  const _DFRe = "DeleteFeedResponse";
19
27
  const _DFRi = "DisassociateFeedRequest";
20
28
  const _DFRis = "DisassociateFeedResponse";
21
29
  const _DFi = "DisassociateFeed";
30
+ const _DS = "DictionarySummary";
31
+ const _DSL = "DictionarySummaryList";
32
+ const _EDE = "ExportDictionaryEntries";
33
+ const _EDER = "ExportDictionaryEntriesRequest";
34
+ const _EDERx = "ExportDictionaryEntriesResponse";
22
35
  const _FA = "FeedAssociation";
23
36
  const _FS = "FeedSummary";
24
37
  const _FSL = "FeedSummaryList";
38
+ const _GD = "GetDictionary";
39
+ const _GDR = "GetDictionaryRequest";
40
+ const _GDRe = "GetDictionaryResponse";
25
41
  const _GF = "GetFeed";
26
42
  const _GFR = "GetFeedRequest";
27
43
  const _GFRe = "GetFeedResponse";
28
44
  const _GO = "GetOutput";
29
45
  const _GOL = "GetOutputList";
30
46
  const _ISEE = "InternalServerErrorException";
47
+ const _LD = "ListDictionaries";
48
+ const _LDR = "ListDictionariesRequest";
49
+ const _LDRi = "ListDictionariesResponse";
31
50
  const _LF = "ListFeeds";
32
51
  const _LFR = "ListFeedsRequest";
33
52
  const _LFRi = "ListFeedsResponse";
@@ -36,10 +55,14 @@ const _LTFRR = "ListTagsForResourceRequest";
36
55
  const _LTFRRi = "ListTagsForResourceResponse";
37
56
  const _OC = "OutputConfig";
38
57
  const _RNFE = "ResourceNotFoundException";
58
+ const _SC = "SubtitlingConfig";
39
59
  const _SQEE = "ServiceQuotaExceededException";
40
60
  const _TMRE = "TooManyRequestException";
41
61
  const _TR = "TagResource";
42
62
  const _TRR = "TagResourceRequest";
63
+ const _UD = "UpdateDictionary";
64
+ const _UDR = "UpdateDictionaryRequest";
65
+ const _UDRp = "UpdateDictionaryResponse";
43
66
  const _UF = "UpdateFeed";
44
67
  const _UFR = "UpdateFeedRequest";
45
68
  const _UFRp = "UpdateFeedResponse";
@@ -49,6 +72,7 @@ const _UR = "UntagResource";
49
72
  const _URR = "UntagResourceRequest";
50
73
  const _VE = "ValidationException";
51
74
  const _a = "arn";
75
+ const _aR = "aspectRatio";
52
76
  const _aRN = "associatedResourceName";
53
77
  const _as = "association";
54
78
  const _c = "client";
@@ -58,25 +82,34 @@ const _cr = "cropping";
58
82
  const _d = "description";
59
83
  const _dE = "dataEndpoints";
60
84
  const _dR = "dryRun";
85
+ const _di = "dictionaries";
86
+ const _dic = "dictionary";
61
87
  const _e = "error";
88
+ const _en = "entries";
62
89
  const _f = "feeds";
63
90
  const _fA = "fromAssociation";
64
- const _h = "http";
91
+ const _h = "height";
65
92
  const _hE = "httpError";
66
93
  const _hQ = "httpQuery";
94
+ const _ht = "http";
67
95
  const _i = "id";
96
+ const _l = "language";
68
97
  const _m = "message";
69
98
  const _mR = "maxResults";
70
99
  const _n = "name";
71
100
  const _nT = "nextToken";
72
101
  const _o = "outputs";
73
102
  const _oC = "outputConfig";
103
+ const _pF = "profanityFilter";
104
+ const _r = "references";
74
105
  const _rA = "resourceArn";
75
106
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.elementalinference";
76
107
  const _se = "server";
77
108
  const _st = "status";
109
+ const _su = "subtitling";
78
110
  const _t = "tags";
79
111
  const _tK = "tagKeys";
112
+ const _w = "width";
80
113
  const n0 = "com.amazonaws.elementalinference";
81
114
  const schema_1 = require("@smithy/core/schema");
82
115
  const ElementalInferenceServiceException_1 = require("../models/ElementalInferenceServiceException");
@@ -131,6 +164,11 @@ exports.errorTypeRegistries = [
131
164
  _s_registry,
132
165
  n0_registry,
133
166
  ];
167
+ exports.AspectRatio$ = [3, n0, _AR,
168
+ 0,
169
+ [_w, _h],
170
+ [1, 1], 2
171
+ ];
134
172
  exports.AssociateFeedRequest$ = [3, n0, _AFR,
135
173
  0,
136
174
  [_i, _o, _aRN, _dR],
@@ -146,6 +184,16 @@ exports.ClippingConfig$ = [3, n0, _CC,
146
184
  [_cM],
147
185
  [0]
148
186
  ];
187
+ exports.CreateDictionaryRequest$ = [3, n0, _CDR,
188
+ 0,
189
+ [_n, _l, _en, _t],
190
+ [0, 0, 0, 128 | 0], 2
191
+ ];
192
+ exports.CreateDictionaryResponse$ = [3, n0, _CDRr,
193
+ 0,
194
+ [_n, _a, _i, _l, _st, _r, _t],
195
+ [0, 0, 0, 0, 0, 64 | 0, 128 | 0], 5
196
+ ];
149
197
  exports.CreateFeedRequest$ = [3, n0, _CFR,
150
198
  0,
151
199
  [_n, _o, _t],
@@ -166,6 +214,16 @@ exports.CroppingConfig$ = [3, n0, _CCr,
166
214
  [],
167
215
  []
168
216
  ];
217
+ exports.DeleteDictionaryRequest$ = [3, n0, _DDR,
218
+ 0,
219
+ [_i],
220
+ [[0, 1]], 1
221
+ ];
222
+ exports.DeleteDictionaryResponse$ = [3, n0, _DDRe,
223
+ 0,
224
+ [_a, _i, _st],
225
+ [0, 0, 0], 3
226
+ ];
169
227
  exports.DeleteFeedRequest$ = [3, n0, _DFR,
170
228
  0,
171
229
  [_i],
@@ -176,6 +234,11 @@ exports.DeleteFeedResponse$ = [3, n0, _DFRe,
176
234
  [_a, _i, _st],
177
235
  [0, 0, 0], 3
178
236
  ];
237
+ exports.DictionarySummary$ = [3, n0, _DS,
238
+ 0,
239
+ [_a, _i, _n, _l, _st],
240
+ [0, 0, 0, 0, 0], 5
241
+ ];
179
242
  exports.DisassociateFeedRequest$ = [3, n0, _DFRi,
180
243
  0,
181
244
  [_i, _aRN, _dR],
@@ -186,6 +249,16 @@ exports.DisassociateFeedResponse$ = [3, n0, _DFRis,
186
249
  [_a, _i],
187
250
  [0, 0], 2
188
251
  ];
252
+ exports.ExportDictionaryEntriesRequest$ = [3, n0, _EDER,
253
+ 0,
254
+ [_i],
255
+ [[0, 1]], 1
256
+ ];
257
+ exports.ExportDictionaryEntriesResponse$ = [3, n0, _EDERx,
258
+ 0,
259
+ [_en],
260
+ [0]
261
+ ];
189
262
  exports.FeedAssociation$ = [3, n0, _FA,
190
263
  0,
191
264
  [_aRN],
@@ -196,6 +269,16 @@ exports.FeedSummary$ = [3, n0, _FS,
196
269
  [_a, _i, _n, _st, _as],
197
270
  [0, 0, 0, 0, () => exports.FeedAssociation$], 4
198
271
  ];
272
+ exports.GetDictionaryRequest$ = [3, n0, _GDR,
273
+ 0,
274
+ [_i],
275
+ [[0, 1]], 1
276
+ ];
277
+ exports.GetDictionaryResponse$ = [3, n0, _GDRe,
278
+ 0,
279
+ [_n, _a, _i, _l, _st, _r, _t],
280
+ [0, 0, 0, 0, 0, 64 | 0, 128 | 0], 5
281
+ ];
199
282
  exports.GetFeedRequest$ = [3, n0, _GFR,
200
283
  0,
201
284
  [_i],
@@ -211,6 +294,16 @@ exports.GetOutput$ = [3, n0, _GO,
211
294
  [_n, _oC, _st, _d, _fA],
212
295
  [0, () => exports.OutputConfig$, 0, 0, 2], 3
213
296
  ];
297
+ exports.ListDictionariesRequest$ = [3, n0, _LDR,
298
+ 0,
299
+ [_mR, _nT],
300
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
301
+ ];
302
+ exports.ListDictionariesResponse$ = [3, n0, _LDRi,
303
+ 0,
304
+ [_di, _nT],
305
+ [() => DictionarySummaryList, 0], 1
306
+ ];
214
307
  exports.ListFeedsRequest$ = [3, n0, _LFR,
215
308
  0,
216
309
  [_mR, _nT],
@@ -231,6 +324,11 @@ exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
231
324
  [_t],
232
325
  [128 | 0]
233
326
  ];
327
+ exports.SubtitlingConfig$ = [3, n0, _SC,
328
+ 0,
329
+ [_l, _aR, _dic, _pF],
330
+ [0, () => exports.AspectRatio$, 0, 0], 1
331
+ ];
234
332
  exports.TagResourceRequest$ = [3, n0, _TRR,
235
333
  0,
236
334
  [_rA, _t],
@@ -241,6 +339,16 @@ exports.UntagResourceRequest$ = [3, n0, _URR,
241
339
  [_rA, _tK],
242
340
  [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
243
341
  ];
342
+ exports.UpdateDictionaryRequest$ = [3, n0, _UDR,
343
+ 0,
344
+ [_i, _n, _l, _en],
345
+ [[0, 1], 0, 0, 0], 1
346
+ ];
347
+ exports.UpdateDictionaryResponse$ = [3, n0, _UDRp,
348
+ 0,
349
+ [_n, _a, _i, _l, _st, _r, _t],
350
+ [0, 0, 0, 0, 0, 64 | 0, 128 | 0], 5
351
+ ];
244
352
  exports.UpdateFeedRequest$ = [3, n0, _UFR,
245
353
  0,
246
354
  [_n, _i, _o],
@@ -260,6 +368,10 @@ var __Unit = "unit";
260
368
  var CreateOutputList = [1, n0, _COL,
261
369
  0, () => exports.CreateOutput$
262
370
  ];
371
+ var DictionarySummaryList = [1, n0, _DSL,
372
+ 0, () => exports.DictionarySummary$
373
+ ];
374
+ var FeedReferences = 64 | 0;
263
375
  var FeedSummaryList = [1, n0, _FSL,
264
376
  0, () => exports.FeedSummary$
265
377
  ];
@@ -274,36 +386,54 @@ var UpdateOutputList = [1, n0, _UOL,
274
386
  var TagMap = 128 | 0;
275
387
  exports.OutputConfig$ = [4, n0, _OC,
276
388
  0,
277
- [_cr, _cl],
278
- [() => exports.CroppingConfig$, () => exports.ClippingConfig$]
389
+ [_cr, _cl, _su],
390
+ [() => exports.CroppingConfig$, () => exports.ClippingConfig$, () => exports.SubtitlingConfig$]
279
391
  ];
280
392
  exports.AssociateFeed$ = [9, n0, _AF,
281
- { [_h]: ["POST", "/v1/feed/{id}/associate", 200] }, () => exports.AssociateFeedRequest$, () => exports.AssociateFeedResponse$
393
+ { [_ht]: ["POST", "/v1/feed/{id}/associate", 200] }, () => exports.AssociateFeedRequest$, () => exports.AssociateFeedResponse$
394
+ ];
395
+ exports.CreateDictionary$ = [9, n0, _CD,
396
+ { [_ht]: ["POST", "/v1/dictionary", 202] }, () => exports.CreateDictionaryRequest$, () => exports.CreateDictionaryResponse$
282
397
  ];
283
398
  exports.CreateFeed$ = [9, n0, _CF,
284
- { [_h]: ["POST", "/v1/feed", 202] }, () => exports.CreateFeedRequest$, () => exports.CreateFeedResponse$
399
+ { [_ht]: ["POST", "/v1/feed", 202] }, () => exports.CreateFeedRequest$, () => exports.CreateFeedResponse$
400
+ ];
401
+ exports.DeleteDictionary$ = [9, n0, _DD,
402
+ { [_ht]: ["DELETE", "/v1/dictionary/{id}", 202] }, () => exports.DeleteDictionaryRequest$, () => exports.DeleteDictionaryResponse$
285
403
  ];
286
404
  exports.DeleteFeed$ = [9, n0, _DF,
287
- { [_h]: ["DELETE", "/v1/feed/{id}", 202] }, () => exports.DeleteFeedRequest$, () => exports.DeleteFeedResponse$
405
+ { [_ht]: ["DELETE", "/v1/feed/{id}", 202] }, () => exports.DeleteFeedRequest$, () => exports.DeleteFeedResponse$
288
406
  ];
289
407
  exports.DisassociateFeed$ = [9, n0, _DFi,
290
- { [_h]: ["POST", "/v1/feed/{id}/disassociate", 200] }, () => exports.DisassociateFeedRequest$, () => exports.DisassociateFeedResponse$
408
+ { [_ht]: ["POST", "/v1/feed/{id}/disassociate", 200] }, () => exports.DisassociateFeedRequest$, () => exports.DisassociateFeedResponse$
409
+ ];
410
+ exports.ExportDictionaryEntries$ = [9, n0, _EDE,
411
+ { [_ht]: ["GET", "/v1/dictionary/{id}/entries/export", 200] }, () => exports.ExportDictionaryEntriesRequest$, () => exports.ExportDictionaryEntriesResponse$
412
+ ];
413
+ exports.GetDictionary$ = [9, n0, _GD,
414
+ { [_ht]: ["GET", "/v1/dictionary/{id}", 200] }, () => exports.GetDictionaryRequest$, () => exports.GetDictionaryResponse$
291
415
  ];
292
416
  exports.GetFeed$ = [9, n0, _GF,
293
- { [_h]: ["GET", "/v1/feed/{id}", 200] }, () => exports.GetFeedRequest$, () => exports.GetFeedResponse$
417
+ { [_ht]: ["GET", "/v1/feed/{id}", 200] }, () => exports.GetFeedRequest$, () => exports.GetFeedResponse$
418
+ ];
419
+ exports.ListDictionaries$ = [9, n0, _LD,
420
+ { [_ht]: ["GET", "/v1/dictionaries", 200] }, () => exports.ListDictionariesRequest$, () => exports.ListDictionariesResponse$
294
421
  ];
295
422
  exports.ListFeeds$ = [9, n0, _LF,
296
- { [_h]: ["GET", "/v1/feeds", 200] }, () => exports.ListFeedsRequest$, () => exports.ListFeedsResponse$
423
+ { [_ht]: ["GET", "/v1/feeds", 200] }, () => exports.ListFeedsRequest$, () => exports.ListFeedsResponse$
297
424
  ];
298
425
  exports.ListTagsForResource$ = [9, n0, _LTFR,
299
- { [_h]: ["GET", "/v1/tags/{resourceArn}", 200] }, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
426
+ { [_ht]: ["GET", "/v1/tags/{resourceArn}", 200] }, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
300
427
  ];
301
428
  exports.TagResource$ = [9, n0, _TR,
302
- { [_h]: ["POST", "/v1/tags/{resourceArn}", 204] }, () => exports.TagResourceRequest$, () => __Unit
429
+ { [_ht]: ["POST", "/v1/tags/{resourceArn}", 204] }, () => exports.TagResourceRequest$, () => __Unit
303
430
  ];
304
431
  exports.UntagResource$ = [9, n0, _UR,
305
- { [_h]: ["DELETE", "/v1/tags/{resourceArn}", 204] }, () => exports.UntagResourceRequest$, () => __Unit
432
+ { [_ht]: ["DELETE", "/v1/tags/{resourceArn}", 204] }, () => exports.UntagResourceRequest$, () => __Unit
433
+ ];
434
+ exports.UpdateDictionary$ = [9, n0, _UD,
435
+ { [_ht]: ["PATCH", "/v1/dictionary/{id}", 200] }, () => exports.UpdateDictionaryRequest$, () => exports.UpdateDictionaryResponse$
306
436
  ];
307
437
  exports.UpdateFeed$ = [9, n0, _UF,
308
- { [_h]: ["PUT", "/v1/feed/{id}", 200] }, () => exports.UpdateFeedRequest$, () => exports.UpdateFeedResponse$
438
+ { [_ht]: ["PUT", "/v1/feed/{id}", 200] }, () => exports.UpdateFeedRequest$, () => exports.UpdateFeedResponse$
309
439
  ];
@@ -1,30 +1,44 @@
1
1
  import { createAggregatedClient } from "@smithy/core/client";
2
2
  import { AssociateFeedCommand, } from "./commands/AssociateFeedCommand";
3
+ import { CreateDictionaryCommand, } from "./commands/CreateDictionaryCommand";
3
4
  import { CreateFeedCommand, } from "./commands/CreateFeedCommand";
5
+ import { DeleteDictionaryCommand, } from "./commands/DeleteDictionaryCommand";
4
6
  import { DeleteFeedCommand, } from "./commands/DeleteFeedCommand";
5
7
  import { DisassociateFeedCommand, } from "./commands/DisassociateFeedCommand";
8
+ import { ExportDictionaryEntriesCommand, } from "./commands/ExportDictionaryEntriesCommand";
9
+ import { GetDictionaryCommand, } from "./commands/GetDictionaryCommand";
6
10
  import { GetFeedCommand } from "./commands/GetFeedCommand";
11
+ import { ListDictionariesCommand, } from "./commands/ListDictionariesCommand";
7
12
  import { ListFeedsCommand } from "./commands/ListFeedsCommand";
8
13
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
9
14
  import { TagResourceCommand, } from "./commands/TagResourceCommand";
10
15
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
16
+ import { UpdateDictionaryCommand, } from "./commands/UpdateDictionaryCommand";
11
17
  import { UpdateFeedCommand, } from "./commands/UpdateFeedCommand";
12
18
  import { ElementalInferenceClient } from "./ElementalInferenceClient";
19
+ import { paginateListDictionaries } from "./pagination/ListDictionariesPaginator";
13
20
  import { paginateListFeeds } from "./pagination/ListFeedsPaginator";
14
21
  import { waitUntilFeedDeleted } from "./waiters/waitForFeedDeleted";
15
22
  const commands = {
16
23
  AssociateFeedCommand,
24
+ CreateDictionaryCommand,
17
25
  CreateFeedCommand,
26
+ DeleteDictionaryCommand,
18
27
  DeleteFeedCommand,
19
28
  DisassociateFeedCommand,
29
+ ExportDictionaryEntriesCommand,
30
+ GetDictionaryCommand,
20
31
  GetFeedCommand,
32
+ ListDictionariesCommand,
21
33
  ListFeedsCommand,
22
34
  ListTagsForResourceCommand,
23
35
  TagResourceCommand,
24
36
  UntagResourceCommand,
37
+ UpdateDictionaryCommand,
25
38
  UpdateFeedCommand,
26
39
  };
27
40
  const paginators = {
41
+ paginateListDictionaries,
28
42
  paginateListFeeds,
29
43
  };
30
44
  const waiters = {
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateDictionary$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateDictionaryCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("ElementalInference", "CreateDictionary", {})
13
+ .n("ElementalInferenceClient", "CreateDictionaryCommand")
14
+ .sc(CreateDictionary$)
15
+ .build() {
16
+ }