Class: Aws::Batch::Types::SubmitServiceJobRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

A unique identifier for the request. This token is used to ensure idempotency of requests. If this parameter is specified and two submit requests with identical payloads and clientTokens are received, these requests are considered the same request and the second request is rejected.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 8740

class SubmitServiceJobRequest < Struct.new(
  :job_name,
  :job_queue,
  :retry_strategy,
  :scheduling_priority,
  :service_request_payload,
  :service_job_type,
  :share_identifier,
  :timeout_config,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#job_nameString

The name of the service job. It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).

Returns:

  • (String)


8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 8740

class SubmitServiceJobRequest < Struct.new(
  :job_name,
  :job_queue,
  :retry_strategy,
  :scheduling_priority,
  :service_request_payload,
  :service_job_type,
  :share_identifier,
  :timeout_config,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#job_queueString

The job queue into which the service job is submitted. You can specify either the name or the ARN of the queue. The job queue must have the type SAGEMAKER_TRAINING.

Returns:

  • (String)


8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 8740

class SubmitServiceJobRequest < Struct.new(
  :job_name,
  :job_queue,
  :retry_strategy,
  :scheduling_priority,
  :service_request_payload,
  :service_job_type,
  :share_identifier,
  :timeout_config,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#retry_strategyTypes::ServiceJobRetryStrategy

The retry strategy to use for failed service jobs that are submitted with this service job request.



8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 8740

class SubmitServiceJobRequest < Struct.new(
  :job_name,
  :job_queue,
  :retry_strategy,
  :scheduling_priority,
  :service_request_payload,
  :service_job_type,
  :share_identifier,
  :timeout_config,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#scheduling_priorityInteger

The scheduling priority of the service job. Valid values are integers between 0 and 9999.

Returns:

  • (Integer)


8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 8740

class SubmitServiceJobRequest < Struct.new(
  :job_name,
  :job_queue,
  :retry_strategy,
  :scheduling_priority,
  :service_request_payload,
  :service_job_type,
  :share_identifier,
  :timeout_config,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#service_job_typeString

The type of service job. For SageMaker Training jobs, specify SAGEMAKER_TRAINING.

Returns:

  • (String)


8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 8740

class SubmitServiceJobRequest < Struct.new(
  :job_name,
  :job_queue,
  :retry_strategy,
  :scheduling_priority,
  :service_request_payload,
  :service_job_type,
  :share_identifier,
  :timeout_config,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#service_request_payloadString

The request, in JSON, for the service that the SubmitServiceJob operation is queueing.

Returns:

  • (String)


8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 8740

class SubmitServiceJobRequest < Struct.new(
  :job_name,
  :job_queue,
  :retry_strategy,
  :scheduling_priority,
  :service_request_payload,
  :service_job_type,
  :share_identifier,
  :timeout_config,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#share_identifierString

The share identifier for the service job. Don't specify this parameter if the job queue doesn't have a fair- share scheduling policy. If the job queue has a fair-share scheduling policy, then this parameter must be specified.

Returns:

  • (String)


8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 8740

class SubmitServiceJobRequest < Struct.new(
  :job_name,
  :job_queue,
  :retry_strategy,
  :scheduling_priority,
  :service_request_payload,
  :service_job_type,
  :share_identifier,
  :timeout_config,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags that you apply to the service job request. Each tag consists of a key and an optional value. For more information, see Tagging your Batch resources.

Returns:

  • (Hash<String,String>)


8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 8740

class SubmitServiceJobRequest < Struct.new(
  :job_name,
  :job_queue,
  :retry_strategy,
  :scheduling_priority,
  :service_request_payload,
  :service_job_type,
  :share_identifier,
  :timeout_config,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#timeout_configTypes::ServiceJobTimeout

The timeout configuration for the service job. If none is specified, Batch defers to the default timeout of the underlying service handling the job.



8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 8740

class SubmitServiceJobRequest < Struct.new(
  :job_name,
  :job_queue,
  :retry_strategy,
  :scheduling_priority,
  :service_request_payload,
  :service_job_type,
  :share_identifier,
  :timeout_config,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end