Skip to content

DescribeServiceJobResponse

Source code in docs_src/capo_batch/types/describe_service_job_response.py
class DescribeServiceJobResponse(TypedDict, closed=True):
    attempts: NotRequired[
        "capo_batch.types.service_job_attempt_details.ServiceJobAttemptDetails"
    ]
    """<p>A list of job attempts associated with the service job.</p>"""
    capacity_usage: NotRequired[
        "capo_batch.types.service_job_capacity_usage_detail_list.ServiceJobCapacityUsageDetailList"
    ]
    """<p>The configured capacity for the service job, such as the number of instances. The number of instances should be the same value as the <code>serviceRequestPayload.InstanceCount</code> field.</p>"""
    created_at: NotRequired["capo_batch.types.long.Long"]
    """<p>The Unix timestamp (in milliseconds) for when the service job was created.</p>"""
    is_terminated: NotRequired["capo_batch.types.boolean.Boolean"]
    """<p>Indicates whether the service job has been terminated.</p>"""
    job_arn: NotRequired["capo_batch.types.string.String"]
    """<p>The Amazon Resource Name (ARN) of the service job.</p>"""
    job_id: NotRequired["capo_batch.types.string.String"]
    """<p>The job ID for the service job.</p>"""
    job_name: NotRequired["capo_batch.types.string.String"]
    """<p>The name of the service job.</p>"""
    job_queue: NotRequired["capo_batch.types.string.String"]
    """<p>The ARN of the job queue that the service job is associated with.</p>"""
    latest_attempt: NotRequired[
        "capo_batch.types.latest_service_job_attempt.LatestServiceJobAttempt"
    ]
    """<p>The latest attempt associated with the service job.</p>"""
    retry_strategy: NotRequired[
        "capo_batch.types.service_job_retry_strategy.ServiceJobRetryStrategy"
    ]
    """<p>The retry strategy to use for failed service jobs that are submitted with this service job.</p>"""
    scheduled_at: NotRequired["capo_batch.types.long.Long"]
    """<p>The Unix timestamp (in milliseconds) for when the service job was scheduled. This represents when the service job was dispatched to SageMaker and the service job transitioned to the <code>SCHEDULED</code> state.</p>"""
    scheduling_priority: NotRequired["capo_batch.types.integer.Integer"]
    """<p>The scheduling priority of the service job. </p>"""
    service_request_payload: NotRequired["capo_batch.types.string.String"]
    """<p>The request, in JSON, for the service that the <code>SubmitServiceJob</code> operation is queueing. </p>"""
    service_job_type: NotRequired["capo_batch.types.service_job_type.ServiceJobType"]
    """<p>The type of service job. For SageMaker Training jobs, this value is <code>SAGEMAKER_TRAINING</code>.</p>"""
    share_identifier: NotRequired["capo_batch.types.string.String"]
    """<p>The share identifier for the service job. This is used for fair-share scheduling.</p>"""
    quota_share_name: NotRequired["capo_batch.types.string.String"]
    """<p>The name of the quota share that the service job is associated with.</p>"""
    preemption_configuration: NotRequired[
        "capo_batch.types.service_job_preemption_configuration.ServiceJobPreemptionConfiguration"
    ]
    """<p>Specifies the service job behavior when preempted.</p>"""
    preemption_summary: NotRequired[
        "capo_batch.types.service_job_preemption_summary.ServiceJobPreemptionSummary"
    ]
    """<p>Summarizes the preemptions of the service job. This field appears on a service job when it has been preempted.</p>"""
    started_at: NotRequired["capo_batch.types.long.Long"]
    """<p>The Unix timestamp (in milliseconds) for when the service job was started.</p>"""
    status: NotRequired["capo_batch.types.service_job_status.ServiceJobStatus"]
    """<p>The current status of the service job. </p>"""
    status_reason: NotRequired["capo_batch.types.string.String"]
    """<p>A short, human-readable string to provide more details for the current status of the service job.</p>"""
    stopped_at: NotRequired["capo_batch.types.long.Long"]
    """<p>The Unix timestamp (in milliseconds) for when the service job stopped running.</p>"""
    tags: NotRequired["capo_batch.types.tagris_tags_map.TagrisTagsMap"]
    """<p>The tags that are associated with the service job. Each tag consists of a key and an optional value. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html">Tagging your Batch resources</a>.</p>"""
    timeout_config: NotRequired[
        "capo_batch.types.service_job_timeout.ServiceJobTimeout"
    ]
    """<p>The timeout configuration for the service job.</p>"""

