Skip to content

/AWS1/CL_SGMTRANSFORMJOBDEFN

Defines the input needed to run a transform job using the inference specification specified in the algorithm.

CONSTRUCTOR

IMPORTING

Required arguments:

io_transforminput TYPE REF TO /AWS1/CL_SGMTRANSFORMINPUT /AWS1/CL_SGMTRANSFORMINPUT

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

io_transformoutput TYPE REF TO /AWS1/CL_SGMTRANSFORMOUTPUT /AWS1/CL_SGMTRANSFORMOUTPUT

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

io_transformresources TYPE REF TO /AWS1/CL_SGMTRANSFORMRESOURCES /AWS1/CL_SGMTRANSFORMRESOURCES

Identifies the ML compute instances for the transform job.

Optional arguments:

iv_maxconcurrenttransforms TYPE /AWS1/SGMMAXCONCURRENTTRANSF00 /AWS1/SGMMAXCONCURRENTTRANSF00

The maximum number of parallel requests that can be sent to each instance in a transform job. The default value is 1.

iv_maxpayloadinmb TYPE /AWS1/SGMMAXPAYLOADINMB /AWS1/SGMMAXPAYLOADINMB

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

iv_batchstrategy TYPE /AWS1/SGMBATCHSTRATEGY /AWS1/SGMBATCHSTRATEGY

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.

it_environment TYPE /AWS1/CL_SGMTRANSFORMENVIRON00=>TT_TRANSFORMENVIRONMENTMAP TT_TRANSFORMENVIRONMENTMAP

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


Queryable Attributes

MaxConcurrentTransforms

The maximum number of parallel requests that can be sent to each instance in a transform job. The default value is 1.

Accessible with the following methods

Method Description
GET_MAXCONCURRENTTRANSFORMS() Getter for MAXCONCURRENTTRANSFORMS, with configurable defaul
ASK_MAXCONCURRENTTRANSFORMS() Getter for MAXCONCURRENTTRANSFORMS w/ exceptions if field ha
HAS_MAXCONCURRENTTRANSFORMS() Determine if MAXCONCURRENTTRANSFORMS has a value

MaxPayloadInMB

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

Accessible with the following methods

Method Description
GET_MAXPAYLOADINMB() Getter for MAXPAYLOADINMB, with configurable default
ASK_MAXPAYLOADINMB() Getter for MAXPAYLOADINMB w/ exceptions if field has no valu
HAS_MAXPAYLOADINMB() Determine if MAXPAYLOADINMB has a value

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.

Accessible with the following methods

Method Description
GET_BATCHSTRATEGY() Getter for BATCHSTRATEGY, with configurable default
ASK_BATCHSTRATEGY() Getter for BATCHSTRATEGY w/ exceptions if field has no value
HAS_BATCHSTRATEGY() Determine if BATCHSTRATEGY has a value

Environment

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

Accessible with the following methods

Method Description
GET_ENVIRONMENT() Getter for ENVIRONMENT, with configurable default
ASK_ENVIRONMENT() Getter for ENVIRONMENT w/ exceptions if field has no value
HAS_ENVIRONMENT() Determine if ENVIRONMENT has a value

TransformInput

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

Accessible with the following methods

Method Description
GET_TRANSFORMINPUT() Getter for TRANSFORMINPUT

TransformOutput

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

Accessible with the following methods

Method Description
GET_TRANSFORMOUTPUT() Getter for TRANSFORMOUTPUT

TransformResources

Identifies the ML compute instances for the transform job.

Accessible with the following methods

Method Description
GET_TRANSFORMRESOURCES() Getter for TRANSFORMRESOURCES