aws-sdk-mediatailor 1.124.0 → 1.125.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: 81a4a44c3abce6c587b5eed2b67c590247aec2d3f223a79f14da34009ff47b0c
4
- data.tar.gz: 9fc7fe1d9df00ff2f4c293092fa1e11762479c3421a05a0cdc33f2e5ca3e818c
3
+ metadata.gz: a83a4f6aa85bf01780508b2fbcc756d9e0d182c748a1d3526d3dbf43a8ccaa8d
4
+ data.tar.gz: 5b83f89c56cd02916d0d3267801224fc70abe6efa159787bfd0c68d790748a18
5
5
  SHA512:
6
- metadata.gz: 19ce8dbc69f575155cdf22d6e8a0f481878991c944c4eae3c3762e4d8dce4144aaa16504877f93559e5a77035080eeaf6b8fb23e409cea8ccb24b042bce15ce7
7
- data.tar.gz: 2b18ef75cd3c3aa5430d1d222535dce09ad1a63aa4a4c423f2066b31ee04aa08e75fb24a3d42e85b9d31d6957ba685911c9b8a4b7191d961fcafbfa2e780d842
6
+ metadata.gz: c204d2714826948bba883c48a02f9e51ed87374412bcc23a75ef33f9eeeef3c7f29c53b092fab856de1866c1893d0587e8449fea0dfe14316ec740995654f145
7
+ data.tar.gz: 26ec1ce17b8a45bc554dc0a0fdd3167a2290b79e6cc672f4ecd0a01316673a22df3b98886c6dcf29b5e389f538a6c79617fa7ce7782af8a4c3b1f5329b6298cf
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.125.0 (2026-08-06)
5
+ ------------------
6
+
7
+ * Feature - AWS Elemental MediaTailor now supports concurrent function execution. The new Concurrent Executor function type runs multiple independent child functions in parallel within a single lifecycle hook, reducing pipeline latency to the duration of the slowest call instead of the sum of all calls.
8
+
4
9
  1.124.0 (2026-07-20)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.124.0
1
+ 1.125.0
@@ -2138,6 +2138,7 @@ module Aws::MediaTailor
2138
2138
  # * {Types::GetFunctionResponse#description #description} => String
2139
2139
  # * {Types::GetFunctionResponse#http_request_configuration #http_request_configuration} => Types::HttpRequestConfiguration
2140
2140
  # * {Types::GetFunctionResponse#custom_output_configuration #custom_output_configuration} => Types::CustomOutputConfiguration
2141
+ # * {Types::GetFunctionResponse#concurrent_executor_configuration #concurrent_executor_configuration} => Types::ConcurrentExecutorConfiguration
2141
2142
  # * {Types::GetFunctionResponse#sequential_executor_configuration #sequential_executor_configuration} => Types::SequentialExecutorConfiguration
2142
2143
  # * {Types::GetFunctionResponse#tags #tags} => Hash<String,String>
2143
2144
  # * {Types::GetFunctionResponse#arn #arn} => String
@@ -2151,7 +2152,7 @@ module Aws::MediaTailor
2151
2152
  # @example Response structure
2152
2153
  #
2153
2154
  # resp.function_id #=> String
2154
- # resp.function_type #=> String, one of "HTTP_REQUEST", "CUSTOM_OUTPUT", "SEQUENTIAL_EXECUTOR"
2155
+ # resp.function_type #=> String, one of "HTTP_REQUEST", "CUSTOM_OUTPUT", "CONCURRENT_EXECUTOR", "SEQUENTIAL_EXECUTOR"
2155
2156
  # resp.description #=> String
2156
2157
  # resp.http_request_configuration.runtime #=> String, one of "JSONATA"
2157
2158
  # resp.http_request_configuration.output #=> Hash
@@ -2165,12 +2166,22 @@ module Aws::MediaTailor
2165
2166
  # resp.custom_output_configuration.runtime #=> String, one of "JSONATA"
2166
2167
  # resp.custom_output_configuration.output #=> Hash
2167
2168
  # resp.custom_output_configuration.output["__string"] #=> String
2169
+ # resp.concurrent_executor_configuration.runtime #=> String, one of "JSONATA"
2170
+ # resp.concurrent_executor_configuration.output #=> Hash
2171
+ # resp.concurrent_executor_configuration.output["__string"] #=> String
2172
+ # resp.concurrent_executor_configuration.function_list #=> Array
2173
+ # resp.concurrent_executor_configuration.function_list[0].run_condition #=> String
2174
+ # resp.concurrent_executor_configuration.function_list[0].function_id #=> String
2175
+ # resp.concurrent_executor_configuration.function_list[0].alias #=> String
2176
+ # resp.concurrent_executor_configuration.timeout_milliseconds #=> Integer
2177
+ # resp.concurrent_executor_configuration.max_concurrency #=> Integer
2168
2178
  # resp.sequential_executor_configuration.runtime #=> String, one of "JSONATA"
2169
2179
  # resp.sequential_executor_configuration.output #=> Hash
