aws-sdk-elementalinference 1.7.0 → 1.9.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: fdab254705c8b63b39bf7a63ba63e7153f35e9ad4daa9603b9dd08d41aa5a9f2
4
+ data.tar.gz: 6478495851af7d577feb624211e1e690d1db54ef01d5e3653193cbae3bc28a85
5
5
  SHA512:
6
- metadata.gz: 8a94817dff181b48538a315cfd23ece218bbd3b015391ff5da7714645df6ba176bbd57d76ae0e0d72903c8958d5a2190abb2690c5d8dee3bd54fe016fea138c2
7
- data.tar.gz: 0bf0835c2bf11f0cf75651d1a630afd0858b1a9f0eb42cae6bccf9bf7ae04f56477827e922fdd84a32179fd8a5a97c59c908a2cd550ca65cacaeaef9efb9188d
6
+ metadata.gz: 5a23139ec7ce4071609ff74eceaebd820c52a454f58d283961e85691f57ce7ea3bd90cb4a4e4f77115c371deb5f89df17af587ccf41fd74b176c731aecd2ac3f
7
+ data.tar.gz: e404896a7723cdeb5c9967a4111f2d74e9c6a2d5048ce5633e39e92321a1402348e9982d29e063b00ed84a169110c4a42cd3f4e61c5c3a68300d0f93fcaeaf90
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.9.0 (2026-08-10)
5
+ ------------------
6
+
7
+ * Feature - Added support for the SearchFixtures API and DataSourceConfiguration, enabling customers to map fixture event data onto clipping outputs for improved feature accuracy.
8
+
9
+ 1.8.0 (2026-07-31)
10
+ ------------------
11
+
12
+ * 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.
13
+
4
14
  1.7.0 (2026-07-09)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.7.0
1
+ 1.9.0
@@ -541,9 +541,18 @@ 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",
553
+ # data_source_configuration: {
554
+ # fixture_id: "FixtureId", # required
555
+ # },
547
556
  # },
548
557
  # subtitling: {
549
558
  # language: "eng", # required, accepts eng, eng-au, eng-gb, eng-us, fra, ita, deu, spa, por
@@ -651,6 +660,12 @@ module Aws::ElementalInference
651
660
  # @option params [required, String] :name
652
661
  # A user-friendly name for this feed.
653
662
  #
663
+ # @option params [String] :access_role_arn
664
+ # The ARN of an IAM role that Elemental Inference assumes to access
665
+ # resources in your account on your behalf. For example, the smart crop
666
+ # feature uses this role to read graphics-compositing templates from
667
+ # your Amazon S3 bucket. You specify one access role for each feed.
668
+ #
654
669
  # @option params [required, Array<Types::CreateOutput>] :outputs
655
670
  # An array of outputs for this feed. Each output represents a specific
656
671
  # Elemental Inference feature. For example, there is one output type for
@@ -676,14 +691,24 @@ module Aws::ElementalInference
676
691
  #
677
692
  # resp = client.create_feed({
678
693
  # name: "ResourceName", # required
694
+ # access_role_arn: "IamRoleArn",
679
695
  # outputs: [ # required
680
696
  # {
681
697
  # name: "ResourceName", # required
682
698
  # output_config: { # required
683
699
  # cropping: {
700
+ # template_groups: [
701
+ # {
702
+ # name: "ResourceName", # required
703
+ # template_uris: ["S3Uri"], # required
704
+ # },
705
+ # ],
684
706
  # },
685
707
  # clipping: {
686
708
  # callback_metadata: "ResourceDescription",
709
+ # data_source_configuration: {
710
+ # fixture_id: "FixtureId", # required
711
+ # },
687
712
  # },
688
713
  # subtitling: {
689
714
  # language: "eng", # required, accepts eng, eng-au, eng-gb, eng-us, fra, ita, deu, spa, por
@@ -713,7 +738,12 @@ module Aws::ElementalInference
713
738
  # resp.data_endpoints[0] #=> String
714
739
  # resp.outputs #=> Array
715
740
  # resp.outputs[0].name #=> String
741
+ # resp.outputs[0].output_config.cropping.template_groups #=> Array
742
+ # resp.outputs[0].output_config.cropping.template_groups[0].name #=> String
743
+ # resp.outputs[0].output_config.cropping.template_groups[0].template_uris #=> Array
744
+ # resp.outputs[0].output_config.cropping.template_groups[0].template_uris[0] #=> String
716
745
  # resp.outputs[0].output_config.clipping.callback_metadata #=> String
746
+ # resp.outputs[0].output_config.clipping.data_source_configuration.fixture_id #=> String
717
747
  # resp.outputs[0].output_config.subtitling.language #=> String, one of "eng", "eng-au", "eng-gb", "eng-us", "fra", "ita", "deu", "spa", "por"
718
748
  # resp.outputs[0].output_config.subtitling.aspect_ratio.width #=> Integer
719
749
  # resp.outputs[0].output_config.subtitling.aspect_ratio.height #=> Integer
@@ -954,7 +984,12 @@ module Aws::ElementalInference
954
984
  # resp.data_endpoints[0] #=> String
955
985
  # resp.outputs #=> Array
956
986
  # resp.outputs[0].name #=> String
987
+ # resp.outputs[0].output_config.cropping.template_groups #=> Array
988
+ # resp.outputs[0].output_config.cropping.template_groups[0].name #=> String
989
+ # resp.outputs[0].output_config.cropping.template_groups[0].template_uris #=> Array
990
+ # resp.outputs[0].output_config.cropping.template_groups[0].template_uris[0] #=> String
957
991
  # resp.outputs[0].output_config.clipping.callback_metadata #=> String
992
+ # resp.outputs[0].output_config.clipping.data_source_configuration.fixture_id #=> String
958
993
  # resp.outputs[0].output_config.subtitling.language #=> String, one of "eng", "eng-au", "eng-gb", "eng-us", "fra", "ita", "deu", "spa", "por"
959
994
  # resp.outputs[0].output_config.subtitling.aspect_ratio.width #=> Integer
960
995
  # resp.outputs[0].output_config.subtitling.aspect_ratio.height #=> Integer
@@ -1111,6 +1146,105 @@ module Aws::ElementalInference
1111
1146
  req.send_request(options)
1112
1147
  end
1113
1148
 
