B2BI / Client / start_transformer_job
start_transformer_job#
- B2BI.Client.start_transformer_job(**kwargs)#
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.See also: AWS API Documentation
Request Syntax
response = client.start_transformer_job( inputFile={ 'bucketName': 'string', 'key': 'string' }, outputLocation={ 'bucketName': 'string', 'key': 'string' }, transformerId='string', clientToken='string' )
- Parameters:
inputFile (dict) –
[REQUIRED]
Specifies the location of the input file for the transformation. The location consists of an Amazon S3 bucket and prefix.
bucketName (string) –
Specifies the name of the Amazon S3 bucket.
key (string) –
Specifies the Amazon S3 key for the file location.
outputLocation (dict) –
[REQUIRED]
Specifies the location of the output file for the transformation. The location consists of an Amazon S3 bucket and prefix.
bucketName (string) –
Specifies the name of the Amazon S3 bucket.
key (string) –
Specifies the Amazon S3 key for the file location.
transformerId (string) –
[REQUIRED]
Specifies the system-assigned unique identifier for the transformer.
clientToken (string) –
Reserved for future use.
This field is autopopulated if not provided.
- Return type:
dict
- Returns:
Response Syntax
{ 'transformerJobId': 'string' }
Response Structure
(dict) –
transformerJobId (string) –
Returns the unique, system-generated identifier for a transformer run.
Exceptions
B2BI.Client.exceptions.ConflictException
B2BI.Client.exceptions.AccessDeniedException
B2BI.Client.exceptions.ValidationException
B2BI.Client.exceptions.ThrottlingException
B2BI.Client.exceptions.ResourceNotFoundException
B2BI.Client.exceptions.InternalServerException