2170
2180
  # resp.sequential_executor_configuration.output["__string"] #=> String
2171
2181
  # resp.sequential_executor_configuration.function_list #=> Array
2172
2182
  # resp.sequential_executor_configuration.function_list[0].run_condition #=> String
2173
2183
  # resp.sequential_executor_configuration.function_list[0].function_id #=> String
2184
+ # resp.sequential_executor_configuration.function_list[0].alias #=> String
2174
2185
  # resp.sequential_executor_configuration.timeout_milliseconds #=> Integer
2175
2186
  # resp.tags #=> Hash
2176
2187
  # resp.tags["__string"] #=> String
@@ -2583,7 +2594,7 @@ module Aws::MediaTailor
2583
2594
  #
2584
2595
  # resp.items #=> Array
2585
2596
  # resp.items[0].function_id #=> String
2586
- # resp.items[0].function_type #=> String, one of "HTTP_REQUEST", "CUSTOM_OUTPUT", "SEQUENTIAL_EXECUTOR"
2597
+ # resp.items[0].function_type #=> String, one of "HTTP_REQUEST", "CUSTOM_OUTPUT", "CONCURRENT_EXECUTOR", "SEQUENTIAL_EXECUTOR"
2587
2598
  # resp.items[0].description #=> String
2588
2599
  # resp.items[0].http_request_configuration.runtime #=> String, one of "JSONATA"
2589
2600
  # resp.items[0].http_request_configuration.output #=> Hash
@@ -2597,12 +2608,22 @@ module Aws::MediaTailor
2597
2608
  # resp.items[0].custom_output_configuration.runtime #=> String, one of "JSONATA"
2598
2609
  # resp.items[0].custom_output_configuration.output #=> Hash
2599
2610
  # resp.items[0].custom_output_configuration.output["__string"] #=> String
2611
+ # resp.items[0].concurrent_executor_configuration.runtime #=> String, one of "JSONATA"
2612
+ # resp.items[0].concurrent_executor_configuration.output #=> Hash
2613
+ # resp.items[0].concurrent_executor_configuration.output["__string"] #=> String
2614
+ # resp.items[0].concurrent_executor_configuration.function_list #=> Array
2615
+ # resp.items[0].concurrent_executor_configuration.function_list[0].run_condition #=> String
2616
+ # resp.items[0].concurrent_executor_configuration.function_list[0].function_id #=> String
2617
+ # resp.items[0].concurrent_executor_configuration.function_list[0].alias #=> String
2618
+ # resp.items[0].concurrent_executor_configuration.timeout_milliseconds #=> Integer
2619
+ # resp.items[0].concurrent_executor_configuration.max_concurrency #=> Integer
2600
2620
  # resp.items[0].sequential_executor_configuration.runtime #=> String, one of "JSONATA"
2601
2621
  # resp.items[0].sequential_executor_configuration.output #=> Hash
2602
2622
  # resp.items[0].sequential_executor_configuration.output["__string"] #=> String
2603
2623
  # resp.items[0].sequential_executor_configuration.function_list #=> Array
2604
2624
  # resp.items[0].sequential_executor_configuration.function_list[0].run_condition #=> String
2605
2625
  # resp.items[0].sequential_executor_configuration.function_list[0].function_id #=> String
2626
+ # resp.items[0].sequential_executor_configuration.function_list[0].alias #=> String
2606
2627
  # resp.items[0].sequential_executor_configuration.timeout_milliseconds #=> Integer
2607
2628
  # resp.items[0].tags #=> Hash
2608
2629
  # resp.items[0].tags["__string"] #=> String
@@ -3157,6 +3178,12 @@ module Aws::MediaTailor
3157
3178
  # runtime and output expressions. Required when `FunctionType` is
3158
3179
  # `CUSTOM_OUTPUT`.
3159
3180
  #
3181
+ # @option params [Types::ConcurrentExecutorConfiguration] :concurrent_executor_configuration
3182
+ # The configuration for a `CONCURRENT_EXECUTOR` function. Specifies the
3183
+ # list of child functions to run in parallel, the maximum concurrency,
3184
+ # an optional output block, and a timeout. Required when `FunctionType`
3185
+ # is `CONCURRENT_EXECUTOR`.
3186
+ #
3160
3187
  # @option params [Types::SequentialExecutorConfiguration] :sequential_executor_configuration
3161
3188
  # The configuration for a `SEQUENTIAL_EXECUTOR` function. Specifies the
3162
3189
  # ordered list of child functions to execute, an optional output block,
@@ -3179,6 +3206,7 @@ module Aws::MediaTailor
3179
3206
  # * {Types::PutFunctionResponse#description #description} => String
3180
3207
  # * {Types::PutFunctionResponse#http_request_configuration #http_request_configuration} => Types::HttpRequestConfiguration
3181
3208
  # * {Types::PutFunctionResponse#custom_output_configuration #custom_output_configuration} => Types::CustomOutputConfiguration
