Skip to content

TransformJob

Source code in docs_src/capo_sagemaker/types/transform_job.py
class TransformJob(TypedDict, closed=True):
    transform_job_name: NotRequired[
        "capo_sagemaker.types.transform_job_name.TransformJobName"
    ]
    """<p>The name of the transform job.</p>"""
    transform_job_arn: NotRequired[
        "capo_sagemaker.types.transform_job_arn.TransformJobArn"
    ]
    """<p>The Amazon Resource Name (ARN) of the transform job.</p>"""
    transform_job_status: NotRequired[
        "capo_sagemaker.types.transform_job_status.TransformJobStatus"
    ]
    """<p>The status of the transform job.</p> <p>Transform job statuses are:</p> <ul> <li> <p> <code>InProgress</code> - The job is in progress.</p> </li> <li> <p> <code>Completed</code> - The job has completed.</p> </li> <li> <p> <code>Failed</code> - The transform job has failed. To see the reason for the failure, see the <code>FailureReason</code> field in the response to a <code>DescribeTransformJob</code> call.</p> </li> <li> <p> <code>Stopping</code> - The transform job is stopping.</p> </li> <li> <p> <code>Stopped</code> - The transform job has stopped.</p> </li> </ul>"""
    failure_reason: NotRequired["capo_sagemaker.types.failure_reason.FailureReason"]
    """<p>If the transform job failed, the reason it failed.</p>"""
    model_name: NotRequired["capo_sagemaker.types.model_name.ModelName"]
    """<p>The name of the model associated with the transform job.</p>"""
    max_concurrent_transforms: NotRequired[
        "capo_sagemaker.types.max_concurrent_transforms.MaxConcurrentTransforms"
    ]
    """<p>The maximum number of parallel requests that can be sent to each instance in a transform job. If <code>MaxConcurrentTransforms</code> is set to 0 or left unset, SageMaker checks the optional execution-parameters to determine the settings for your chosen algorithm. If the execution-parameters endpoint is not enabled, the default value is 1. For built-in algorithms, you don't need to set a value for <code>MaxConcurrentTransforms</code>.</p>"""
    model_client_config: NotRequired[
        "capo_sagemaker.types.model_client_config.ModelClientConfig"
    ]
    max_payload_in_mb: NotRequired[
        "capo_sagemaker.types.max_payload_in_mb.MaxPayloadInMB"
    ]
    """<p>The maximum allowed size of the payload, in MB. A payload is the data portion of a record (without metadata). The value in <code>MaxPayloadInMB</code> must be greater than, or equal to, the size of a single record. To estimate the size of a record in MB, divide the size of your dataset by the number of records. To ensure that the records fit within the maximum payload size, we recommend using a slightly larger value. The default value is 6 MB. For cases where the payload might be arbitrarily large and is transmitted using HTTP chunked encoding, set the value to 0. This feature works only in supported algorithms. Currently, SageMaker built-in algorithms do not support HTTP chunked encoding.</p>"""
    batch_strategy: NotRequired["capo_sagemaker.types.batch_strategy.BatchStrategy"]
    """<p>Specifies the number of records to include in a mini-batch for an HTTP inference request. A record is a single unit of input data that inference can be made on. For example, a single line in a CSV file is a record.</p>"""
    environment: NotRequired[
        "capo_sagemaker.types.transform_environment_map.TransformEnvironmentMap"
    ]
    """<p>The environment variables to set in the Docker container. We support up to 16 key and values entries in the map.</p>"""
    transform_input: NotRequired["capo_sagemaker.types.transform_input.TransformInput"]
    transform_output: NotRequired[
        "capo_sagemaker.types.transform_output.TransformOutput"
    ]
    data_capture_config: NotRequired[
        "capo_sagemaker.types.batch_data_capture_config.BatchDataCaptureConfig"
    ]
    transform_resources: NotRequired[
        "capo_sagemaker.types.transform_resources.TransformResources"
    ]
    creation_time: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>A timestamp that shows when the transform Job was created.</p>"""
    transform_start_time: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>Indicates when the transform job starts on ML instances. You are billed for the time interval between this time and the value of <code>TransformEndTime</code>.</p>"""
    transform_end_time: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>Indicates when the transform job has been completed, or has stopped or failed. You are billed for the time interval between this time and the value of <code>TransformStartTime</code>.</p>"""
    labeling_job_arn: NotRequired[
        "capo_sagemaker.types.labeling_job_arn.LabelingJobArn"
    ]
    """<p>The Amazon Resource Name (ARN) of the labeling job that created the transform job.</p>"""
    auto_ml_job_arn: NotRequired["capo_sagemaker.types.auto_ml_job_arn.AutoMLJobArn"]
    """<p>The Amazon Resource Name (ARN) of the AutoML job that created the transform job.</p>"""
    data_processing: NotRequired["capo_sagemaker.types.data_processing.DataProcessing"]
    experiment_config: NotRequired[
        "capo_sagemaker.types.experiment_config.ExperimentConfig"
    ]
    tags: NotRequired["capo_sagemaker.types.tag_list.TagList"]
    """<p>A list of tags associated with the transform job.</p>"""

auto_ml_job_arn instance-attribute

auto_ml_job_arn: NotRequired[AutoMLJobArn]

The Amazon Resource Name (ARN) of the AutoML job that created the transform job.

batch_strategy instance-attribute

batch_strategy: NotRequired[BatchStrategy]

Specifies the number of records to include in a mini-batch for an HTTP inference request. A record is a single unit of input data that inference can be made on. For example, a single line in a CSV file is a record.

creation_time instance-attribute

creation_time: NotRequired[Timestamp]

A timestamp that shows when the transform Job was created.

data_capture_config instance-attribute

data_capture_config: NotRequired[BatchDataCaptureConfig]

data_processing instance-attribute

data_processing: NotRequired[DataProcessing]

environment instance-attribute

environment: NotRequired[TransformEnvironmentMap]

The environment variables to set in the Docker container. We support up to 16 key and values entries in the map.

experiment_config instance-attribute

experiment_config: NotRequired[ExperimentConfig]

failure_reason instance-attribute

failure_reason: NotRequired[FailureReason]

If the transform job failed, the reason it failed.

labeling_job_arn instance-attribute

labeling_job_arn: NotRequired[LabelingJobArn]

The Amazon Resource Name (ARN) of the labeling job that created the transform job.

max_concurrent_transforms instance-attribute

max_concurrent_transforms: NotRequired[MaxConcurrentTransforms]

The maximum number of parallel requests that can be sent to each instance in a transform job. If MaxConcurrentTransforms is set to 0 or left unset, SageMaker checks the optional execution-parameters to determine the settings for your chosen algorithm. If the execution-parameters endpoint is not enabled, the default value is 1. For built-in algorithms, you don't need to set a value for MaxConcurrentTransforms.

max_payload_in_mb instance-attribute

max_payload_in_mb: NotRequired[MaxPayloadInMB]

The maximum allowed size of the payload, in MB. A payload is the data portion of a record (without metadata). The value in MaxPayloadInMB must be greater than, or equal to, the size of a single record. To estimate the size of a record in MB, divide the size of your dataset by the number of records. To ensure that the records fit within the maximum payload size, we recommend using a slightly larger value. The default value is 6 MB. For cases where the payload might be arbitrarily large and is transmitted using HTTP chunked encoding, set the value to 0. This feature works only in supported algorithms. Currently, SageMaker built-in algorithms do not support HTTP chunked encoding.

model_client_config instance-attribute

model_client_config: NotRequired[ModelClientConfig]

model_name instance-attribute

model_name: NotRequired[ModelName]

The name of the model associated with the transform job.

tags instance-attribute

tags: NotRequired[TagList]

A list of tags associated with the transform job.

transform_end_time instance-attribute

transform_end_time: NotRequired[Timestamp]

Indicates when the transform job has been completed, or has stopped or failed. You are billed for the time interval between this time and the value of TransformStartTime.

transform_input instance-attribute

transform_input: NotRequired[TransformInput]

transform_job_arn instance-attribute

transform_job_arn: NotRequired[TransformJobArn]

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

transform_job_name instance-attribute

transform_job_name: NotRequired[TransformJobName]

The name of the transform job.

transform_job_status instance-attribute

transform_job_status: NotRequired[TransformJobStatus]

The status of the transform job.

Transform job statuses are:

  • InProgress - The job is in progress.

  • Completed - The job has completed.

  • Failed - The transform job has failed. To see the reason for the failure, see the FailureReason field in the response to a DescribeTransformJob call.

  • Stopping - The transform job is stopping.

  • Stopped - The transform job has stopped.

transform_output instance-attribute

transform_output: NotRequired[TransformOutput]

transform_resources instance-attribute

transform_resources: NotRequired[TransformResources]

transform_start_time instance-attribute

transform_start_time: NotRequired[Timestamp]

Indicates when the transform job starts on ML instances. You are billed for the time interval between this time and the value of TransformEndTime.