1149
+ # Searches for the fixtures (sports events, such as a specific
1150
+ # basketball game) that are available for a sport in a date window. Each
1151
+ # fixture in the response includes a fixtureId that you specify in the
1152
+ # clipping output of a feed, so that Elemental Inference maps the event
1153
+ # data for that fixture onto the clipping metadata. This operation is
1154
+ # paginated: if there are more fixtures than fit in one page, the
1155
+ # response includes a nextToken that you pass in a subsequent request.
1156
+ #
1157
+ # @option params [required, String] :sport
1158
+ # The sport to search for fixtures. Valid values: basketball (search for
1159
+ # basketball fixtures), american-football (search for american-football
1160
+ # fixtures).
1161
+ #
1162
+ # @option params [required, String] :start_date
1163
+ # The first day of the search window, in UTC. The search includes
1164
+ # fixtures that are scheduled on this day.
1165
+ #
1166
+ # Specify the date in ISO 8601 format, as `YYYY-MM-DD`. For example,
1167
+ # 2026-03-14.
1168
+ #
1169
+ # @option params [String] :end_date
1170
+ # The last day of the search window, in UTC. The search includes
1171
+ # fixtures that are scheduled on this day. Specify the date in ISO 8601
1172
+ # format, as `YYYY-MM-DD`.
1173
+ #
1174
+ # If you omit this parameter, Elemental Inference searches only the day
1175
+ # that you specified in startDate. The window from startDate through
1176
+ # endDate must not exceed seven days.
1177
+ #
1178
+ # @option params [Array<Types::SearchFilter>] :filters
1179
+ # An array of filters that narrow the results. Each filter applies to
1180
+ # one dimension of a fixture, such as the competitor. You can specify up
1181
+ # to 10 filters.
1182
+ #
1183
+ # A fixture must satisfy every filter in the array in order to appear in
1184
+ # the results. Within one filter, a fixture must match at least one of
1185
+ # the values.
1186
+ #
1187
+ # @option params [Integer] :max_results
1188
+ # The maximum number of fixtures to return for each API request.
1189
+ #
1190
+ # The service might return fewer fixtures than the maxResults value.
1191
+ # When more fixtures match the search, the response also includes a
1192
+ # nextToken value that you can use to fetch the next batch of results.
1193
+ #
1194
+ # @option params [String] :next_token
1195
+ # The token that identifies the batch of results that you want to see.
1196
+ #
1197
+ # For example, you submit a SearchFixtures request with maxResults set
1198
+ # at 5. The service returns the first batch of results (up to 5) and a
1199
+ # nextToken value. To see the next batch of results, you submit the
1200
+ # SearchFixtures request a second time, with the same search criteria,
1201
+ # and specify the nextToken value.
1202
+ #
1203
+ # @return [Types::SearchFixturesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1204
+ #
1205
+ # * {Types::SearchFixturesResponse#fixtures #fixtures} => Array&lt;Types::FixtureSummary&gt;
1206
+ # * {Types::SearchFixturesResponse#next_token #next_token} => String
1207
+ #
1208
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1209
+ #
1210
+ # @example Request syntax with placeholder values
1211
+ #
1212
+ # resp = client.search_fixtures({
1213
+ # sport: "basketball", # required, accepts basketball, american-football
1214
+ # start_date: "FixtureDate", # required
1215
+ # end_date: "FixtureDate",
1216
+ # filters: [
1217
+ # {
1218
+ # name: "COMPETITOR", # required, accepts COMPETITOR
1219
+ # values: ["FilterValue"], # required
1220
+ # },
1221
+ # ],
1222
+ # max_results: 1,
1223
+ # next_token: "String",
1224
+ # })
1225
+ #
1226
+ # @example Response structure
1227
+ #
1228
+ # resp.fixtures #=> Array
1229
+ # resp.fixtures[0].fixture_id #=> String
1230
+ # resp.fixtures[0].name #=> String
1231
+ # resp.fixtures[0].fixture_group #=> String
1232
+ # resp.fixtures[0].scheduled_start #=> Time
1233
+ # resp.fixtures[0].status #=> String
1234
+ # resp.fixtures[0].competitors #=> Array
1235
+ # resp.fixtures[0].competitors[0].name #=> String
1236
+ # resp.fixtures[0].competitors[0].is_home #=> Boolean
1237
+ # resp.next_token #=> String
1238
+ #
1239
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/SearchFixtures AWS API Documentation
1240
+ #
1241
+ # @overload search_fixtures(params = {})
1242
+ # @param [Hash] params ({})
1243
+ def search_fixtures(params = {}, options = {})
1244
+ req = build_request(:search_fixtures, params)
1245
+ req.send_request(options)
1246
+ end
1247
+
1114
1248
  # Associates the specified tags to the resource identified by the
1115
1249
  # specified resourceArn in the current region. If existing tags on a
1116
1250
  # resource are not specified in the request parameters, they are not
@@ -1242,6 +1376,12 @@ module Aws::ElementalInference
1242
1376
  # Required. You can specify the existing name (to leave it unchanged) or
1243
1377
  # a new name.
1244
1378
  #
1379
+ # @option params [String] :access_role_arn
1380
+ # The ARN of an IAM role that Elemental Inference assumes to access
1381
+ # resources in your account on your behalf. You can specify the existing
1382
+ # role (to leave it unchanged) or a new role. You specify one access
1383
+ # role for each feed.
1384
+ #
1245
1385
  # @option params [required, String] :id
1246
1386
  # The ID of the feed to update.
1247
1387
  #
@@ -1264,15 +1404,25 @@ module Aws::ElementalInference
1264
1404
  #
1265
1405
  # resp = client.update_feed({
1266
1406
  # name: "ResourceName", # required
1407
+ # access_role_arn: "IamRoleArn",
1267
1408
  # id: "FeedId", # required
1268
1409
  # outputs: [ # required
1269
1410
  # {
1270
1411
  # name: "ResourceName", # required
1271
1412
  # output_config: { # required
1272
1413
  # cropping: {
1414
+ # template_groups: [
1415
+ # {
1416
+ # name: "ResourceName", # required
1417
+ # template_uris: ["S3Uri"], # required
1418
+ # },
1419
+ # ],
1273
1420
  # },
1274
1421
  # clipping: {
1275
1422
  # callback_metadata: "ResourceDescription",
1423
+ # data_source_configuration: {
1424
+ # fixture_id: "FixtureId", # required
1425
+ # },
1276
1426
  # },
1277
1427
  # subtitling: {
1278
1428
  # language: "eng", # required, accepts eng, eng-au, eng-gb, eng-us, fra, ita, deu, spa, por
@@ -1300,7 +1450,12 @@ module Aws::ElementalInference
1300
1450
  # resp.data_endpoints[0] #=> String
1301
1451
  # resp.outputs #=> Array
1302
1452
  # resp.outputs[0].name #=> String