3209
+ # * {Types::PutFunctionResponse#concurrent_executor_configuration #concurrent_executor_configuration} => Types::ConcurrentExecutorConfiguration
3182
3210
  # * {Types::PutFunctionResponse#sequential_executor_configuration #sequential_executor_configuration} => Types::SequentialExecutorConfiguration
3183
3211
  # * {Types::PutFunctionResponse#tags #tags} => Hash<String,String>
3184
3212
  # * {Types::PutFunctionResponse#arn #arn} => String
@@ -3187,7 +3215,7 @@ module Aws::MediaTailor
3187
3215
  #
3188
3216
  # resp = client.put_function({
3189
3217
  # function_id: "__string", # required
3190
- # function_type: "HTTP_REQUEST", # required, accepts HTTP_REQUEST, CUSTOM_OUTPUT, SEQUENTIAL_EXECUTOR
3218
+ # function_type: "HTTP_REQUEST", # required, accepts HTTP_REQUEST, CUSTOM_OUTPUT, CONCURRENT_EXECUTOR, SEQUENTIAL_EXECUTOR
3191
3219
  # description: "__string",
3192
3220
  # http_request_configuration: {
3193
3221
  # runtime: "JSONATA", # required, accepts JSONATA
@@ -3208,6 +3236,21 @@ module Aws::MediaTailor
3208
3236
  # "__string" => "__string",
3209
3237
  # },
3210
3238
  # },
3239
+ # concurrent_executor_configuration: {
3240
+ # runtime: "JSONATA", # required, accepts JSONATA
3241
+ # output: { # required
3242
+ # "__string" => "__string",
3243
+ # },
3244
+ # function_list: [ # required
3245
+ # {
3246
+ # run_condition: "__string",
3247
+ # function_id: "__string",
3248
+ # alias: "__string",
3249
+ # },
3250
+ # ],
3251
+ # timeout_milliseconds: 1, # required
3252
+ # max_concurrency: 1, # required
3253
+ # },
3211
3254
  # sequential_executor_configuration: {
3212
3255
  # runtime: "JSONATA", # required, accepts JSONATA
3213
3256
  # output: {
@@ -3217,6 +3260,7 @@ module Aws::MediaTailor
3217
3260
  # {
3218
3261
  # run_condition: "__string",
3219
3262
  # function_id: "__string",
3263
+ # alias: "__string",
3220
3264
  # },
3221
3265
  # ],
3222
3266
  # timeout_milliseconds: 1, # required
@@ -3229,7 +3273,7 @@ module Aws::MediaTailor
3229
3273
  # @example Response structure
3230
3274
  #
3231
3275
  # resp.function_id #=> String
3232
- # resp.function_type #=> String, one of "HTTP_REQUEST", "CUSTOM_OUTPUT", "SEQUENTIAL_EXECUTOR"
3276
+ # resp.function_type #=> String, one of "HTTP_REQUEST", "CUSTOM_OUTPUT", "CONCURRENT_EXECUTOR", "SEQUENTIAL_EXECUTOR"
3233
3277
  # resp.description #=> String
3234
3278
  # resp.http_request_configuration.runtime #=> String, one of "JSONATA"
3235
3279
  # resp.http_request_configuration.output #=> Hash
@@ -3243,12 +3287,22 @@ module Aws::MediaTailor
3243
3287
  # resp.custom_output_configuration.runtime #=> String, one of "JSONATA"
3244
3288
  # resp.custom_output_configuration.output #=> Hash
3245
3289
  # resp.custom_output_configuration.output["__string"] #=> String
3290
+ # resp.concurrent_executor_configuration.runtime #=> String, one of "JSONATA"
3291
+ # resp.concurrent_executor_configuration.output #=> Hash
3292
+ # resp.concurrent_executor_configuration.output["__string"] #=> String
3293
+ # resp.concurrent_executor_configuration.function_list #=> Array
3294
+ # resp.concurrent_executor_configuration.function_list[0].run_condition #=> String
3295
+ # resp.concurrent_executor_configuration.function_list[0].function_id #=> String
3296
+ # resp.concurrent_executor_configuration.function_list[0].alias #=> String
3297
+ # resp.concurrent_executor_configuration.timeout_milliseconds #=> Integer
3298
+ # resp.concurrent_executor_configuration.max_concurrency #=> Integer
3246
3299
  # resp.sequential_executor_configuration.runtime #=> String, one of "JSONATA"
3247
3300
  # resp.sequential_executor_configuration.output #=> Hash
3248
3301
  # resp.sequential_executor_configuration.output["__string"] #=> String
3249
3302
  # resp.sequential_executor_configuration.function_list #=> Array
3250
3303
  # resp.sequential_executor_configuration.function_list[0].run_condition #=> String
3251
3304
  # resp.sequential_executor_configuration.function_list[0].function_id #=> String
3305
+ # resp.sequential_executor_configuration.function_list[0].alias #=> String
3252
3306
  # resp.sequential_executor_configuration.timeout_milliseconds #=> Integer
