Class: Aws::ElementalInference::Types::FunctionConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElementalInference::Types::FunctionConfig
- Defined in:
- gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb
Overview
The output configuration settings for a function. Use this structure to run a function on this feed. The name of the output is the name that you pass to GetMetadata to read the results.
Include the settings that the function's media context and trigger require. Elemental Inference ignores settings that neither uses. It also rejects settings whose frames are estimated to exceed the size of a single model request.
A feed that has an enabled function output must also have an enabled cropping, clipping, subtitling, or contextual metadata output. A feed that runs a function with a Bedrock target must specify an accessRoleArn.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#clipping_settings ⇒ Types::ClippingSettings
The event clipping output on this feed to read clips from.
-
#contextual_metadata_settings ⇒ Types::ContextualMetadataSettings
The contextual metadata output on this feed to read scenes and classifications from.
-
#frame_settings ⇒ Types::FrameSettings
The frames to send on each run: how many, which ones, and at what size.
-
#function_arn ⇒ String
The ARN of the function to run.
-
#subtitling_settings ⇒ Types::SubtitlingSettings
The smart subtitles output on this feed to read the transcript from.
-
#trigger ⇒ Types::Trigger
Determines when the function runs.
Instance Attribute Details
#clipping_settings ⇒ Types::ClippingSettings
The event clipping output on this feed to read clips from. Required for a perClip trigger, and for a function that references media.clip.
1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 1693 class FunctionConfig < Struct.new( :function_arn, :trigger, :frame_settings, :subtitling_settings, :contextual_metadata_settings, :clipping_settings) SENSITIVE = [] include Aws::Structure end |
#contextual_metadata_settings ⇒ Types::ContextualMetadataSettings
The contextual metadata output on this feed to read scenes and classifications from. Required for a perScene trigger, and for a function that references media.contextual on a perShot trigger.
1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 1693 class FunctionConfig < Struct.new( :function_arn, :trigger, :frame_settings, :subtitling_settings, :contextual_metadata_settings, :clipping_settings) SENSITIVE = [] include Aws::Structure end |
#frame_settings ⇒ Types::FrameSettings
The frames to send on each run: how many, which ones, and at what size. Applies to a function that references media.frames. If you omit this structure, Elemental Inference sends the first frame of the window, at its source size.
1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 1693 class FunctionConfig < Struct.new( :function_arn, :trigger, :frame_settings, :subtitling_settings, :contextual_metadata_settings, :clipping_settings) SENSITIVE = [] include Aws::Structure end |
#function_arn ⇒ String
The ARN of the function to run. The function must exist in the same account and the same Region as the feed.
1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 1693 class FunctionConfig < Struct.new( :function_arn, :trigger, :frame_settings, :subtitling_settings, :contextual_metadata_settings, :clipping_settings) SENSITIVE = [] include Aws::Structure end |
#subtitling_settings ⇒ Types::SubtitlingSettings
The smart subtitles output on this feed to read the transcript from. Required for a function that references media.transcript.
1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 1693 class FunctionConfig < Struct.new( :function_arn, :trigger, :frame_settings, :subtitling_settings, :contextual_metadata_settings, :clipping_settings) SENSITIVE = [] include Aws::Structure end |
#trigger ⇒ Types::Trigger
Determines when the function runs.
1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 1693 class FunctionConfig < Struct.new( :function_arn, :trigger, :frame_settings, :subtitling_settings, :contextual_metadata_settings, :clipping_settings) SENSITIVE = [] include Aws::Structure end |