v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142021,119944.8 KB

Gets code to perform a specified mapping.

post/#X-Amz-Target=AWSGlue.GetPlan

Headers

X-Amz-Target'AWSGlue.GetPlan' required

Request body

Language'PYTHON' | 'SCALA'

The programming language of the code to perform the mapping.

AdditionalPlanOptionsMapobject
<p>A map to hold additional optional key-value parameters.</p> <p>Currently, these key-value pairs are supported:</p> <ul> <li> <p> <code>inferSchema</code>  —  Specifies whether to set <code>inferSchema</code> to true or false for the default script generated by an Glue job. For example, to set <code>inferSchema</code> to true, pass the following key value pair:</p> <p> <code>--additional-plan-options-map '{"inferSchema":"true"}'</code> </p> </li> </ul>

Response

Success

PythonScriptstring

A Python script to perform the mapping.

ScalaCodestring

The Scala code to perform the mapping.