startTransformerJob

Runs a job, using a transformer, to parse input EDI (electronic data interchange) file into the output structures used by Amazon Web Services B2BI Data Interchange.

If you only want to transform EDI (electronic data interchange) documents, you don't need to create profiles, partnerships or capabilities. Just create and configure a transformer, and then run the StartTransformerJob API to process your files.

Samples


fun main() { 
   //sampleStart 
   // Sample StartTransformerJob call
val resp = b2BiClient.startTransformerJob {
    clientToken = "foo"
    inputFile = S3Location {
        bucketName = "test-bucket"
        key = "input/inputFile.txt"
    }
    outputLocation = S3Location {
        bucketName = "test-bucket"
        key = "output/"
    }
    transformerId = "tr-974c129999f84d8c9"
} 
   //sampleEnd
}