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

Class: Aws::Glue::Types::UpdateTriggerRequest

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 UpdateTriggerRequest data as a hash:

{
  name: "NameString", # required
  trigger_update: { # required
    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
        },
      ],
    },
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the trigger to update.

Returns:

  • (String)


5836
5837
5838
5839
5840
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5836

class UpdateTriggerRequest < Struct.new(
  :name,
  :trigger_update)
  include Aws::Structure
end

#trigger_updateTypes::TriggerUpdate

The new values with which to update the trigger.



5836
5837
5838
5839
5840
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 5836

class UpdateTriggerRequest < Struct.new(
  :name,
  :trigger_update)
  include Aws::Structure
end