aws-sdk-elementalinference 1.24.0 → 1.26.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.
@@ -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.24.0'
58
+ GEM_VERSION = '1.26.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -137,6 +137,90 @@ module Aws
137
137
  ) -> _CreateFeedResponseSuccess
138
138
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFeedResponseSuccess
139
139
 
140
+ interface _CreateFunctionResponseSuccess
141
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateFunctionResponse]
142
+ def name: () -> ::String
143
+ def target: () -> Types::FunctionTarget
144
+ def request_expression: () -> ::String
145
+ def response_expression: () -> ::String
146
+ def description: () -> ::String
147
+ def event_bridge_delivery: () -> ("ENABLED" | "DISABLED")
148
+ def arn: () -> ::String
149
+ def id: () -> ::String
150
+ def status: () -> ("CREATING" | "AVAILABLE" | "REFERENCED" | "DELETING" | "DELETED")
151
+ def references: () -> ::Array[::String]
152
+ def context_types: () -> ::Array[("FRAMES" | "SUBTITLES" | "CONTEXTUAL_METADATA" | "CLIP_METADATA")]
153
+ def tags: () -> ::Hash[::String, ::String]
154
+ end
155
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#create_function-instance_method
156
+ def create_function: (
157
+ name: ::String,
158
+ target: Params::function_target,
159
+ request_expression: ::String,
160
+ ?response_expression: ::String,
161
+ ?description: ::String,
162
+ ?event_bridge_delivery: ("ENABLED" | "DISABLED"),
163
+ ?tags: Hash[::String, ::String]
164
+ ) -> _CreateFunctionResponseSuccess
165
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFunctionResponseSuccess
166
+
167
+ interface _CreateQuestionSetResponseSuccess
168
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateQuestionSetResponse]
169
+ def yes_no: () -> ::Array[Types::YesNoQuestion]
170
+ def yes_no_per_option: () -> ::Array[Types::YesNoPerOptionQuestion]
171
+ def choose_one: () -> ::Array[Types::ChooseOneQuestion]
172
+ def arn: () -> ::String
173
+ def id: () -> ::String
174
+ def name: () -> ::String
175
+ def version: () -> ::String
176
+ def description: () -> ::String
177
+ def latest_version: () -> ::String
178
+ def sha256: () -> ::String
179
+ def references: () -> ::Array[::String]
180
+ def tags: () -> ::Hash[::String, ::String]
181
+ end
182
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#create_question_set-instance_method
183
+ def create_question_set: (
184
+ ?yes_no: Array[
185
+ {
186
+ name: ::String,
187
+ question: ::String
188
+ }
189
+ ],
190
+ ?yes_no_per_option: Array[
191
+ Params::yes_no_per_option_question
192
+ ],
193
+ ?choose_one: Array[
194
+ Params::choose_one_question
195
+ ],
196
+ name: ::String,
197
+ ?tags: Hash[::String, ::String]
198
+ ) -> _CreateQuestionSetResponseSuccess
199
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateQuestionSetResponseSuccess
200
+
201
+ interface _CreateQuestionSetVersionResponseSuccess
202
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateQuestionSetVersionResponse]
203
+ def yes_no: () -> ::Array[Types::YesNoQuestion]
204
+ def yes_no_per_option: () -> ::Array[Types::YesNoPerOptionQuestion]
205
+ def choose_one: () -> ::Array[Types::ChooseOneQuestion]
206
+ def arn: () -> ::String
207
+ def id: () -> ::String
208
+ def name: () -> ::String
209
+ def version: () -> ::String
210
+ def description: () -> ::String
211
+ def latest_version: () -> ::String
212
+ def sha256: () -> ::String
213
+ def references: () -> ::Array[::String]
214
+ def tags: () -> ::Hash[::String, ::String]
215
+ end
216
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#create_question_set_version-instance_method
217
+ def create_question_set_version: (
218
+ id: ::String,
219
+ ?sha256: ::String,
220
+ ?description: ::String
221
+ ) -> _CreateQuestionSetVersionResponseSuccess
222
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateQuestionSetVersionResponseSuccess
223
+
140
224
  interface _CreateScheduleActionResponseSuccess
