Viewing File: /usr/lib/python2.7/site-packages/euca2ools/commands/iam/listuserpolicies.pyc

ó
ĄôXc@sfddlmZddlmZddlmZmZmZddlm	Z	defd„ƒYZ
dS(i˙˙˙˙(tArg(tPaginatedResponse(t
IAMRequestt
AS_ACCOUNTtarg_user(t
GetUserPolicytListUserPoliciescBs°eZdZeddƒeddddddddƒed	d
dddddd
ƒedddddddƒegZdgZd„Z	d„Z
d„Zd„Zd„Z
RS(s+List one or all policies attached to a userthelps+user owning the policies to list (required)s-ps
--policy-nametmetavartPOLICYtroute_tosdisplay a specific policys-vs	--verbosetactiont
store_truescdisplay the contents of the resulting policies (in
                        addition to their names)s--pretty-prints`when printing the contents of policies, reformat them
                        for easier readingtPolicyNamescCst|ddƒS(NR
(N(R
(RtNone(tself((sK/usr/lib/python2.7/site-packages/euca2ools/commands/iam/listuserpolicies.pytmain/scCs||jd<dS(NtMarker(tparams(Rtpage((sK/usr/lib/python2.7/site-packages/euca2ools/commands/iam/listuserpolicies.pytprepare_for_page2scCs!|jdƒdkr|dSdS(NtIsTruncatedttrueR(tget(Rtresponse((sK/usr/lib/python2.7/site-packages/euca2ools/commands/iam/listuserpolicies.pyt
get_next_page7scCsł|jjdƒrkx•|jdgƒD]?}||jdkr%|jdr[|j|ƒn|GHPq%q%Wn?x<|jdgƒD](}|GH|jdr~|j|ƒq~q~WdGHdS(Ntpolicy_nameR
tverbosesIsTruncated: false(targsRtprint_policy(RtresultR((sK/usr/lib/python2.7/site-packages/euca2ools/commands/iam/listuserpolicies.pytprint_result<s

cCs^tj|d|jdd|d|jdd|jjdƒƒ}|jƒ}|j|ƒdS(NtUserNamet
PolicyNametpretty_printtDelegateAccount(Rt
from_otherRRRRR(RRtreqR((sK/usr/lib/python2.7/site-packages/euca2ools/commands/iam/listuserpolicies.pyRNs
N(t__name__t
__module__tDESCRIPTIONRRRRtARGSt	LIST_TAGSRRRRR(((sK/usr/lib/python2.7/site-packages/euca2ools/commands/iam/listuserpolicies.pyR!s						N(trequestbuilderRtrequestbuilder.responseRteuca2ools.commands.iamRRRt$euca2ools.commands.iam.getuserpolicyRR(((sK/usr/lib/python2.7/site-packages/euca2ools/commands/iam/listuserpolicies.pyt<module>s
Back to Directory File Manager