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.



3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3244

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)


3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3244

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)


3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3244

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)


3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3244

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



3244
3245
3246
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3244

def unknown
  @unknown
end