ó ¡ôXc@s€ddlZddlZddlZddlmZmZddlmZddlm Z m Z m Z de fd„ƒYZ dS(iÿÿÿÿN(tArgtMutuallyExclusiveArgList(t file_contents(t IAMRequestt AS_ACCOUNTtarg_rolet CreateRolecBs×eZdZeddƒeddddddƒeedd dd d d d eddƒeddddd dddddƒeddddej ƒƒj ƒeddddddddƒe gZ d„Z d„ZRS(sCreate a new rolethelpsname of the new role (required)s-ps--pathtdesttPaths$path for the new role (default: "/")s-fs--trust-policytAssumeRolePolicyDocumenttmetavartFILEttypes1file containing the trust policy for the new roles-ss --servicetservice_tSERVICEtroute_tosPservice to allow access to the role (e.g. ec2.amazonaws.com)s --service_s-vs --verbosetactiont store_trues*print the new role's ARN, GUID, and policycCsu|jjdƒrqidd6i|jdgd6d6dgd6}idd 6|gd 6}tj|ƒ|jd s