aws-sdk-elementalinference 1.16.0 → 1.17.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: '0585225e43462429bb89f2382899eea007950f1e3f305b549a5dd9ed5b756568'
4
- data.tar.gz: da4a43762767c7865c08c673d937f47e82245ecc7e87353f0fc726cb16b6e6cf
3
+ metadata.gz: 18d2b211a31c771feba3185d51679c29fc1324eabfd52bbf052ba29314b89c8d
4
+ data.tar.gz: 2c59b7c1a2cde341b8ba97fc4c2401a2724458e0c755c9048a858b7bb8211706
5
5
  SHA512:
6
- metadata.gz: c84b92ae7cc5ee4bda5cbe9d55ae7b7997bb2032068a17d8a447dda6135b06b3e5e33a3f2c93a62883847999ce10a6718beea823d3c51ee735d05481a7afb1bb
7
- data.tar.gz: 978af6c0a431f08c48960bf8f2b00c37a0aae57ce09d908850916b2b3547c29f286840b95fe8b327e52583446542cef6220280970f4d365801b207f5bddccaf6
6
+ metadata.gz: 4d50f50aade467614aa66511208571eb8efb799f9c0011e2a3add09ceb4f0c9256b7d9a881eacdbaff1b4b72c1625cf1b56533fd8cfe65ccf6c47638bb4808bf
7
+ data.tar.gz: 2ca4e8c30ad44821b2739f527d39a0cdec10781ecbedc3bea94f1d0fa73fe25ebb85090d9c1fe234643b72f33ac29b33cf1033eb69f19f0a4327eecd85e8b93c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.17.0 (2026-10-22)
5
+ ------------------
6
+
7
+ * Feature - Elemental Inference now supports feed scheduling, letting you apply feed configuration changes at a time you choose instead of building your own automation.
8
+
4
9
  1.16.0 (2026-10-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.16.0
1
+ 1.17.0
@@ -785,6 +785,90 @@ module Aws::ElementalInference
785
785
  req.send_request(options)
786
786
  end
787
787
 
788
+ # Creates a schedule action on a feed. A schedule action applies
789
+ # configuration changes to the feed at a time that you specify, in the
790
+ # same way as an UpdateFeed request.
791
+ #
792
+ # Elemental Inference validates the targets of the action when you
793
+ # create it.
794
+ #
795
+ # @option params [required, String] :id
796
+ # Specifies the ID of the feed that you want to add the schedule action
797
+ # to.
798
+ #
799
+ # @option params [required, String] :action_name
800
+ # A name for the schedule action. The name must be unique within the
801
+ # feed. You can reuse the name of an action that you deleted.
802
+ #
803
+ # @option params [required, Types::ScheduleActionStartConfiguration] :start_configuration
804
+ # Specifies when the action runs.
805
+ #
806
+ # @option params [required, Array<Types::ScheduleActionOperation>] :operations
807
+ # Specifies the list of configuration changes that you want to make to
808
+ # the feed. Elemental Inference applies all the operations in an action
809
+ # together, in the order that you specify them. If any operation fails,
810
+ # Elemental Inference doesn't apply any of them.
811
+ #
812
+ # @return [Types::CreateScheduleActionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
813
+ #
814
+ # * {Types::CreateScheduleActionResponse#action_name #action_name} => String
815
+ # * {Types::CreateScheduleActionResponse#start_configuration #start_configuration} => Types::ScheduleActionStartConfiguration
816
+ # * {Types::CreateScheduleActionResponse#operations #operations} => Array&lt;Types::ScheduleActionOperation&gt;
817
+ # * {Types::CreateScheduleActionResponse#status #status} => String
818
+ # * {Types::CreateScheduleActionResponse#error #error} => Types::ScheduleActionError
819
+ #
820
+ # @example Request syntax with placeholder values
821
+ #
822
+ # resp = client.create_schedule_action({
823
+ # id: "FeedId", # required
824
+ # action_name: "ResourceName", # required
825
+ # start_configuration: { # required
826
+ # fixed_mode_schedule_action_start_settings: {
827
+ # scheduled_at: Time.now, # required
828
+ # },
829
+ # },
830
+ # operations: [ # required
831
+ # {
832
+ # update_output_status: {
833
+ # output_name: "ResourceName", # required
834
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
835
+ # },
836
+ # update_clipping_data_source_configuration: {
837
+ # output_name: "ResourceName", # required
838
+ # data_source_configuration: { # required
839
+ # fixture_id: "FixtureId", # required
840
+ # },
841
+ # },
842
+ # remove_clipping_data_source_configuration: {
843
+ # output_name: "ResourceName", # required
844
+ # },
845
+ # },
846
+ # ],
847
+ # })
848
+ #
849
+ # @example Response structure
850
+ #
851
+ # resp.action_name #=> String
852
+ # resp.start_configuration.fixed_mode_schedule_action_start_settings.scheduled_at #=> Time
853
+ # resp.operations #=> Array
854
+ # resp.operations[0].update_output_status.output_name #=> String
855
+ # resp.operations[0].update_output_status.status #=> String, one of "ENABLED", "DISABLED"
856
+ # resp.operations[0].update_clipping_data_source_configuration.output_name #=> String
857
+ # resp.operations[0].update_clipping_data_source_configuration.data_source_configuration.fixture_id #=> String
858
+ # resp.operations[0].remove_clipping_data_source_configuration.output_name #=> String
859
+ # resp.status #=> String, one of "PENDING", "COMPLETED", "FAILED"
860
+ # resp.error.error_code #=> String, one of "INVALID_ACTION_TARGET", "INTERNAL_ERROR"
861
+ # resp.error.error_message #=> String
862
+ #
863
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/CreateScheduleAction AWS API Documentation
864
+ #
865
+ # @overload create_schedule_action(params = {})
866
+ # @param [Hash] params ({})
867
+ def create_schedule_action(params = {}, options = {})
868
+ req = build_request(:create_schedule_action, params)
869
+ req.send_request(options)
870
+ end
871
+
788
872
  # Deletes the specified dictionary. You cannot delete a dictionary that
789
873
  # is referenced by a feed. You must first remove the dictionary
790
874
  # reference from the feed's subtitling configuration.
@@ -879,6 +963,43 @@ module Aws::ElementalInference
879
963
  req.send_request(options)
880
964
  end
881
965
 
966
+ # Deletes a schedule action from a feed. A deleted action never runs.
967
+ #
968
+ # You can delete only an action whose status is PENDING. Deleting an
969
+ # action doesn't reverse changes that the action already made to the
970
+ # feed. When you delete or archive a feed, Elemental Inference deletes
971
+ # all the schedule actions on that feed.
972
+ #
973
+ # @option params [required, String] :id
974
+ # The ID of the feed that holds the schedule action.
975
+ #
976
+ # @option params [required, String] :action_name
977
+ # The name of the schedule action that you want to delete.
978
+ #
979
+ # @return [Types::DeleteScheduleActionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
980
+ #
981
+ # * {Types::DeleteScheduleActionResponse#action_name #action_name} => String
982
+ #
983
+ # @example Request syntax with placeholder values
984
+ #
985
+ # resp = client.delete_schedule_action({
986
+ # id: "FeedId", # required
987
+ # action_name: "ResourceName", # required
988
+ # })
989
+ #
990
+ # @example Response structure
991
+ #
992
+ # resp.action_name #=> String
993
+ #
994
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/DeleteScheduleAction AWS API Documentation
995
+ #
996
+ # @overload delete_schedule_action(params = {})
997
+ # @param [Hash] params ({})
998
+ def delete_schedule_action(params = {}, options = {})
999
+ req = build_request(:delete_schedule_action, params)
1000
+ req.send_request(options)
1001
+ end
1002
+
882
1003
  # Releases the resource (the source media) that is associated with this
883
1004
  # feed. The outputs in the feed become DISABLED.
884
1005
  #
@@ -1233,6 +1354,67 @@ module Aws::ElementalInference
1233
1354
  req.send_request(options)
1234
1355
  end
1235
1356
 
1357
+ # Displays a list of the schedule actions on a feed, including the
1358
+ # status of each action and, for a failed action, information about why
1359
+ # it failed.
1360
+ #
1361
+ # Elemental Inference keeps an action whose status is COMPLETED or
1362
+ # FAILED for about 48 hours after its scheduled time, and then deletes
1363
+ # it automatically.
1364
+ #
1365
+ # @option params [required, String] :id
1366
+ # The ID of the feed that you want to query.
1367
+ #
1368
+ # @option params [Integer] :max_results
1369
+ # The maximum number of results to return for each API request. If you
1370
+ # don't specify MaxResults, Elemental Inference returns a maximum of 10
1371
+ # results for each page.
1372
+ #
1373
+ # @option params [String] :next_token
1374
+ # The token that identifies the batch of results that you want to see.
1375
+ # To see the next batch, submit the request a second time and specify
1376
+ # the NextToken value that Elemental Inference returned.
1377
+ #
1378
+ # @return [Types::ListScheduleActionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1379
+ #
1380
+ # * {Types::ListScheduleActionsResponse#schedule_actions #schedule_actions} => Array&lt;Types::ScheduleAction&gt;
1381
+ # * {Types::ListScheduleActionsResponse#next_token #next_token} => String
1382
+ #
1383
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1384
+ #
1385
+ # @example Request syntax with placeholder values
1386
+ #
1387
+ # resp = client.list_schedule_actions({
1388
+ # id: "FeedId", # required
1389
+ # max_results: 1,
1390
+ # next_token: "String",
1391
+ # })
1392
+ #
1393
+ # @example Response structure
1394
+ #
1395
+ # resp.schedule_actions #=> Array
1396
+ # resp.schedule_actions[0].action_name #=> String
1397
+ # resp.schedule_actions[0].start_configuration.fixed_mode_schedule_action_start_settings.scheduled_at #=> Time
1398
+ # resp.schedule_actions[0].operations #=> Array
1399
+ # resp.schedule_actions[0].operations[0].update_output_status.output_name #=> String
1400
+ # resp.schedule_actions[0].operations[0].update_output_status.status #=> String, one of "ENABLED", "DISABLED"
1401
+ # resp.schedule_actions[0].operations[0].update_clipping_data_source_configuration.output_name #=> String
1402
+ # resp.schedule_actions[0].operations[0].update_clipping_data_source_configuration.data_source_configuration.fixture_id #=> String
1403
+ # resp.schedule_actions[0].operations[0].remove_clipping_data_source_configuration.output_name #=> String
1404
+ # resp.schedule_actions[0].status #=> String, one of "PENDING", "COMPLETED", "FAILED"
1405
+ # resp.schedule_actions[0].error.error_code #=> String, one of "INVALID_ACTION_TARGET", "INTERNAL_ERROR"
1406
+ # resp.schedule_actions[0].error.error_message #=> String
1407
+ # resp.next_token #=> String
1408
+ #
1409
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/ListScheduleActions AWS API Documentation
1410
+ #
1411
+ # @overload list_schedule_actions(params = {})
1412
+ # @param [Hash] params ({})
1413
+ def list_schedule_actions(params = {}, options = {})
1414
+ req = build_request(:list_schedule_actions, params)
1415
+ req.send_request(options)
1416
+ end
1417
+
1236
1418
  # List all tags that are on an Elemental Inference resource in the
1237
1419
  # current region.
1238
1420
  #
@@ -1648,7 +1830,7 @@ module Aws::ElementalInference
1648
1830
  tracer: tracer
1649
1831
  )