1453
+ # resp.outputs[0].output_config.cropping.template_groups #=> Array
1454
+ # resp.outputs[0].output_config.cropping.template_groups[0].name #=> String
1455
+ # resp.outputs[0].output_config.cropping.template_groups[0].template_uris #=> Array
1456
+ # resp.outputs[0].output_config.cropping.template_groups[0].template_uris[0] #=> String
1303
1457
  # resp.outputs[0].output_config.clipping.callback_metadata #=> String
1458
+ # resp.outputs[0].output_config.clipping.data_source_configuration.fixture_id #=> String
1304
1459
  # resp.outputs[0].output_config.subtitling.language #=> String, one of "eng", "eng-au", "eng-gb", "eng-us", "fra", "ita", "deu", "spa", "por"
1305
1460
  # resp.outputs[0].output_config.subtitling.aspect_ratio.width #=> Integer
1306
1461
  # resp.outputs[0].output_config.subtitling.aspect_ratio.height #=> Integer
@@ -1341,7 +1496,7 @@ module Aws::ElementalInference
1341
1496
  tracer: tracer
1342
1497
  )
1343
1498
  context[:gem_name] = 'aws-sdk-elementalinference'
1344
- context[:gem_version] = '1.7.0'
1499
+ context[:gem_version] = '1.9.0'
1345
1500
  Seahorse::Client::Request.new(handlers, context)
1346
1501
  end
1347
1502
 
@@ -21,6 +21,8 @@ module Aws::ElementalInference
21
21
  AssociatedResourceName = Shapes::StringShape.new(name: 'AssociatedResourceName')
22
22
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
23
23
  ClippingConfig = Shapes::StructureShape.new(name: 'ClippingConfig')
24
+ Competitor = Shapes::StructureShape.new(name: 'Competitor')
25
+ CompetitorList = Shapes::ListShape.new(name: 'CompetitorList')
24
26
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
25
27
  CreateDictionaryRequest = Shapes::StructureShape.new(name: 'CreateDictionaryRequest')
26
28
  CreateDictionaryResponse = Shapes::StructureShape.new(name: 'CreateDictionaryResponse')
@@ -29,6 +31,8 @@ module Aws::ElementalInference
29
31
  CreateOutput = Shapes::StructureShape.new(name: 'CreateOutput')
30
32
  CreateOutputList = Shapes::ListShape.new(name: 'CreateOutputList')
31
33
  CroppingConfig = Shapes::StructureShape.new(name: 'CroppingConfig')
34
+ DataSourceConfiguration = Shapes::StructureShape.new(name: 'DataSourceConfiguration')
35
+ DataSourceSport = Shapes::StringShape.new(name: 'DataSourceSport')
32
36
  DeleteDictionaryRequest = Shapes::StructureShape.new(name: 'DeleteDictionaryRequest')
33
37
  DeleteDictionaryResponse = Shapes::StructureShape.new(name: 'DeleteDictionaryResponse')
34
38
  DeleteFeedRequest = Shapes::StructureShape.new(name: 'DeleteFeedRequest')
@@ -51,12 +55,21 @@ module Aws::ElementalInference
51
55
  FeedStatus = Shapes::StringShape.new(name: 'FeedStatus')
52
56
  FeedSummary = Shapes::StructureShape.new(name: 'FeedSummary')
53
57
  FeedSummaryList = Shapes::ListShape.new(name: 'FeedSummaryList')
58
+ FilterName = Shapes::StringShape.new(name: 'FilterName')
59
+ FilterValue = Shapes::StringShape.new(name: 'FilterValue')
60
+ FilterValueList = Shapes::ListShape.new(name: 'FilterValueList')
61
+ FixtureDate = Shapes::StringShape.new(name: 'FixtureDate')
62
+ FixtureId = Shapes::StringShape.new(name: 'FixtureId')
63
+ FixtureSummary = Shapes::StructureShape.new(name: 'FixtureSummary')
64
+ FixtureSummaryList = Shapes::ListShape.new(name: 'FixtureSummaryList')
65
+ GatewayTimedOutException = Shapes::StructureShape.new(name: 'GatewayTimedOutException')
54
66
  GetDictionaryRequest = Shapes::StructureShape.new(name: 'GetDictionaryRequest')
55
67
  GetDictionaryResponse = Shapes::StructureShape.new(name: 'GetDictionaryResponse')
56
68
  GetFeedRequest = Shapes::StructureShape.new(name: 'GetFeedRequest')
57
69
  GetFeedResponse = Shapes::StructureShape.new(name: 'GetFeedResponse')
58
70
  GetOutput = Shapes::StructureShape.new(name: 'GetOutput')
59
71
  GetOutputList = Shapes::ListShape.new(name: 'GetOutputList')
72
+ IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
60
73
  Integer = Shapes::IntegerShape.new(name: 'Integer')
61
74
  InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
62
75
  ListDictionariesRequest = Shapes::StructureShape.new(name: 'ListDictionariesRequest')
@@ -74,15 +87,26 @@ module Aws::ElementalInference
74
87
  ResourceDescription = Shapes::StringShape.new(name: 'ResourceDescription')
75
88
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
76
89
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
90
+ S3Uri = Shapes::StringShape.new(name: 'S3Uri')
91
+ SearchFilter = Shapes::StructureShape.new(name: 'SearchFilter')
92
+ SearchFilterList = Shapes::ListShape.new(name: 'SearchFilterList')
93
+ SearchFixturesRequest = Shapes::StructureShape.new(name: 'SearchFixturesRequest')
94
+ SearchFixturesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'SearchFixturesRequestMaxResultsInteger')
95
+ SearchFixturesResponse = Shapes::StructureShape.new(name: 'SearchFixturesResponse')
77
96
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
97
+ ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
78
98
  String = Shapes::StringShape.new(name: 'String')
79
99
  StringList = Shapes::ListShape.new(name: 'StringList')
80
100
  SubtitlingConfig = Shapes::StructureShape.new(name: 'SubtitlingConfig')
101
+ SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
81
102
  TagKey = Shapes::StringShape.new(name: 'TagKey')
82
103
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
83
104
  TagMap = Shapes::MapShape.new(name: 'TagMap')
84
105
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
85
106
  TagValue = Shapes::StringShape.new(name: 'TagValue')
107
+ TemplateGroup = Shapes::StructureShape.new(name: 'TemplateGroup')
108
+ TemplateGroupList = Shapes::ListShape.new(name: 'TemplateGroupList')
109
+ TemplateUriList = Shapes::ListShape.new(name: 'TemplateUriList')
86
110
  TooManyRequestException = Shapes::StructureShape.new(name: 'TooManyRequestException')
