aws-sdk-elementalinference 1.7.0 → 1.8.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb6db7d5508c26fb80d30a2dc7f5e9a2232d966f5e11f96c0aa6cca099f6ca45
4
- data.tar.gz: 2d26690a7fdde7744a03048faaf324534175996c2665a9240431e65f0d0711eb
3
+ metadata.gz: 1f14a94251e519afebb4596b8940caf3af510920cf4197486bde4bdee7b2e37f
4
+ data.tar.gz: 8ecce89d25b5f89292fb045d5f4a0d4b94f9e282c81ddd27f49f6058c15a08e0
5
5
  SHA512:
6
- metadata.gz: 8a94817dff181b48538a315cfd23ece218bbd3b015391ff5da7714645df6ba176bbd57d76ae0e0d72903c8958d5a2190abb2690c5d8dee3bd54fe016fea138c2
7
- data.tar.gz: 0bf0835c2bf11f0cf75651d1a630afd0858b1a9f0eb42cae6bccf9bf7ae04f56477827e922fdd84a32179fd8a5a97c59c908a2cd550ca65cacaeaef9efb9188d
6
+ metadata.gz: cd2ce23c0b98bda873fb4246857b44fb013a8f4cf10cfa2e87f43605ba013aab77ed957c24787a2379b59bf93d5a86f4e492ae2eb3cb0f44f3057abd4e34fcbf
7
+ data.tar.gz: 222cb09162fae13484eeb81dfbb6f5759c3fd0e884e1d81d08c7e673082beacd5973d5721abdb95a204e680efad67f3a13742ca273bbfa1693eca0ad21bcfddb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.8.0 (2026-07-31)
5
+ ------------------
6
+
7
+ * Feature - AWS Elemental Inference now supports graphic composition on cropped video outputs, enabling branded graphics and other visual elements to be overlaid as part of the inference workflow.
8
+
4
9
  1.7.0 (2026-07-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.7.0
1
+ 1.8.0
@@ -541,6 +541,12 @@ module Aws::ElementalInference
541
541
  # name: "ResourceName", # required
542
542
  # output_config: { # required
543
543
  # cropping: {
544
+ # template_groups: [
545
+ # {
546
+ # name: "ResourceName", # required
547
+ # template_uris: ["S3Uri"], # required
548
+ # },
549
+ # ],
544
550
  # },
545
551
  # clipping: {
546
552
  # callback_metadata: "ResourceDescription",
@@ -651,6 +657,12 @@ module Aws::ElementalInference
651
657
  # @option params [required, String] :name
652
658
  # A user-friendly name for this feed.
653
659
  #
660
+ # @option params [String] :access_role_arn
661
+ # The ARN of an IAM role that Elemental Inference assumes to access
662
+ # resources in your account on your behalf. For example, the smart crop
663
+ # feature uses this role to read graphics-compositing templates from
664
+ # your Amazon S3 bucket. You specify one access role for each feed.
665
+ #
654
666
  # @option params [required, Array<Types::CreateOutput>] :outputs
655
667
  # An array of outputs for this feed. Each output represents a specific
656
668
  # Elemental Inference feature. For example, there is one output type for
@@ -676,11 +688,18 @@ module Aws::ElementalInference
676
688
  #
677
689
  # resp = client.create_feed({
678
690
  # name: "ResourceName", # required
691
+ # access_role_arn: "IamRoleArn",
679
692
  # outputs: [ # required
680
693
  # {
681
694
  # name: "ResourceName", # required
682
695
  # output_config: { # required
683
696
  # cropping: {
697
+ # template_groups: [
698
+ # {
699
+ # name: "ResourceName", # required
700
+ # template_uris: ["S3Uri"], # required
701
+ # },
702
+ # ],
684
703
  # },
685
704
  # clipping: {
686
705
  # callback_metadata: "ResourceDescription",
@@ -713,6 +732,10 @@ module Aws::ElementalInference
713
732
  # resp.data_endpoints[0] #=> String
714
733
  # resp.outputs #=> Array
715
734
  # resp.outputs[0].name #=> String
735
+ # resp.outputs[0].output_config.cropping.template_groups #=> Array
736
+ # resp.outputs[0].output_config.cropping.template_groups[0].name #=> String
737
+ # resp.outputs[0].output_config.cropping.template_groups[0].template_uris #=> Array
738
+ # resp.outputs[0].output_config.cropping.template_groups[0].template_uris[0] #=> String
716
739
  # resp.outputs[0].output_config.clipping.callback_metadata #=> String
717
740
  # resp.outputs[0].output_config.subtitling.language #=> String, one of "eng", "eng-au", "eng-gb", "eng-us", "fra", "ita", "deu", "spa", "por"
718
741
  # resp.outputs[0].output_config.subtitling.aspect_ratio.width #=> Integer
@@ -954,6 +977,10 @@ module Aws::ElementalInference
954
977
  # resp.data_endpoints[0] #=> String
955
978
  # resp.outputs #=> Array
956
979
  # resp.outputs[0].name #=> String
980
+ # resp.outputs[0].output_config.cropping.template_groups #=> Array
981
+ # resp.outputs[0].output_config.cropping.template_groups[0].name #=> String
982
+ # resp.outputs[0].output_config.cropping.template_groups[0].template_uris #=> Array
983
+ # resp.outputs[0].output_config.cropping.template_groups[0].template_uris[0] #=> String
957
984
  # resp.outputs[0].output_config.clipping.callback_metadata #=> String
958
985
  # resp.outputs[0].output_config.subtitling.language #=> String, one of "eng", "eng-au", "eng-gb", "eng-us", "fra", "ita", "deu", "spa", "por"
959
986
  # resp.outputs[0].output_config.subtitling.aspect_ratio.width #=> Integer
@@ -1242,6 +1269,12 @@ module Aws::ElementalInference
1242
1269
  # Required. You can specify the existing name (to leave it unchanged) or
1243
1270
  # a new name.
1244
1271
  #
1272
+ # @option params [String] :access_role_arn
1273
+ # The ARN of an IAM role that Elemental Inference assumes to access
1274
+ # resources in your account on your behalf. You can specify the existing
1275
+ # role (to leave it unchanged) or a new role. You specify one access
1276
+ # role for each feed.
1277
+ #
1245
1278
  # @option params [required, String] :id
1246
1279
  # The ID of the feed to update.
1247
1280
  #
@@ -1264,12 +1297,19 @@ module Aws::ElementalInference
1264
1297
  #
1265
1298
  # resp = client.update_feed({
1266
1299
  # name: "ResourceName", # required
1300
+ # access_role_arn: "IamRoleArn",
1267
1301
  # id: "FeedId", # required
1268
1302
  # outputs: [ # required
1269
1303
  # {
1270
1304
  # name: "ResourceName", # required
1271
1305
  # output_config: { # required
1272
1306
  # cropping: {
1307
+ # template_groups: [
1308
+ # {
1309
+ # name: "ResourceName", # required
1310
+ # template_uris: ["S3Uri"], # required
1311
+ # },
1312
+ # ],
1273
1313
  # },
1274
1314
  # clipping: {
1275
1315
  # callback_metadata: "ResourceDescription",
@@ -1300,6 +1340,10 @@ module Aws::ElementalInference
1300
1340
  # resp.data_endpoints[0] #=> String
1301
1341
  # resp.outputs #=> Array
1302
1342
  # resp.outputs[0].name #=> String
1343
+ # resp.outputs[0].output_config.cropping.template_groups #=> Array
1344
+ # resp.outputs[0].output_config.cropping.template_groups[0].name #=> String
1345
+ # resp.outputs[0].output_config.cropping.template_groups[0].template_uris #=> Array
1346
+ # resp.outputs[0].output_config.cropping.template_groups[0].template_uris[0] #=> String
1303
1347
  # resp.outputs[0].output_config.clipping.callback_metadata #=> String
1304
1348
  # resp.outputs[0].output_config.subtitling.language #=> String, one of "eng", "eng-au", "eng-gb", "eng-us", "fra", "ita", "deu", "spa", "por"
1305
1349
  # resp.outputs[0].output_config.subtitling.aspect_ratio.width #=> Integer
@@ -1341,7 +1385,7 @@ module Aws::ElementalInference
1341
1385
  tracer: tracer
1342
1386
  )
