#NEWLINE# def _list_attached_role_policies( conn , role_name , marker = None , max_items = None ) : #NEWLINE# #INDENT# params = { #NEWLINE# #INDENT# 'RoleName' : role_name , #NEWLINE# #UNINDENT# } #NEWLINE# if ( marker is not None ) : #NEWLINE# #INDENT# params [ 'Marker' ] = marker #NEWLINE# #UNINDENT# if ( max_items is not None ) : #NEWLINE# #INDENT# params [ 'MaxItems' ] = max_items #NEWLINE# #UNINDENT# return conn . get_response ( 'ListAttachedRolePolicies' , params , list_marker = 'AttachedPolicies' )