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

Class: Aws::Glue::Types::Action

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

{
  job_name: "NameString",
  arguments: {
    "GenericString" => "GenericString",
  },
  timeout: 1,
  security_configuration: "NameString",
  notification_property: {
    notify_delay_after: 1,
  },
  crawler_name: "NameString",
}

Defines an action to be initiated by a trigger.

Instance Attribute Summary collapse

Instance Attribute Details

#argumentsHash<String,String>

The job arguments used when this trigger fires. For this job run, they replace the default arguments set in the job definition itself.

You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.

For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide.

For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.

Returns:

  • (Hash<String,String>)


89
90
91
92
93
94
95
96
97
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 89

class Action < Struct.new(
  :job_name,
  :arguments,
  :timeout,
  :security_configuration,
  :notification_property,
  :crawler_name)
  include Aws::Structure
end

#crawler_nameString

The name of the crawler to be used with this action.

Returns:

  • (String)


89
90
91
92
93
94
95
96
97
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 89

class Action < Struct.new(
  :job_name,
  :arguments,
  :timeout,
  :security_configuration,
  :notification_property,
  :crawler_name)
  include Aws::Structure
end

#job_nameString

The name of a job to be executed.

Returns:

  • (String)


89
90
91
92
93
94
95
96
97
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 89

class Action < Struct.new(
  :job_name,
  :arguments,
  :timeout,
  :security_configuration,
  :notification_property,
  :crawler_name)
  include Aws::Structure
end

#notification_propertyTypes::NotificationProperty

Specifies configuration properties of a job run notification.



89
90
91
92
93
94
95
96
97
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 89

class Action < Struct.new(
  :job_name,
  :arguments,
  :timeout,
  :security_configuration,
  :notification_property,
  :crawler_name)
  include Aws::Structure
end

#security_configurationString

The name of the SecurityConfiguration structure to be used with this action.

Returns:

  • (String)


89
90
91
92
93
94
95
96
97
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 89

class Action < Struct.new(
  :job_name,
  :arguments,
  :timeout,
  :security_configuration,
  :notification_property,
  :crawler_name)
  include Aws::Structure
end

#timeoutInteger

The JobRun timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). This overrides the timeout value set in the parent job.

Returns:

  • (Integer)


89
90
91
92
93
94
95
96
97
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 89

class Action < Struct.new(
  :job_name,
  :arguments,
  :timeout,
  :security_configuration,
  :notification_property,
  :crawler_name)
  include Aws::Structure
end