aws-sdk-elementalinference 1.8.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: 1f14a94251e519afebb4596b8940caf3af510920cf4197486bde4bdee7b2e37f
4
- data.tar.gz: 8ecce89d25b5f89292fb045d5f4a0d4b94f9e282c81ddd27f49f6058c15a08e0
3
+ metadata.gz: fdab254705c8b63b39bf7a63ba63e7153f35e9ad4daa9603b9dd08d41aa5a9f2
4
+ data.tar.gz: 6478495851af7d577feb624211e1e690d1db54ef01d5e3653193cbae3bc28a85
5
5
  SHA512:
6
- metadata.gz: cd2ce23c0b98bda873fb4246857b44fb013a8f4cf10cfa2e87f43605ba013aab77ed957c24787a2379b59bf93d5a86f4e492ae2eb3cb0f44f3057abd4e34fcbf
7
- data.tar.gz: 222cb09162fae13484eeb81dfbb6f5759c3fd0e884e1d81d08c7e673082beacd5973d5721abdb95a204e680efad67f3a13742ca273bbfa1693eca0ad21bcfddb
6
+ metadata.gz: 5a23139ec7ce4071609ff74eceaebd820c52a454f58d283961e85691f57ce7ea3bd90cb4a4e4f77115c371deb5f89df17af587ccf41fd74b176c731aecd2ac3f
7
+ data.tar.gz: e404896a7723cdeb5c9967a4111f2d74e9c6a2d5048ce5633e39e92321a1402348e9982d29e063b00ed84a169110c4a42cd3f4e61c5c3a68300d0f93fcaeaf90
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.8.0 (2026-07-31)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.0
1
+ 1.9.0
@@ -550,6 +550,9 @@ module Aws::ElementalInference
550
550
  # },
551
551
  # clipping: {
552
552
  # callback_metadata: "ResourceDescription",
553
+ # data_source_configuration: {
554
+ # fixture_id: "FixtureId", # required
555
+ # },
553
556
  # },
554
557
  # subtitling: {
555
558
  # language: "eng", # required, accepts eng, eng-au, eng-gb, eng-us, fra, ita, deu, spa, por
@@ -703,6 +706,9 @@ module Aws::ElementalInference
703
706
  # },
704
707
  # clipping: {
705
708
  # callback_metadata: "ResourceDescription",
709
+ # data_source_configuration: {
710
+ # fixture_id: "FixtureId", # required
711
+ # },
706
712
  # },
707
713
  # subtitling: {
708
714
  # language: "eng", # required, accepts eng, eng-au, eng-gb, eng-us, fra, ita, deu, spa, por
@@ -737,6 +743,7 @@ module Aws::ElementalInference
737
743
  # resp.outputs[0].output_config.cropping.template_groups[0].template_uris #=> Array
738
744
  # resp.outputs[0].output_config.cropping.template_groups[0].template_uris[0] #=> String
739
745
  # resp.outputs[0].output_config.clipping.callback_metadata #=> String
746
+ # resp.outputs[0].output_config.clipping.data_source_configuration.fixture_id #=> String
740
747
  # resp.outputs[0].output_config.subtitling.language #=> String, one of "eng", "eng-au", "eng-gb", "eng-us", "fra", "ita", "deu", "spa", "por"
741
748
  # resp.outputs[0].output_config.subtitling.aspect_ratio.width #=> Integer
742
749
  # resp.outputs[0].output_config.subtitling.aspect_ratio.height #=> Integer
@@ -982,6 +989,7 @@ module Aws::ElementalInference
982
989
  # resp.outputs[0].output_config.cropping.template_groups[0].template_uris #=> Array
983
990
  # resp.outputs[0].output_config.cropping.template_groups[0].template_uris[0] #=> String
984
991
  # resp.outputs[0].output_config.clipping.callback_metadata #=> String
992
+ # resp.outputs[0].output_config.clipping.data_source_configuration.fixture_id #=> String
985
993
  # resp.outputs[0].output_config.subtitling.language #=> String, one of "eng", "eng-au", "eng-gb", "eng-us", "fra", "ita", "deu", "spa", "por"
986
994
  # resp.outputs[0].output_config.subtitling.aspect_ratio.width #=> Integer
987
995
  # resp.outputs[0].output_config.subtitling.aspect_ratio.height #=> Integer
