https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/awscli/customizations/codedeploy/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/customizations/codedeploy/__pycache__/uninstall.cpython-310.pyc
o

.&�a��@sHddlZddlZddlZddlmZmZddlmZGdd�de�ZdS)�N)�validate_instance�validate_region)�BasicCommandc@s,eZdZdZdZdd�Zdd�Zdd�Zd	S)
�	Uninstall�	uninstallzBUninstalls the AWS CodeDeploy Agent from the on-premises instance.c
Cs�|}|j|_t||�t|�|j��z
|�|�|�|�WdStyB}zt	j
��t	j�
d�|��WYd}~dSd}~ww)Nz�ERROR
{0}
Uninstall the AWS CodeDeploy Agent on the on-premises instance by following the instructions in "Configure Existing On-Premises Instances by Using AWS CodeDeploy" in the AWS CodeDeploy User Guide.
)�_session�sessionrr�system�validate_administrator�_uninstall_agent�_delete_config_file�	Exception�sys�stdout�flush�stderr�write�format)�self�parsed_args�parsed_globals�params�e�r�L/usr/lib/python3/dist-packages/awscli/customizations/codedeploy/uninstall.py�	_run_mains 



���zUninstall._run_maincCs(tj�d�|j�|�tj�d�dS)Nz)Uninstalling the AWS CodeDeploy Agent... �DONE
)rrrr	r)rrrrrr3szUninstall._uninstall_agentc
Csdtj�d�z	t�|jj�Wnty)}z|jtj	kr|�WYd}~nd}~wwtj�d�dS)Nz3Deleting the on-premises instance configuration... r)
rrr�os�remover	�CONFIG_PATH�OSError�errno�ENOENT)rrrrrrr8s���zUninstall._delete_config_fileN)�__name__�
__module__�__qualname__�NAME�DESCRIPTIONrrrrrrrrs�r)	rrr!�&awscli.customizations.codedeploy.utilsrr�awscli.customizations.commandsrrrrrr�<module>s


https://t.me/RX1948 - 2025