Viewing File: /usr/lib/python2.7/site-packages/euca2ools/commands/iam/listaccountpolicies.pyo

ó
ĄôXc@s`ddlmZddlmZddlmZmZddlmZdefd„ƒYZ	dS(iĸĸĸĸ(tArg(tPaginatedResponse(t
IAMRequesttarg_account_name(tGetAccountPolicytListAccountPoliciescBs­eZdZeddƒeddddddddƒed	d
dddddd
ƒedddddddƒgZdgZd„Zd„Z	d„Z
d„Zd„ZRS(sJ[Eucalyptus only] List one or all policies policies attached to an accountthelps]name or ID of the account 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((sN/usr/lib/python2.7/site-packages/euca2ools/commands/iam/listaccountpolicies.pytmain0scCs||jd<dS(NtMarker(tparams(Rtpage((sN/usr/lib/python2.7/site-packages/euca2ools/commands/iam/listaccountpolicies.pytprepare_for_page3scCs!|jdƒdkr|dSdS(NtIsTruncatedttrueR(tget(Rtresponse((sN/usr/lib/python2.7/site-packages/euca2ools/commands/iam/listaccountpolicies.pyt
get_next_page8scCsŪ|jjdƒrkx•|jdgƒD]?}||jdkr%|jdr[|j|ƒn|GHPq%q%Wn?x<|jdgƒD](}|GH|jdr~|j|ƒq~q~WdS(Ntpolicy_nameRtverbose(targsRtprint_policy(RtresultR((sN/usr/lib/python2.7/site-packages/euca2ools/commands/iam/listaccountpolicies.pytprint_result=s

c	CsLtj|d|jdd|d|jdƒ}|jƒ}|j|ƒdS(NtAccountNamet
PolicyNametpretty_print(Rt
from_otherRRR(RRtreqR((sN/usr/lib/python2.7/site-packages/euca2ools/commands/iam/listaccountpolicies.pyRMs
N(
t__name__t
__module__tDESCRIPTIONRRR
tARGSt	LIST_TAGSRRRRR(((sN/usr/lib/python2.7/site-packages/euca2ools/commands/iam/listaccountpolicies.pyR!s					N(
trequestbuilderRtrequestbuilder.responseRteuca2ools.commands.iamRRt'euca2ools.commands.iam.getaccountpolicyRR(((sN/usr/lib/python2.7/site-packages/euca2ools/commands/iam/listaccountpolicies.pyt<module>s
Back to Directory File Manager