3253
3307
  # resp.tags #=> Hash
3254
3308
  # resp.tags["__string"] #=> String
@@ -4255,7 +4309,7 @@ module Aws::MediaTailor
4255
4309
  tracer: tracer
4256
4310
  )
4257
4311
  context[:gem_name] = 'aws-sdk-mediatailor'
4258
- context[:gem_version] = '1.124.0'
4312
+ context[:gem_version] = '1.125.0'
4259
4313
  Seahorse::Client::Request.new(handlers, context)
4260
4314
  end
4261
4315
 
@@ -43,6 +43,7 @@ module Aws::MediaTailor
43
43
  ChannelState = Shapes::StringShape.new(name: 'ChannelState')
44
44
  ClipRange = Shapes::StructureShape.new(name: 'ClipRange')
45
45
  CompressionMethod = Shapes::StringShape.new(name: 'CompressionMethod')
46
+ ConcurrentExecutorConfiguration = Shapes::StructureShape.new(name: 'ConcurrentExecutorConfiguration')
46
47
  ConfigurationAliasesRequest = Shapes::MapShape.new(name: 'ConfigurationAliasesRequest')
47
48
  ConfigurationAliasesResponse = Shapes::MapShape.new(name: 'ConfigurationAliasesResponse')
48
49
  ConfigureLogsForChannelRequest = Shapes::StructureShape.new(name: 'ConfigureLogsForChannelRequest')
@@ -357,6 +358,13 @@ module Aws::MediaTailor
357
358
  ClipRange.add_member(:start_offset_millis, Shapes::ShapeRef.new(shape: __long, location_name: "StartOffsetMillis"))
358
359
  ClipRange.struct_class = Types::ClipRange
359
360
 
361
+ ConcurrentExecutorConfiguration.add_member(:runtime, Shapes::ShapeRef.new(shape: RuntimeType, required: true, location_name: "Runtime"))
362
+ ConcurrentExecutorConfiguration.add_member(:output, Shapes::ShapeRef.new(shape: __mapOf__string, required: true, location_name: "Output"))
363
+ ConcurrentExecutorConfiguration.add_member(:function_list, Shapes::ShapeRef.new(shape: __listOfFunctionsRef, required: true, location_name: "FunctionList"))
364
+ ConcurrentExecutorConfiguration.add_member(:timeout_milliseconds, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "TimeoutMilliseconds"))
365
+ ConcurrentExecutorConfiguration.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "MaxConcurrency"))
366
+ ConcurrentExecutorConfiguration.struct_class = Types::ConcurrentExecutorConfiguration
367
+
360
368
  ConfigurationAliasesRequest.key = Shapes::ShapeRef.new(shape: __string)
361
369
  ConfigurationAliasesRequest.value = Shapes::ShapeRef.new(shape: __mapOf__string)
362
370
 
@@ -660,6 +668,7 @@ module Aws::MediaTailor
660
668
  Function.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "Description"))
661
669
  Function.add_member(:http_request_configuration, Shapes::ShapeRef.new(shape: HttpRequestConfiguration, location_name: "HttpRequestConfiguration"))
662
670
  Function.add_member(:custom_output_configuration, Shapes::ShapeRef.new(shape: CustomOutputConfiguration, location_name: "CustomOutputConfiguration"))
671
+ Function.add_member(:concurrent_executor_configuration, Shapes::ShapeRef.new(shape: ConcurrentExecutorConfiguration, location_name: "ConcurrentExecutorConfiguration"))
663
672
  Function.add_member(:sequential_executor_configuration, Shapes::ShapeRef.new(shape: SequentialExecutorConfiguration, location_name: "SequentialExecutorConfiguration"))
664
673
  Function.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
665
674
  Function.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
@@ -670,6 +679,7 @@ module Aws::MediaTailor
670
679
 
671
680
  FunctionRef.add_member(:run_condition, Shapes::ShapeRef.new(shape: __string, location_name: "RunCondition"))
672
681
  FunctionRef.add_member(:function_id, Shapes::ShapeRef.new(shape: __string, location_name: "FunctionId"))
682
+ FunctionRef.add_member(:alias, Shapes::ShapeRef.new(shape: __string, location_name: "Alias"))
673
683
  FunctionRef.struct_class = Types::FunctionRef
674
684
 
675
685
  GetChannelPolicyRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ChannelName"))
@@ -697,6 +707,7 @@ module Aws::MediaTailor
697
707
  GetFunctionResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "Description"))
698
708
  GetFunctionResponse.add_member(:http_request_configuration, Shapes::ShapeRef.new(shape: HttpRequestConfiguration, location_name: "HttpRequestConfiguration"))
699
709
  GetFunctionResponse.add_member(:custom_output_configuration, Shapes::ShapeRef.new(shape: CustomOutputConfiguration, location_name: "CustomOutputConfiguration"))