1343
1387
  context[:gem_name] = 'aws-sdk-elementalinference'
1344
- context[:gem_version] = '1.7.0'
1388
+ context[:gem_version] = '1.8.0'
1345
1389
  Seahorse::Client::Request.new(handlers, context)
1346
1390
  end
1347
1391
 
@@ -57,6 +57,7 @@ module Aws::ElementalInference
57
57
  GetFeedResponse = Shapes::StructureShape.new(name: 'GetFeedResponse')
58
58
  GetOutput = Shapes::StructureShape.new(name: 'GetOutput')
59
59
  GetOutputList = Shapes::ListShape.new(name: 'GetOutputList')
60
+ IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
60
61
  Integer = Shapes::IntegerShape.new(name: 'Integer')
61
62
  InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
62
63
  ListDictionariesRequest = Shapes::StructureShape.new(name: 'ListDictionariesRequest')
@@ -74,6 +75,7 @@ module Aws::ElementalInference
74
75
  ResourceDescription = Shapes::StringShape.new(name: 'ResourceDescription')
75
76
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
76
77
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
78
+ S3Uri = Shapes::StringShape.new(name: 'S3Uri')
77
79
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
78
80
  String = Shapes::StringShape.new(name: 'String')
79
81
  StringList = Shapes::ListShape.new(name: 'StringList')
