o .&ßa¹ ã@s°ddlmZddlmZddlmZddlmZddlmZddl m Z ddl m Z ddl mZdd lmZdd lmZdd lmZdd lmZdd lmZdd„Zdd„ZdS)é)Úhbase)Ússh)ÚAddSteps)Ú CreateCluster)ÚAddInstanceGroups)ÚCreateDefaultRoles)ÚModifyClusterAttr)ÚInstallApplications)ÚDescribeCluster)ÚTerminateClusters)Úmodify_tags_argument)Úmodify_list_clusters_argument)Úoverride_args_required_optioncCs4| dt¡| dt¡| dt¡| dt¡dS)z6 The entry point for EMR high level commands. zbuilding-command-table.emrz$building-argument-table.emr.add-tagsz)building-argument-table.emr.list-clustersz+before-building-argument-table-parser.emr.*N)ÚregisterÚregister_commandsr r r)Úcli©rú?/usr/lib/python3/dist-packages/awscli/customizations/emr/emr.pyÚemr_initializes  þÿrcKsÔt|ƒ|d<t|ƒ|d<t|ƒ|d<t|ƒ|d<t|ƒ|d<t|ƒ|d<t |¡|d<t |¡|d<t  |¡|d <t  |¡|d <t |ƒ|d <t |ƒ|d <t  |¡|d <t  |¡|d<t  |¡|d<t  |¡|d<dS)zÔ Called when the EMR command table is being built. Used to inject new high level commands into the command list. These high level commands must not collide with existing low-level API call names. zterminate-clusterszdescribe-clusterzmodify-cluster-attributeszinstall-applicationszcreate-clusterz add-stepszrestore-from-hbase-backupzcreate-hbase-backupzschedule-hbase-backupzdisable-hbase-backupszcreate-default-roleszadd-instance-groupsrÚsocksÚgetÚputN)r r rr rrrÚRestoreFromHBaseBackupÚCreateHBaseBackupÚScheduleHBaseBackupÚDisableHBaseBackupsrrrÚSSHÚSocksÚGetÚPut)Ú command_tableÚsessionÚkwargsrrrr+s$      ÿÿ  rN)Úawscli.customizations.emrrrÚ"awscli.customizations.emr.addstepsrÚ'awscli.customizations.emr.createclusterrÚ+awscli.customizations.emr.addinstancegroupsrÚ,awscli.customizations.emr.createdefaultrolesrÚ1awscli.customizations.emr.modifyclusterattributesrÚ-awscli.customizations.emr.installapplicationsr Ú)awscli.customizations.emr.describeclusterr Ú+awscli.customizations.emr.terminateclustersr Ú!awscli.customizations.emr.addtagsr Ú&awscli.customizations.emr.listclustersr Ú!awscli.customizations.emr.commandrrrrrrrÚs