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

Class: Aws::Glue::Types::CreateJobRequest

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#allocated_capacityInteger

The number of capacity units allocated to this job.

Returns:

  • (Integer)


1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1475

class CreateJobRequest < Struct.new(
  :name,
  :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:



1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1475

class CreateJobRequest < Struct.new(
  :name,
  :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.



1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1475

class CreateJobRequest < Struct.new(
  :name,
  :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>)


1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1475

class CreateJobRequest < Struct.new(
  :name,
  :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)


1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1475

class CreateJobRequest < Struct.new(
  :name,
  :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.



1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1475

class CreateJobRequest < Struct.new(
  :name,
  :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)


1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1475

class CreateJobRequest < Struct.new(
  :name,
  :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)


1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1475

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

#nameString

The name you assign to this job.

Returns:

  • (String)


1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1475

class CreateJobRequest < Struct.new(
  :name,
  :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)


1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1475

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