710
+ GetFunctionResponse.add_member(:concurrent_executor_configuration, Shapes::ShapeRef.new(shape: ConcurrentExecutorConfiguration, location_name: "ConcurrentExecutorConfiguration"))
700
711
  GetFunctionResponse.add_member(:sequential_executor_configuration, Shapes::ShapeRef.new(shape: SequentialExecutorConfiguration, location_name: "SequentialExecutorConfiguration"))
701
712
  GetFunctionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
702
713
  GetFunctionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
@@ -957,6 +968,7 @@ module Aws::MediaTailor
957
968
  PutFunctionRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "Description"))
958
969
  PutFunctionRequest.add_member(:http_request_configuration, Shapes::ShapeRef.new(shape: HttpRequestConfiguration, location_name: "HttpRequestConfiguration"))
959
970
  PutFunctionRequest.add_member(:custom_output_configuration, Shapes::ShapeRef.new(shape: CustomOutputConfiguration, location_name: "CustomOutputConfiguration"))
971
+ PutFunctionRequest.add_member(:concurrent_executor_configuration, Shapes::ShapeRef.new(shape: ConcurrentExecutorConfiguration, location_name: "ConcurrentExecutorConfiguration"))
960
972
  PutFunctionRequest.add_member(:sequential_executor_configuration, Shapes::ShapeRef.new(shape: SequentialExecutorConfiguration, location_name: "SequentialExecutorConfiguration"))
961
973
  PutFunctionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
962
974
  PutFunctionRequest.struct_class = Types::PutFunctionRequest
@@ -966,6 +978,7 @@ module Aws::MediaTailor
966
978
  PutFunctionResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "Description"))
967
979
  PutFunctionResponse.add_member(:http_request_configuration, Shapes::ShapeRef.new(shape: HttpRequestConfiguration, location_name: "HttpRequestConfiguration"))
968
980
  PutFunctionResponse.add_member(:custom_output_configuration, Shapes::ShapeRef.new(shape: CustomOutputConfiguration, location_name: "CustomOutputConfiguration"))
981
+ PutFunctionResponse.add_member(:concurrent_executor_configuration, Shapes::ShapeRef.new(shape: ConcurrentExecutorConfiguration, location_name: "ConcurrentExecutorConfiguration"))
969
982
  PutFunctionResponse.add_member(:sequential_executor_configuration, Shapes::ShapeRef.new(shape: SequentialExecutorConfiguration, location_name: "SequentialExecutorConfiguration"))
970
983
  PutFunctionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
971
984
  PutFunctionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
@@ -712,6 +712,63 @@ module Aws::MediaTailor
712
712
  include Aws::Structure
713
713
  end
714
714
 
715
+ # The configuration for a `CONCURRENT_EXECUTOR` function. A
716
+ # `CONCURRENT_EXECUTOR` runs a set of child functions in parallel, up to
717
+ # a maximum concurrency, and combines their output when all functions
718
+ # complete. For more information about functions, see [Working with
719
+ # functions][1] in the *MediaTailor User Guide*.
720
+ #
721
+ #
722
+ #
723
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/monetization-functions.html
724
+ #
725
+ # @!attribute [rw] runtime
726
+ # The expression language used to evaluate expressions in the function
727
+ # configuration. Set this to `JSONata`.
728
+ # @return [String]
729
+ #
730
+ # @!attribute [rw] output
731
+ # A map of output bindings that controls which bindings the executor
732
+ # commits to the session state after all child functions complete.
733
+ # Each key is a namespaced output path, and each value is an
734
+ # expression that MediaTailor evaluates against the combined results
735
+ # of the child functions.
736
+ # @return [Hash<String,String>]
737
+ #
738
+ # @!attribute [rw] function_list
739
+ # The list of child functions that MediaTailor runs in parallel. Each
740
+ # entry specifies a child function to execute and an optional run
741
+ # condition expression that controls whether the function runs.
742
+ # @return [Array<Types::FunctionRef>]
743
+ #
744
+ # @!attribute [rw] timeout_milliseconds
745
+ # The maximum time, in milliseconds, for all child functions to
746
+ # complete. This timeout covers every function in the list, including
747
+ # any HTTP calls the child functions make. If the executor exceeds
748
+ # this timeout, MediaTailor discards all output from the executor and
749
+ # proceeds with default behavior.
750
+ # @return [Integer]
751
+ #
752
+ # @!attribute [rw] max_concurrency
753
+ # The maximum number of child functions that MediaTailor runs
754
+ # simultaneously. When the list contains more functions than
755
+ # `MaxConcurrency`, MediaTailor starts additional functions as running
756
+ # ones complete, so that no more than `MaxConcurrency` functions run
757
+ # at the same time.
758
+ # @return [Integer]
759
+ #
760
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ConcurrentExecutorConfiguration AWS API Documentation
761
+ #
762
+ class ConcurrentExecutorConfiguration < Struct.new(
763
+ :runtime,
764
+ :output,
765
+ :function_list,
766
+ :timeout_milliseconds,
767
+ :max_concurrency)
768
+ SENSITIVE = []
769
+ include Aws::Structure
770
+ end
771
+
715
772
  # @!attribute [rw] channel_name
