HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/awscli/customizations/emr/__pycache__/emr.cpython-36.opt-1.pyc
3

�T_��@s�ddlmZddlmZddlmZddlmZddlmZddl	m
Z
ddlmZddl
mZdd	lmZdd
lmZddlmZdd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|jdt�|jdt�|jdt�|jdt�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)Zcli�r�/usr/lib/python3.6/emr.py�emr_initializesrcKs�t|�|d<t|�|d<t|�|d<t|�|d<t|�|d<t|�|d<tj|�|d<tj|�|d<tj	|�|d	<tj
|�|d
<t|�|d<t|�|d<t
j|�|d
<t
j|�|d<t
j|�|d<t
j|�|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-groupsrZsocks�getZputN)rr
rr	rrrZRestoreFromHBaseBackupZCreateHBaseBackupZScheduleHBaseBackupZDisableHBaseBackupsrrrZSSHZSocksZGetZPut)Z
command_tableZsession�kwargsrrrr+s rN)Zawscli.customizations.emrrrZ"awscli.customizations.emr.addstepsrZ'awscli.customizations.emr.createclusterrZ+awscli.customizations.emr.addinstancegroupsrZ,awscli.customizations.emr.createdefaultrolesrZ1awscli.customizations.emr.modifyclusterattributesrZ-awscli.customizations.emr.installapplicationsr	Z)awscli.customizations.emr.describeclusterr
Z+awscli.customizations.emr.terminateclustersrZ!awscli.customizations.emr.addtagsrZ&awscli.customizations.emr.listclustersr
Z!awscli.customizations.emr.commandrrrrrrr�<module>s