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.

Instance Attribute Summary collapse

Instance Attribute Details

#allocated_capacityInteger

The number of capacity units allocated to this job.

Returns:

  • (Integer)


3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3894

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.

Returns:



3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3894

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.



3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3894

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 parameters for this job.

Returns:

  • (Hash<String,String>)


3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3894

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)


3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3894

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.



3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3894

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

#log_uriString

Location of the logs for this job.

Returns:

  • (String)


3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3894

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)


3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3894

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

#roleString

The role associated with this job.

Returns:

  • (String)


3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3894

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