'List the groups that have the specified path prefix.
:type path_prefix: string
:param path_prefix: If provided, only groups whose paths match
the provided prefix will be returned.
:type marker: string
:param marker: Use this only when paginating results and only
in follow-up request after you\'ve received a response
where the results are truncated.  Set this to the value of
the Marker element in the response you just received.
:type max_items: int
:param max_items: Use this only when paginating results to indicate
the maximum number of groups you want in the response.'

def get_all_groups(self, path_prefix='/', marker=None, max_items=None):

    params = {}
    if path_prefix:
        params['PathPrefix'] = path_prefix
    if marker:
        params['Marker'] = marker
    if max_items:
        params['MaxItems'] = max_items
    return self.get_response('ListGroups', params, list_marker='Groups')
