HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/awscli/customizations/__pycache__/removals.cpython-310.pyc
o

.&�aK�@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)�partialcCsbt|�}|jdgd�d�|jdddgd�|jdgd�d�|jd	d
gd�|jddgd�dS)
Nzbuilding-command-table.ses)zdelete-verified-email-addresszlist-verified-email-addresseszverify-email-address)�on_event�remove_commandszbuilding-command-table.ec2zimport-instancez
import-volumezbuilding-command-table.emr)zrun-job-flowzdescribe-job-flowszadd-job-flow-stepszterminate-job-flowszlist-bootstrap-actionszlist-instance-groupszset-termination-protectionzset-visible-to-all-userszbuilding-command-table.kinesiszsubscribe-to-shardz$building-command-table.lexv2-runtimezstart-conversation)�CommandRemover�remove)�
event_handler�cmd_remover�r	�@/usr/lib/python3/dist-packages/awscli/customizations/removals.py�register_removalss ����
�rc@s$eZdZdd�Zdd�Zdd�ZdS)rcCs
||_dS�N)�_events)�self�eventsr	r	r
�__init__1s
zCommandRemover.__init__cCs|j�||�|��dSr)r
�register�_create_remover)rrrr	r	r
r4s�zCommandRemover.removecCstt|d�S)N)�commands_to_remove)r�_remove_commands)rrr	r	r
r8szCommandRemover._create_removerN)�__name__�
__module__�__qualname__rrrr	r	r	r
r0src	KsB|D]}zt�d|�||=Wqtyt�d|�YqwdS)NzRemoving operation: %sz4Attempting to delete command that does not exist: %s)�LOG�debug�KeyError�warning)�
command_tabler�kwargs�commandr	r	r
r<s
���r)�__doc__�logging�	functoolsr�	getLoggerrrr�objectrrr	r	r	r
�<module>s