87
111
  TranscriptionLanguage = Shapes::StringShape.new(name: 'TranscriptionLanguage')
88
112
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -112,8 +136,15 @@ module Aws::ElementalInference
112
136
  AssociateFeedResponse.struct_class = Types::AssociateFeedResponse
113
137
 
114
138
  ClippingConfig.add_member(:callback_metadata, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "callbackMetadata"))
139
+ ClippingConfig.add_member(:data_source_configuration, Shapes::ShapeRef.new(shape: DataSourceConfiguration, location_name: "dataSourceConfiguration"))
115
140
  ClippingConfig.struct_class = Types::ClippingConfig
116
141
 
142
+ Competitor.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
143
+ Competitor.add_member(:is_home, Shapes::ShapeRef.new(shape: Boolean, location_name: "isHome"))
144
+ Competitor.struct_class = Types::Competitor
145
+
146
+ CompetitorList.member = Shapes::ShapeRef.new(shape: Competitor)
147
+
117
148
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
118
149
  ConflictException.struct_class = Types::ConflictException
119
150
 
@@ -133,6 +164,7 @@ module Aws::ElementalInference
133
164
  CreateDictionaryResponse.struct_class = Types::CreateDictionaryResponse
134
165
 
135
166
  CreateFeedRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
167
+ CreateFeedRequest.add_member(:access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "accessRoleArn"))
136
168
  CreateFeedRequest.add_member(:outputs, Shapes::ShapeRef.new(shape: CreateOutputList, required: true, location_name: "outputs"))
137
169
  CreateFeedRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
138
170
  CreateFeedRequest.struct_class = Types::CreateFeedRequest
@@ -155,8 +187,12 @@ module Aws::ElementalInference
155
187
 
156
188
  CreateOutputList.member = Shapes::ShapeRef.new(shape: CreateOutput)
157
189
 
190
+ CroppingConfig.add_member(:template_groups, Shapes::ShapeRef.new(shape: TemplateGroupList, location_name: "templateGroups"))
158
191
  CroppingConfig.struct_class = Types::CroppingConfig
159
192
 
193
+ DataSourceConfiguration.add_member(:fixture_id, Shapes::ShapeRef.new(shape: FixtureId, required: true, location_name: "fixtureId"))
194
+ DataSourceConfiguration.struct_class = Types::DataSourceConfiguration
195
+
160
196
  DeleteDictionaryRequest.add_member(:id, Shapes::ShapeRef.new(shape: DictionaryId, required: true, location: "uri", location_name: "id"))
161
197
  DeleteDictionaryRequest.struct_class = Types::DeleteDictionaryRequest
162
198
 
@@ -211,6 +247,21 @@ module Aws::ElementalInference
211
247
 
212
248
  FeedSummaryList.member = Shapes::ShapeRef.new(shape: FeedSummary)
213
249
 
250
+ FilterValueList.member = Shapes::ShapeRef.new(shape: FilterValue)
251
+
252
+ FixtureSummary.add_member(:fixture_id, Shapes::ShapeRef.new(shape: FixtureId, required: true, location_name: "fixtureId"))
253
+ FixtureSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
254
+ FixtureSummary.add_member(:fixture_group, Shapes::ShapeRef.new(shape: String, location_name: "fixtureGroup"))
255
+ FixtureSummary.add_member(:scheduled_start, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "scheduledStart"))
256
+ FixtureSummary.add_member(:status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "status"))
257
+ FixtureSummary.add_member(:competitors, Shapes::ShapeRef.new(shape: CompetitorList, required: true, location_name: "competitors"))
258
+ FixtureSummary.struct_class = Types::FixtureSummary
259
+
260
+ FixtureSummaryList.member = Shapes::ShapeRef.new(shape: FixtureSummary)
261
+
262
+ GatewayTimedOutException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
263
+ GatewayTimedOutException.struct_class = Types::GatewayTimedOutException
264
+
214
265
  GetDictionaryRequest.add_member(:id, Shapes::ShapeRef.new(shape: DictionaryId, required: true, location: "uri", location_name: "id"))
215
266
  GetDictionaryRequest.struct_class = Types::GetDictionaryRequest
216
267
 
@@ -283,9 +334,30 @@ module Aws::ElementalInference
283
334
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
284
335
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
285
336
 
337
+ SearchFilter.add_member(:name, Shapes::ShapeRef.new(shape: FilterName, required: true, location_name: "name"))
338
+ SearchFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValueList, required: true, location_name: "values"))
339
+ SearchFilter.struct_class = Types::SearchFilter
340
+
341
+ SearchFilterList.member = Shapes::ShapeRef.new(shape: SearchFilter)
342
+
343
+ SearchFixturesRequest.add_member(:sport, Shapes::ShapeRef.new(shape: DataSourceSport, required: true, location_name: "sport"))
344
+ SearchFixturesRequest.add_member(:start_date, Shapes::ShapeRef.new(shape: FixtureDate, required: true, location_name: "startDate"))
345
+ SearchFixturesRequest.add_member(:end_date, Shapes::ShapeRef.new(shape: FixtureDate, location_name: "endDate"))
346
+ SearchFixturesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: SearchFilterList, location_name: "filters"))
347
+ SearchFixturesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: SearchFixturesRequestMaxResultsInteger, location_name: "maxResults"))
348
+ SearchFixturesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
349
+ SearchFixturesRequest.struct_class = Types::SearchFixturesRequest
350
+
351
+ SearchFixturesResponse.add_member(:fixtures, Shapes::ShapeRef.new(shape: FixtureSummaryList, required: true, location_name: "fixtures"))
352
+ SearchFixturesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
353
+ SearchFixturesResponse.struct_class = Types::SearchFixturesResponse
354
+
286
355
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
287
356
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
288
357
 
358
+ ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
359
+ ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
360
+
289
361
  StringList.member = Shapes::ShapeRef.new(shape: String)
290
362
 
291
363
  SubtitlingConfig.add_member(:language, Shapes::ShapeRef.new(shape: TranscriptionLanguage, required: true, location_name: "language"))
@@ -303,6 +375,14 @@ module Aws::ElementalInference
303
375
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
304
376
  TagResourceRequest.struct_class = Types::TagResourceRequest
305
377
 
378
+ TemplateGroup.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
379
+ TemplateGroup.add_member(:template_uris, Shapes::ShapeRef.new(shape: TemplateUriList, required: true, location_name: "templateUris"))
380
+ TemplateGroup.struct_class = Types::TemplateGroup
381
+
382
+ TemplateGroupList.member = Shapes::ShapeRef.new(shape: TemplateGroup)
383
+
384
+ TemplateUriList.member = Shapes::ShapeRef.new(shape: S3Uri)
385
+
306
386
  TooManyRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