1650
1832
  context[:gem_name] = 'aws-sdk-elementalinference'
1651
- context[:gem_version] = '1.16.0'
1833
+ context[:gem_version] = '1.17.0'
1652
1834
  Seahorse::Client::Request.new(handlers, context)
1653
1835
  end
1654
1836
 
@@ -31,6 +31,8 @@ module Aws::ElementalInference
31
31
  CreateFeedResponse = Shapes::StructureShape.new(name: 'CreateFeedResponse')
32
32
  CreateOutput = Shapes::StructureShape.new(name: 'CreateOutput')
33
33
  CreateOutputList = Shapes::ListShape.new(name: 'CreateOutputList')
34
+ CreateScheduleActionRequest = Shapes::StructureShape.new(name: 'CreateScheduleActionRequest')
35
+ CreateScheduleActionResponse = Shapes::StructureShape.new(name: 'CreateScheduleActionResponse')
34
36
  CroppingConfig = Shapes::StructureShape.new(name: 'CroppingConfig')
35
37
  DataSourceConfiguration = Shapes::StructureShape.new(name: 'DataSourceConfiguration')
36
38
  DataSourceSport = Shapes::StringShape.new(name: 'DataSourceSport')
@@ -39,6 +41,8 @@ module Aws::ElementalInference
39
41
  DeleteFeedPolicyRequest = Shapes::StructureShape.new(name: 'DeleteFeedPolicyRequest')
40
42
  DeleteFeedRequest = Shapes::StructureShape.new(name: 'DeleteFeedRequest')
41
43
  DeleteFeedResponse = Shapes::StructureShape.new(name: 'DeleteFeedResponse')
44
+ DeleteScheduleActionRequest = Shapes::StructureShape.new(name: 'DeleteScheduleActionRequest')
45
+ DeleteScheduleActionResponse = Shapes::StructureShape.new(name: 'DeleteScheduleActionResponse')
42
46
  DictionaryArn = Shapes::StringShape.new(name: 'DictionaryArn')
43
47
  DictionaryEntriesPayload = Shapes::StringShape.new(name: 'DictionaryEntriesPayload')
44
48
  DictionaryId = Shapes::StringShape.new(name: 'DictionaryId')
@@ -61,6 +65,7 @@ module Aws::ElementalInference
61
65
  FilterName = Shapes::StringShape.new(name: 'FilterName')
62
66
  FilterValue = Shapes::StringShape.new(name: 'FilterValue')
63
67
  FilterValueList = Shapes::ListShape.new(name: 'FilterValueList')
68
+ FixedModeScheduleActionStartSettings = Shapes::StructureShape.new(name: 'FixedModeScheduleActionStartSettings')
64
69
  FixtureDate = Shapes::StringShape.new(name: 'FixtureDate')
65
70
  FixtureId = Shapes::StringShape.new(name: 'FixtureId')
66
71
  FixtureSummary = Shapes::StructureShape.new(name: 'FixtureSummary')
@@ -85,6 +90,9 @@ module Aws::ElementalInference
85
90
  ListFeedsRequest = Shapes::StructureShape.new(name: 'ListFeedsRequest')