attempts instance-attribute

attempts: NotRequired[ServiceJobAttemptDetails]

A list of job attempts associated with the service job.

capacity_usage instance-attribute

capacity_usage: NotRequired[ServiceJobCapacityUsageDetailList]

The configured capacity for the service job, such as the number of instances. The number of instances should be the same value as the serviceRequestPayload.InstanceCount field.

created_at instance-attribute

created_at: NotRequired[Long]

The Unix timestamp (in milliseconds) for when the service job was created.

is_terminated instance-attribute

is_terminated: NotRequired[Boolean]

Indicates whether the service job has been terminated.

job_arn instance-attribute

job_arn: NotRequired[String]

The Amazon Resource Name (ARN) of the service job.

job_id instance-attribute

job_id: NotRequired[String]

The job ID for the service job.

job_name instance-attribute

job_name: NotRequired[String]

The name of the service job.

job_queue instance-attribute

job_queue: NotRequired[String]

The ARN of the job queue that the service job is associated with.

latest_attempt instance-attribute

latest_attempt: NotRequired[LatestServiceJobAttempt]

The latest attempt associated with the service job.

preemption_configuration instance-attribute

preemption_configuration: NotRequired[ServiceJobPreemptionConfiguration]

Specifies the service job behavior when preempted.

preemption_summary instance-attribute

preemption_summary: NotRequired[ServiceJobPreemptionSummary]

Summarizes the preemptions of the service job. This field appears on a service job when it has been preempted.

quota_share_name instance-attribute

quota_share_name: NotRequired[String]

The name of the quota share that the service job is associated with.

retry_strategy instance-attribute

retry_strategy: NotRequired[ServiceJobRetryStrategy]

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

scheduled_at instance-attribute

scheduled_at: NotRequired[Long]

The Unix timestamp (in milliseconds) for when the service job was scheduled. This represents when the service job was dispatched to SageMaker and the service job transitioned to the SCHEDULED state.

scheduling_priority instance-attribute

scheduling_priority: NotRequired[Integer]

The scheduling priority of the service job.

service_job_type instance-attribute

service_job_type: NotRequired[ServiceJobType]

The type of service job. For SageMaker Training jobs, this value is SAGEMAKER_TRAINING.

service_request_payload instance-attribute

service_request_payload: NotRequired[String]

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

share_identifier instance-attribute

share_identifier: NotRequired[String]

The share identifier for the service job. This is used for fair-share scheduling.

started_at instance-attribute

started_at: NotRequired[Long]

The Unix timestamp (in milliseconds) for when the service job was started.

status instance-attribute

status: NotRequired[ServiceJobStatus]

The current status of the service job.

status_reason instance-attribute

status_reason: NotRequired[String]

A short, human-readable string to provide more details for the current status of the service job.

stopped_at instance-attribute

stopped_at: NotRequired[Long]

The Unix timestamp (in milliseconds) for when the service job stopped running.

tags instance-attribute

tags: NotRequired[TagrisTagsMap]

The tags that are associated with the service job. Each tag consists of a key and an optional value. For more information, see Tagging your Batch resources.

timeout_config instance-attribute

timeout_config: NotRequired[ServiceJobTimeout]

The timeout configuration for the service job.