@@ -83,6 +85,9 @@ module Aws::ElementalInference
83
85
  TagMap = Shapes::MapShape.new(name: 'TagMap')
84
86
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
85
87
  TagValue = Shapes::StringShape.new(name: 'TagValue')
88
+ TemplateGroup = Shapes::StructureShape.new(name: 'TemplateGroup')
89
+ TemplateGroupList = Shapes::ListShape.new(name: 'TemplateGroupList')
90
+ TemplateUriList = Shapes::ListShape.new(name: 'TemplateUriList')
86
91
  TooManyRequestException = Shapes::StructureShape.new(name: 'TooManyRequestException')
87
92
  TranscriptionLanguage = Shapes::StringShape.new(name: 'TranscriptionLanguage')
88
93
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -133,6 +138,7 @@ module Aws::ElementalInference
133
138
  CreateDictionaryResponse.struct_class = Types::CreateDictionaryResponse
134
139
 
135
140
  CreateFeedRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
141
+ CreateFeedRequest.add_member(:access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "accessRoleArn"))
136
142
  CreateFeedRequest.add_member(:outputs, Shapes::ShapeRef.new(shape: CreateOutputList, required: true, location_name: "outputs"))
137
143
  CreateFeedRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
138
144
  CreateFeedRequest.struct_class = Types::CreateFeedRequest
@@ -155,6 +161,7 @@ module Aws::ElementalInference
155
161
 
156
162
  CreateOutputList.member = Shapes::ShapeRef.new(shape: CreateOutput)
157
163
 
164
+ CroppingConfig.add_member(:template_groups, Shapes::ShapeRef.new(shape: TemplateGroupList, location_name: "templateGroups"))
158
165
  CroppingConfig.struct_class = Types::CroppingConfig
159
166
 
160
167
  DeleteDictionaryRequest.add_member(:id, Shapes::ShapeRef.new(shape: DictionaryId, required: true, location: "uri", location_name: "id"))
@@ -303,6 +310,14 @@ module Aws::ElementalInference
303
310
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
304
311
  TagResourceRequest.struct_class = Types::TagResourceRequest
305
312
 
313
+ TemplateGroup.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
314
+ TemplateGroup.add_member(:template_uris, Shapes::ShapeRef.new(shape: TemplateUriList, required: true, location_name: "templateUris"))
315
+ TemplateGroup.struct_class = Types::TemplateGroup
316
+
317
+ TemplateGroupList.member = Shapes::ShapeRef.new(shape: TemplateGroup)
318
+
319
+ TemplateUriList.member = Shapes::ShapeRef.new(shape: S3Uri)
320
+
306
321
  TooManyRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