86
91
  ListFeedsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListFeedsRequestMaxResultsInteger')
87
92
  ListFeedsResponse = Shapes::StructureShape.new(name: 'ListFeedsResponse')
93
+ ListScheduleActionsRequest = Shapes::StructureShape.new(name: 'ListScheduleActionsRequest')
94
+ ListScheduleActionsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListScheduleActionsRequestMaxResultsInteger')
95
+ ListScheduleActionsResponse = Shapes::StructureShape.new(name: 'ListScheduleActionsResponse')
88
96
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
89
97
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
90
98
  OutputConfig = Shapes::UnionShape.new(name: 'OutputConfig')
@@ -93,11 +101,20 @@ module Aws::ElementalInference
93
101
  ProfanityFilterMode = Shapes::StringShape.new(name: 'ProfanityFilterMode')
94
102
  PutFeedPolicyRequest = Shapes::StructureShape.new(name: 'PutFeedPolicyRequest')
95
103
  PutFeedPolicyResponse = Shapes::StructureShape.new(name: 'PutFeedPolicyResponse')
104
+ RemoveClippingDataSourceConfiguration = Shapes::StructureShape.new(name: 'RemoveClippingDataSourceConfiguration')
96
105
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
97
106
  ResourceDescription = Shapes::StringShape.new(name: 'ResourceDescription')
98
107
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
99
108
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
100
109
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
110
+ ScheduleAction = Shapes::StructureShape.new(name: 'ScheduleAction')
111
+ ScheduleActionError = Shapes::StructureShape.new(name: 'ScheduleActionError')
112
+ ScheduleActionErrorCode = Shapes::StringShape.new(name: 'ScheduleActionErrorCode')
113
+ ScheduleActionList = Shapes::ListShape.new(name: 'ScheduleActionList')
114
+ ScheduleActionOperation = Shapes::UnionShape.new(name: 'ScheduleActionOperation')
115
+ ScheduleActionOperations = Shapes::ListShape.new(name: 'ScheduleActionOperations')
116
+ ScheduleActionStartConfiguration = Shapes::UnionShape.new(name: 'ScheduleActionStartConfiguration')
117
+ ScheduleActionStatus = Shapes::StringShape.new(name: 'ScheduleActionStatus')
101
118
  SearchFilter = Shapes::StructureShape.new(name: 'SearchFilter')
102
119
  SearchFilterList = Shapes::ListShape.new(name: 'SearchFilterList')
103
120
  SearchFixturesRequest = Shapes::StructureShape.new(name: 'SearchFixturesRequest')
@@ -118,15 +135,18 @@ module Aws::ElementalInference
118
135
  TemplateGroup = Shapes::StructureShape.new(name: 'TemplateGroup')
119
136
  TemplateGroupList = Shapes::ListShape.new(name: 'TemplateGroupList')
120
137
  TemplateUriList = Shapes::ListShape.new(name: 'TemplateUriList')
138
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
121
139
  TooManyRequestException = Shapes::StructureShape.new(name: 'TooManyRequestException')
122
140
  TranscriptionLanguage = Shapes::StringShape.new(name: 'TranscriptionLanguage')
123
141
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
142
+ UpdateClippingDataSourceConfiguration = Shapes::StructureShape.new(name: 'UpdateClippingDataSourceConfiguration')
124
143
  UpdateDictionaryRequest = Shapes::StructureShape.new(name: 'UpdateDictionaryRequest')
125
144
  UpdateDictionaryResponse = Shapes::StructureShape.new(name: 'UpdateDictionaryResponse')
126
145
  UpdateFeedRequest = Shapes::StructureShape.new(name: 'UpdateFeedRequest')
127
146
  UpdateFeedResponse = Shapes::StructureShape.new(name: 'UpdateFeedResponse')
128
147
  UpdateOutput = Shapes::StructureShape.new(name: 'UpdateOutput')
129
148
  UpdateOutputList = Shapes::ListShape.new(name: 'UpdateOutputList')
149
+ UpdateOutputStatus = Shapes::StructureShape.new(name: 'UpdateOutputStatus')
130
150
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
131
151
 
132
152
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
@@ -203,6 +223,19 @@ module Aws::ElementalInference
203
223
 
204
224
  CreateOutputList.member = Shapes::ShapeRef.new(shape: CreateOutput)
205
225
 
226
+ CreateScheduleActionRequest.add_member(:id, Shapes::ShapeRef.new(shape: FeedId, required: true, location: "uri", location_name: "id"))
227
+ CreateScheduleActionRequest.add_member(:action_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "actionName"))
228
+ CreateScheduleActionRequest.add_member(:start_configuration, Shapes::ShapeRef.new(shape: ScheduleActionStartConfiguration, required: true, location_name: "startConfiguration"))
229
+ CreateScheduleActionRequest.add_member(:operations, Shapes::ShapeRef.new(shape: ScheduleActionOperations, required: true, location_name: "operations"))
230
+ CreateScheduleActionRequest.struct_class = Types::CreateScheduleActionRequest
231
+
232
+ CreateScheduleActionResponse.add_member(:action_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "actionName"))
233
+ CreateScheduleActionResponse.add_member(:start_configuration, Shapes::ShapeRef.new(shape: ScheduleActionStartConfiguration, required: true, location_name: "startConfiguration"))
234
+ CreateScheduleActionResponse.add_member(:operations, Shapes::ShapeRef.new(shape: ScheduleActionOperations, required: true, location_name: "operations"))
235
+ CreateScheduleActionResponse.add_member(:status, Shapes::ShapeRef.new(shape: ScheduleActionStatus, required: true, location_name: "status"))
236
+ CreateScheduleActionResponse.add_member(:error, Shapes::ShapeRef.new(shape: ScheduleActionError, location_name: "error"))
237
+ CreateScheduleActionResponse.struct_class = Types::CreateScheduleActionResponse
238
+
206
239
  CroppingConfig.add_member(:template_groups, Shapes::ShapeRef.new(shape: TemplateGroupList, location_name: "templateGroups"))
207
240
  CroppingConfig.struct_class = Types::CroppingConfig
208
241
 
@@ -228,6 +261,13 @@ module Aws::ElementalInference
228
261
  DeleteFeedResponse.add_member(:status, Shapes::ShapeRef.new(shape: FeedStatus, required: true, location_name: "status"))
229
262
  DeleteFeedResponse.struct_class = Types::DeleteFeedResponse
230
263
 
264
+ DeleteScheduleActionRequest.add_member(:id, Shapes::ShapeRef.new(shape: FeedId, required: true, location: "uri", location_name: "id"))
265
+ DeleteScheduleActionRequest.add_member(:action_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "querystring", location_name: "actionName"))
266
+ DeleteScheduleActionRequest.struct_class = Types::DeleteScheduleActionRequest
267
+
268
+ DeleteScheduleActionResponse.add_member(:action_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "actionName"))
269
+ DeleteScheduleActionResponse.struct_class = Types::DeleteScheduleActionResponse
270
+
231
271
  DictionarySummary.add_member(:arn, Shapes::ShapeRef.new(shape: DictionaryArn, required: true, location_name: "arn"))
232
272
  DictionarySummary.add_member(:id, Shapes::ShapeRef.new(shape: DictionaryId, required: true, location_name: "id"))
