Current File : //usr/lib/python2.7/site-packages/euca2ools/commands/iam/updateassumerolepolicy.pyc
�
��Xc@shddlZddlmZmZddlmZddlmZmZm	Z	defd��YZ
dS(i����N(tArgtMutuallyExclusiveArgList(t
file_contents(t
IAMRequestt
AS_ACCOUNTtarg_roletUpdateAssumeRolePolicycBs�eZdZedd�eeddddddedd	�ed
ddddd
��j�eddddddd�e	gZ
d�Zd�ZRS(sNUpdate a role's trust policy, the policy that allows entities to assume a rolethelpsrole to update (required)s-ftdesttPolicyDocumenttmetavartFILEttypes+file containing the policy for the new roles-ss	--servicetroute_tosPservice to allow
                    access to the role (e.g. ec2.amazonaws.com)s-otverbosetactiont
store_trues also print the role's new policycCsu|jjd�rqidd6i|jdgd6d6dgd6}idd	6|gd
6}tj|�|jd<ndS(NtservicetAllowtEffecttServicet	Principalssts:AssumeRoletActions
2008-10-17tVersiont	StatementR	(targstgettjsontdumpstparams(tselft	statementtpolicy((sQ/usr/lib/python2.7/site-packages/euca2ools/commands/iam/updateassumerolepolicy.pyt
preprocess1s



cCs%|jjd�r!|jdGHndS(NRR	(RRR(Rt_((sQ/usr/lib/python2.7/site-packages/euca2ools/commands/iam/updateassumerolepolicy.pytprint_result:sN(
t__name__t
__module__tDESCRIPTIONRRRRtNonetrequiredRtARGSR!R#(((sQ/usr/lib/python2.7/site-packages/euca2ools/commands/iam/updateassumerolepolicy.pyR"s			(RtrequestbuilderRRteuca2ools.commands.argtypesRteuca2ools.commands.iamRRRR(((sQ/usr/lib/python2.7/site-packages/euca2ools/commands/iam/updateassumerolepolicy.pyt<module>s