307
322
  TooManyRequestException.struct_class = Types::TooManyRequestException
308
323
 
@@ -326,6 +341,7 @@ module Aws::ElementalInference
326
341
  UpdateDictionaryResponse.struct_class = Types::UpdateDictionaryResponse
327
342
 
328
343
  UpdateFeedRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
344
+ UpdateFeedRequest.add_member(:access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "accessRoleArn"))
329
345
  UpdateFeedRequest.add_member(:id, Shapes::ShapeRef.new(shape: FeedId, required: true, location: "uri", location_name: "id"))
330
346
  UpdateFeedRequest.add_member(:outputs, Shapes::ShapeRef.new(shape: UpdateOutputList, required: true, location_name: "outputs"))
331
347
  UpdateFeedRequest.struct_class = Types::UpdateFeedRequest
@@ -213,6 +213,14 @@ module Aws::ElementalInference
213
213
  # A user-friendly name for this feed.
214
214
  # @return [String]
215
215
  #
216
+ # @!attribute [rw] access_role_arn
217
+ # The ARN of an IAM role that Elemental Inference assumes to access
218
+ # resources in your account on your behalf. For example, the smart
219
+ # crop feature uses this role to read graphics-compositing templates
220
+ # from your Amazon S3 bucket. You specify one access role for each
221
+ # feed.
222
+ # @return [String]
223
+ #
216
224
  # @!attribute [rw] outputs
217
225
  # An array of outputs for this feed. Each output represents a specific
218
226
  # Elemental Inference feature. For example, there is one output type
@@ -229,6 +237,7 @@ module Aws::ElementalInference
229
237
  #
230
238
  class CreateFeedRequest < Struct.new(
231
239
  :name,
240
+ :access_role_arn,
232
241
  :outputs,
233
242
  :tags)
234
243
  SENSITIVE = []
@@ -325,11 +334,20 @@ module Aws::ElementalInference
325
334
  # A type of OutputConfig, used when the output in a feed is for the crop
326
335
  # feature.
327
336
  #
328
- # @api private
337
+ # @!attribute [rw] template_groups
338
+ # An array of template groups for the crop output. Each template group
339
+ # provides the graphics-compositing templates that Elemental Inference
340
+ # applies to the cropped video. You can specify from 1 to 4 template
341
+ # groups.
342
+ # @return [Array<Types::TemplateGroup>]
329
343
  #
330
344
  # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/CroppingConfig AWS API Documentation
331
345
  #
332
- class CroppingConfig < Aws::EmptyStructure; end
346
+ class CroppingConfig < Struct.new(
347
+ :template_groups)
348
+ SENSITIVE = []
349
+ include Aws::Structure
350
+ end
333
351
 
334
352
  # @!attribute [rw] id
335
353
  # The ID of the dictionary to delete.
@@ -966,6 +984,30 @@ module Aws::ElementalInference
966
984
  include Aws::Structure
967
985
  end
968
986
 
987
+ # A named set of graphics-compositing templates used by the crop
988
+ # feature, specified in the templateGroups array of a CroppingConfig.
989
+ #
990
+ # @!attribute [rw] name
991
+ # A name for the template group.
992
+ # @return [String]
993
+ #
994
+ # @!attribute [rw] template_uris
995
+ # An array of Amazon S3 URIs that point to the graphics-compositing
996
+ # templates for this group. You can specify 1 or 2 URIs. Each URI must
997
+ # be in the form `s3://bucket-name/key`. Elemental Inference reads
998
+ # these templates using the IAM role that you specify in
999
+ # accessRoleArn.
1000
+ # @return [Array<String>]
1001
+ #
1002
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/TemplateGroup AWS API Documentation
1003
+ #
1004
+ class TemplateGroup < Struct.new(
1005
+ :name,
1006
+ :template_uris)
1007
+ SENSITIVE = []
1008
+ include Aws::Structure
1009
+ end
1010
+
969
1011
  # The request was denied due to request throttling. Too many requests
