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

Class: Aws::Glue::Types::JobUpdate

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

{
  description: "DescriptionString",
  log_uri: "UriString",
  role: "RoleString",
  execution_property: {
    max_concurrent_runs: 1,
  },
  command: {
    name: "GenericString",
    script_location: "ScriptLocationString",
  },
  default_arguments: {
    "GenericString" => "GenericString",
  },
  connections: {
    connections: ["GenericString"],
  },
  max_retries: 1,
  allocated_capacity: 1,
}

Specifies information used to update an existing job. Note that the previous job definition will be completely overwritten by this information.

Instance Attribute Summary collapse

Instance Attribute Details

#allocated_capacityInteger

The number of AWS Glue data processing units (DPUs) to allocate to this Job. From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page.

Returns:

  • (Integer)


4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4498

class JobUpdate < Struct.new(
  :description,
  :log_uri,
  :role,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity)
  include Aws::Structure
end

#commandTypes::JobCommand

The JobCommand that executes this job (required).

Returns:



4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4498

class JobUpdate < Struct.new(
  :description,
  :log_uri,
  :role,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity)
  include Aws::Structure
end

#connectionsTypes::ConnectionsList

The connections used for this job.



4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4498

class JobUpdate < Struct.new(
  :description,
  :log_uri,
  :role,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity)
  include Aws::Structure
end

#default_argumentsHash<String,String>

The default arguments for this job.

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>)


4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4498

class JobUpdate < Struct.new(
  :description,
  :log_uri,
  :role,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity)
  include Aws::Structure
end

#descriptionString

Description of the job.

Returns:

  • (String)


4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4498

class JobUpdate < Struct.new(
  :description,
  :log_uri,
  :role,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity)
  include Aws::Structure
end

#execution_propertyTypes::ExecutionProperty

An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.



4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4498

class JobUpdate < Struct.new(
  :description,
  :log_uri,
  :role,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity)
  include Aws::Structure
end

#log_uriString

This field is reserved for future use.

Returns:

  • (String)


4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4498

class JobUpdate < Struct.new(
  :description,
  :log_uri,
  :role,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity)
  include Aws::Structure
end

#max_retriesInteger

The maximum number of times to retry this job if it fails.

Returns:

  • (Integer)


4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4498

class JobUpdate < Struct.new(
  :description,
  :log_uri,
  :role,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity)
  include Aws::Structure
end

#roleString

The name of the IAM role associated with this job (required).

Returns:

  • (String)


4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4498

class JobUpdate < Struct.new(
  :description,
  :log_uri,
  :role,
  :execution_property,
  :command,
  :default_arguments,
  :connections,
  :max_retries,
  :allocated_capacity)
  include Aws::Structure
end