@@ -1138,6 +1146,105 @@ module Aws::ElementalInference
1138
1146
  req.send_request(options)
1139
1147
  end
1140
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
+
1141
1248
  # Associates the specified tags to the resource identified by the
1142
1249
  # specified resourceArn in the current region. If existing tags on a
1143
1250
  # resource are not specified in the request parameters, they are not
@@ -1313,6 +1420,9 @@ module Aws::ElementalInference
1313
1420
  # },
1314
1421
  # clipping: {
1315
1422
  # callback_metadata: "ResourceDescription",
1423
+ # data_source_configuration: {
1424
+ # fixture_id: "FixtureId", # required
1425
+ # },
1316
1426
  # },
1317
1427
  # subtitling: {
1318
1428
  # language: "eng", # required, accepts eng, eng-au, eng-gb, eng-us, fra, ita, deu, spa, por
@@ -1345,6 +1455,7 @@ module Aws::ElementalInference
1345
1455
  # resp.outputs[0].output_config.cropping.template_groups[0].template_uris #=> Array
1346
1456
  # resp.outputs[0].output_config.cropping.template_groups[0].template_uris[0] #=> String
1347
1457
  # resp.outputs[0].output_config.clipping.callback_metadata #=> String
1458
+ # resp.outputs[0].output_config.clipping.data_source_configuration.fixture_id #=> String
1348
1459
  # resp.outputs[0].output_config.subtitling.language #=> String, one of "eng", "eng-au", "eng-gb", "eng-us", "fra", "ita", "deu", "spa", "por"
1349
1460
  # resp.outputs[0].output_config.subtitling.aspect_ratio.width #=> Integer
1350
1461
  # resp.outputs[0].output_config.subtitling.aspect_ratio.height #=> Integer
@@ -1385,7 +1496,7 @@ module Aws::ElementalInference
1385
1496
  tracer: tracer
1386
1497
  )
1387
1498
  context[:gem_name] = 'aws-sdk-elementalinference'
1388
- context[:gem_version] = '1.8.0'
1499
+ context[:gem_version] = '1.9.0'
1389
1500
  Seahorse::Client::Request.new(handlers, context)
1390
1501
  end
1391
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,6 +55,14 @@ 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')
@@ -76,10 +88,17 @@ module Aws::ElementalInference
76
88
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
77
89
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
78
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')
79
96
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
97
+ ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
80
98
  String = Shapes::StringShape.new(name: 'String')
81
99
  StringList = Shapes::ListShape.new(name: 'StringList')
82
100
  SubtitlingConfig = Shapes::StructureShape.new(name: 'SubtitlingConfig')
101
+ SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
83
102
  TagKey = Shapes::StringShape.new(name: 'TagKey')
84
103
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
85
104
  TagMap = Shapes::MapShape.new(name: 'TagMap')
@@ -117,8 +136,15 @@ module Aws::ElementalInference
117
136
  AssociateFeedResponse.struct_class = Types::AssociateFeedResponse
118
137
 
119
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"))
120
140
  ClippingConfig.struct_class = Types::ClippingConfig
121
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
+
122
148
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
123
149
  ConflictException.struct_class = Types::ConflictException
124
150
 
@@ -164,6 +190,9 @@ module Aws::ElementalInference
164
190
  CroppingConfig.add_member(:template_groups, Shapes::ShapeRef.new(shape: TemplateGroupList, location_name: "templateGroups"))
165
191
  CroppingConfig.struct_class = Types::CroppingConfig
166
192
 
193
+ DataSourceConfiguration.add_member(:fixture_id, Shapes::ShapeRef.new(shape: FixtureId, required: true, location_name: "fixtureId"))
194
+ DataSourceConfiguration.struct_class = Types::DataSourceConfiguration
195
+
167
196
  DeleteDictionaryRequest.add_member(:id, Shapes::ShapeRef.new(shape: DictionaryId, required: true, location: "uri", location_name: "id"))
168
197
  DeleteDictionaryRequest.struct_class = Types::DeleteDictionaryRequest
169
198
 
@@ -218,6 +247,21 @@ module Aws::ElementalInference
218
247
 
219
248
  FeedSummaryList.member = Shapes::ShapeRef.new(shape: FeedSummary)
