aws-sdk-elementalinference 1.10.0 → 1.11.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-elementalinference/client.rb +92 -1
- data/lib/aws-sdk-elementalinference/client_api.rb +68 -0
- data/lib/aws-sdk-elementalinference/types.rb +89 -0
- data/lib/aws-sdk-elementalinference.rb +1 -1
- data/sig/client.rbs +26 -0
- data/sig/params.rbs +4 -1
- data/sig/types.rbs +32 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f5f793797c52d5837e288c050b0cf9da304143239a7b464f0bb2b4ef7142b9bd
|
|
4
|
+
data.tar.gz: 4cc2270a2f909cb6e78a0ab3f2a6d91b2170f4c863e406c7225892755d5728ff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bcff066d668988059e4bf762a938ad2ff692e582a76cf6c626bd83f19648c880cd580b3fb1cff37dac8f42a8b7f7b835cdf6a794eb466d1297a8cb6207275045
|
|
7
|
+
data.tar.gz: 604b118867c7e59639f95f887ba83f994cfcf030669e07e5d1fad026700560e30734817491b1efd67438950cca94f73971b4cfa2137353939179a2e390e247ba
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.11.0 (2026-09-09)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds contextual metadata, a feed output type that generates a descriptive summary of your media content along with IAB taxonomy and GARM suitability classifications. It also adds feed resource policies for granting cross-account access to a feed.
|
|
8
|
+
|
|
4
9
|
1.10.0 (2026-08-24)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.11.0
|
|
@@ -563,6 +563,9 @@ module Aws::ElementalInference
|
|
|
563
563
|
# dictionary: "DictionaryId",
|
|
564
564
|
# profanity_filter: "DISABLED", # accepts DISABLED, CENSOR, DROP
|
|
565
565
|
# },
|
|
566
|
+
# contextual_metadata: {
|
|
567
|
+
# summary_generation: "ENABLED", # accepts ENABLED, DISABLED
|
|
568
|
+
# },
|
|
566
569
|
# },
|
|
567
570
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
|
568
571
|
# description: "ResourceDescription",
|
|
@@ -720,6 +723,9 @@ module Aws::ElementalInference
|
|
|
720
723
|
# dictionary: "DictionaryId",
|
|
721
724
|
# profanity_filter: "DISABLED", # accepts DISABLED, CENSOR, DROP
|
|
722
725
|
# },
|
|
726
|
+
# contextual_metadata: {
|
|
727
|
+
# summary_generation: "ENABLED", # accepts ENABLED, DISABLED
|
|
728
|
+
# },
|
|
723
729
|
# },
|
|
724
730
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
|
725
731
|
# description: "ResourceDescription",
|
|
@@ -750,6 +756,7 @@ module Aws::ElementalInference
|
|
|
750
756
|
# resp.outputs[0].output_config.subtitling.aspect_ratio.height #=> Integer
|
|
751
757
|
# resp.outputs[0].output_config.subtitling.dictionary #=> String
|
|
752
758
|
# resp.outputs[0].output_config.subtitling.profanity_filter #=> String, one of "DISABLED", "CENSOR", "DROP"
|
|
759
|
+
# resp.outputs[0].output_config.contextual_metadata.summary_generation #=> String, one of "ENABLED", "DISABLED"
|
|
753
760
|
# resp.outputs[0].status #=> String, one of "ENABLED", "DISABLED"
|
|
754
761
|
# resp.outputs[0].description #=> String
|
|
755
762
|
# resp.outputs[0].from_association #=> Boolean
|
|
@@ -838,6 +845,30 @@ module Aws::ElementalInference
|
|
|
838
845
|
req.send_request(options)
|
|
839
846
|
end
|
|
840
847
|
|
|
848
|
+
# Deletes the resource-based policy attached to the specified feed.
|
|
849
|
+
# After you delete the policy, the operation revokes the cross-account
|
|
850
|
+
# access that the policy granted.
|
|
851
|
+
#
|
|
852
|
+
# @option params [required, String] :id
|
|
853
|
+
# The ID of the feed whose policy you want to delete.
|
|
854
|
+
#
|
|
855
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
856
|
+
#
|
|
857
|
+
# @example Request syntax with placeholder values
|
|
858
|
+
#
|
|
859
|
+
# resp = client.delete_feed_policy({
|
|
860
|
+
# id: "FeedId", # required
|
|
861
|
+
# })
|
|
862
|
+
#
|
|
863
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/DeleteFeedPolicy AWS API Documentation
|
|
864
|
+
#
|
|
865
|
+
# @overload delete_feed_policy(params = {})
|
|
866
|
+
# @param [Hash] params ({})
|
|
867
|
+
def delete_feed_policy(params = {}, options = {})
|
|
868
|
+
req = build_request(:delete_feed_policy, params)
|
|
869
|
+
req.send_request(options)
|
|
870
|
+
end
|
|
871
|
+
|
|
841
872
|
# Releases the resource (the source media) that is associated with this
|
|
842
873
|
# feed. The outputs in the feed become DISABLED.
|
|
843
874
|
#
|
|
@@ -998,6 +1029,7 @@ module Aws::ElementalInference
|
|
|
998
1029
|
# resp.outputs[0].output_config.subtitling.aspect_ratio.height #=> Integer
|
|
999
1030
|
# resp.outputs[0].output_config.subtitling.dictionary #=> String
|
|
1000
1031
|
# resp.outputs[0].output_config.subtitling.profanity_filter #=> String, one of "DISABLED", "CENSOR", "DROP"
|
|
1032
|
+
# resp.outputs[0].output_config.contextual_metadata.summary_generation #=> String, one of "ENABLED", "DISABLED"
|
|
1001
1033
|
# resp.outputs[0].status #=> String, one of "ENABLED", "DISABLED"
|
|
1002
1034
|
# resp.outputs[0].description #=> String
|
|
1003
1035
|
# resp.outputs[0].from_association #=> Boolean
|
|
@@ -1021,6 +1053,34 @@ module Aws::ElementalInference
|
|
|
1021
1053
|
req.send_request(options)
|
|
1022
1054
|
end
|
|
1023
1055
|
|
|
1056
|
+
# Retrieves the resource-based policy attached to the specified feed.
|
|
1057
|
+
#
|
|
1058
|
+
# @option params [required, String] :id
|
|
1059
|
+
# The ID of the feed whose policy you want to retrieve.
|
|
1060
|
+
#
|
|
1061
|
+
# @return [Types::GetFeedPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1062
|
+
#
|
|
1063
|
+
# * {Types::GetFeedPolicyResponse#policy #policy} => String
|
|
1064
|
+
#
|
|
1065
|
+
# @example Request syntax with placeholder values
|
|
1066
|
+
#
|
|
1067
|
+
# resp = client.get_feed_policy({
|
|
1068
|
+
# id: "FeedId", # required
|
|
1069
|
+
# })
|
|
1070
|
+
#
|
|
1071
|
+
# @example Response structure
|
|
1072
|
+
#
|
|
1073
|
+
# resp.policy #=> String
|
|
1074
|
+
#
|
|
1075
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/GetFeedPolicy AWS API Documentation
|
|
1076
|
+
#
|
|
1077
|
+
# @overload get_feed_policy(params = {})
|
|
1078
|
+
# @param [Hash] params ({})
|
|
1079
|
+
def get_feed_policy(params = {}, options = {})
|
|
1080
|
+
req = build_request(:get_feed_policy, params)
|
|
1081
|
+
req.send_request(options)
|
|
1082
|
+
end
|
|
1083
|
+
|
|
1024
1084
|
# Retrieves information about the specified fixture (a sports event,
|
|
1025
1085
|
# such as a specific basketball game). You obtain a fixtureId from
|
|
1026
1086
|
# SearchFixtures, or from the clipping output of a feed.
|
|
@@ -1192,6 +1252,33 @@ module Aws::ElementalInference
|
|
|
1192
1252
|
req.send_request(options)
|
|
1193
1253
|
end
|
|
1194
1254
|
|
|
1255
|
+
# Attaches or replaces a resource-based policy on the specified feed. A
|
|
1256
|
+
# resource-based policy grants cross-account access to the feed.
|
|
1257
|
+
#
|
|
1258
|
+
# @option params [required, String] :id
|
|
1259
|
+
# The ID of the feed to attach the policy to.
|
|
1260
|
+
#
|
|
1261
|
+
# @option params [required, String] :policy
|
|
1262
|
+
# The resource-based policy document to attach to the feed.
|
|
1263
|
+
#
|
|
1264
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1265
|
+
#
|
|
1266
|
+
# @example Request syntax with placeholder values
|
|
1267
|
+
#
|
|
1268
|
+
# resp = client.put_feed_policy({
|
|
1269
|
+
# id: "FeedId", # required
|
|
1270
|
+
# policy: "PolicyDocument", # required
|
|
1271
|
+
# })
|
|
1272
|
+
#
|
|
1273
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/PutFeedPolicy AWS API Documentation
|
|
1274
|
+
#
|
|
1275
|
+
# @overload put_feed_policy(params = {})
|
|
1276
|
+
# @param [Hash] params ({})
|
|
1277
|
+
def put_feed_policy(params = {}, options = {})
|
|
1278
|
+
req = build_request(:put_feed_policy, params)
|
|
1279
|
+
req.send_request(options)
|
|
1280
|
+
end
|
|
1281
|
+
|
|
1195
1282
|
# Searches for the fixtures (sports events, such as a specific
|
|
1196
1283
|
# basketball game) that are available for a sport in a date window. Each
|
|
1197
1284
|
# fixture in the response includes a fixtureId that you specify in the
|
|
@@ -1480,6 +1567,9 @@ module Aws::ElementalInference
|
|
|
1480
1567
|
# dictionary: "DictionaryId",
|
|
1481
1568
|
# profanity_filter: "DISABLED", # accepts DISABLED, CENSOR, DROP
|
|
1482
1569
|
# },
|
|
1570
|
+
# contextual_metadata: {
|
|
1571
|
+
# summary_generation: "ENABLED", # accepts ENABLED, DISABLED
|
|
1572
|
+
# },
|
|
1483
1573
|
# },
|
|
1484
1574
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
|
1485
1575
|
# description: "ResourceDescription",
|
|
@@ -1508,6 +1598,7 @@ module Aws::ElementalInference
|
|
|
1508
1598
|
# resp.outputs[0].output_config.subtitling.aspect_ratio.height #=> Integer
|
|
1509
1599
|
# resp.outputs[0].output_config.subtitling.dictionary #=> String
|
|
1510
1600
|
# resp.outputs[0].output_config.subtitling.profanity_filter #=> String, one of "DISABLED", "CENSOR", "DROP"
|
|
1601
|
+
# resp.outputs[0].output_config.contextual_metadata.summary_generation #=> String, one of "ENABLED", "DISABLED"
|
|
1511
1602
|
# resp.outputs[0].status #=> String, one of "ENABLED", "DISABLED"
|
|
1512
1603
|
# resp.outputs[0].description #=> String
|
|
1513
1604
|
# resp.outputs[0].from_association #=> Boolean
|
|
@@ -1544,7 +1635,7 @@ module Aws::ElementalInference
|
|
|
1544
1635
|
tracer: tracer
|
|
1545
1636
|
)
|
|
1546
1637
|
context[:gem_name] = 'aws-sdk-elementalinference'
|
|
1547
|
-
context[:gem_version] = '1.
|
|
1638
|
+
context[:gem_version] = '1.11.0'
|
|
1548
1639
|
Seahorse::Client::Request.new(handlers, context)
|
|
1549
1640
|
end
|
|
1550
1641
|
|
|
@@ -24,6 +24,7 @@ module Aws::ElementalInference
|
|
|
24
24
|
Competitor = Shapes::StructureShape.new(name: 'Competitor')
|
|
25
25
|
CompetitorList = Shapes::ListShape.new(name: 'CompetitorList')
|
|
26
26
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
27
|
+
ContextualMetadataConfig = Shapes::StructureShape.new(name: 'ContextualMetadataConfig')
|
|
27
28
|
CreateDictionaryRequest = Shapes::StructureShape.new(name: 'CreateDictionaryRequest')
|
|
28
29
|
CreateDictionaryResponse = Shapes::StructureShape.new(name: 'CreateDictionaryResponse')
|
|
29
30
|
CreateFeedRequest = Shapes::StructureShape.new(name: 'CreateFeedRequest')
|
|
@@ -35,6 +36,7 @@ module Aws::ElementalInference
|
|
|
35
36
|
DataSourceSport = Shapes::StringShape.new(name: 'DataSourceSport')
|
|
36
37
|
DeleteDictionaryRequest = Shapes::StructureShape.new(name: 'DeleteDictionaryRequest')
|
|
37
38
|
DeleteDictionaryResponse = Shapes::StructureShape.new(name: 'DeleteDictionaryResponse')
|
|
39
|
+
DeleteFeedPolicyRequest = Shapes::StructureShape.new(name: 'DeleteFeedPolicyRequest')
|
|
38
40
|
DeleteFeedRequest = Shapes::StructureShape.new(name: 'DeleteFeedRequest')
|
|
39
41
|
DeleteFeedResponse = Shapes::StructureShape.new(name: 'DeleteFeedResponse')
|
|
40
42
|
DictionaryArn = Shapes::StringShape.new(name: 'DictionaryArn')
|
|
@@ -65,6 +67,8 @@ module Aws::ElementalInference
|
|
|
65
67
|
GatewayTimedOutException = Shapes::StructureShape.new(name: 'GatewayTimedOutException')
|
|
66
68
|
GetDictionaryRequest = Shapes::StructureShape.new(name: 'GetDictionaryRequest')
|
|
67
69
|
GetDictionaryResponse = Shapes::StructureShape.new(name: 'GetDictionaryResponse')
|
|
70
|
+
GetFeedPolicyRequest = Shapes::StructureShape.new(name: 'GetFeedPolicyRequest')
|
|
71
|
+
GetFeedPolicyResponse = Shapes::StructureShape.new(name: 'GetFeedPolicyResponse')
|
|
68
72
|
GetFeedRequest = Shapes::StructureShape.new(name: 'GetFeedRequest')
|
|
69
73
|
GetFeedResponse = Shapes::StructureShape.new(name: 'GetFeedResponse')
|
|
70
74
|
GetFixtureRequest = Shapes::StructureShape.new(name: 'GetFixtureRequest')
|
|
@@ -84,7 +88,10 @@ module Aws::ElementalInference
|
|
|
84
88
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
|
85
89
|
OutputConfig = Shapes::UnionShape.new(name: 'OutputConfig')
|
|
86
90
|
OutputStatus = Shapes::StringShape.new(name: 'OutputStatus')
|
|
91
|
+
PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
|
|
87
92
|
ProfanityFilterMode = Shapes::StringShape.new(name: 'ProfanityFilterMode')
|
|
93
|
+
PutFeedPolicyRequest = Shapes::StructureShape.new(name: 'PutFeedPolicyRequest')
|
|
94
|
+
PutFeedPolicyResponse = Shapes::StructureShape.new(name: 'PutFeedPolicyResponse')
|
|
88
95
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
|
89
96
|
ResourceDescription = Shapes::StringShape.new(name: 'ResourceDescription')
|
|
90
97
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
|
@@ -100,6 +107,7 @@ module Aws::ElementalInference
|
|
|
100
107
|
String = Shapes::StringShape.new(name: 'String')
|
|
101
108
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
|
102
109
|
SubtitlingConfig = Shapes::StructureShape.new(name: 'SubtitlingConfig')
|
|
110
|
+
SummaryGenerationMode = Shapes::StringShape.new(name: 'SummaryGenerationMode')
|
|
103
111
|
SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
|
|
104
112
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
|
105
113
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
|
@@ -150,6 +158,9 @@ module Aws::ElementalInference
|
|
|
150
158
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
151
159
|
ConflictException.struct_class = Types::ConflictException
|
|
152
160
|
|
|
161
|
+
ContextualMetadataConfig.add_member(:summary_generation, Shapes::ShapeRef.new(shape: SummaryGenerationMode, location_name: "summaryGeneration"))
|
|
162
|
+
ContextualMetadataConfig.struct_class = Types::ContextualMetadataConfig
|
|
163
|
+
|
|
153
164
|
CreateDictionaryRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
|
154
165
|
CreateDictionaryRequest.add_member(:language, Shapes::ShapeRef.new(shape: DictionaryLanguage, required: true, location_name: "language"))
|
|
155
166
|
CreateDictionaryRequest.add_member(:entries, Shapes::ShapeRef.new(shape: DictionaryEntriesPayload, location_name: "entries"))
|
|
@@ -204,6 +215,9 @@ module Aws::ElementalInference
|
|
|
204
215
|
DeleteDictionaryResponse.add_member(:status, Shapes::ShapeRef.new(shape: DictionaryStatus, required: true, location_name: "status"))
|
|
205
216
|
DeleteDictionaryResponse.struct_class = Types::DeleteDictionaryResponse
|
|
206
217
|
|
|
218
|
+
DeleteFeedPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: FeedId, required: true, location: "uri", location_name: "id"))
|
|
219
|
+
DeleteFeedPolicyRequest.struct_class = Types::DeleteFeedPolicyRequest
|
|
220
|
+
|
|
207
221
|
DeleteFeedRequest.add_member(:id, Shapes::ShapeRef.new(shape: FeedId, required: true, location: "uri", location_name: "id"))
|
|
208
222
|
DeleteFeedRequest.struct_class = Types::DeleteFeedRequest
|
|
209
223
|
|
|
@@ -277,6 +291,12 @@ module Aws::ElementalInference
|
|
|
277
291
|
GetDictionaryResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
|
278
292
|
GetDictionaryResponse.struct_class = Types::GetDictionaryResponse
|
|
279
293
|
|
|
294
|
+
GetFeedPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: FeedId, required: true, location: "uri", location_name: "id"))
|
|
295
|
+
GetFeedPolicyRequest.struct_class = Types::GetFeedPolicyRequest
|
|
296
|
+
|
|
297
|
+
GetFeedPolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "policy"))
|
|
298
|
+
GetFeedPolicyResponse.struct_class = Types::GetFeedPolicyResponse
|
|
299
|
+
|
|
280
300
|
GetFeedRequest.add_member(:id, Shapes::ShapeRef.new(shape: FeedId, required: true, location: "uri", location_name: "id"))
|
|
281
301
|
GetFeedRequest.struct_class = Types::GetFeedRequest
|
|
282
302
|
|
|
@@ -339,13 +359,21 @@ module Aws::ElementalInference
|
|
|
339
359
|
OutputConfig.add_member(:cropping, Shapes::ShapeRef.new(shape: CroppingConfig, location_name: "cropping"))
|
|
340
360
|
OutputConfig.add_member(:clipping, Shapes::ShapeRef.new(shape: ClippingConfig, location_name: "clipping"))
|
|
341
361
|
OutputConfig.add_member(:subtitling, Shapes::ShapeRef.new(shape: SubtitlingConfig, location_name: "subtitling"))
|
|
362
|
+
OutputConfig.add_member(:contextual_metadata, Shapes::ShapeRef.new(shape: ContextualMetadataConfig, location_name: "contextualMetadata"))
|
|
342
363
|
OutputConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
343
364
|
OutputConfig.add_member_subclass(:cropping, Types::OutputConfig::Cropping)
|
|
344
365
|
OutputConfig.add_member_subclass(:clipping, Types::OutputConfig::Clipping)
|
|
345
366
|
OutputConfig.add_member_subclass(:subtitling, Types::OutputConfig::Subtitling)
|
|
367
|
+
OutputConfig.add_member_subclass(:contextual_metadata, Types::OutputConfig::ContextualMetadata)
|
|
346
368
|
OutputConfig.add_member_subclass(:unknown, Types::OutputConfig::Unknown)
|
|
347
369
|
OutputConfig.struct_class = Types::OutputConfig
|
|
348
370
|
|
|
371
|
+
PutFeedPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: FeedId, required: true, location: "uri", location_name: "id"))
|
|
372
|
+
PutFeedPolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "policy"))
|
|
373
|
+
PutFeedPolicyRequest.struct_class = Types::PutFeedPolicyRequest
|
|
374
|
+
|
|
375
|
+
PutFeedPolicyResponse.struct_class = Types::PutFeedPolicyResponse
|
|
376
|
+
|
|
349
377
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
350
378
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
|
351
379
|
|
|
@@ -539,6 +567,19 @@ module Aws::ElementalInference
|
|
|
539
567
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
540
568
|
end)
|
|
541
569
|
|
|
570
|
+
api.add_operation(:delete_feed_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
571
|
+
o.name = "DeleteFeedPolicy"
|
|
572
|
+
o.http_method = "DELETE"
|
|
573
|
+
o.http_request_uri = "/v1/feed/{id}/policy"
|
|
574
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteFeedPolicyRequest)
|
|
575
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
576
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
577
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
578
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
|
579
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
580
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestException)
|
|
581
|
+
end)
|
|
582
|
+
|
|
542
583
|
api.add_operation(:disassociate_feed, Seahorse::Model::Operation.new.tap do |o|
|
|
543
584
|
o.name = "DisassociateFeed"
|
|
544
585
|
o.http_method = "POST"
|
|
@@ -591,6 +632,19 @@ module Aws::ElementalInference
|
|
|
591
632
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestException)
|
|
592
633
|
end)
|
|
593
634
|
|
|
635
|
+
api.add_operation(:get_feed_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
636
|
+
o.name = "GetFeedPolicy"
|
|
637
|
+
o.http_method = "GET"
|
|
638
|
+
o.http_request_uri = "/v1/feed/{id}/policy"
|
|
639
|
+
o.input = Shapes::ShapeRef.new(shape: GetFeedPolicyRequest)
|
|
640
|
+
o.output = Shapes::ShapeRef.new(shape: GetFeedPolicyResponse)
|
|
641
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
642
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
643
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
|
644
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
645
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestException)
|
|
646
|
+
end)
|
|
647
|
+
|
|
594
648
|
api.add_operation(:get_fixture, Seahorse::Model::Operation.new.tap do |o|
|
|
595
649
|
o.name = "GetFixture"
|
|
596
650
|
o.http_method = "GET"
|
|
@@ -656,6 +710,20 @@ module Aws::ElementalInference
|
|
|
656
710
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestException)
|
|
657
711
|
end)
|
|
658
712
|
|
|
713
|
+
api.add_operation(:put_feed_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
714
|
+
o.name = "PutFeedPolicy"
|
|
715
|
+
o.http_method = "PUT"
|
|
716
|
+
o.http_request_uri = "/v1/feed/{id}/policy"
|
|
717
|
+
o.input = Shapes::ShapeRef.new(shape: PutFeedPolicyRequest)
|
|
718
|
+
o.output = Shapes::ShapeRef.new(shape: PutFeedPolicyResponse)
|
|
719
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
720
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
721
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
|
722
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
723
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestException)
|
|
724
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
725
|
+
end)
|
|
726
|
+
|
|
659
727
|
api.add_operation(:search_fixtures, Seahorse::Model::Operation.new.tap do |o|
|
|
660
728
|
o.name = "SearchFixtures"
|
|
661
729
|
o.http_method = "POST"
|
|
@@ -169,6 +169,31 @@ module Aws::ElementalInference
|
|
|
169
169
|
include Aws::Structure
|
|
170
170
|
end
|
|
171
171
|
|
|
172
|
+
# The output configuration settings for the contextual metadata feature.
|
|
173
|
+
# Use this structure when the feed output generates metadata that
|
|
174
|
+
# describes the media content.
|
|
175
|
+
#
|
|
176
|
+
# @!attribute [rw] summary_generation
|
|
177
|
+
# Specifies whether Elemental Inference generates a descriptive
|
|
178
|
+
# summary of the media content for this output.
|
|
179
|
+
#
|
|
180
|
+
# Valid values:
|
|
181
|
+
#
|
|
182
|
+
# * ENABLED (default) – Elemental Inference generates a descriptive
|
|
183
|
+
# summary along with IAB taxonomy and GARM suitability
|
|
184
|
+
# classifications.
|
|
185
|
+
#
|
|
186
|
+
# * DISABLED – No descriptive summary is generated.
|
|
187
|
+
# @return [String]
|
|
188
|
+
#
|
|
189
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/ContextualMetadataConfig AWS API Documentation
|
|
190
|
+
#
|
|
191
|
+
class ContextualMetadataConfig < Struct.new(
|
|
192
|
+
:summary_generation)
|
|
193
|
+
SENSITIVE = []
|
|
194
|
+
include Aws::Structure
|
|
195
|
+
end
|
|
196
|
+
|
|
172
197
|
# @!attribute [rw] name
|
|
173
198
|
# A user-friendly name for this dictionary.
|
|
174
199
|
# @return [String]
|
|
@@ -445,6 +470,18 @@ module Aws::ElementalInference
|
|
|
445
470
|
include Aws::Structure
|
|
446
471
|
end
|
|
447
472
|
|
|
473
|
+
# @!attribute [rw] id
|
|
474
|
+
# The ID of the feed whose policy you want to delete.
|
|
475
|
+
# @return [String]
|
|
476
|
+
#
|
|
477
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/DeleteFeedPolicyRequest AWS API Documentation
|
|
478
|
+
#
|
|
479
|
+
class DeleteFeedPolicyRequest < Struct.new(
|
|
480
|
+
:id)
|
|
481
|
+
SENSITIVE = []
|
|
482
|
+
include Aws::Structure
|
|
483
|
+
end
|
|
484
|
+
|
|
448
485
|
# @!attribute [rw] id
|
|
449
486
|
# The ID of the feed.
|
|
450
487
|
# @return [String]
|
|
@@ -758,6 +795,30 @@ module Aws::ElementalInference
|
|
|
758
795
|
include Aws::Structure
|
|
759
796
|
end
|
|
760
797
|
|
|
798
|
+
# @!attribute [rw] id
|
|
799
|
+
# The ID of the feed whose policy you want to retrieve.
|
|
800
|
+
# @return [String]
|
|
801
|
+
#
|
|
802
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/GetFeedPolicyRequest AWS API Documentation
|
|
803
|
+
#
|
|
804
|
+
class GetFeedPolicyRequest < Struct.new(
|
|
805
|
+
:id)
|
|
806
|
+
SENSITIVE = []
|
|
807
|
+
include Aws::Structure
|
|
808
|
+
end
|
|
809
|
+
|
|
810
|
+
# @!attribute [rw] policy
|
|
811
|
+
# The resource-based policy document attached to the feed.
|
|
812
|
+
# @return [String]
|
|
813
|
+
#
|
|
814
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/GetFeedPolicyResponse AWS API Documentation
|
|
815
|
+
#
|
|
816
|
+
class GetFeedPolicyResponse < Struct.new(
|
|
817
|
+
:policy)
|
|
818
|
+
SENSITIVE = []
|
|
819
|
+
include Aws::Structure
|
|
820
|
+
end
|
|
821
|
+
|
|
761
822
|
# @!attribute [rw] id
|
|
762
823
|
# The ID of the feed to query.
|
|
763
824
|
# @return [String]
|
|
@@ -1073,12 +1134,18 @@ module Aws::ElementalInference
|
|
|
1073
1134
|
# The output config type that applies to the smart subtitling feature.
|
|
1074
1135
|
# @return [Types::SubtitlingConfig]
|
|
1075
1136
|
#
|
|
1137
|
+
# @!attribute [rw] contextual_metadata
|
|
1138
|
+
# The output config type that applies to the contextual metadata
|
|
1139
|
+
# feature.
|
|
1140
|
+
# @return [Types::ContextualMetadataConfig]
|
|
1141
|
+
#
|
|
1076
1142
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/OutputConfig AWS API Documentation
|
|
1077
1143
|
#
|
|
1078
1144
|
class OutputConfig < Struct.new(
|
|
1079
1145
|
:cropping,
|
|
1080
1146
|
:clipping,
|
|
1081
1147
|
:subtitling,
|
|
1148
|
+
:contextual_metadata,
|
|
1082
1149
|
:unknown)
|
|
1083
1150
|
SENSITIVE = []
|
|
1084
1151
|
include Aws::Structure
|
|
@@ -1087,9 +1154,31 @@ module Aws::ElementalInference
|
|
|
1087
1154
|
class Cropping < OutputConfig; end
|
|
1088
1155
|
class Clipping < OutputConfig; end
|
|
1089
1156
|
class Subtitling < OutputConfig; end
|
|
1157
|
+
class ContextualMetadata < OutputConfig; end
|
|
1090
1158
|
class Unknown < OutputConfig; end
|
|
1091
1159
|
end
|
|
1092
1160
|
|
|
1161
|
+
# @!attribute [rw] id
|
|
1162
|
+
# The ID of the feed to attach the policy to.
|
|
1163
|
+
# @return [String]
|
|
1164
|
+
#
|
|
1165
|
+
# @!attribute [rw] policy
|
|
1166
|
+
# The resource-based policy document to attach to the feed.
|
|
1167
|
+
# @return [String]
|
|
1168
|
+
#
|
|
1169
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/PutFeedPolicyRequest AWS API Documentation
|
|
1170
|
+
#
|
|
1171
|
+
class PutFeedPolicyRequest < Struct.new(
|
|
1172
|
+
:id,
|
|
1173
|
+
:policy)
|
|
1174
|
+
SENSITIVE = []
|
|
1175
|
+
include Aws::Structure
|
|
1176
|
+
end
|
|
1177
|
+
|
|
1178
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/PutFeedPolicyResponse AWS API Documentation
|
|
1179
|
+
#
|
|
1180
|
+
class PutFeedPolicyResponse < Aws::EmptyStructure; end
|
|
1181
|
+
|
|
1093
1182
|
# The resource specified in the action doesn't exist.
|
|
1094
1183
|
#
|
|
1095
1184
|
# @!attribute [rw] message
|
data/sig/client.rbs
CHANGED
|
@@ -160,6 +160,12 @@ module Aws
|
|
|
160
160
|
) -> _DeleteFeedResponseSuccess
|
|
161
161
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFeedResponseSuccess
|
|
162
162
|
|
|
163
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#delete_feed_policy-instance_method
|
|
164
|
+
def delete_feed_policy: (
|
|
165
|
+
id: ::String
|
|
166
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
167
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
168
|
+
|
|
163
169
|
interface _DisassociateFeedResponseSuccess
|
|
164
170
|
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateFeedResponse]
|
|
165
171
|
def arn: () -> ::String
|
|
@@ -217,6 +223,16 @@ module Aws
|
|
|
217
223
|
) -> _GetFeedResponseSuccess
|
|
218
224
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFeedResponseSuccess
|
|
219
225
|
|
|
226
|
+
interface _GetFeedPolicyResponseSuccess
|
|
227
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetFeedPolicyResponse]
|
|
228
|
+
def policy: () -> ::String
|
|
229
|
+
end
|
|
230
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#get_feed_policy-instance_method
|
|
231
|
+
def get_feed_policy: (
|
|
232
|
+
id: ::String
|
|
233
|
+
) -> _GetFeedPolicyResponseSuccess
|
|
234
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFeedPolicyResponseSuccess
|
|
235
|
+
|
|
220
236
|
interface _GetFixtureResponseSuccess
|
|
221
237
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetFixtureResponse]
|
|
222
238
|
def fixture_id: () -> ::String
|
|
@@ -266,6 +282,16 @@ module Aws
|
|
|
266
282
|
) -> _ListTagsForResourceResponseSuccess
|
|
267
283
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
|
268
284
|
|
|
285
|
+
interface _PutFeedPolicyResponseSuccess
|
|
286
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutFeedPolicyResponse]
|
|
287
|
+
end
|
|
288
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#put_feed_policy-instance_method
|
|
289
|
+
def put_feed_policy: (
|
|
290
|
+
id: ::String,
|
|
291
|
+
policy: ::String
|
|
292
|
+
) -> _PutFeedPolicyResponseSuccess
|
|
293
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutFeedPolicyResponseSuccess
|
|
294
|
+
|
|
269
295
|
interface _SearchFixturesResponseSuccess
|
|
270
296
|
include ::Seahorse::Client::_ResponseSuccess[Types::SearchFixturesResponse]
|
|
271
297
|
def fixtures: () -> ::Array[Types::FixtureSummary]
|
data/sig/params.rbs
CHANGED
data/sig/types.rbs
CHANGED
|
@@ -50,6 +50,11 @@ module Aws::ElementalInference
|
|
|
50
50
|
SENSITIVE: []
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
+
class ContextualMetadataConfig
|
|
54
|
+
attr_accessor summary_generation: ("ENABLED" | "DISABLED")
|
|
55
|
+
SENSITIVE: []
|
|
56
|
+
end
|
|
57
|
+
|
|
53
58
|
class CreateDictionaryRequest
|
|
54
59
|
attr_accessor name: ::String
|
|
55
60
|
attr_accessor language: ("eng" | "fra" | "ita" | "deu" | "spa" | "por")
|
|
@@ -120,6 +125,11 @@ module Aws::ElementalInference
|
|
|
120
125
|
SENSITIVE: []
|
|
121
126
|
end
|
|
122
127
|
|
|
128
|
+
class DeleteFeedPolicyRequest
|
|
129
|
+
attr_accessor id: ::String
|
|
130
|
+
SENSITIVE: []
|
|
131
|
+
end
|
|
132
|
+
|
|
123
133
|
class DeleteFeedRequest
|
|
124
134
|
attr_accessor id: ::String
|
|
125
135
|
SENSITIVE: []
|
|
@@ -209,6 +219,16 @@ module Aws::ElementalInference
|
|
|
209
219
|
SENSITIVE: []
|
|
210
220
|
end
|
|
211
221
|
|
|
222
|
+
class GetFeedPolicyRequest
|
|
223
|
+
attr_accessor id: ::String
|
|
224
|
+
SENSITIVE: []
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
class GetFeedPolicyResponse
|
|
228
|
+
attr_accessor policy: ::String
|
|
229
|
+
SENSITIVE: []
|
|
230
|
+
end
|
|
231
|
+
|
|
212
232
|
class GetFeedRequest
|
|
213
233
|
attr_accessor id: ::String
|
|
214
234
|
SENSITIVE: []
|
|
@@ -294,6 +314,7 @@ module Aws::ElementalInference
|
|
|
294
314
|
attr_accessor cropping: Types::CroppingConfig
|
|
295
315
|
attr_accessor clipping: Types::ClippingConfig
|
|
296
316
|
attr_accessor subtitling: Types::SubtitlingConfig
|
|
317
|
+
attr_accessor contextual_metadata: Types::ContextualMetadataConfig
|
|
297
318
|
attr_accessor unknown: untyped
|
|
298
319
|
SENSITIVE: []
|
|
299
320
|
|
|
@@ -303,10 +324,21 @@ module Aws::ElementalInference
|
|
|
303
324
|
end
|
|
304
325
|
class Subtitling < OutputConfig
|
|
305
326
|
end
|
|
327
|
+
class ContextualMetadata < OutputConfig
|
|
328
|
+
end
|
|
306
329
|
class Unknown < OutputConfig
|
|
307
330
|
end
|
|
308
331
|
end
|
|
309
332
|
|
|
333
|
+
class PutFeedPolicyRequest
|
|
334
|
+
attr_accessor id: ::String
|
|
335
|
+
attr_accessor policy: ::String
|
|
336
|
+
SENSITIVE: []
|
|
337
|
+
end
|
|
338
|
+
|
|
339
|
+
class PutFeedPolicyResponse < Aws::EmptyStructure
|
|
340
|
+
end
|
|
341
|
+
|
|
310
342
|
class ResourceNotFoundException
|
|
311
343
|
attr_accessor message: ::String
|
|
312
344
|
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.
|
|
4
|
+
version: 1.11.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.255.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.255.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|