HEX
Server: Apache
System: Linux srv1.prosuiteplus.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: prosuiteplus (1001)
PHP: 8.3.20
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/awscli/customizations/__pycache__/removals.cpython-38.pyc
U

<�^�
�@sFdZddlZddlmZe�e�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/dist-packages/awscli/customizations/removals.py�register_removalss.������r	c@s$eZdZdd�Zdd�Zdd�ZdS)rcCs
||_dS�N)�_events)�selfZeventsrrr�__init__0szCommandRemover.__init__cCs|j�||�|��dSr
)r�register�_create_remover)rrrrrrr3s�zCommandRemover.removecCstt|d�S)N)�commands_to_remove)r�_remove_commands)rrrrrr7szCommandRemover._create_removerN)�__name__�
__module__�__qualname__r
rrrrrrr/src	KsF|D]<}zt�d|�||=Wqtk
r>t�d|�YqXqdS)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