970
1012
  # have been made within a given time period. Reduce the frequency of
971
1013
  # requests and use exponential backoff when retrying.
@@ -1075,6 +1117,13 @@ module Aws::ElementalInference
1075
1117
  # or a new name.
1076
1118
  # @return [String]
1077
1119
  #
1120
+ # @!attribute [rw] access_role_arn
1121
+ # The ARN of an IAM role that Elemental Inference assumes to access
1122
+ # resources in your account on your behalf. You can specify the
1123
+ # existing role (to leave it unchanged) or a new role. You specify one
1124
+ # access role for each feed.
1125
+ # @return [String]
1126
+ #
1078
1127
  # @!attribute [rw] id
1079
1128
  # The ID of the feed to update.
1080
1129
  # @return [String]
@@ -1088,6 +1137,7 @@ module Aws::ElementalInference
1088
1137
  #
1089
1138
  class UpdateFeedRequest < Struct.new(
1090
1139
  :name,
1140
+ :access_role_arn,
1091
1141
  :id,
1092
1142
  :outputs)
1093
1143
  SENSITIVE = []
@@ -55,7 +55,7 @@ module Aws::ElementalInference
55
55
  autoload :EndpointProvider, 'aws-sdk-elementalinference/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-elementalinference/endpoints'
57
57
 
58
- GEM_VERSION = '1.7.0'
58
+ GEM_VERSION = '1.8.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -127,6 +127,7 @@ module Aws
127
127
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#create_feed-instance_method
128
128
  def create_feed: (
129
129
  name: ::String,
130
+ ?access_role_arn: ::String,
130
131
  outputs: Array[
131
132
  Params::create_output
132
133
  ],
@@ -295,6 +296,7 @@ module Aws
295
296
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#update_feed-instance_method
296
297
  def update_feed: (
297
298
  name: ::String,
299
+ ?access_role_arn: ::String,
298
300
  id: ::String,
299
301
  outputs: Array[
300
302
  {
data/sig/params.rbs CHANGED
@@ -20,6 +20,12 @@ module Aws
20
20
 
21
21
  type output_config = {
22
22
  cropping: {
23
+ template_groups: Array[
24
+ {
25
+ name: ::String,
26
+ template_uris: Array[::String]
27
+ }
28
+ ]?
23
29
  }?,
24
30
  clipping: {
25
31
  callback_metadata: ::String?
data/sig/types.rbs CHANGED
@@ -64,6 +64,7 @@ module Aws::ElementalInference
64
64
 
65
65
  class CreateFeedRequest
66
66
  attr_accessor name: ::String
67
+ attr_accessor access_role_arn: ::String
67
68
  attr_accessor outputs: ::Array[Types::CreateOutput]
68
69
  attr_accessor tags: ::Hash[::String, ::String]
69
70
  SENSITIVE: []
@@ -89,7 +90,9 @@ module Aws::ElementalInference
89
90
  SENSITIVE: []
90
91
  end
91
92
 
92
- class CroppingConfig < Aws::EmptyStructure
93
+ class CroppingConfig
94
+ attr_accessor template_groups: ::Array[Types::TemplateGroup]
95
+ SENSITIVE: []
93
96
  end
94
97
 
95
98
  class DeleteDictionaryRequest
@@ -284,6 +287,12 @@ module Aws::ElementalInference
284
287
  SENSITIVE: []
285
288
  end
286
289
 
290
+ class TemplateGroup
291
+ attr_accessor name: ::String
292
+ attr_accessor template_uris: ::Array[::String]
293
+ SENSITIVE: []
294
+ end
295
+
287
296
  class TooManyRequestException
288
297
  attr_accessor message: ::String
289
298
  SENSITIVE: []
@@ -316,6 +325,7 @@ module Aws::ElementalInference
316
325
 
317
326
  class UpdateFeedRequest
318
327
  attr_accessor name: ::String
328
+ attr_accessor access_role_arn: ::String
319
329
  attr_accessor id: ::String
320
330
  attr_accessor outputs: ::Array[Types::UpdateOutput]
321
331
  SENSITIVE: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-elementalinference
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services