Class: Aws::Batch::Types::SubmitServiceJobRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::SubmitServiceJobRequest
- Defined in:
- gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#client_token ⇒ String
A unique identifier for the request.
-
#job_name ⇒ String
The name of the service job.
-
#job_queue ⇒ String
The job queue into which the service job is submitted.
-
#retry_strategy ⇒ Types::ServiceJobRetryStrategy
The retry strategy to use for failed service jobs that are submitted with this service job request.
-
#scheduling_priority ⇒ Integer
The scheduling priority of the service job.
-
#service_job_type ⇒ String
The type of service job.
-
#service_request_payload ⇒ String
The request, in JSON, for the service that the SubmitServiceJob operation is queueing.
-
#share_identifier ⇒ String
The share identifier for the service job.
-
#tags ⇒ Hash<String,String>
The tags that you apply to the service job request.
-
#timeout_config ⇒ Types::ServiceJobTimeout
The timeout configuration for the service job.
Instance Attribute Details
#client_token ⇒ String
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 clientToken
s 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.
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_name ⇒ String
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 (_).
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_queue ⇒ String
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
.
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_strategy ⇒ Types::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_priority ⇒ Integer
The scheduling priority of the service job. Valid values are integers between 0 and 9999.
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_type ⇒ String
The type of service job. For SageMaker Training jobs, specify
SAGEMAKER_TRAINING
.
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_payload ⇒ String
The request, in JSON, for the service that the SubmitServiceJob operation is queueing.
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_identifier ⇒ String
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.
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 |
#tags ⇒ Hash<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.
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_config ⇒ Types::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 |