141
225
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateScheduleActionResponse]
142
226
  def action_name: () -> ::String
@@ -203,6 +287,39 @@ module Aws
203
287
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
204
288
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
205
289
 
290
+ interface _DeleteFunctionResponseSuccess
291
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFunctionResponse]
292
+ def arn: () -> ::String
293
+ def id: () -> ::String
294
+ def status: () -> ("CREATING" | "AVAILABLE" | "REFERENCED" | "DELETING" | "DELETED")
295
+ end
296
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#delete_function-instance_method
297
+ def delete_function: (
298
+ id: ::String
299
+ ) -> _DeleteFunctionResponseSuccess
300
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFunctionResponseSuccess
301
+
302
+ interface _DeleteQuestionSetResponseSuccess
303
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteQuestionSetResponse]
304
+ def arn: () -> ::String
305
+ def id: () -> ::String
306
+ end
307
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#delete_question_set-instance_method
308
+ def delete_question_set: (
309
+ id: ::String
310
+ ) -> _DeleteQuestionSetResponseSuccess
311
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteQuestionSetResponseSuccess
312
+
313
+ interface _DeleteQuestionSetVersionResponseSuccess
314
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteQuestionSetVersionResponse]
315
+ end
316
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#delete_question_set_version-instance_method
317
+ def delete_question_set_version: (
318
+ id: ::String,
319
+ question_set_version: ::String
320
+ ) -> _DeleteQuestionSetVersionResponseSuccess
321
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteQuestionSetVersionResponseSuccess
322
+
206
323
  interface _DeleteScheduleActionResponseSuccess
207
324
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteScheduleActionResponse]
208
325
  def action_name: () -> ::String
@@ -296,6 +413,49 @@ module Aws
296
413
  ) -> _GetFixtureResponseSuccess
297
414
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFixtureResponseSuccess
298
415
 
416
+ interface _GetFunctionResponseSuccess
417
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFunctionResponse]
418
+ def name: () -> ::String
419
+ def target: () -> Types::FunctionTarget
420
+ def request_expression: () -> ::String
421
+ def response_expression: () -> ::String
422
+ def description: () -> ::String
423
+ def event_bridge_delivery: () -> ("ENABLED" | "DISABLED")
424
+ def arn: () -> ::String
425
+ def id: () -> ::String
426
+ def status: () -> ("CREATING" | "AVAILABLE" | "REFERENCED" | "DELETING" | "DELETED")
427
+ def references: () -> ::Array[::String]
428
+ def context_types: () -> ::Array[("FRAMES" | "SUBTITLES" | "CONTEXTUAL_METADATA" | "CLIP_METADATA")]
429
+ def tags: () -> ::Hash[::String, ::String]
430
+ end
431
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#get_function-instance_method
432
+ def get_function: (
433
+ id: ::String
434
+ ) -> _GetFunctionResponseSuccess
435
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFunctionResponseSuccess
436
+
437
+ interface _GetQuestionSetResponseSuccess
438
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetQuestionSetResponse]
439
+ def yes_no: () -> ::Array[Types::YesNoQuestion]
440
+ def yes_no_per_option: () -> ::Array[Types::YesNoPerOptionQuestion]
441
+ def choose_one: () -> ::Array[Types::ChooseOneQuestion]
442
+ def arn: () -> ::String
443
+ def id: () -> ::String
444
+ def name: () -> ::String
445
+ def version: () -> ::String
446
+ def description: () -> ::String
447
+ def latest_version: () -> ::String
448
+ def sha256: () -> ::String
449
+ def references: () -> ::Array[::String]
450
+ def tags: () -> ::Hash[::String, ::String]
451
+ end
452
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#get_question_set-instance_method
453
+ def get_question_set: (
454
+ id: ::String,
455
+ ?question_set_version: ::String
456
+ ) -> _GetQuestionSetResponseSuccess
457
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQuestionSetResponseSuccess
458
+
299
459
  interface _ListDictionariesResponseSuccess
300
460
  include ::Seahorse::Client::_ResponseSuccess[Types::ListDictionariesResponse]
301
461
  def dictionaries: () -> ::Array[Types::DictionarySummary]