233
273
  DictionarySummary.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
@@ -268,6 +308,9 @@ module Aws::ElementalInference
268
308
 
269
309
  FilterValueList.member = Shapes::ShapeRef.new(shape: FilterValue)
270
310
 
311
+ FixedModeScheduleActionStartSettings.add_member(:scheduled_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "scheduledAt"))
312
+ FixedModeScheduleActionStartSettings.struct_class = Types::FixedModeScheduleActionStartSettings
313
+
271
314
  FixtureSummary.add_member(:fixture_id, Shapes::ShapeRef.new(shape: FixtureId, required: true, location_name: "fixtureId"))
272
315
  FixtureSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
273
316
  FixtureSummary.add_member(:fixture_group, Shapes::ShapeRef.new(shape: String, location_name: "fixtureGroup"))
@@ -352,6 +395,15 @@ module Aws::ElementalInference
352
395
  ListFeedsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
353
396
  ListFeedsResponse.struct_class = Types::ListFeedsResponse
354
397
 
398
+ ListScheduleActionsRequest.add_member(:id, Shapes::ShapeRef.new(shape: FeedId, required: true, location: "uri", location_name: "id"))
399
+ ListScheduleActionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListScheduleActionsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
400
+ ListScheduleActionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
401
+ ListScheduleActionsRequest.struct_class = Types::ListScheduleActionsRequest
402
+
403
+ ListScheduleActionsResponse.add_member(:schedule_actions, Shapes::ShapeRef.new(shape: ScheduleActionList, required: true, location_name: "scheduleActions"))
404
+ ListScheduleActionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
405
+ ListScheduleActionsResponse.struct_class = Types::ListScheduleActionsResponse
406
+
355
407
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
356
408
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
357
409
 
@@ -376,9 +428,43 @@ module Aws::ElementalInference
376
428
 
377
429
  PutFeedPolicyResponse.struct_class = Types::PutFeedPolicyResponse
378
430
 
431
+ RemoveClippingDataSourceConfiguration.add_member(:output_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "outputName"))
432
+ RemoveClippingDataSourceConfiguration.struct_class = Types::RemoveClippingDataSourceConfiguration
433
+
379
434
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
380
435
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
381
436
 
437
+ ScheduleAction.add_member(:action_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "actionName"))
438
+ ScheduleAction.add_member(:start_configuration, Shapes::ShapeRef.new(shape: ScheduleActionStartConfiguration, required: true, location_name: "startConfiguration"))
439
+ ScheduleAction.add_member(:operations, Shapes::ShapeRef.new(shape: ScheduleActionOperations, required: true, location_name: "operations"))
440
+ ScheduleAction.add_member(:status, Shapes::ShapeRef.new(shape: ScheduleActionStatus, required: true, location_name: "status"))
441
+ ScheduleAction.add_member(:error, Shapes::ShapeRef.new(shape: ScheduleActionError, location_name: "error"))
442
+ ScheduleAction.struct_class = Types::ScheduleAction
443
+
444
+ ScheduleActionError.add_member(:error_code, Shapes::ShapeRef.new(shape: ScheduleActionErrorCode, required: true, location_name: "errorCode"))
445
+ ScheduleActionError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "errorMessage"))
446
+ ScheduleActionError.struct_class = Types::ScheduleActionError
447
+
448
+ ScheduleActionList.member = Shapes::ShapeRef.new(shape: ScheduleAction)
449
+
450
+ ScheduleActionOperation.add_member(:update_output_status, Shapes::ShapeRef.new(shape: UpdateOutputStatus, location_name: "updateOutputStatus"))
451
+ ScheduleActionOperation.add_member(:update_clipping_data_source_configuration, Shapes::ShapeRef.new(shape: UpdateClippingDataSourceConfiguration, location_name: "updateClippingDataSourceConfiguration"))
452
+ ScheduleActionOperation.add_member(:remove_clipping_data_source_configuration, Shapes::ShapeRef.new(shape: RemoveClippingDataSourceConfiguration, location_name: "removeClippingDataSourceConfiguration"))
453
+ ScheduleActionOperation.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
454
+ ScheduleActionOperation.add_member_subclass(:update_output_status, Types::ScheduleActionOperation::UpdateOutputStatus)
455
+ ScheduleActionOperation.add_member_subclass(:update_clipping_data_source_configuration, Types::ScheduleActionOperation::UpdateClippingDataSourceConfiguration)
456
+ ScheduleActionOperation.add_member_subclass(:remove_clipping_data_source_configuration, Types::ScheduleActionOperation::RemoveClippingDataSourceConfiguration)
457
+ ScheduleActionOperation.add_member_subclass(:unknown, Types::ScheduleActionOperation::Unknown)
458
+ ScheduleActionOperation.struct_class = Types::ScheduleActionOperation
459
+
460
+ ScheduleActionOperations.member = Shapes::ShapeRef.new(shape: ScheduleActionOperation)
461
+
462
+ ScheduleActionStartConfiguration.add_member(:fixed_mode_schedule_action_start_settings, Shapes::ShapeRef.new(shape: FixedModeScheduleActionStartSettings, location_name: "fixedModeScheduleActionStartSettings"))
463
+ ScheduleActionStartConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
464
+ ScheduleActionStartConfiguration.add_member_subclass(:fixed_mode_schedule_action_start_settings, Types::ScheduleActionStartConfiguration::FixedModeScheduleActionStartSettings)
465
+ ScheduleActionStartConfiguration.add_member_subclass(:unknown, Types::ScheduleActionStartConfiguration::Unknown)
466
+ ScheduleActionStartConfiguration.struct_class = Types::ScheduleActionStartConfiguration
467
+
382
468
  SearchFilter.add_member(:name, Shapes::ShapeRef.new(shape: FilterName, required: true, location_name: "name"))
383
469
  SearchFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValueList, required: true, location_name: "values"))
384
470
  SearchFilter.struct_class = Types::SearchFilter
@@ -435,6 +521,10 @@ module Aws::ElementalInference
435
521
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
436
522
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
437
523
 
524
+ UpdateClippingDataSourceConfiguration.add_member(:output_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "outputName"))
525
+ UpdateClippingDataSourceConfiguration.add_member(:data_source_configuration, Shapes::ShapeRef.new(shape: DataSourceConfiguration, required: true, location_name: "dataSourceConfiguration"))
526
+ UpdateClippingDataSourceConfiguration.struct_class = Types::UpdateClippingDataSourceConfiguration
527
+
438
528
  UpdateDictionaryRequest.add_member(:id, Shapes::ShapeRef.new(shape: DictionaryId, required: true, location: "uri", location_name: "id"))
439
529
  UpdateDictionaryRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
440
530
  UpdateDictionaryRequest.add_member(:language, Shapes::ShapeRef.new(shape: DictionaryLanguage, location_name: "language"))
@@ -476,6 +566,10 @@ module Aws::ElementalInference
476
566
 
477
567
  UpdateOutputList.member = Shapes::ShapeRef.new(shape: UpdateOutput)
478
568
 
569
+ UpdateOutputStatus.add_member(:output_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "outputName"))
570
+ UpdateOutputStatus.add_member(:status, Shapes::ShapeRef.new(shape: OutputStatus, required: true, location_name: "status"))
571
+ UpdateOutputStatus.struct_class = Types::UpdateOutputStatus
572
+
479
573
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
480
574
  ValidationException.struct_class = Types::ValidationException
