Current File : //lib/python2.7/site-packages/euca2ools/commands/iam/listuserpolicies.pyc |
�
��Xc @ sf d d l m Z d d l m Z d d l m Z m Z m Z d d l m Z d e f d � � YZ
d S( i����( t Arg( t PaginatedResponse( t
IAMRequestt
AS_ACCOUNTt arg_user( t
GetUserPolicyt ListUserPoliciesc B s� e Z d Z e d d � e d d d d d d d d �e d d
d d d d d d
�e d d d d d d d �e g Z d g Z d � Z d � Z
d � Z d � Z d � Z
RS( s+ List one or all policies attached to a usert helps+ user owning the policies to list (required)s -ps
--policy-namet metavart POLICYt route_tos display a specific policys -vs --verboset actiont
store_truesc display the contents of the resulting policies (in
addition to their names)s --pretty-prints` when printing the contents of policies, reformat them
for easier readingt PolicyNamesc C s t | d d � S( NR
( N( R
( R t None( t self( ( sK /usr/lib/python2.7/site-packages/euca2ools/commands/iam/listuserpolicies.pyt main/ s c C s | | j d <d S( Nt Marker( t params( R t page( ( sK /usr/lib/python2.7/site-packages/euca2ools/commands/iam/listuserpolicies.pyt prepare_for_page2 s c C s! | j d � d k r | d Sd S( Nt IsTruncatedt trueR ( t get( R t response( ( sK /usr/lib/python2.7/site-packages/euca2ools/commands/iam/listuserpolicies.pyt
get_next_page7 s c C s� | j j d � rk x� | j d g � D]? } | | j d k r% | j d r[ | j | � n | GHPq% q% Wn? x<