220
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
+
221
265
  GetDictionaryRequest.add_member(:id, Shapes::ShapeRef.new(shape: DictionaryId, required: true, location: "uri", location_name: "id"))
222
266
  GetDictionaryRequest.struct_class = Types::GetDictionaryRequest
223
267
 
@@ -290,9 +334,30 @@ module Aws::ElementalInference
290
334
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
291
335
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
292
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
+
293
355
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
294
356
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
295
357
 
358
+ ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
359
+ ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
360
+
296
361
  StringList.member = Shapes::ShapeRef.new(shape: String)
297
362
 
298
363
  SubtitlingConfig.add_member(:language, Shapes::ShapeRef.new(shape: TranscriptionLanguage, required: true, location_name: "language"))
@@ -560,6 +625,26 @@ module Aws::ElementalInference
560
625
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestException)
561
626
  end)
562
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
+
563
648
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
564
649
  o.name = "TagResource"
565
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
@@ -349,6 +382,28 @@ module Aws::ElementalInference
349
382
  include Aws::Structure
350
383
  end
351
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
406
+
352
407
  # @!attribute [rw] id
353
408
  # The ID of the dictionary to delete.
354
409
  # @return [String]
@@ -575,6 +630,73 @@ module Aws::ElementalInference
575
630
  include Aws::Structure
576
631
  end
577
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
+
578
700
  # @!attribute [rw] id
579
701
  # The ID of the dictionary to retrieve.
580
702
  # @return [String]
@@ -910,6 +1032,115 @@ module Aws::ElementalInference
910
1032
  include Aws::Structure
911
1033
  end
912
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
+
913
1144
  # The request was rejected because it would exceed one or more service
914
1145
  # quotas for your account. Review your service quotas and either delete
915
1146
  # unused resources or request a quota increase.
@@ -925,6 +1156,20 @@ module Aws::ElementalInference
925
1156
  include Aws::Structure
926
1157
  end
927
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
+
928
1173
  # A type of OutputConfig, used when the output in a feed is for the
929
1174
  # smart subtitling feature. smart subtitling uses automatic speech
930
1175
  # recognition (ASR) to generate live TTML subtitles from the audio in
@@ -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.8.0'
58
+ GEM_VERSION = '1.9.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -249,6 +249,27 @@ module Aws
249
249
  ) -> _ListTagsForResourceResponseSuccess
250
250
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
251
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
+
252
273
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#tag_resource-instance_method
253
274
  def tag_resource: (
254
275
  resource_arn: ::String,
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
@@ -28,7 +28,10 @@ module Aws
28
28
  ]?
29
29
  }?,
30
30
  clipping: {
31
- callback_metadata: ::String?
31
+ callback_metadata: ::String?,
32
+ data_source_configuration: {
33
+ fixture_id: ::String
34
+ }?
32
35
  }?,
33
36
  subtitling: Params::subtitling_config?
34
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
 
@@ -95,6 +102,11 @@ module Aws::ElementalInference
95
102
  SENSITIVE: []
96
103
  end
97
104
 
105
+ class DataSourceConfiguration
106
+ attr_accessor fixture_id: ::String
107
+ SENSITIVE: []
108
+ end
109
+
98
110
  class DeleteDictionaryRequest
99
111
  attr_accessor id: ::String
100
112
  SENSITIVE: []
@@ -165,6 +177,21 @@ module Aws::ElementalInference
165
177
  SENSITIVE: []
166
178
  end
167
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
+
168
195
  class GetDictionaryRequest
169
196
  attr_accessor id: ::String
170
197
  SENSITIVE: []
@@ -268,11 +295,38 @@ module Aws::ElementalInference
268
295
  SENSITIVE: []
269
296
  end
270
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
+
271
320
  class ServiceQuotaExceededException
272
321
  attr_accessor message: ::String
273
322
  SENSITIVE: []
274
323
  end
275
324
 
325
+ class ServiceUnavailableException
326
+ attr_accessor message: ::String
327
+ SENSITIVE: []
328
+ end
329
+
276
330
  class SubtitlingConfig
277
331
  attr_accessor language: ("eng" | "eng-au" | "eng-gb" | "eng-us" | "fra" | "ita" | "deu" | "spa" | "por")
278
332
  attr_accessor aspect_ratio: Types::AspectRatio
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.8.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services