@aws-sdk/client-elementalinference 3.1100.0 → 3.1101.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.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1099.0";
72
+ var version = "3.1100.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -281,6 +281,8 @@ const _OC = "OutputConfig";
281
281
  const _RNFE = "ResourceNotFoundException";
282
282
  const _SC = "SubtitlingConfig";
283
283
  const _SQEE = "ServiceQuotaExceededException";
284
+ const _TG = "TemplateGroup";
285
+ const _TGL = "TemplateGroupList";
284
286
  const _TMRE = "TooManyRequestException";
285
287
  const _TR = "TagResource";
286
288
  const _TRR = "TagResourceRequest";
@@ -297,6 +299,7 @@ const _URR = "UntagResourceRequest";
297
299
  const _VE = "ValidationException";
298
300
  const _a = "arn";
299
301
  const _aR = "aspectRatio";
302
+ const _aRA = "accessRoleArn";
300
303
  const _aRN = "associatedResourceName";
301
304
  const _as = "association";
302
305
  const _c = "client";
@@ -332,7 +335,9 @@ const _se = "server";
332
335
  const _st = "status";
333
336
  const _su = "subtitling";
334
337
  const _t = "tags";
338
+ const _tG = "templateGroups";
335
339
  const _tK = "tagKeys";
340
+ const _tU = "templateUris";
336
341
  const _w = "width";
337
342
  const n0 = "com.amazonaws.elementalinference";
338
343
  const _s_registry = TypeRegistry.for(_s);
@@ -417,8 +422,8 @@ var CreateDictionaryResponse$ = [3, n0, _CDRr,
417
422
  ];
418
423
  var CreateFeedRequest$ = [3, n0, _CFR,
419
424
  0,
420
- [_n, _o, _t],
421
- [0, () => CreateOutputList, 128 | 0], 2
425
+ [_n, _o, _aRA, _t],
426
+ [0, () => CreateOutputList, 0, 128 | 0], 2
422
427
  ];