481
575
 
@@ -541,6 +635,21 @@ module Aws::ElementalInference
541
635
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
542
636
  end)
543
637
 
638
+ api.add_operation(:create_schedule_action, Seahorse::Model::Operation.new.tap do |o|
639
+ o.name = "CreateScheduleAction"
640
+ o.http_method = "POST"
641
+ o.http_request_uri = "/v1/feed/{id}/schedule-actions"
642
+ o.input = Shapes::ShapeRef.new(shape: CreateScheduleActionRequest)
643
+ o.output = Shapes::ShapeRef.new(shape: CreateScheduleActionResponse)
644
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
645
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
646
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
647
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
648
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestException)
649
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
650
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
651
+ end)
652
+
544
653
  api.add_operation(:delete_dictionary, Seahorse::Model::Operation.new.tap do |o|
545
654
  o.name = "DeleteDictionary"
546
655
  o.http_method = "DELETE"
@@ -582,6 +691,20 @@ module Aws::ElementalInference
582
691
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestException)
583
692
  end)
584
693
 
694
+ api.add_operation(:delete_schedule_action, Seahorse::Model::Operation.new.tap do |o|
695
+ o.name = "DeleteScheduleAction"
696
+ o.http_method = "DELETE"
697
+ o.http_request_uri = "/v1/feed/{id}/schedule-actions"
698
+ o.input = Shapes::ShapeRef.new(shape: DeleteScheduleActionRequest)
699
+ o.output = Shapes::ShapeRef.new(shape: DeleteScheduleActionResponse)
700
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
701
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
702
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
703
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
704
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestException)
705
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
706
+ end)
707
+
585
708
  api.add_operation(:disassociate_feed, Seahorse::Model::Operation.new.tap do |o|
586
709
  o.name = "DisassociateFeed"
587
710
  o.http_method = "POST"
@@ -699,6 +822,25 @@ module Aws::ElementalInference
699
822
  )
700
823
  end)
701
824
 
825
+ api.add_operation(:list_schedule_actions, Seahorse::Model::Operation.new.tap do |o|
826
+ o.name = "ListScheduleActions"
827
+ o.http_method = "GET"
828
+ o.http_request_uri = "/v1/feed/{id}/schedule-actions"
829
+ o.input = Shapes::ShapeRef.new(shape: ListScheduleActionsRequest)
830
+ o.output = Shapes::ShapeRef.new(shape: ListScheduleActionsResponse)
831
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
832
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
833
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
834
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
835
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestException)
836
+ o[:pager] = Aws::Pager.new(
837
+ limit_key: "max_results",
838
+ tokens: {
839
+ "next_token" => "next_token"
840
+ }
841
+ )
842
+ end)
843
+
702
844
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
703
845
  o.name = "ListTagsForResource"
704
846
  o.http_method = "GET"
@@ -415,6 +415,72 @@ module Aws::ElementalInference
415
415
  include Aws::Structure
416
416
  end
417
417
 
418
+ # @!attribute [rw] id
419
+ # Specifies the ID of the feed that you want to add the schedule
420
+ # action to.
421
+ # @return [String]
422
+ #
423
+ # @!attribute [rw] action_name
424
+ # A name for the schedule action. The name must be unique within the
425
+ # feed. You can reuse the name of an action that you deleted.
426
+ # @return [String]
427
+ #
428
+ # @!attribute [rw] start_configuration
429
+ # Specifies when the action runs.
430
+ # @return [Types::ScheduleActionStartConfiguration]
431
+ #
432
+ # @!attribute [rw] operations
433
+ # Specifies the list of configuration changes that you want to make to
434
+ # the feed. Elemental Inference applies all the operations in an
435
+ # action together, in the order that you specify them. If any
436
+ # operation fails, Elemental Inference doesn't apply any of them.
437
+ # @return [Array<Types::ScheduleActionOperation>]
438
+ #
439
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/CreateScheduleActionRequest AWS API Documentation
440
+ #
441
+ class CreateScheduleActionRequest < Struct.new(
442
+ :id,
443
+ :action_name,
444
+ :start_configuration,
445
+ :operations)
446
+ SENSITIVE = []
447
+ include Aws::Structure
448
+ end
449
+
450
+ # @!attribute [rw] action_name
451
+ # The name that you specified.
452
+ # @return [String]
453
+ #
454
+ # @!attribute [rw] start_configuration
455
+ # Specifies when the action runs.
456
+ # @return [Types::ScheduleActionStartConfiguration]
457
+ #
458
+ # @!attribute [rw] operations
459
+ # The configuration changes that the action makes to the feed.
460
+ # @return [Array<Types::ScheduleActionOperation>]
461
+ #
462
+ # @!attribute [rw] status
463
+ # The status of the action. After you create the action successfully,
464
+ # Elemental Inference sets the status to PENDING.
465
+ # @return [String]
466
+ #
467
+ # @!attribute [rw] error
468
+ # A description of why the action failed. Elemental Inference returns
469
+ # this property only when the status is FAILED.
470
+ # @return [Types::ScheduleActionError]
471
+ #
472
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/CreateScheduleActionResponse AWS API Documentation
473
+ #
474
+ class CreateScheduleActionResponse < Struct.new(
475
+ :action_name,
476
+ :start_configuration,
477
+ :operations,
478
+ :status,
479
+ :error)
480
+ SENSITIVE = []
481
+ include Aws::Structure
482
+ end
483
+
418
484
  # A type of OutputConfig, used when the output in a feed is for the crop
419
485
  # feature.
420
486
  #
@@ -536,6 +602,35 @@ module Aws::ElementalInference
536
602
  include Aws::Structure
537
603
  end
538
604
 
605
+ # @!attribute [rw] id
606
+ # The ID of the feed that holds the schedule action.
607
+ # @return [String]
608
+ #
609
+ # @!attribute [rw] action_name
610
+ # The name of the schedule action that you want to delete.
611
+ # @return [String]
612
+ #
613
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/DeleteScheduleActionRequest AWS API Documentation
614
+ #
615
+ class DeleteScheduleActionRequest < Struct.new(
616
+ :id,
617
+ :action_name)
618
+ SENSITIVE = []
619
+ include Aws::Structure
620
+ end
621
+
622
+ # @!attribute [rw] action_name
623
+ # The name of the schedule action that Elemental Inference deleted.
624
+ # @return [String]
625
+ #
626
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/DeleteScheduleActionResponse AWS API Documentation
627
+ #
628
+ class DeleteScheduleActionResponse < Struct.new(
629
+ :action_name)
630
+ SENSITIVE = []
631
+ include Aws::Structure
632
+ end
633
+
539
634
  # Contains summary information about a dictionary. Used in the
540
635
  # ListDictionaries response.
541
636
  #
@@ -693,6 +788,26 @@ module Aws::ElementalInference
693
788
  include Aws::Structure
694
789
  end
695
790
 
