Class: Aws::ElementalInference::Types::Trigger

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb

Overview

Note:

Trigger is a union - when making an API calls you must set exactly one of the members.

Note:

Trigger is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Trigger corresponding to the set member.

Determines when a function runs. Specify exactly one member.

Defined Under Namespace

Classes: FixedInterval, PerClip, PerScene, PerShot, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fixed_interval ⇒ Types::FixedIntervalTrigger

Run the function at a fixed interval of content. This is the only trigger for a function that references media.transcript. Can't be used with a function that references media.contextual.



3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3212

class Trigger < Struct.new(
  :fixed_interval,
  :per_shot,
  :per_scene,
  :per_clip,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class FixedInterval < Trigger; end
  class PerShot < Trigger; end
  class PerScene < Trigger; end
  class PerClip < Trigger; end
  class Unknown < Trigger; end
end

#per_clip ⇒ Types::ClipTrigger

Run the function once for each clip that an event clipping output detects. Requires clippingSettings. Can't be used with a function that references media.transcript or media.contextual.

Returns:

  • (Types::ClipTrigger)


3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3212

class Trigger < Struct.new(
  :fixed_interval,
  :per_shot,
  :per_scene,
  :per_clip,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class FixedInterval < Trigger; end
  class PerShot < Trigger; end
  class PerScene < Trigger; end
  class PerClip < Trigger; end
  class Unknown < Trigger; end
end

#per_scene ⇒ Types::SceneTrigger

Run the function once for each scene boundary that a contextual metadata output reports. Requires contextualMetadataSettings. Can't be used with a function that references media.transcript or media.clip.

Returns:

  • (Types::SceneTrigger)


3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3212

class Trigger < Struct.new(
  :fixed_interval,
  :per_shot,
  :per_scene,
  :per_clip,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class FixedInterval < Trigger; end
  class PerShot < Trigger; end
  class PerScene < Trigger; end
  class PerClip < Trigger; end
  class Unknown < Trigger; end
end

#per_shot ⇒ Types::ShotTrigger

Run the function once for each shot that Elemental Inference detects. Can't be used with a function that references media.transcript or media.clip.

Returns:

  • (Types::ShotTrigger)


3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3212

class Trigger < Struct.new(
  :fixed_interval,
  :per_shot,
  :per_scene,
  :per_clip,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class FixedInterval < Trigger; end
  class PerShot < Trigger; end
  class PerScene < Trigger; end
  class PerClip < Trigger; end
  class Unknown < Trigger; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



3212
3213
3214
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3212

def unknown
  @unknown
end