307
387
  TooManyRequestException.struct_class = Types::TooManyRequestException
308
388
 
@@ -326,6 +406,7 @@ module Aws::ElementalInference
326
406
  UpdateDictionaryResponse.struct_class = Types::UpdateDictionaryResponse
327
407
 
328
408
  UpdateFeedRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
409
+ UpdateFeedRequest.add_member(:access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "accessRoleArn"))
329
410
  UpdateFeedRequest.add_member(:id, Shapes::ShapeRef.new(shape: FeedId, required: true, location: "uri", location_name: "id"))
330
411
  UpdateFeedRequest.add_member(:outputs, Shapes::ShapeRef.new(shape: UpdateOutputList, required: true, location_name: "outputs"))
331
412
  UpdateFeedRequest.struct_class = Types::UpdateFeedRequest
@@ -544,6 +625,26 @@ module Aws::ElementalInference
544
625
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestException)
545
626
  end)
546
627
 
628
+ api.add_operation(:search_fixtures, Seahorse::Model::Operation.new.tap do |o|
629
+ o.name = "SearchFixtures"
630
+ o.http_method = "POST"
631
+ o.http_request_uri = "/v1/fixtures"
632
+ o.input = Shapes::ShapeRef.new(shape: SearchFixturesRequest)
633
+ o.output = Shapes::ShapeRef.new(shape: SearchFixturesResponse)
634
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
635
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
636
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
637
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
638
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestException)
639
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimedOutException)
640
+ o[:pager] = Aws::Pager.new(
641
+ limit_key: "max_results",
642
+ tokens: {
643
+ "next_token" => "next_token"
644
+ }
645
+ )
646
+ end)
647
+
547
648
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
548
649
  o.name = "TagResource"
549
650
  o.http_method = "POST"
@@ -29,9 +29,11 @@ module Aws::ElementalInference
29
29
  # ## Error Classes
30
30
  # * {AccessDeniedException}
31
31
  # * {ConflictException}
32
+ # * {GatewayTimedOutException}
32
33
  # * {InternalServerErrorException}
33
34
  # * {ResourceNotFoundException}
34
35
  # * {ServiceQuotaExceededException}
36
+ # * {ServiceUnavailableException}
35
37
  # * {TooManyRequestException}
36
38
  # * {ValidationException}
37
39
  #
@@ -75,6 +77,25 @@ module Aws::ElementalInference
75
77
  end
76
78
  end
77
79
 
80
+ class GatewayTimedOutException < ServiceError
81
+
82
+ # @param [Seahorse::Client::RequestContext] context
83
+ # @param [String] message
84
+ # @param [Aws::ElementalInference::Types::GatewayTimedOutException] data
85
+ def initialize(context, message, data = Aws::EmptyStructure.new)
86
+ super(context, message, data)
87
+ end
88
+
89
+ # @return [String]
90
+ def message
91
+ @message || @data[:message]
92
+ end
93
+
94
+ def retryable?
95
+ true
96
+ end
97
+ end
98
+
78
99
  class InternalServerErrorException < ServiceError
79
100
 
80
101
  # @param [Seahorse::Client::RequestContext] context
@@ -124,6 +145,25 @@ module Aws::ElementalInference
124
145
  end
125
146
  end
126
147
 
148
+ class ServiceUnavailableException < ServiceError
149
+
150
+ # @param [Seahorse::Client::RequestContext] context
151
+ # @param [String] message
152
+ # @param [Aws::ElementalInference::Types::ServiceUnavailableException] data
153
+ def initialize(context, message, data = Aws::EmptyStructure.new)
154
+ super(context, message, data)
155
+ end
156
+
157
+ # @return [String]
158
+ def message
159
+ @message || @data[:message]
160
+ end
161
+
162
+ def retryable?
163
+ true
164
+ end
165
+ end
166
+
127
167
  class TooManyRequestException < ServiceError
128
168
 
129
169
  # @param [Seahorse::Client::RequestContext] context
@@ -115,10 +115,43 @@ module Aws::ElementalInference
115
115
  # the sports event in the source media, for example.
116
116
  # @return [String]
117
117
  #
118
+ # @!attribute [rw] data_source_configuration
119
+ # The data source to map onto this clipping output. This parameter is
120
+ # optional. When you include this parameter, Elemental Inference reads
121
+ # the event data for the fixture that you specify, and includes that
122
+ # data in the event clipping metadata for this output.
123
+ #
124
+ # If you omit this parameter, Elemental Inference doesn't map a data
125
+ # source onto this output.
126
+ # @return [Types::DataSourceConfiguration]
127
+ #
118
128
  # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/ClippingConfig AWS API Documentation
119
129
  #
120
130
  class ClippingConfig < Struct.new(
121
- :callback_metadata)
131
+ :callback_metadata,
132
+ :data_source_configuration)
133
+ SENSITIVE = []
134
+ include Aws::Structure
135
+ end
136
+
137
+ # Contains information about one competitor in a fixture. It is used in
138
+ # the FixtureSummary that is in the SearchFixtures response.
139
+ #
140
+ # @!attribute [rw] name
141
+ # The name of the competitor, as provided by the data source.
142
+ # @return [String]
143
+ #
144
+ # @!attribute [rw] is_home
145
+ # Specifies whether this competitor is the home side in the fixture.
146
+ # If true, this competitor is the home side. If false, this competitor
147
+ # is the away side.
148
+ # @return [Boolean]
149
+ #
150
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/Competitor AWS API Documentation
151
+ #
152
+ class Competitor < Struct.new(
153
+ :name,
154
+ :is_home)
122
155
  SENSITIVE = []
123
156
  include Aws::Structure
124
157
  end
@@ -213,6 +246,14 @@ module Aws::ElementalInference
213
246
  # A user-friendly name for this feed.
214
247
  # @return [String]
215
248
  #
249
+ # @!attribute [rw] access_role_arn
250
+ # The ARN of an IAM role that Elemental Inference assumes to access
251
+ # resources in your account on your behalf. For example, the smart
252
+ # crop feature uses this role to read graphics-compositing templates
253
+ # from your Amazon S3 bucket. You specify one access role for each
254
+ # feed.
255
+ # @return [String]
256
+ #
216
257
  # @!attribute [rw] outputs
217
258
  # An array of outputs for this feed. Each output represents a specific
218
259
  # Elemental Inference feature. For example, there is one output type
@@ -229,6 +270,7 @@ module Aws::ElementalInference
229
270
  #