791
+ # Sets the time at which a schedule action runs once. This is a type of
792
+ # ScheduleActionStartConfiguration.
793
+ #
794
+ # @!attribute [rw] scheduled_at
795
+ # The UTC time at which the action runs. Specify the time in whole
796
+ # seconds. For the range of times that you can specify, see the AWS
797
+ # Elemental Inference User Guide.
798
+ #
799
+ # This time is approximate. The change can take a few minutes to take
800
+ # effect on the media that the feed is processing.
801
+ # @return [Time]
802
+ #
803
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/FixedModeScheduleActionStartSettings AWS API Documentation
804
+ #
805
+ class FixedModeScheduleActionStartSettings < Struct.new(
806
+ :scheduled_at)
807
+ SENSITIVE = []
808
+ include Aws::Structure
809
+ end
810
+
696
811
  # Contains information about one fixture. It is used in the
697
812
  # SearchFixtures response.
698
813
  #
@@ -1110,6 +1225,50 @@ module Aws::ElementalInference
1110
1225
  include Aws::Structure
1111
1226
  end
1112
1227
 
1228
+ # @!attribute [rw] id
1229
+ # The ID of the feed that you want to query.
1230
+ # @return [String]
1231
+ #
1232
+ # @!attribute [rw] max_results
1233
+ # The maximum number of results to return for each API request. If you
1234
+ # don't specify MaxResults, Elemental Inference returns a maximum of
1235
+ # 10 results for each page.
1236
+ # @return [Integer]
1237
+ #
1238
+ # @!attribute [rw] next_token
1239
+ # The token that identifies the batch of results that you want to see.
1240
+ # To see the next batch, submit the request a second time and specify
1241
+ # the NextToken value that Elemental Inference returned.
1242
+ # @return [String]
1243
+ #
1244
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/ListScheduleActionsRequest AWS API Documentation
1245
+ #
1246
+ class ListScheduleActionsRequest < Struct.new(
1247
+ :id,
1248
+ :max_results,
1249
+ :next_token)
1250
+ SENSITIVE = []
1251
+ include Aws::Structure
1252
+ end
1253
+
1254
+ # @!attribute [rw] schedule_actions
1255
+ # A list of the schedule actions on the feed.
1256
+ # @return [Array<Types::ScheduleAction>]
1257
+ #
1258
+ # @!attribute [rw] next_token
1259
+ # The token that identifies the next batch of results. Elemental
1260
+ # Inference returns it only when more results are available.
1261
+ # @return [String]
1262
+ #
1263
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/ListScheduleActionsResponse AWS API Documentation
1264
+ #
1265
+ class ListScheduleActionsResponse < Struct.new(
1266
+ :schedule_actions,
1267
+ :next_token)
1268
+ SENSITIVE = []
1269
+ include Aws::Structure
1270
+ end
1271
+
1113
1272
  # @!attribute [rw] resource_arn
1114
1273
  # The ARN of the resource whose tags you want to query.
1115
1274
  # @return [String]
@@ -1198,6 +1357,22 @@ module Aws::ElementalInference
1198
1357
  #
1199
1358
  class PutFeedPolicyResponse < Aws::EmptyStructure; end
1200
1359
 
1360
+ # Removes the game from an event clipping output at the action's
1361
+ # scheduled time. This is a type of ScheduleActionOperation, and the
1362
+ # output must be an event clipping output.
1363
+ #
1364
+ # @!attribute [rw] output_name
1365
+ # The name of the output that you want to remove the game from.
1366
+ # @return [String]
1367
+ #
1368
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/RemoveClippingDataSourceConfiguration AWS API Documentation
1369
+ #
1370
+ class RemoveClippingDataSourceConfiguration < Struct.new(
1371
+ :output_name)
1372
+ SENSITIVE = []
1373
+ include Aws::Structure
1374
+ end
1375
+
1201
1376
  # The resource specified in the action doesn't exist.
1202
1377
  #
1203
1378
  # @!attribute [rw] message
@@ -1211,6 +1386,148 @@ module Aws::ElementalInference
1211
1386
  include Aws::Structure
1212
1387
  end
1213
1388
 
1389
+ # Describes one schedule action on a feed, including the changes it
1390
+ # makes and whether it has run yet. Elemental Inference returns this
1391
+ # structure in the ListScheduleActions operation.
1392
+ #
1393
+ # @!attribute [rw] action_name
1394
+ # The name of the schedule action. The name is unique within the feed.
1395
+ # @return [String]
1396
+ #
1397
+ # @!attribute [rw] start_configuration
1398
+ # Specifies when the action runs.
1399
+ # @return [Types::ScheduleActionStartConfiguration]
1400
+ #
1401
+ # @!attribute [rw] operations
1402
+ # The configuration changes that the action makes to the feed.
1403
+ # @return [Array<Types::ScheduleActionOperation>]
1404
+ #
1405
+ # @!attribute [rw] status
1406
+ # The status of the action. Valid values are the following:
1407
+ #
1408
+ # PENDING
1409
+ #
1410
+ # : The action is waiting for its scheduled time.
1411
+ #
1412
+ # COMPLETED
1413
+ #
1414
+ # : Elemental Inference applied all the action's operations to the
1415
+ # feed.
1416
+ #
1417
+ # FAILED
1418
+ #
1419
+ # : Elemental Inference couldn't apply the action.
1420
+ # @return [String]
1421
+ #
1422
+ # @!attribute [rw] error
1423
+ # A description of why the action failed. Elemental Inference returns
1424
+ # this property only when the status is FAILED.
1425
+ # @return [Types::ScheduleActionError]
1426
+ #
1427
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/ScheduleAction AWS API Documentation
1428
+ #
1429
+ class ScheduleAction < Struct.new(
1430
+ :action_name,
1431
+ :start_configuration,
1432
+ :operations,
1433
+ :status,
1434
+ :error)
1435
+ SENSITIVE = []
1436
+ include Aws::Structure
1437
+ end
1438
+
1439
+ # Describes the cause of a schedule action failure, including the
1440
+ # failure type and a description of what went wrong.
1441
+ #
1442
+ # @!attribute [rw] error_code
1443
+ # The type of failure. Valid values are the following:
1444
+ #
1445
+ # INVALID\_ACTION\_TARGET
1446
+ #
1447
+ # : The action referred to something that didn't exist or wasn't
1448
+ # valid at the scheduled time, for example an output that you
1449
+ # deleted.
1450
+ #
1451
+ # INTERNAL\_ERROR
1452
+ #
1453
+ # : An unexpected error prevented the action from completing.
1454
+ # @return [String]
1455
+ #
1456
+ # @!attribute [rw] error_message
1457
+ # A description of the failure.
1458
+ # @return [String]
1459
+ #
1460
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/ScheduleActionError AWS API Documentation
1461
+ #
1462
+ class ScheduleActionError < Struct.new(
1463
+ :error_code,
1464
+ :error_message)
1465
+ SENSITIVE = []
1466
+ include Aws::Structure
1467
+ end
1468
+
1469
+ # Holds one typed configuration change that a schedule action makes to a
1470
+ # feed. Each operation must contain exactly one property.
1471
+ #
1472
+ # @note ScheduleActionOperation is a union - when making an API calls you must set exactly one of the members.
1473
+ #
1474
+ # @note ScheduleActionOperation is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ScheduleActionOperation corresponding to the set member.
1475
+ #
1476
+ # @!attribute [rw] update_output_status
1477
+ # The operation type that enables or disables an output.
1478
+ # @return [Types::UpdateOutputStatus]
1479
+ #
1480
+ # @!attribute [rw] update_clipping_data_source_configuration
1481
+ # The operation type that attaches a game to an event clipping output.
1482
+ # @return [Types::UpdateClippingDataSourceConfiguration]
1483
+ #
1484
+ # @!attribute [rw] remove_clipping_data_source_configuration
1485
+ # The operation type that removes the game from an event clipping
1486
+ # output.
1487
+ # @return [Types::RemoveClippingDataSourceConfiguration]
1488
+ #
1489
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/ScheduleActionOperation AWS API Documentation
1490
+ #
1491
+ class ScheduleActionOperation < Struct.new(
1492
+ :update_output_status,
1493
+ :update_clipping_data_source_configuration,
1494
+ :remove_clipping_data_source_configuration,
1495
+ :unknown)
1496
+ SENSITIVE = []
1497
+ include Aws::Structure
1498
+ include Aws::Structure::Union
1499
+
1500
+ class UpdateOutputStatus < ScheduleActionOperation; end
1501
+ class UpdateClippingDataSourceConfiguration < ScheduleActionOperation; end
1502
+ class RemoveClippingDataSourceConfiguration < ScheduleActionOperation; end
1503
+ class Unknown < ScheduleActionOperation; end
1504
+ end
1505
+
1506
+ # Holds the typed start settings that determine when a schedule action
1507
+ # runs. Currently, only fixed mode is supported.
1508
+ #
1509
+ # @note ScheduleActionStartConfiguration is a union - when making an API calls you must set exactly one of the members.
1510
+ #
1511
+ # @note ScheduleActionStartConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ScheduleActionStartConfiguration corresponding to the set member.
1512
+ #
1513
+ # @!attribute [rw] fixed_mode_schedule_action_start_settings
1514
+ # The start settings type for an action that runs once, at a fixed
1515
+ # time.
1516
+ # @return [Types::FixedModeScheduleActionStartSettings]
1517
+ #
1518
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/ScheduleActionStartConfiguration AWS API Documentation
1519
+ #
1520
+ class ScheduleActionStartConfiguration < Struct.new(
1521
+ :fixed_mode_schedule_action_start_settings,
1522
+ :unknown)
1523
+ SENSITIVE = []
1524
+ include Aws::Structure
1525
+ include Aws::Structure::Union
1526
+
1527
+ class FixedModeScheduleActionStartSettings < ScheduleActionStartConfiguration; end
1528
+ class Unknown < ScheduleActionStartConfiguration; end
1529
+ end
1530
+
1214
1531
  # A filter for a fixture search. It is used in the filters array of a
