Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: CC-BY-SA-4.0

DescribeTransformJob

Returns information about a transform job.

{
   "[TransformJobName](#SageMaker-DescribeTransformJob-request-TransformJobName)": "string"
}

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

** TransformJobName ** The name of the transform job that you want to view details of.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 63.
Pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9])*
Required: Yes

{
   "[BatchStrategy](#SageMaker-DescribeTransformJob-response-BatchStrategy)": "string",
   "[CreationTime](#SageMaker-DescribeTransformJob-response-CreationTime)": number,
   "[DataProcessing](#SageMaker-DescribeTransformJob-response-DataProcessing)": { 
      "[InputFilter](API_DataProcessing.md#SageMaker-Type-DataProcessing-InputFilter)": "string",
      "[JoinSource](API_DataProcessing.md#SageMaker-Type-DataProcessing-JoinSource)": "string",
      "[OutputFilter](API_DataProcessing.md#SageMaker-Type-DataProcessing-OutputFilter)": "string"
   },
   "[Environment](#SageMaker-DescribeTransformJob-response-Environment)": { 
      "string" : "string" 
   },
   "[FailureReason](#SageMaker-DescribeTransformJob-response-FailureReason)": "string",
   "[LabelingJobArn](#SageMaker-DescribeTransformJob-response-LabelingJobArn)": "string",
   "[MaxConcurrentTransforms](#SageMaker-DescribeTransformJob-response-MaxConcurrentTransforms)": number,
   "[MaxPayloadInMB](#SageMaker-DescribeTransformJob-response-MaxPayloadInMB)": number,
   "[ModelName](#SageMaker-DescribeTransformJob-response-ModelName)": "string",
   "[TransformEndTime](#SageMaker-DescribeTransformJob-response-TransformEndTime)": number,
   "[TransformInput](#SageMaker-DescribeTransformJob-response-TransformInput)": { 
      "[CompressionType](API_TransformInput.md#SageMaker-Type-TransformInput-CompressionType)": "string",
      "[ContentType](API_TransformInput.md#SageMaker-Type-TransformInput-ContentType)": "string",
      "[DataSource](API_TransformInput.md#SageMaker-Type-TransformInput-DataSource)": { 
         "[S3DataSource](API_TransformDataSource.md#SageMaker-Type-TransformDataSource-S3DataSource)": { 
            "[S3DataType](API_TransformS3DataSource.md#SageMaker-Type-TransformS3DataSource-S3DataType)": "string",
            "[S3Uri](API_TransformS3DataSource.md#SageMaker-Type-TransformS3DataSource-S3Uri)": "string"
         }
      },
      "[SplitType](API_TransformInput.md#SageMaker-Type-TransformInput-SplitType)": "string"
   },
   "[TransformJobArn](#SageMaker-DescribeTransformJob-response-TransformJobArn)": "string",
   "[TransformJobName](#SageMaker-DescribeTransformJob-response-TransformJobName)": "string",
   "[TransformJobStatus](#SageMaker-DescribeTransformJob-response-TransformJobStatus)": "string",
   "[TransformOutput](#SageMaker-DescribeTransformJob-response-TransformOutput)": { 
      "[Accept](API_TransformOutput.md#SageMaker-Type-TransformOutput-Accept)": "string",
      "[AssembleWith](API_TransformOutput.md#SageMaker-Type-TransformOutput-AssembleWith)": "string",
      "[KmsKeyId](API_TransformOutput.md#SageMaker-Type-TransformOutput-KmsKeyId)": "string",
      "[S3OutputPath](API_TransformOutput.md#SageMaker-Type-TransformOutput-S3OutputPath)": "string"
   },
   "[TransformResources](#SageMaker-DescribeTransformJob-response-TransformResources)": { 
      "[InstanceCount](API_TransformResources.md#SageMaker-Type-TransformResources-InstanceCount)": number,
      "[InstanceType](API_TransformResources.md#SageMaker-Type-TransformResources-InstanceType)": "string",
      "[VolumeKmsKeyId](API_TransformResources.md#SageMaker-Type-TransformResources-VolumeKmsKeyId)": "string"
   },
   "[TransformStartTime](#SageMaker-DescribeTransformJob-response-TransformStartTime)": number
}

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

** 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.
To enable the batch strategy, you must set SplitType to Line, RecordIO, or TFRecord.
Type: String
Valid Values:MultiRecord | SingleRecord

** CreationTime ** A timestamp that shows when the transform Job was created.
Type: Timestamp

** DataProcessing ** The data structure used to specify the data to be used for inference in a batch transform job and to associate the data that is relevant to the prediction results in the output. The input filter provided allows you to exclude input data that is not needed for inference in a batch transform job. The output filter provided allows you to include input data relevant to interpreting the predictions in the output from the job. For more information, see Associate Prediction Results with their Corresponding Input Records.
Type: DataProcessing object

** Environment ** The environment variables to set in the Docker container. We support up to 16 key and values entries in the map.
Type: String to string map
Key Length Constraints: Maximum length of 1024.
Key Pattern: [a-zA-Z_][a-zA-Z0-9_]*
Value Length Constraints: Maximum length of 10240.
Value Pattern: [\S\s]*

** FailureReason ** If the transform job failed, FailureReason describes why it failed. A transform job creates a log file, which includes error messages, and stores it as an Amazon S3 object. For more information, see Log Amazon SageMaker Events with Amazon CloudWatch.
Type: String
Length Constraints: Maximum length of 1024.

** LabelingJobArn ** The Amazon Resource Name (ARN) of the Amazon SageMaker Ground Truth labeling job that created the transform or training job.
Type: String
Length Constraints: Maximum length of 2048.
Pattern: arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:labeling-job/.*

** MaxConcurrentTransforms ** The maximum number of parallel requests on each instance node that can be launched in a transform job. The default value is 1.
Type: Integer
Valid Range: Minimum value of 0.

** MaxPayloadInMB ** The maximum payload size, in MB, used in the transform job.
Type: Integer
Valid Range: Minimum value of 0.

** ModelName ** The name of the model used in the transform job.
Type: String
Length Constraints: Maximum length of 63.
Pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9])*

** TransformEndTime ** 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.
Type: Timestamp

** TransformInput ** Describes the dataset to be transformed and the Amazon S3 location where it is stored.
Type: TransformInput object

** TransformJobArn ** The Amazon Resource Name (ARN) of the transform job.
Type: String
Length Constraints: Maximum length of 256.
Pattern: arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:transform-job/.*

** TransformJobName ** The name of the transform job.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 63.
Pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9])*

** TransformJobStatus ** The status of the transform job. If the transform job failed, the reason is returned in the FailureReason field.
Type: String
Valid Values:InProgress | Completed | Failed | Stopping | Stopped

** TransformOutput ** Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.
Type: TransformOutput object

** TransformResources ** Describes the resources, including ML instance types and ML instance count, to use for the transform job.
Type: TransformResources object

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

For information about the errors that are common to all actions, see Common Errors.

ResourceNotFound
Resource being access is not found.
HTTP Status Code: 400

For more information about using this API in one of the language-specific AWS SDKs, see the following: + AWS Command Line Interface + AWS SDK for .NET + AWS SDK for C++ + AWS SDK for Go + AWS SDK for Go - Pilot + AWS SDK for Java + AWS SDK for JavaScript + AWS SDK for PHP V3 + AWS SDK for Python + AWS SDK for Ruby V2