You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Glue::Types::TriggerUpdate

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

Overview

Note:

When making an API call, you may pass TriggerUpdate data as a hash:

{
  name: "NameString",
  description: "DescriptionString",
  schedule: "GenericString",
  actions: [
    {
      job_name: "NameString",
      arguments: {
        "GenericString" => "GenericString",
      },
    },
  ],
  predicate: {
    logical: "AND", # accepts AND
    conditions: [
      {
        logical_operator: "EQUALS", # accepts EQUALS
        job_name: "NameString",
        state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED
      },
    ],
  },
}

A structure used to provide information used to updata a trigger.

Instance Attribute Summary collapse

Instance Attribute Details

#actionsArray<Types::Action>

The actions initiated by this trigger.

Returns:



5487
5488
5489
5490
5491
5492
5493
5494
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5487

class TriggerUpdate < Struct.new(
  :name,
  :description,
  :schedule,
  :actions,
  :predicate)
  include Aws::Structure
end

#descriptionString

A description of this trigger.

Returns:

  • (String)


5487
5488
5489
5490
5491
5492
5493
5494
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5487

class TriggerUpdate < Struct.new(
  :name,
  :description,
  :schedule,
  :actions,
  :predicate)
  include Aws::Structure
end

#nameString

The name of the trigger.

Returns:

  • (String)


5487
5488
5489
5490
5491
5492
5493
5494
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5487

class TriggerUpdate < Struct.new(
  :name,
  :description,
  :schedule,
  :actions,
  :predicate)
  include Aws::Structure
end

#predicateTypes::Predicate

The predicate of this trigger, which defines when it will fire.

Returns:



5487
5488
5489
5490
5491
5492
5493
5494
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5487

class TriggerUpdate < Struct.new(
  :name,
  :description,
  :schedule,
  :actions,
  :predicate)
  include Aws::Structure
end

#scheduleString

An updated cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).

Returns:

  • (String)


5487
5488
5489
5490
5491
5492
5493
5494
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5487

class TriggerUpdate < Struct.new(
  :name,
  :description,
  :schedule,
  :actions,
  :predicate)
  include Aws::Structure
end