1215
1532
  # SearchFixtures request.
1216
1533
  #
@@ -1464,6 +1781,27 @@ module Aws::ElementalInference
1464
1781
  include Aws::Structure
1465
1782
  end
1466
1783
 
1784
+ # Attaches a game to an event clipping output at the action's scheduled
1785
+ # time. This is a type of ScheduleActionOperation, and the output must
1786
+ # be an event clipping output.
1787
+ #
1788
+ # @!attribute [rw] output_name
1789
+ # The name of the output that you want to attach the game to.
1790
+ # @return [String]
1791
+ #
1792
+ # @!attribute [rw] data_source_configuration
1793
+ # The game that you want to attach to the output.
1794
+ # @return [Types::DataSourceConfiguration]
1795
+ #
1796
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/UpdateClippingDataSourceConfiguration AWS API Documentation
1797
+ #
1798
+ class UpdateClippingDataSourceConfiguration < Struct.new(
1799
+ :output_name,
1800
+ :data_source_configuration)
1801
+ SENSITIVE = []
1802
+ include Aws::Structure
1803
+ end
1804
+
1467
1805
  # @!attribute [rw] id
1468
1806
  # The ID of the dictionary to update.
1469
1807
  # @return [String]
@@ -1669,6 +2007,28 @@ module Aws::ElementalInference
1669
2007
  include Aws::Structure
1670
2008
  end
1671
2009
 
2010
+ # Enables or disables an output at the action's scheduled time. This is
2011
+ # a type of ScheduleActionOperation.
2012
+ #
2013
+ # @!attribute [rw] output_name
2014
+ # The name of the output that you want to enable or disable. The
2015
+ # output must exist in the feed when you create the action.
2016
+ # @return [String]
2017
+ #
2018
+ # @!attribute [rw] status
2019
+ # Specifies whether the output is enabled or disabled after the action
2020
+ # runs.
2021
+ # @return [String]
2022
+ #
2023
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/UpdateOutputStatus AWS API Documentation
2024
+ #
2025
+ class UpdateOutputStatus < Struct.new(
2026
+ :output_name,
2027
+ :status)
2028
+ SENSITIVE = []
2029
+ include Aws::Structure
2030
+ end
2031
+
1672
2032
  # The input fails to satisfy the constraints specified by the service.
1673
2033
  # Check the error message for details about which parameter or field is
1674
2034
  # invalid and correct the request before retrying.
@@ -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.16.0'
58
+ GEM_VERSION = '1.17.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -137,6 +137,42 @@ module Aws
137
137
  ) -> _CreateFeedResponseSuccess
138
138
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFeedResponseSuccess
139
139
 
140
+ interface _CreateScheduleActionResponseSuccess
141
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateScheduleActionResponse]
142
+ def action_name: () -> ::String
143
+ def start_configuration: () -> Types::ScheduleActionStartConfiguration
144
+ def operations: () -> ::Array[Types::ScheduleActionOperation]
145
+ def status: () -> ("PENDING" | "COMPLETED" | "FAILED")
146
+ end
147
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#create_schedule_action-instance_method
148
+ def create_schedule_action: (
149
+ id: ::String,
150
+ action_name: ::String,
151
+ start_configuration: {
152
+ fixed_mode_schedule_action_start_settings: {
153
+ scheduled_at: ::Time
154
+ }?
155
+ },
156
+ operations: Array[
157
+ {
158
+ update_output_status: {
159
+ output_name: ::String,
160
+ status: ("ENABLED" | "DISABLED")
161
+ }?,
162
+ update_clipping_data_source_configuration: {
163
+ output_name: ::String,
164
+ data_source_configuration: {
165
+ fixture_id: ::String
166
+ }
167
+ }?,
168
+ remove_clipping_data_source_configuration: {
169
+ output_name: ::String
170
+ }?
171
+ }
172
+ ]
173
+ ) -> _CreateScheduleActionResponseSuccess
174
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateScheduleActionResponseSuccess
175
+
140
176
  interface _DeleteDictionaryResponseSuccess
141
177
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDictionaryResponse]
142
178
  def arn: () -> ::String
@@ -167,6 +203,17 @@ module Aws
167
203
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
168
204
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
169
205
 
206
+ interface _DeleteScheduleActionResponseSuccess
207
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteScheduleActionResponse]
208
+ def action_name: () -> ::String
209
+ end
210
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#delete_schedule_action-instance_method
211
+ def delete_schedule_action: (
212
+ id: ::String,
213
+ action_name: ::String
214
+ ) -> _DeleteScheduleActionResponseSuccess
215
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteScheduleActionResponseSuccess
216
+
170
217
  interface _DisassociateFeedResponseSuccess
171
218
  include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateFeedResponse]
172
219
  def arn: () -> ::String
@@ -273,6 +320,19 @@ module Aws
273
320
  ) -> _ListFeedsResponseSuccess