716
773
  # The name of the channel.
717
774
  # @return [String]
@@ -2323,6 +2380,10 @@ module Aws::MediaTailor
2323
2380
  # The configuration for a `CUSTOM_OUTPUT` function.
2324
2381
  # @return [Types::CustomOutputConfiguration]
2325
2382
  #
2383
+ # @!attribute [rw] concurrent_executor_configuration
2384
+ # The configuration for a `CONCURRENT_EXECUTOR` function.
2385
+ # @return [Types::ConcurrentExecutorConfiguration]
2386
+ #
2326
2387
  # @!attribute [rw] sequential_executor_configuration
2327
2388
  # The configuration for a `SEQUENTIAL_EXECUTOR` function.
2328
2389
  # @return [Types::SequentialExecutorConfiguration]
@@ -2350,6 +2411,7 @@ module Aws::MediaTailor
2350
2411
  :description,
2351
2412
  :http_request_configuration,
2352
2413
  :custom_output_configuration,
2414
+ :concurrent_executor_configuration,
2353
2415
  :sequential_executor_configuration,
2354
2416
  :tags,
2355
2417
  :arn)
@@ -2372,11 +2434,17 @@ module Aws::MediaTailor
2372
2434
  # The identifier of the child function to execute in this step.
2373
2435
  # @return [String]
2374
2436
  #
2437
+ # @!attribute [rw] alias
2438
+ # An optional alternate name for the function within the executor. If
2439
+ # omitted, MediaTailor uses the function identifier.
2440
+ # @return [String]
2441
+ #
2375
2442
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/FunctionRef AWS API Documentation
2376
2443
  #
2377
2444
  class FunctionRef < Struct.new(
2378
2445
  :run_condition,
2379
- :function_id)
2446
+ :function_id,
2447
+ :alias)
2380
2448
  SENSITIVE = []
2381
2449
  include Aws::Structure
2382
2450
  end
@@ -2507,6 +2575,10 @@ module Aws::MediaTailor
2507
2575
  # The configuration for a `CUSTOM_OUTPUT` function.
2508
2576
  # @return [Types::CustomOutputConfiguration]
2509
2577
  #
2578
+ # @!attribute [rw] concurrent_executor_configuration
2579
+ # The configuration for a `CONCURRENT_EXECUTOR` function.
2580
+ # @return [Types::ConcurrentExecutorConfiguration]
2581
+ #
2510
2582
  # @!attribute [rw] sequential_executor_configuration
2511
2583
  # The configuration for a `SEQUENTIAL_EXECUTOR` function.
2512
2584
  # @return [Types::SequentialExecutorConfiguration]
@@ -2534,6 +2606,7 @@ module Aws::MediaTailor
2534
2606
  :description,
2535
2607
  :http_request_configuration,
2536
2608
  :custom_output_configuration,
2609
+ :concurrent_executor_configuration,
2537
2610
  :sequential_executor_configuration,
2538
2611
  :tags,
2539
2612
  :arn)
@@ -4294,6 +4367,13 @@ module Aws::MediaTailor
4294
4367
  # `CUSTOM_OUTPUT`.
4295
4368
  # @return [Types::CustomOutputConfiguration]
4296
4369
  #
4370
+ # @!attribute [rw] concurrent_executor_configuration
4371
+ # The configuration for a `CONCURRENT_EXECUTOR` function. Specifies
4372
+ # the list of child functions to run in parallel, the maximum
4373
+ # concurrency, an optional output block, and a timeout. Required when
4374
+ # `FunctionType` is `CONCURRENT_EXECUTOR`.
4375
+ # @return [Types::ConcurrentExecutorConfiguration]
4376
+ #
4297
4377
  # @!attribute [rw] sequential_executor_configuration
4298
4378
  # The configuration for a `SEQUENTIAL_EXECUTOR` function. Specifies
4299
4379
  # the ordered list of child functions to execute, an optional output
@@ -4320,6 +4400,7 @@ module Aws::MediaTailor
4320
4400
  :description,
4321
4401
  :http_request_configuration,
4322
4402
  :custom_output_configuration,
4403
+ :concurrent_executor_configuration,
4323
4404
  :sequential_executor_configuration,
4324
4405
  :tags)
4325
4406
  SENSITIVE = []
@@ -4348,6 +4429,10 @@ module Aws::MediaTailor
4348
4429
  # The configuration for a `CUSTOM_OUTPUT` function.
4349
4430
  # @return [Types::CustomOutputConfiguration]
4350
4431
  #
4432
+ # @!attribute [rw] concurrent_executor_configuration
4433
+ # The configuration for a `CONCURRENT_EXECUTOR` function.
4434
+ # @return [Types::ConcurrentExecutorConfiguration]
4435
+ #
4351
4436
  # @!attribute [rw] sequential_executor_configuration
4352
4437
  # The configuration for a `SEQUENTIAL_EXECUTOR` function.
4353
4438
  # @return [Types::SequentialExecutorConfiguration]