@@ -320,6 +480,43 @@ module Aws
320
480
  ) -> _ListFeedsResponseSuccess
321
481
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFeedsResponseSuccess
322
482
 
483
+ interface _ListFunctionsResponseSuccess
484
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFunctionsResponse]
485
+ def functions: () -> ::Array[Types::FunctionSummary]
486
+ def next_token: () -> ::String
487
+ end
488
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#list_functions-instance_method
489
+ def list_functions: (
490
+ ?max_results: ::Integer,
491
+ ?next_token: ::String
492
+ ) -> _ListFunctionsResponseSuccess
493
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFunctionsResponseSuccess
494
+
495
+ interface _ListQuestionSetVersionsResponseSuccess
496
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListQuestionSetVersionsResponse]
497
+ def versions: () -> ::Array[Types::QuestionSetVersionSummary]
498
+ def next_token: () -> ::String
499
+ end
500
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#list_question_set_versions-instance_method
501
+ def list_question_set_versions: (
502
+ id: ::String,
503
+ ?max_results: ::Integer,
504
+ ?next_token: ::String
505
+ ) -> _ListQuestionSetVersionsResponseSuccess
506
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListQuestionSetVersionsResponseSuccess
507
+
508
+ interface _ListQuestionSetsResponseSuccess
509
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListQuestionSetsResponse]
510
+ def question_sets: () -> ::Array[Types::QuestionSetSummary]
511
+ def next_token: () -> ::String
512
+ end
513
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#list_question_sets-instance_method
514
+ def list_question_sets: (
515
+ ?max_results: ::Integer,
516
+ ?next_token: ::String
517
+ ) -> _ListQuestionSetsResponseSuccess
518
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListQuestionSetsResponseSuccess
519
+
323
520
  interface _ListScheduleActionsResponseSuccess
324
521
  include ::Seahorse::Client::_ResponseSuccess[Types::ListScheduleActionsResponse]
325
522
  def schedule_actions: () -> ::Array[Types::ScheduleAction]
@@ -436,6 +633,67 @@ module Aws
436
633
  ) -> _UpdateFeedResponseSuccess
437
634
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFeedResponseSuccess
438
635
 
636
+ interface _UpdateFunctionResponseSuccess
637
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFunctionResponse]
638
+ def name: () -> ::String
639
+ def target: () -> Types::FunctionTarget
640
+ def request_expression: () -> ::String
641
+ def response_expression: () -> ::String
642
+ def description: () -> ::String
643
+ def event_bridge_delivery: () -> ("ENABLED" | "DISABLED")
644
+ def arn: () -> ::String
645
+ def id: () -> ::String
646
+ def status: () -> ("CREATING" | "AVAILABLE" | "REFERENCED" | "DELETING" | "DELETED")
647
+ def references: () -> ::Array[::String]
648
+ def context_types: () -> ::Array[("FRAMES" | "SUBTITLES" | "CONTEXTUAL_METADATA" | "CLIP_METADATA")]
649
+ def tags: () -> ::Hash[::String, ::String]
650
+ end
651
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#update_function-instance_method
652
+ def update_function: (
653
+ id: ::String,
654
+ ?name: ::String,
655
+ ?target: Params::function_target,
656
+ ?request_expression: ::String,
657
+ ?response_expression: ::String,
658
+ ?description: ::String,
659
+ ?event_bridge_delivery: ("ENABLED" | "DISABLED")
660
+ ) -> _UpdateFunctionResponseSuccess
661
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFunctionResponseSuccess
662
+
663
+ interface _UpdateQuestionSetResponseSuccess
664
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateQuestionSetResponse]
665
+ def yes_no: () -> ::Array[Types::YesNoQuestion]
666
+ def yes_no_per_option: () -> ::Array[Types::YesNoPerOptionQuestion]
667
+ def choose_one: () -> ::Array[Types::ChooseOneQuestion]
668
+ def arn: () -> ::String
669
+ def id: () -> ::String
670
+ def name: () -> ::String
671
+ def version: () -> ::String
672
+ def description: () -> ::String
673
+ def latest_version: () -> ::String
674
+ def sha256: () -> ::String
675
+ def references: () -> ::Array[::String]
676
+ def tags: () -> ::Hash[::String, ::String]
677
+ end
678
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#update_question_set-instance_method
679
+ def update_question_set: (
680
+ id: ::String,
681
+ ?yes_no: Array[
682
+ {
683
+ name: ::String,
684
+ question: ::String
685
+ }
686
+ ],
687
+ ?yes_no_per_option: Array[
688
+ Params::yes_no_per_option_question
689
+ ],
690
+ ?choose_one: Array[
691
+ Params::choose_one_question
692
+ ],
693
+ ?name: ::String
694
+ ) -> _UpdateQuestionSetResponseSuccess
695
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateQuestionSetResponseSuccess
696
+
439
697
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#wait_until-instance_method
440
698
  def wait_until: (:feed_deleted waiter_name,
441
699
  id: ::String
data/sig/params.rbs CHANGED
@@ -18,6 +18,61 @@ module Aws
18
18
  profanity_filter: ("DISABLED" | "CENSOR" | "DROP")?
19
19
  }