230
271
  class CreateFeedRequest < Struct.new(
231
272
  :name,
273
+ :access_role_arn,
232
274
  :outputs,
233
275
  :tags)
234
276
  SENSITIVE = []
@@ -325,11 +367,42 @@ module Aws::ElementalInference
325
367
  # A type of OutputConfig, used when the output in a feed is for the crop
326
368
  # feature.
327
369
  #
328
- # @api private
370
+ # @!attribute [rw] template_groups
371
+ # An array of template groups for the crop output. Each template group
372
+ # provides the graphics-compositing templates that Elemental Inference
373
+ # applies to the cropped video. You can specify from 1 to 4 template
374
+ # groups.
375
+ # @return [Array<Types::TemplateGroup>]
329
376
  #
330
377
  # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/CroppingConfig AWS API Documentation
331
378
  #
332
- class CroppingConfig < Aws::EmptyStructure; end
379
+ class CroppingConfig < Struct.new(
380
+ :template_groups)
381
+ SENSITIVE = []
382
+ include Aws::Structure
383
+ end
384
+
385
+ # Contains the data source configuration for a clipping output. It
386
+ # identifies the fixture whose event data Elemental Inference maps onto
387
+ # the clipping metadata. It is used in the dataSourceConfiguration
388
+ # property of a ClippingConfig.
389
+ #
390
+ # @!attribute [rw] fixture_id
391
+ # The ID of the fixture whose event data you want Elemental Inference
392
+ # to map onto this clipping output. The fixture should be the sports
393
+ # event in the source media that the feed is processing.
394
+ #
395
+ # To obtain this ID, use the SearchFixtures operation to find the
396
+ # fixture, then use the fixtureId from the matching FixtureSummary.
397
+ # @return [String]
398
+ #
399
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/DataSourceConfiguration AWS API Documentation
400
+ #
401
+ class DataSourceConfiguration < Struct.new(
402
+ :fixture_id)
403
+ SENSITIVE = []
404
+ include Aws::Structure
405
+ end
333
406
 
334
407
  # @!attribute [rw] id
335
408
  # The ID of the dictionary to delete.
@@ -557,6 +630,73 @@ module Aws::ElementalInference
557
630
  include Aws::Structure
558
631
  end
559
632
 
633
+ # Contains information about one fixture. It is used in the
634
+ # SearchFixtures response.
635
+ #
636
+ # Elemental Inference relays the information in this structure from the
637
+ # data source, so that you can identify the fixture that matches your
638
+ # source media.
639
+ #
640
+ # @!attribute [rw] fixture_id
641
+ # The ID of the fixture. Specify this ID in the clipping output of a
642
+ # feed, to identify the fixture whose event data you want Elemental
643
+ # Inference to map onto the clipping metadata.
644
+ # @return [String]
645
+ #
646
+ # @!attribute [rw] name
647
+ # The name of the fixture, as provided by the data source. For
648
+ # example, the names of the two competing teams.
649
+ # @return [String]
650
+ #
651
+ # @!attribute [rw] fixture_group
652
+ # The group that the fixture belongs to, such as the competition,
653
+ # league, or tournament. The data source doesn't provide this
654
+ # information for every fixture.
655
+ # @return [String]
656
+ #
657
+ # @!attribute [rw] scheduled_start
658
+ # The scheduled start time of the fixture, as provided by the data
659
+ # source. The actual start time might differ.
660
+ # @return [Time]
661
+ #
662
+ # @!attribute [rw] status
663
+ # The status of the fixture in its lifecycle, as provided by the data
664
+ # source. For example, Scheduled or Completed.
665
+ # @return [String]
666
+ #
667
+ # @!attribute [rw] competitors
668
+ # An array of the competitors (the teams or individuals) in the
669
+ # fixture.
670
+ # @return [Array<Types::Competitor>]
671
+ #
672
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/FixtureSummary AWS API Documentation
673
+ #
674
+ class FixtureSummary < Struct.new(
675
+ :fixture_id,
676
+ :name,
677
+ :fixture_group,
678
+ :scheduled_start,
679
+ :status,
680
+ :competitors)
681
+ SENSITIVE = []
682
+ include Aws::Structure
683
+ end
684
+
685
+ # The request timed out before the service returned a response. This is
686
+ # a temporary condition. Retry the request. If the problem persists,
687
+ # contact AWS Support.
688
+ #
689
+ # @!attribute [rw] message
690
+ # @return [String]
691
+ #
692
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/GatewayTimedOutException AWS API Documentation
693
+ #
694
+ class GatewayTimedOutException < Struct.new(
695
+ :message)
696
+ SENSITIVE = []
697
+ include Aws::Structure
698
+ end
699
+
560
700
  # @!attribute [rw] id
561
701
  # The ID of the dictionary to retrieve.
562
702
  # @return [String]
@@ -892,6 +1032,115 @@ module Aws::ElementalInference
892
1032
  include Aws::Structure
893
1033
  end
894
1034
 
