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/__pycache__/removals.cpython-36.pyc
3

�T_�
�@sFdZddlZddlmZeje�Zdd�ZGdd�de�Z	dd	�Z
dS)
z�
Remove deprecated commands
--------------------------

This customization removes commands that are either deprecated or not
yet fully supported.

�N)�partialc
Cs`t|�}|jddddgd�|jdddgd�|jd	d
ddd
ddddgd�|jddgd�dS)Nzbuilding-command-table.seszdelete-verified-email-addresszlist-verified-email-addresseszverify-email-address)�on_event�remove_commandszbuilding-command-table.ec2zimport-instancez
import-volumezbuilding-command-table.emrzrun-job-flowzdescribe-job-flowszadd-job-flow-stepszterminate-job-flowszlist-bootstrap-actionszlist-instance-groupszset-termination-protectionzset-visible-to-all-userszbuilding-command-table.kinesiszsubscribe-to-shard)�CommandRemover�remove)Z
event_handlerZcmd_remover�r�/usr/lib/python3.6/removals.py�register_removalss"

r	c@s$eZdZdd�Zdd�Zdd�ZdS)rcCs
||_dS)N)�_events)�selfZeventsrrr�__init__0szCommandRemover.__init__cCs|jj||j|��dS)N)r
�register�_create_remover)rrrrrrr3szCommandRemover.removecCstt|d�S)N)�commands_to_remove)r�_remove_commands)rrrrrr7szCommandRemover._create_removerN)�__name__�
__module__�__qualname__rrrrrrrr/srcKsJxD|D]<}ytjd|�||=Wqtk
r@tjd|�YqXqWdS)NzRemoving operation: %sz4Attempting to delete command that does not exist: %s)�LOG�debug�KeyErrorZwarning)Z
command_tabler�kwargsZcommandrrrr;s

r)�__doc__Zlogging�	functoolsrZ	getLoggerrrr	�objectrrrrrr�<module>s