o
    Ü!d¹  ã                   @   s°   d dl mZ d dl mZ d dlmZ d dlmZ d dlmZ d dl	m
Z
 d dlmZ d dlmZ d d	lmZ d d
lmZ d dlmZ d dlmZ d dlmZ dd„ Zdd„ ZdS )é    )Úhbase)Ússh)ÚAddSteps)ÚCreateCluster)ÚAddInstanceGroups)ÚCreateDefaultRoles)ÚModifyClusterAttr)ÚInstallApplications)ÚDescribeCluster)ÚTerminateClusters)Úmodify_tags_argument)Úmodify_list_clusters_argument)Úoverride_args_required_optionc                 C   s4   |   dt¡ |   dt¡ |   dt¡ |   dt¡ dS )z6
    The entry point for EMR high level commands.
    zbuilding-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   úAusr/lib/python3.10/site-packages/awscli/customizations/emr/emr.pyÚemr_initialize   s   þÿr   c                 K   sÔ   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< dS )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.
    zterminate-clusterszdescribe-clusterzmodify-cluster-attributeszinstall-applicationszcreate-clusterz	add-stepszrestore-from-hbase-backupzcreate-hbase-backupzschedule-hbase-backupzdisable-hbase-backupszcreate-default-roleszadd-instance-groupsr   ZsocksÚgetÚputN)r   r
   r   r	   r   r   r   ZRestoreFromHBaseBackupZCreateHBaseBackupZScheduleHBaseBackupZDisableHBaseBackupsr   r   r   ZSSHZSocksZGetZPut)Zcommand_tableZsessionÚkwargsr   r   r   r   +   s$   ÿÿr   N)Zawscli.customizations.emrr   r   Z"awscli.customizations.emr.addstepsr   Z'awscli.customizations.emr.createclusterr   Z+awscli.customizations.emr.addinstancegroupsr   Z,awscli.customizations.emr.createdefaultrolesr   Z1awscli.customizations.emr.modifyclusterattributesr   Z-awscli.customizations.emr.installapplicationsr	   Z)awscli.customizations.emr.describeclusterr
   Z+awscli.customizations.emr.terminateclustersr   Z!awscli.customizations.emr.addtagsr   Z&awscli.customizations.emr.listclustersr   Z!awscli.customizations.emr.commandr   r   r   r   r   r   r   Ú<module>   s   