1035
+ # A filter for a fixture search. It is used in the filters array of a
1036
+ # SearchFixtures request.
1037
+ #
1038
+ # @!attribute [rw] name
1039
+ # The dimension of the fixture to filter on. Valid values: COMPETITOR.
1040
+ # @return [String]
1041
+ #
1042
+ # @!attribute [rw] values
1043
+ # An array of values to match in the dimension that you specified in
1044
+ # name. You can specify up to 10 values. A fixture appears in the
1045
+ # results if it matches at least one of these values.
1046
+ # @return [Array<String>]
1047
+ #
1048
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/SearchFilter AWS API Documentation
1049
+ #
1050
+ class SearchFilter < Struct.new(
1051
+ :name,
1052
+ :values)
1053
+ SENSITIVE = []
1054
+ include Aws::Structure
1055
+ end
1056
+
1057
+ # @!attribute [rw] sport
1058
+ # The sport to search for fixtures. Valid values: basketball (search
1059
+ # for basketball fixtures), american-football (search for
1060
+ # american-football fixtures).
1061
+ # @return [String]
1062
+ #
1063
+ # @!attribute [rw] start_date
1064
+ # The first day of the search window, in UTC. The search includes
1065
+ # fixtures that are scheduled on this day.
1066
+ #
1067
+ # Specify the date in ISO 8601 format, as `YYYY-MM-DD`. For example,
1068
+ # 2026-03-14.
1069
+ # @return [String]
1070
+ #
1071
+ # @!attribute [rw] end_date
1072
+ # The last day of the search window, in UTC. The search includes
1073
+ # fixtures that are scheduled on this day. Specify the date in ISO
1074
+ # 8601 format, as `YYYY-MM-DD`.
1075
+ #
1076
+ # If you omit this parameter, Elemental Inference searches only the
1077
+ # day that you specified in startDate. The window from startDate
1078
+ # through endDate must not exceed seven days.
1079
+ # @return [String]
1080
+ #
1081
+ # @!attribute [rw] filters
1082
+ # An array of filters that narrow the results. Each filter applies to
1083
+ # one dimension of a fixture, such as the competitor. You can specify
1084
+ # up to 10 filters.
1085
+ #
1086
+ # A fixture must satisfy every filter in the array in order to appear
1087
+ # in the results. Within one filter, a fixture must match at least one
1088
+ # of the values.
1089
+ # @return [Array<Types::SearchFilter>]
1090
+ #
1091
+ # @!attribute [rw] max_results
1092
+ # The maximum number of fixtures to return for each API request.
1093
+ #
1094
+ # The service might return fewer fixtures than the maxResults value.
1095
+ # When more fixtures match the search, the response also includes a
1096
+ # nextToken value that you can use to fetch the next batch of results.
1097
+ # @return [Integer]
1098
+ #
1099
+ # @!attribute [rw] next_token
1100
+ # The token that identifies the batch of results that you want to see.
1101
+ #
1102
+ # For example, you submit a SearchFixtures request with maxResults set
1103
+ # at 5. The service returns the first batch of results (up to 5) and a
1104
+ # nextToken value. To see the next batch of results, you submit the
1105
+ # SearchFixtures request a second time, with the same search criteria,
1106
+ # and specify the nextToken value.
1107
+ # @return [String]
1108
+ #
1109
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/SearchFixturesRequest AWS API Documentation
1110
+ #
1111
+ class SearchFixturesRequest < Struct.new(
1112
+ :sport,
1113
+ :start_date,
1114
+ :end_date,
1115
+ :filters,
1116
+ :max_results,
1117
+ :next_token)
1118
+ SENSITIVE = []
1119
+ include Aws::Structure
1120
+ end
1121
+
1122
+ # @!attribute [rw] fixtures
1123
+ # An array of FixtureSummary objects, one for each fixture that
1124
+ # matches the search. The array is empty if no fixtures match.
1125
+ # @return [Array<Types::FixtureSummary>]
1126
+ #
1127
+ # @!attribute [rw] next_token
1128
+ # The token that identifies the next batch of results. To see the next
1129
+ # batch, submit the SearchFixtures request again, with the same search
1130
+ # criteria, and specify this value in nextToken.
1131
+ #
1132
+ # This parameter is absent when there are no more results to return.
1133
+ # @return [String]
1134
+ #
1135
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/SearchFixturesResponse AWS API Documentation
1136
+ #
1137
+ class SearchFixturesResponse < Struct.new(
1138
+ :fixtures,
1139
+ :next_token)
1140
+ SENSITIVE = []
1141
+ include Aws::Structure
1142
+ end
1143
+
895
1144
  # The request was rejected because it would exceed one or more service
896
1145
  # quotas for your account. Review your service quotas and either delete
897
1146
  # unused resources or request a quota increase.
@@ -907,6 +1156,20 @@ module Aws::ElementalInference
907
1156
  include Aws::Structure
908
1157
  end
909
1158
 
1159
+ # The service is temporarily unable to handle the request. Retry the
1160
+ # request. If the problem persists, contact AWS Support.
1161
+ #
1162
+ # @!attribute [rw] message
1163
+ # @return [String]
1164
+ #
1165
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/ServiceUnavailableException AWS API Documentation
1166
+ #
1167
+ class ServiceUnavailableException < Struct.new(
1168
+ :message)
1169
+ SENSITIVE = []
1170
+ include Aws::Structure
1171
+ end
1172
+
910
1173
  # A type of OutputConfig, used when the output in a feed is for the
911
1174
  # smart subtitling feature. smart subtitling uses automatic speech
912
1175
  # recognition (ASR) to generate live TTML subtitles from the audio in
@@ -966,6 +1229,30 @@ module Aws::ElementalInference
966
1229
  include Aws::Structure
967
1230
  end
968
1231
 
1232
+ # A named set of graphics-compositing templates used by the crop
1233
+ # feature, specified in the templateGroups array of a CroppingConfig.
1234
+ #
1235
+ # @!attribute [rw] name
1236
+ # A name for the template group.
1237
+ # @return [String]
1238
+ #
1239
+ # @!attribute [rw] template_uris
1240
+ # An array of Amazon S3 URIs that point to the graphics-compositing
1241
+ # templates for this group. You can specify 1 or 2 URIs. Each URI must
1242
+ # be in the form `s3://bucket-name/key`. Elemental Inference reads
1243
+ # these templates using the IAM role that you specify in
1244
+ # accessRoleArn.
1245
+ # @return [Array<String>]
1246
+ #
1247
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/TemplateGroup AWS API Documentation
1248
+ #
1249
+ class TemplateGroup < Struct.new(
1250
+ :name,
1251
+ :template_uris)
1252
+ SENSITIVE = []
1253
+ include Aws::Structure
1254
+ end
1255
+
969
1256
  # The request was denied due to request throttling. Too many requests
970
1257
  # have been made within a given time period. Reduce the frequency of
971
1258
  # requests and use exponential backoff when retrying.
@@ -1075,6 +1362,13 @@ module Aws::ElementalInference
1075
1362
  # or a new name.
1076
1363
  # @return [String]
1077
1364
  #
1365
+ # @!attribute [rw] access_role_arn
1366
+ # The ARN of an IAM role that Elemental Inference assumes to access
1367
+ # resources in your account on your behalf. You can specify the
1368
+ # existing role (to leave it unchanged) or a new role. You specify one
1369
+ # access role for each feed.
1370
+ # @return [String]
1371
+ #
1078
1372
  # @!attribute [rw] id
1079
1373
  # The ID of the feed to update.
1080
1374
  # @return [String]
@@ -1088,6 +1382,7 @@ module Aws::ElementalInference
1088
1382
  #
1089
1383
  class UpdateFeedRequest < Struct.new(
1090
1384
  :name,
1385
+ :access_role_arn,
1091
1386
  :id,
1092
1387
  :outputs)
1093
1388
  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.9.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
  ],
@@ -248,6 +249,27 @@ module Aws
248
249
  ) -> _ListTagsForResourceResponseSuccess
249
250
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
250
251
 
