o .&a@sPddlmZddlmZddlmZddlmZddlmZGdddeZdS) )argumentschema)emrutils)helptext) steputils)Commandc@s>eZdZdZdZddejddddejej dgZ d d Z d S) AddStepsz add-stepsz!Add a list of steps to a cluster.z cluster-idT)namerequired help_textsteps+)rr nargsschemar cCsV|j}t|j|j|j|j|j}tj ||j|d}|j|d}t |jd||dS)N)parsed_step_listregion release_label) JobFlowIdStepsAddJobFlowStepsr) r rget_release_label cluster_id_sessionr endpoint_url verify_sslrbuild_step_config_listcall_and_display_response)self parsed_argsparsed_globals parsed_stepsr step_list parametersr"D/usr/lib/python3/dist-packages/awscli/customizations/emr/addsteps.py_run_main_command$s   zAddSteps._run_main_commandN) __name__ __module__ __qualname__NAME DESCRIPTIONr CLUSTER_IDr STEPS_SCHEMASTEPS ARG_TABLEr$r"r"r"r#rs rN)awscli.customizations.emrrrrr!awscli.customizations.emr.commandrrr"r"r"r#s