@@ -4375,6 +4460,7 @@ module Aws::MediaTailor
4375
4460
  :description,
4376
4461
  :http_request_configuration,
4377
4462
  :custom_output_configuration,
4463
+ :concurrent_executor_configuration,
4378
4464
  :sequential_executor_configuration,
4379
4465
  :tags,
4380
4466
  :arn)
@@ -54,7 +54,7 @@ module Aws::MediaTailor
54
54
  autoload :EndpointProvider, 'aws-sdk-mediatailor/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-mediatailor/endpoints'
56
56
 
57
- GEM_VERSION = '1.124.0'
57
+ GEM_VERSION = '1.125.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -558,10 +558,11 @@ module Aws
558
558
  interface _GetFunctionResponseSuccess
559
559
  include ::Seahorse::Client::_ResponseSuccess[Types::GetFunctionResponse]
560
560
  def function_id: () -> ::String
561
- def function_type: () -> ("HTTP_REQUEST" | "CUSTOM_OUTPUT" | "SEQUENTIAL_EXECUTOR")
561
+ def function_type: () -> ("HTTP_REQUEST" | "CUSTOM_OUTPUT" | "CONCURRENT_EXECUTOR" | "SEQUENTIAL_EXECUTOR")
562
562
  def description: () -> ::String
563
563
  def http_request_configuration: () -> Types::HttpRequestConfiguration
564
564
  def custom_output_configuration: () -> Types::CustomOutputConfiguration
565
+ def concurrent_executor_configuration: () -> Types::ConcurrentExecutorConfiguration
565
566
  def sequential_executor_configuration: () -> Types::SequentialExecutorConfiguration
566
567
  def tags: () -> ::Hash[::String, ::String]
567
568
  def arn: () -> ::String
@@ -752,10 +753,11 @@ module Aws
752
753
  interface _PutFunctionResponseSuccess
753
754
  include ::Seahorse::Client::_ResponseSuccess[Types::PutFunctionResponse]
754
755
  def function_id: () -> ::String
755
- def function_type: () -> ("HTTP_REQUEST" | "CUSTOM_OUTPUT" | "SEQUENTIAL_EXECUTOR")
756
+ def function_type: () -> ("HTTP_REQUEST" | "CUSTOM_OUTPUT" | "CONCURRENT_EXECUTOR" | "SEQUENTIAL_EXECUTOR")
756
757
  def description: () -> ::String
757
758
  def http_request_configuration: () -> Types::HttpRequestConfiguration
758
759
  def custom_output_configuration: () -> Types::CustomOutputConfiguration
760
+ def concurrent_executor_configuration: () -> Types::ConcurrentExecutorConfiguration
759
761
  def sequential_executor_configuration: () -> Types::SequentialExecutorConfiguration
760
762
  def tags: () -> ::Hash[::String, ::String]
761
763
  def arn: () -> ::String