20
20
 
21
+ type custom_questions_config = {
22
+ shot: {
23
+ question_set_id: ::String,
24
+ version: ::String
25
+ }?,
26
+ scene: {
27
+ question_set_id: ::String,
28
+ version: ::String
29
+ }?
30
+ }
31
+
32
+ type contextual_metadata_config = {
33
+ summary_generation: ("ENABLED" | "DISABLED")?,
34
+ extended_analysis: ("ENABLED" | "DISABLED")?,
35
+ custom_questions: Params::custom_questions_config?
36
+ }
37
+
38
+ type trigger = {
39
+ fixed_interval: {
40
+ interval_seconds: ::Integer
41
+ }?,
42
+ per_shot: {
43
+ }?,
44
+ per_scene: {
45
+ }?,
46
+ per_clip: {
47
+ }?
48
+ }
49
+
50
+ type frame_settings = {
51
+ frame_sampling: {
52
+ mode: ("FIRST" | "UNIFORM" | "LAST"),
53
+ count: ::Integer?
54
+ },
55
+ frame_size: {
56
+ width_pixels: ::Integer,
57
+ height_pixels: ::Integer
58
+ }?
59
+ }
60
+
61
+ type function_config = {
62
+ function_arn: ::String,
63
+ trigger: Params::trigger,
64
+ frame_settings: Params::frame_settings?,
65
+ subtitling_settings: {
66
+ output_name: ::String
67
+ }?,
68
+ contextual_metadata_settings: {
69
+ output_name: ::String
70
+ }?,
71
+ clipping_settings: {
72
+ output_name: ::String
73
+ }?
74
+ }
75
+
21
76
  type output_config = {
22
77
  cropping: {
23
78
  template_groups: Array[
@@ -34,10 +89,8 @@ module Aws
34
89
  }?
35
90
  }?,
36
91
  subtitling: Params::subtitling_config?,
37
- contextual_metadata: {
38
- summary_generation: ("ENABLED" | "DISABLED")?,
39
- extended_analysis: ("ENABLED" | "DISABLED")?
40
- }?
92
+ contextual_metadata: Params::contextual_metadata_config?,
93
+ function: Params::function_config?
41
94
  }
42
95
 
43
96
  type create_output = {
@@ -47,6 +100,37 @@ module Aws
47
100
  description: ::String?
48
101
  }
49
102
 
103
+ type function_target = {
104
+ bedrock: {
105
+ api: ("INVOKE_MODEL"),
106
+ model: ::String
107
+ }?,
108
+ passthrough: {
109
+ }?
110
+ }
111
+
112
+ type yes_no_per_option_question = {
113
+ name: ::String,
114
+ question: ::String,
115
+ options: Array[
116
+ {
117
+ name: ::String,
118
+ text: ::String
119
+ }
120
+ ]
121
+ }
122
+
123
+ type choose_one_question = {
124
+ name: ::String,
125
+ question: ::String,
126
+ options: Array[
127
+ {
128
+ name: ::String,
129
+ text: ::String
130
+ }
131
+ ]
132
+ }
133
+
50
134
  end
51
135
  end
52
136
  end