ó ¡ôXc@shddlZddlmZmZddlmZddlmZmZm Z defd„ƒYZ dS(iÿÿÿÿN(tArgtMutuallyExclusiveArgList(t file_contents(t IAMRequestt AS_ACCOUNTtarg_roletUpdateAssumeRolePolicyc Bs•eZdZeddƒeeddddddedd ƒed d d ddd ƒƒjƒedddddddƒe gZ d„Z d„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 s