Current File : //usr/lib/python2.7/site-packages/euca2ools/commands/iam/listgrouppolicies.pyo
�
��Xc@sfddlmZddlmZddlmZmZmZddlm	Z	defd��YZ
dS(i����(tArg(tPaginatedResponse(t
IAMRequestt
AS_ACCOUNTt	arg_group(tGetGroupPolicytListGroupPoliciescBs�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 groupthelps,group 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((sL/usr/lib/python2.7/site-packages/euca2ools/commands/iam/listgrouppolicies.pytmain/scCs||jd<dS(NtMarker(tparams(Rtpage((sL/usr/lib/python2.7/site-packages/euca2ools/commands/iam/listgrouppolicies.pytprepare_for_page2scCs!|jd�dkr|dSdS(NtIsTruncatedttrueR(tget(Rtresponse((sL/usr/lib/python2.7/site-packages/euca2ools/commands/iam/listgrouppolicies.pyt
get_next_page7scCs�|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((sL/usr/lib/python2.7/site-packages/euca2ools/commands/iam/listgrouppolicies.pytprint_result<s

cCs^tj|d|jdd|d|jdd|jjd��}|j�}|j|�dS(Nt	GroupNamet
PolicyNametpretty_printtDelegateAccount(Rt
from_otherRRRRR(RRtreqR((sL/usr/lib/python2.7/site-packages/euca2ools/commands/iam/listgrouppolicies.pyRLs
N(t__name__t
__module__tDESCRIPTIONRRRRtARGSt	LIST_TAGSRRRRR(((sL/usr/lib/python2.7/site-packages/euca2ools/commands/iam/listgrouppolicies.pyR!s						N(trequestbuilderRtrequestbuilder.responseRteuca2ools.commands.iamRRRt%euca2ools.commands.iam.getgrouppolicyRR(((sL/usr/lib/python2.7/site-packages/euca2ools/commands/iam/listgrouppolicies.pyt<module>s