423
428
  var CreateFeedResponse$ = [3, n0, _CFRr,
424
429
  0,
@@ -432,8 +437,8 @@ var CreateOutput$ = [3, n0, _CO,
432
437
  ];
433
438
  var CroppingConfig$ = [3, n0, _CCr,
434
439
  0,
435
- [],
436
- []
440
+ [_tG],
441
+ [() => TemplateGroupList]
437
442
  ];
438
443
  var DeleteDictionaryRequest$ = [3, n0, _DDR,
439
444
  0,
@@ -555,6 +560,11 @@ var TagResourceRequest$ = [3, n0, _TRR,
555
560
  [_rA, _t],
556
561
  [[0, 1], 128 | 0], 2
557
562
  ];
563
+ var TemplateGroup$ = [3, n0, _TG,
564
+ 0,
565
+ [_n, _tU],
566
+ [0, 64 | 0], 2
567
+ ];
558
568
  var UntagResourceRequest$ = [3, n0, _URR,
559
569
  0,
560
570
  [_rA, _tK],
@@ -572,8 +582,8 @@ var UpdateDictionaryResponse$ = [3, n0, _UDRp,
572
582
  ];
573
583
  var UpdateFeedRequest$ = [3, n0, _UFR,
574
584
  0,
575
- [_n, _i, _o],
576
- [0, [0, 1], () => UpdateOutputList], 3
585
+ [_n, _i, _o, _aRA],
586
+ [0, [0, 1], () => UpdateOutputList, 0], 3
577
587
  ];
578
588
  var UpdateFeedResponse$ = [3, n0, _UFRp,
579
589
  0,
@@ -598,6 +608,9 @@ var FeedSummaryList = [1, n0, _FSL,
598
608
  var GetOutputList = [1, n0, _GOL,
599
609
  0, () => GetOutput$
600
610
  ];
611
+ var TemplateGroupList = [1, n0, _TGL,
612
+ 0, () => TemplateGroup$
613
+ ];
601
614
  var UpdateOutputList = [1, n0, _UOL,
602
615
  0, () => UpdateOutput$
603
616
  ];
@@ -1059,6 +1072,7 @@ exports.SubtitlingConfig$ = SubtitlingConfig$;
1059
1072
  exports.TagResource$ = TagResource$;
1060
1073
  exports.TagResourceCommand = TagResourceCommand;
1061
1074
  exports.TagResourceRequest$ = TagResourceRequest$;
1075
+ exports.TemplateGroup$ = TemplateGroup$;
1062
1076
  exports.TooManyRequestException = TooManyRequestException;
1063
1077
  exports.TooManyRequestException$ = TooManyRequestException$;
1064
1078
  exports.TranscriptionLanguage = TranscriptionLanguage;
@@ -53,6 +53,8 @@ const _OC = "OutputConfig";
53
53
  const _RNFE = "ResourceNotFoundException";
54
54
  const _SC = "SubtitlingConfig";
55
55
  const _SQEE = "ServiceQuotaExceededException";
56
+ const _TG = "TemplateGroup";
57
+ const _TGL = "TemplateGroupList";
56
58
  const _TMRE = "TooManyRequestException";
57
59
  const _TR = "TagResource";
58
60
  const _TRR = "TagResourceRequest";
@@ -69,6 +71,7 @@ const _URR = "UntagResourceRequest";
69
71
  const _VE = "ValidationException";
70
72
  const _a = "arn";
71
73
  const _aR = "aspectRatio";
74
+ const _aRA = "accessRoleArn";
72
75
  const _aRN = "associatedResourceName";
73
76
  const _as = "association";
74
77
  const _c = "client";
@@ -104,7 +107,9 @@ const _se = "server";
104
107
  const _st = "status";
105
108
  const _su = "subtitling";
106
109
  const _t = "tags";
110
+ const _tG = "templateGroups";
107
111
  const _tK = "tagKeys";
112
+ const _tU = "templateUris";
108
113
  const _w = "width";
109
114
  const n0 = "com.amazonaws.elementalinference";
110
115
  import { TypeRegistry } from "@smithy/core/schema";
@@ -192,8 +197,8 @@ export var CreateDictionaryResponse$ = [3, n0, _CDRr,
192
197
  ];
193
198
  export var CreateFeedRequest$ = [3, n0, _CFR,
194
199
  0,
195
- [_n, _o, _t],
196
- [0, () => CreateOutputList, 128 | 0], 2
200
+ [_n, _o, _aRA, _t],
201
+ [0, () => CreateOutputList, 0, 128 | 0], 2
197
202
  ];
198
203
  export var CreateFeedResponse$ = [3, n0, _CFRr,
199
204
  0,
@@ -207,8 +212,8 @@ export var CreateOutput$ = [3, n0, _CO,
207
212
  ];
208
213
  export var CroppingConfig$ = [3, n0, _CCr,
209
214
  0,
210
- [],
211
- []
215
+ [_tG],
216
+ [() => TemplateGroupList]
212
217
  ];
213
218
  export var DeleteDictionaryRequest$ = [3, n0, _DDR,
214
219
  0,
@@ -330,6 +335,11 @@ export var TagResourceRequest$ = [3, n0, _TRR,
330
335
  [_rA, _t],
331
336
  [[0, 1], 128 | 0], 2
332
337
  ];
338
+ export var TemplateGroup$ = [3, n0, _TG,
339
+ 0,
340
+ [_n, _tU],
341
+ [0, 64 | 0], 2
342
+ ];
333
343
  export var UntagResourceRequest$ = [3, n0, _URR,
334
344
  0,
335
345
  [_rA, _tK],
@@ -347,8 +357,8 @@ export var UpdateDictionaryResponse$ = [3, n0, _UDRp,
347
357
  ];
348
358
  export var UpdateFeedRequest$ = [3, n0, _UFR,
349
359
  0,
350
- [_n, _i, _o],
351
- [0, [0, 1], () => UpdateOutputList], 3
360
+ [_n, _i, _o, _aRA],
361
+ [0, [0, 1], () => UpdateOutputList, 0], 3
352
362
  ];
353
363
  export var UpdateFeedResponse$ = [3, n0, _UFRp,
354
364
  0,
@@ -376,6 +386,10 @@ var GetOutputList = [1, n0, _GOL,
376
386
  ];
377
387
  var StringList = 64 | 0;
378
388
  var TagKeyList = 64 | 0;
389
+ var TemplateGroupList = [1, n0, _TGL,
390
+ 0, () => TemplateGroup$
391
+ ];
392
+ var TemplateUriList = 64 | 0;
379
393
  var UpdateOutputList = [1, n0, _UOL,
380
394
  0, () => UpdateOutput$
381
395
  ];
@@ -40,7 +40,16 @@ declare const AssociateFeedCommand_base: {
40
40
  * { // CreateOutput
41
41
  * name: "STRING_VALUE", // required
42
42
  * outputConfig: { // OutputConfig Union: only one key present
43
- * cropping: {},
43
+ * cropping: { // CroppingConfig
44
+ * templateGroups: [ // TemplateGroupList
45
+ * { // TemplateGroup
46
+ * name: "STRING_VALUE", // required
47
+ * templateUris: [ // TemplateUriList // required
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * },
51
+ * ],
52
+ * },
44
53
  * clipping: { // ClippingConfig
45
54
  * callbackMetadata: "STRING_VALUE",
46
55
  * },
@@ -35,11 +35,21 @@ declare const CreateFeedCommand_base: {
35
35
  * const client = new ElementalInferenceClient(config);
36
36
  * const input = { // CreateFeedRequest
37
37
  * name: "STRING_VALUE", // required
38
+ * accessRoleArn: "STRING_VALUE",
38
39
  * outputs: [ // CreateOutputList // required
39
40
  * { // CreateOutput
40
41
  * name: "STRING_VALUE", // required
41
42
  * outputConfig: { // OutputConfig Union: only one key present
42
- * cropping: {},
43
+ * cropping: { // CroppingConfig
44
+ * templateGroups: [ // TemplateGroupList
45
+ * { // TemplateGroup
46
+ * name: "STRING_VALUE", // required
47
+ * templateUris: [ // TemplateUriList // required
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * },
51
+ * ],
52
+ * },
43
53
  * clipping: { // ClippingConfig
44
54
  * callbackMetadata: "STRING_VALUE",
45
55
  * },
@@ -74,7 +84,16 @@ declare const CreateFeedCommand_base: {
74
84
  * // { // GetOutput
75
85
  * // name: "STRING_VALUE", // required
76
86
  * // outputConfig: { // OutputConfig Union: only one key present
77
- * // cropping: {},
87
+ * // cropping: { // CroppingConfig
88
+ * // templateGroups: [ // TemplateGroupList
89
+ * // { // TemplateGroup
90
+ * // name: "STRING_VALUE", // required
91
+ * // templateUris: [ // TemplateUriList // required
92
+ * // "STRING_VALUE",
93
+ * // ],
94
+ * // },
95
+ * // ],
96
+ * // },
78
97
  * // clipping: { // ClippingConfig
79
98
  * // callbackMetadata: "STRING_VALUE",
80
99
  * // },
@@ -49,7 +49,16 @@ declare const GetFeedCommand_base: {
49
49
  * // { // GetOutput
50
50
  * // name: "STRING_VALUE", // required
51
51
  * // outputConfig: { // OutputConfig Union: only one key present
52
- * // cropping: {},
52
+ * // cropping: { // CroppingConfig
53
+ * // templateGroups: [ // TemplateGroupList
54
+ * // { // TemplateGroup
55
+ * // name: "STRING_VALUE", // required
56
+ * // templateUris: [ // TemplateUriList // required
57
+ * // "STRING_VALUE",
58
+ * // ],
59
+ * // },
60
+ * // ],
61
+ * // },
53
62
  * // clipping: { // ClippingConfig
54
63
  * // callbackMetadata: "STRING_VALUE",
55
64
  * // },
@@ -35,12 +35,22 @@ declare const UpdateFeedCommand_base: {
35
35
  * const client = new ElementalInferenceClient(config);
36
36
  * const input = { // UpdateFeedRequest
37
37
  * name: "STRING_VALUE", // required
38
+ * accessRoleArn: "STRING_VALUE",
38
39
  * id: "STRING_VALUE", // required
39
40
  * outputs: [ // UpdateOutputList // required
40
41
  * { // UpdateOutput
41
42
  * name: "STRING_VALUE", // required
42
43
  * outputConfig: { // OutputConfig Union: only one key present
43
- * cropping: {},
44
+ * cropping: { // CroppingConfig
45
+ * templateGroups: [ // TemplateGroupList
46
+ * { // TemplateGroup
47
+ * name: "STRING_VALUE", // required
48
+ * templateUris: [ // TemplateUriList // required
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * },
52
+ * ],
53
+ * },
44
54
  * clipping: { // ClippingConfig
45
55
  * callbackMetadata: "STRING_VALUE",
46
56
  * },
@@ -73,7 +83,16 @@ declare const UpdateFeedCommand_base: {
73
83
  * // { // GetOutput
74
84
  * // name: "STRING_VALUE", // required
75
85
  * // outputConfig: { // OutputConfig Union: only one key present
76
- * // cropping: {},
86
+ * // cropping: { // CroppingConfig
87
+ * // templateGroups: [ // TemplateGroupList
88
+ * // { // TemplateGroup
89
+ * // name: "STRING_VALUE", // required
90
+ * // templateUris: [ // TemplateUriList // required
91
+ * // "STRING_VALUE",
92
+ * // ],
93
+ * // },
94
+ * // ],
95
+ * // },
77
96
  * // clipping: { // ClippingConfig
78
97
  * // callbackMetadata: "STRING_VALUE",
79
98
  * // },
@@ -26,11 +26,32 @@ export interface ClippingConfig {
26
26
  */
27
27
  callbackMetadata?: string | undefined;
28
28
  }
29
+ /**
30
+ * <p>A named set of graphics-compositing templates used by the crop feature, specified in the templateGroups array of a CroppingConfig. </p>
31
+ * @public
32
+ */
33
+ export interface TemplateGroup {
34
+ /**
35
+ * <p>A name for the template group.</p>
36
+ * @public
37
+ */
38
+ name: string | undefined;
39
+ /**
40
+ * <p>An array of Amazon S3 URIs that point to the graphics-compositing templates for this group. You can specify 1 or 2 URIs. Each URI must be in the form <code>s3://bucket-name/key</code>. Elemental Inference reads these templates using the IAM role that you specify in accessRoleArn. </p>
41
+ * @public
42
+ */
43
+ templateUris: string[] | undefined;
44
+ }
29
45
  /**
30
46
  * <p>A type of OutputConfig, used when the output in a feed is for the crop feature.</p>
31
47
  * @public
32
48
  */
33
49
  export interface CroppingConfig {
50
+ /**
51
+ * <p>An array of template groups for the crop output. Each template group provides the graphics-compositing templates that Elemental Inference applies to the cropped video. You can specify from 1 to 4 template groups. </p>
52
+ * @public
53
+ */
54
+ templateGroups?: TemplateGroup[] | undefined;
34
55
  }
35
56
  /**
36
57
  * <p>A type of OutputConfig, used when the output in a feed is for the smart subtitling feature. smart subtitling uses automatic speech recognition (ASR) to generate live TTML subtitles from the audio in your source media. </p>
@@ -257,6 +278,11 @@ export interface CreateFeedRequest {
257
278
  * @public
258
279
  */
259
280
  name: string | undefined;
281
+ /**
282
+ * <p>The ARN of an IAM role that Elemental Inference assumes to access resources in your account on your behalf. For example, the smart crop feature uses this role to read graphics-compositing templates from your Amazon S3 bucket. You specify one access role for each feed. </p>
283
+ * @public
284
+ */
285
+ accessRoleArn?: string | undefined;
260
286
  /**
261
287
  * <p>An array of outputs for this feed. Each output represents a specific Elemental Inference feature. For example, there is one output type for the smart crop feature. You must specify at least one output, but you can later add outputs using AssociateFeed, or add, modify, and delete outputs using UpdateFeed. </p>
262
288
  * @public
@@ -802,6 +828,11 @@ export interface UpdateFeedRequest {
802
828
  * @public
803
829
  */
804
830
  name: string | undefined;
831
+ /**
832
+ * <p>The ARN of an IAM role that Elemental Inference assumes to access resources in your account on your behalf. You can specify the existing role (to leave it unchanged) or a new role. You specify one access role for each feed. </p>
833
+ * @public
834
+ */
835
+ accessRoleArn?: string | undefined;
805
836
  /**
806
837
  * <p>The ID of the feed to update.</p>
807
838
  * @public
@@ -48,6 +48,7 @@ export declare var ListTagsForResourceRequest$: StaticStructureSchema;
48
48
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
49
49
  export declare var SubtitlingConfig$: StaticStructureSchema;
50
50
  export declare var TagResourceRequest$: StaticStructureSchema;
51
+ export declare var TemplateGroup$: StaticStructureSchema;
51
52
  export declare var UntagResourceRequest$: StaticStructureSchema;
52
53
  export declare var UpdateDictionaryRequest$: StaticStructureSchema;
53
54
  export declare var UpdateDictionaryResponse$: StaticStructureSchema;
@@ -13,7 +13,13 @@ export interface AspectRatio {
13
13
  export interface ClippingConfig {
14
14
  callbackMetadata?: string | undefined;
15
15
  }
16
- export interface CroppingConfig {}
16
+ export interface TemplateGroup {
17
+ name: string | undefined;
18
+ templateUris: string[] | undefined;
19
+ }
20
+ export interface CroppingConfig {
21
+ templateGroups?: TemplateGroup[] | undefined;
22
+ }
17
23
  export interface SubtitlingConfig {
18
24
  language: TranscriptionLanguage | undefined;
19
25
  aspectRatio?: AspectRatio | undefined;
@@ -90,6 +96,7 @@ export interface CreateDictionaryResponse {
90
96
  }
91
97
  export interface CreateFeedRequest {
92
98
  name: string | undefined;
99
+ accessRoleArn?: string | undefined;
93
100
  outputs: CreateOutput[] | undefined;
94
101
  tags?: Record<string, string> | undefined;
95
102
  }
@@ -223,6 +230,7 @@ export interface UpdateOutput {
223
230
  }
224
231
  export interface UpdateFeedRequest {
225
232
  name: string | undefined;
233
+ accessRoleArn?: string | undefined;
226
234
  id: string | undefined;
227
235
  outputs: UpdateOutput[] | undefined;
228
236
  }
@@ -48,6 +48,7 @@ export declare var ListTagsForResourceRequest$: StaticStructureSchema;
48
48
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
49
49
  export declare var SubtitlingConfig$: StaticStructureSchema;
50
50
  export declare var TagResourceRequest$: StaticStructureSchema;
51
+ export declare var TemplateGroup$: StaticStructureSchema;
51
52
  export declare var UntagResourceRequest$: StaticStructureSchema;
52
53
  export declare var UpdateDictionaryRequest$: StaticStructureSchema;
53
54
  export declare var UpdateDictionaryResponse$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-elementalinference",
3
- "version": "3.1100.0",
3
+ "version": "3.1101.0",
4
4
  "description": "AWS SDK for JavaScript Elementalinference Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-elementalinference",
6
6
  "license": "Apache-2.0",