Skip to content

TransformJobDefinition

Source code in docs_src/capo_sagemaker/types/transform_job_definition.py
class TransformJobDefinition(TypedDict, closed=True):
    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. The default value is 1.</p>"""
    max_payload_in_mb: NotRequired[
        "capo_sagemaker.types.max_payload_in_mb.MaxPayloadInMB"
    ]
    """<p>The maximum payload size allowed, in MB. A payload is the data portion of a record (without metadata).</p>"""
    batch_strategy: NotRequired["capo_sagemaker.types.batch_strategy.BatchStrategy"]
    """<p>A string that determines the number of records included in a single mini-batch.</p> <p> <code>SingleRecord</code> means only one record is used per mini-batch. <code>MultiRecord</code> means a mini-batch is set to contain as many records that can fit within the <code>MaxPayloadInMB</code> limit.</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"]
    """<p>A description of the input source and the way the transform job consumes it.</p>"""
    transform_output: NotRequired[
        "capo_sagemaker.types.transform_output.TransformOutput"
    ]
    """<p>Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.</p>"""
    transform_resources: NotRequired[
        "capo_sagemaker.types.transform_resources.TransformResources"
    ]
    """<p>Identifies the ML compute instances for the transform job.</p>"""

batch_strategy instance-attribute

batch_strategy: NotRequired[BatchStrategy]

A string that determines the number of records included in a single mini-batch.

SingleRecord means only one record is used per mini-batch. MultiRecord means a mini-batch is set to contain as many records that can fit within the MaxPayloadInMB limit.

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.

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. The default value is 1.

max_payload_in_mb instance-attribute

max_payload_in_mb: NotRequired[MaxPayloadInMB]

The maximum payload size allowed, in MB. A payload is the data portion of a record (without metadata).

transform_input instance-attribute

transform_input: NotRequired[TransformInput]

A description of the input source and the way the transform job consumes it.

transform_output instance-attribute

transform_output: NotRequired[TransformOutput]

Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.

transform_resources instance-attribute

transform_resources: NotRequired[TransformResources]

Identifies the ML compute instances for the transform job.