274
321
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFeedsResponseSuccess
275
322
 
323
+ interface _ListScheduleActionsResponseSuccess
324
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListScheduleActionsResponse]
325
+ def schedule_actions: () -> ::Array[Types::ScheduleAction]
326
+ def next_token: () -> ::String
327
+ end
328
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#list_schedule_actions-instance_method
329
+ def list_schedule_actions: (
330
+ id: ::String,
331
+ ?max_results: ::Integer,
332
+ ?next_token: ::String
333
+ ) -> _ListScheduleActionsResponseSuccess
334
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListScheduleActionsResponseSuccess
335
+
276
336
  interface _ListTagsForResourceResponseSuccess
277
337
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
278
338
  def tags: () -> ::Hash[::String, ::String]
data/sig/types.rbs CHANGED
@@ -104,6 +104,23 @@ module Aws::ElementalInference
104
104
  SENSITIVE: []
105
105
  end
106
106
 
107
+ class CreateScheduleActionRequest
108
+ attr_accessor id: ::String
109
+ attr_accessor action_name: ::String
110
+ attr_accessor start_configuration: Types::ScheduleActionStartConfiguration
111
+ attr_accessor operations: ::Array[Types::ScheduleActionOperation]
112
+ SENSITIVE: []
113
+ end
114
+
115
+ class CreateScheduleActionResponse
116
+ attr_accessor action_name: ::String
117
+ attr_accessor start_configuration: Types::ScheduleActionStartConfiguration
118
+ attr_accessor operations: ::Array[Types::ScheduleActionOperation]
119
+ attr_accessor status: ("PENDING" | "COMPLETED" | "FAILED")
120
+ attr_accessor error: Types::ScheduleActionError
121
+ SENSITIVE: []
122
+ end
123
+
107
124
  class CroppingConfig
108
125
  attr_accessor template_groups: ::Array[Types::TemplateGroup]
109
126
  SENSITIVE: []
@@ -143,6 +160,17 @@ module Aws::ElementalInference
143
160
  SENSITIVE: []
144
161
  end
145
162
 
163
+ class DeleteScheduleActionRequest
164
+ attr_accessor id: ::String
165
+ attr_accessor action_name: ::String
166
+ SENSITIVE: []
167
+ end
168
+
169
+ class DeleteScheduleActionResponse
170
+ attr_accessor action_name: ::String
171
+ SENSITIVE: []
172
+ end
173
+
146
174
  class DictionarySummary
147
175
  attr_accessor arn: ::String
148
176
  attr_accessor id: ::String
@@ -189,6 +217,11 @@ module Aws::ElementalInference
189
217
  SENSITIVE: []
190
218
  end
191
219
 
220
+ class FixedModeScheduleActionStartSettings
221
+ attr_accessor scheduled_at: ::Time
222
+ SENSITIVE: []
223
+ end
224
+
192
225
  class FixtureSummary
193
226
  attr_accessor fixture_id: ::String
194
227
  attr_accessor name: ::String
@@ -301,6 +334,19 @@ module Aws::ElementalInference
301
334
  SENSITIVE: []
302
335
  end
303
336
 
337
+ class ListScheduleActionsRequest
338
+ attr_accessor id: ::String
339
+ attr_accessor max_results: ::Integer
340
+ attr_accessor next_token: ::String
341
+ SENSITIVE: []
342
+ end
343
+
344
+ class ListScheduleActionsResponse
345
+ attr_accessor schedule_actions: ::Array[Types::ScheduleAction]
346
+ attr_accessor next_token: ::String
347
+ SENSITIVE: []
348
+ end
349
+
304
350
  class ListTagsForResourceRequest
305
351
  attr_accessor resource_arn: ::String
306
352
  SENSITIVE: []
@@ -340,11 +386,59 @@ module Aws::ElementalInference
340
386
  class PutFeedPolicyResponse < Aws::EmptyStructure
341
387
  end
342
388
 
389
+ class RemoveClippingDataSourceConfiguration
390
+ attr_accessor output_name: ::String
391
+ SENSITIVE: []
392
+ end
393
+
343
394
  class ResourceNotFoundException
344
395
  attr_accessor message: ::String
345
396
  SENSITIVE: []
346
397
  end
347
398
 
399
+ class ScheduleAction
400
+ attr_accessor action_name: ::String
401
+ attr_accessor start_configuration: Types::ScheduleActionStartConfiguration
402
+ attr_accessor operations: ::Array[Types::ScheduleActionOperation]
403
+ attr_accessor status: ("PENDING" | "COMPLETED" | "FAILED")
404
+ attr_accessor error: Types::ScheduleActionError
405
+ SENSITIVE: []
406
+ end
407
+
408
+ class ScheduleActionError
409
+ attr_accessor error_code: ("INVALID_ACTION_TARGET" | "INTERNAL_ERROR")
410
+ attr_accessor error_message: ::String
411
+ SENSITIVE: []
412
+ end
413
+
414
+ class ScheduleActionOperation
415
+ attr_accessor update_output_status: Types::UpdateOutputStatus
416
+ attr_accessor update_clipping_data_source_configuration: Types::UpdateClippingDataSourceConfiguration
417
+ attr_accessor remove_clipping_data_source_configuration: Types::RemoveClippingDataSourceConfiguration
418
+ attr_accessor unknown: untyped
419
+ SENSITIVE: []
420
+
421
+ class UpdateOutputStatus < ScheduleActionOperation
422
+ end
423
+ class UpdateClippingDataSourceConfiguration < ScheduleActionOperation
424
+ end
425
+ class RemoveClippingDataSourceConfiguration < ScheduleActionOperation
426
+ end
427
+ class Unknown < ScheduleActionOperation
428
+ end
429
+ end
430
+
431
+ class ScheduleActionStartConfiguration
432
+ attr_accessor fixed_mode_schedule_action_start_settings: Types::FixedModeScheduleActionStartSettings
433
+ attr_accessor unknown: untyped
434
+ SENSITIVE: []
435
+
436
+ class FixedModeScheduleActionStartSettings < ScheduleActionStartConfiguration
437
+ end
438
+ class Unknown < ScheduleActionStartConfiguration
439
+ end
440
+ end
441
+
348
442
  class SearchFilter
349
443
  attr_accessor name: ("COMPETITOR")
350
444
  attr_accessor values: ::Array[::String]
@@ -408,6 +502,12 @@ module Aws::ElementalInference
408
502
  SENSITIVE: []
409
503
  end
410
504
 
505
+ class UpdateClippingDataSourceConfiguration
506
+ attr_accessor output_name: ::String
507
+ attr_accessor data_source_configuration: Types::DataSourceConfiguration
508
+ SENSITIVE: []
509
+ end
510
+
411
511
  class UpdateDictionaryRequest
412
512
  attr_accessor id: ::String
413
513
  attr_accessor name: ::String
@@ -457,6 +557,12 @@ module Aws::ElementalInference
457
557
  SENSITIVE: []
458
558
  end
459
559
 
560
+ class UpdateOutputStatus
561
+ attr_accessor output_name: ::String
562
+ attr_accessor status: ("ENABLED" | "DISABLED")
563
+ SENSITIVE: []
564
+ end
565
+
460
566
  class ValidationException
461
567
  attr_accessor message: ::String
462
568
  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.16.0
4
+ version: 1.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services