HEX
Server: Apache
System: Linux 162-240-236-42.bluehost.com 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
User: bt667 (1004)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //proc/self/root/lib/python2.7/site-packages/euca2ools/commands/iam/getuserpolicy.pyc
�
��Xc@s^ddlZddlZddlmZddlmZmZmZdefd��YZdS(i����N(tArg(t
IAMRequestt
AS_ACCOUNTtarg_usert
GetUserPolicycBskeZdZedd�eddddddd	edd
�eddd
dddd�egZd�Z	RS(sDisplay a user's policythelps)user the poilcy is attached to (required)s-ps
--policy-nametdestt
PolicyNametmetavartPOLICYtrequireds%name of the policy to show (required)s--pretty-printtactiont
store_truetroute_tos&reformat the policy for easier readingcCs�tj|d�}|jdr�ytj|�}WnCtk
rx|jjddt�tdj	|jd���nXtj
|dd�}n|GHdS(	NtPolicyDocumenttpretty_printsJSON parse errortexc_infos-policy '{0}' does not appear to be valid JSONRtindenti(turllibtunquotetargstjsontloadst
ValueErrortlogtdebugtTruetformattdumps(tselftresulttpolicy_contenttpolicy_json((sH/usr/lib/python2.7/site-packages/euca2ools/commands/iam/getuserpolicy.pytprint_result+s

N(
t__name__t
__module__tDESCRIPTIONRRRtNoneRtARGSR!(((sH/usr/lib/python2.7/site-packages/euca2ools/commands/iam/getuserpolicy.pyR"s	(	RRtrequestbuilderRteuca2ools.commands.iamRRRR(((sH/usr/lib/python2.7/site-packages/euca2ools/commands/iam/getuserpolicy.pyt<module>s