252
+ interface _SearchFixturesResponseSuccess
253
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchFixturesResponse]
254
+ def fixtures: () -> ::Array[Types::FixtureSummary]
255
+ def next_token: () -> ::String
256
+ end
257
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#search_fixtures-instance_method
258
+ def search_fixtures: (
259
+ sport: ("basketball" | "american-football"),
260
+ start_date: ::String,
261
+ ?end_date: ::String,
262
+ ?filters: Array[
263
+ {
264
+ name: ("COMPETITOR"),
265
+ values: Array[::String]
266
+ }
267
+ ],
268
+ ?max_results: ::Integer,
269
+ ?next_token: ::String
270
+ ) -> _SearchFixturesResponseSuccess
271
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchFixturesResponseSuccess
272
+
251
273
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#tag_resource-instance_method
252
274
  def tag_resource: (
253
275
  resource_arn: ::String,
@@ -295,6 +317,7 @@ module Aws
295
317
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#update_feed-instance_method
296
318
  def update_feed: (
297
319
  name: ::String,
320
+ ?access_role_arn: ::String,
298
321
  id: ::String,
299
322
  outputs: Array[
300
323
  {
data/sig/errors.rbs CHANGED
@@ -17,6 +17,9 @@ module Aws
17
17
  class ConflictException < ::Aws::Errors::ServiceError
18
18
  def message: () -> ::String
19
19
  end
20
+ class GatewayTimedOutException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
20
23
  class InternalServerErrorException < ::Aws::Errors::ServiceError
21
24
  def message: () -> ::String
22
25
  end
@@ -26,6 +29,9 @@ module Aws
26
29
  class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
27
30
  def message: () -> ::String
28
31
  end
32
+ class ServiceUnavailableException < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ end
29
35
  class TooManyRequestException < ::Aws::Errors::ServiceError
30
36
  def message: () -> ::String
31
37
  end
data/sig/params.rbs CHANGED
@@ -20,9 +20,18 @@ 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
- callback_metadata: ::String?
31
+ callback_metadata: ::String?,
32
+ data_source_configuration: {
33
+ fixture_id: ::String
34
+ }?
26
35
  }?,
27
36
  subtitling: Params::subtitling_config?
28
37
  }
data/sig/types.rbs CHANGED
@@ -35,6 +35,13 @@ module Aws::ElementalInference
35
35
 
36
36
  class ClippingConfig
37
37
  attr_accessor callback_metadata: ::String
38
+ attr_accessor data_source_configuration: Types::DataSourceConfiguration
39
+ SENSITIVE: []
40
+ end
41
+
42
+ class Competitor
43
+ attr_accessor name: ::String
44
+ attr_accessor is_home: bool
38
45
  SENSITIVE: []
39
46
  end
40
47
 
@@ -64,6 +71,7 @@ module Aws::ElementalInference
64
71
 
65
72
  class CreateFeedRequest
66
73
  attr_accessor name: ::String
74
+ attr_accessor access_role_arn: ::String
67
75
  attr_accessor outputs: ::Array[Types::CreateOutput]
68
76
  attr_accessor tags: ::Hash[::String, ::String]
69
77
  SENSITIVE: []
@@ -89,7 +97,14 @@ module Aws::ElementalInference
89
97
  SENSITIVE: []
90
98
  end
91
99
 
92
- class CroppingConfig < Aws::EmptyStructure
100
+ class CroppingConfig
101
+ attr_accessor template_groups: ::Array[Types::TemplateGroup]
102
+ SENSITIVE: []
103
+ end
104
+
105
+ class DataSourceConfiguration
106
+ attr_accessor fixture_id: ::String
107
+ SENSITIVE: []
93
108
  end
94
109
 
95
110
  class DeleteDictionaryRequest
@@ -162,6 +177,21 @@ module Aws::ElementalInference
162
177
  SENSITIVE: []
163
178
  end
164
179
 
180
+ class FixtureSummary
181
+ attr_accessor fixture_id: ::String
182
+ attr_accessor name: ::String
183
+ attr_accessor fixture_group: ::String
184
+ attr_accessor scheduled_start: ::Time
185
+ attr_accessor status: ::String
186
+ attr_accessor competitors: ::Array[Types::Competitor]
187
+ SENSITIVE: []
188
+ end
189
+
190
+ class GatewayTimedOutException
191
+ attr_accessor message: ::String
192
+ SENSITIVE: []
193
+ end
194
+
165
195
  class GetDictionaryRequest
166
196
  attr_accessor id: ::String
167
197
  SENSITIVE: []
@@ -265,11 +295,38 @@ module Aws::ElementalInference
265
295
  SENSITIVE: []
266
296
  end
267
297
 
298
+ class SearchFilter
299
+ attr_accessor name: ("COMPETITOR")
300
+ attr_accessor values: ::Array[::String]
301
+ SENSITIVE: []
302
+ end
303
+
304
+ class SearchFixturesRequest
305
+ attr_accessor sport: ("basketball" | "american-football")
306
+ attr_accessor start_date: ::String
307
+ attr_accessor end_date: ::String
308
+ attr_accessor filters: ::Array[Types::SearchFilter]
309
+ attr_accessor max_results: ::Integer
310
+ attr_accessor next_token: ::String
311
+ SENSITIVE: []
312
+ end
313
+
314
+ class SearchFixturesResponse
315
+ attr_accessor fixtures: ::Array[Types::FixtureSummary]
316
+ attr_accessor next_token: ::String
317
+ SENSITIVE: []
318
+ end
319
+
268
320
  class ServiceQuotaExceededException
269
321
  attr_accessor message: ::String
270
322
  SENSITIVE: []
271
323
  end
272
324
 
325
+ class ServiceUnavailableException
326
+ attr_accessor message: ::String
327
+ SENSITIVE: []
328
+ end
329
+
273
330
  class SubtitlingConfig
274
331
  attr_accessor language: ("eng" | "eng-au" | "eng-gb" | "eng-us" | "fra" | "ita" | "deu" | "spa" | "por")
275
332
  attr_accessor aspect_ratio: Types::AspectRatio
@@ -284,6 +341,12 @@ module Aws::ElementalInference
284
341
  SENSITIVE: []
285
342
  end
286
343
 
344
+ class TemplateGroup
345
+ attr_accessor name: ::String
346
+ attr_accessor template_uris: ::Array[::String]
347
+ SENSITIVE: []
348
+ end
349
+
287
350
  class TooManyRequestException
288
351
  attr_accessor message: ::String
289
352
  SENSITIVE: []
@@ -316,6 +379,7 @@ module Aws::ElementalInference
316
379
 
317
380
  class UpdateFeedRequest
318
381
  attr_accessor name: ::String
382
+ attr_accessor access_role_arn: ::String
319
383
  attr_accessor id: ::String
320
384
  attr_accessor outputs: ::Array[Types::UpdateOutput]
321
385
  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.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services