@@ -763,7 +765,7 @@ module Aws
763
765
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaTailor/Client.html#put_function-instance_method
764
766
  def put_function: (
765
767
  function_id: ::String,
766
- function_type: ("HTTP_REQUEST" | "CUSTOM_OUTPUT" | "SEQUENTIAL_EXECUTOR"),
768
+ function_type: ("HTTP_REQUEST" | "CUSTOM_OUTPUT" | "CONCURRENT_EXECUTOR" | "SEQUENTIAL_EXECUTOR"),
767
769
  ?description: ::String,
768
770
  ?http_request_configuration: {
769
771
  runtime: ("JSONATA"),
@@ -778,13 +780,27 @@ module Aws
778
780
  runtime: ("JSONATA"),
779
781
  output: Hash[::String, ::String]?
780
782
  },
783
+ ?concurrent_executor_configuration: {
784
+ runtime: ("JSONATA"),
785
+ output: Hash[::String, ::String],
786
+ function_list: Array[
787
+ {
788
+ run_condition: ::String?,
789
+ function_id: ::String?,
790
+ alias: ::String?
791
+ }
792
+ ],
793
+ timeout_milliseconds: ::Integer,
794
+ max_concurrency: ::Integer
795
+ },
781
796
  ?sequential_executor_configuration: {
782
797
  runtime: ("JSONATA"),
783
798
  output: Hash[::String, ::String]?,
784
799
  function_list: Array[
785
800
  {
786
801
  run_condition: ::String?,
787
- function_id: ::String?
802
+ function_id: ::String?,
803
+ alias: ::String?
788
804
  }
789
805
  ],
790
806
  timeout_milliseconds: ::Integer
data/sig/types.rbs CHANGED
@@ -144,6 +144,15 @@ module Aws::MediaTailor
144
144
  SENSITIVE: []
145
145
  end
146
146
 
147
+ class ConcurrentExecutorConfiguration
148
+ attr_accessor runtime: ("JSONATA")
149
+ attr_accessor output: ::Hash[::String, ::String]
150
+ attr_accessor function_list: ::Array[Types::FunctionRef]
151
+ attr_accessor timeout_milliseconds: ::Integer
152
+ attr_accessor max_concurrency: ::Integer
153
+ SENSITIVE: []
154
+ end
155
+
147
156
  class ConfigureLogsForChannelRequest
148
157
  attr_accessor channel_name: ::String
149
158
  attr_accessor log_types: ::Array[("AS_RUN")]
@@ -527,10 +536,11 @@ module Aws::MediaTailor
527
536
 
528
537
  class Function
529
538
  attr_accessor function_id: ::String
530
- attr_accessor function_type: ("HTTP_REQUEST" | "CUSTOM_OUTPUT" | "SEQUENTIAL_EXECUTOR")
539
+ attr_accessor function_type: ("HTTP_REQUEST" | "CUSTOM_OUTPUT" | "CONCURRENT_EXECUTOR" | "SEQUENTIAL_EXECUTOR")
531
540
  attr_accessor description: ::String
532
541
  attr_accessor http_request_configuration: Types::HttpRequestConfiguration
533
542
  attr_accessor custom_output_configuration: Types::CustomOutputConfiguration
543
+ attr_accessor concurrent_executor_configuration: Types::ConcurrentExecutorConfiguration
534
544
  attr_accessor sequential_executor_configuration: Types::SequentialExecutorConfiguration
535
545
  attr_accessor tags: ::Hash[::String, ::String]
536
546
  attr_accessor arn: ::String
@@ -540,6 +550,7 @@ module Aws::MediaTailor
540
550
  class FunctionRef
541
551
  attr_accessor run_condition: ::String
542
552
  attr_accessor function_id: ::String
553
+ attr_accessor alias: ::String
543
554
  SENSITIVE: []
544
555
  end
545
556
 
@@ -575,10 +586,11 @@ module Aws::MediaTailor
575
586
 
576
587
  class GetFunctionResponse
577
588
  attr_accessor function_id: ::String
578
- attr_accessor function_type: ("HTTP_REQUEST" | "CUSTOM_OUTPUT" | "SEQUENTIAL_EXECUTOR")
589
+ attr_accessor function_type: ("HTTP_REQUEST" | "CUSTOM_OUTPUT" | "CONCURRENT_EXECUTOR" | "SEQUENTIAL_EXECUTOR")
579
590
  attr_accessor description: ::String
580
591
  attr_accessor http_request_configuration: Types::HttpRequestConfiguration
581
592
  attr_accessor custom_output_configuration: Types::CustomOutputConfiguration
593
+ attr_accessor concurrent_executor_configuration: Types::ConcurrentExecutorConfiguration
582
594
  attr_accessor sequential_executor_configuration: Types::SequentialExecutorConfiguration
583
595
  attr_accessor tags: ::Hash[::String, ::String]
584
596
  attr_accessor arn: ::String
@@ -914,10 +926,11 @@ module Aws::MediaTailor
914
926
 
915
927
  class PutFunctionRequest
916
928
  attr_accessor function_id: ::String
917
- attr_accessor function_type: ("HTTP_REQUEST" | "CUSTOM_OUTPUT" | "SEQUENTIAL_EXECUTOR")
929
+ attr_accessor function_type: ("HTTP_REQUEST" | "CUSTOM_OUTPUT" | "CONCURRENT_EXECUTOR" | "SEQUENTIAL_EXECUTOR")
918
930
  attr_accessor description: ::String
919
931
  attr_accessor http_request_configuration: Types::HttpRequestConfiguration
920
932
  attr_accessor custom_output_configuration: Types::CustomOutputConfiguration
933
+ attr_accessor concurrent_executor_configuration: Types::ConcurrentExecutorConfiguration
921
934
  attr_accessor sequential_executor_configuration: Types::SequentialExecutorConfiguration
922
935
  attr_accessor tags: ::Hash[::String, ::String]
923
936
  SENSITIVE: []
@@ -925,10 +938,11 @@ module Aws::MediaTailor
925
938
 
926
939
  class PutFunctionResponse
927
940
  attr_accessor function_id: ::String
928
- attr_accessor function_type: ("HTTP_REQUEST" | "CUSTOM_OUTPUT" | "SEQUENTIAL_EXECUTOR")
941
+ attr_accessor function_type: ("HTTP_REQUEST" | "CUSTOM_OUTPUT" | "CONCURRENT_EXECUTOR" | "SEQUENTIAL_EXECUTOR")
929
942
  attr_accessor description: ::String
930
943
  attr_accessor http_request_configuration: Types::HttpRequestConfiguration
931
944
  attr_accessor custom_output_configuration: Types::CustomOutputConfiguration
945
+ attr_accessor concurrent_executor_configuration: Types::ConcurrentExecutorConfiguration
932
946
  attr_accessor sequential_executor_configuration: Types::SequentialExecutorConfiguration
933
947
  attr_accessor tags: ::Hash[::String, ::String]
934
948
  attr_accessor arn: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mediatailor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.124.0
4
+ version: 1.125.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services