def get_tags(filesystemid,
             keyid=None,
             key=None,
             profile=None,
             region=None,
             **kwargs):
    '''
    Return the tags associated with an EFS instance.

    filesystemid
        (string) - ID of the file system whose tags to list

    returns
        (list) - list of tags as key/value pairs

    CLI Example:

    .. code-block:: bash

        salt 'my-minion' boto_efs.get_tags efs-id
    '''
    client = _get_conn(key=key, keyid=keyid, profile=profile, region=region)
    response = client.describe_tags(FileSystemId=filesystemid)
    result = response["Tags"]

    while "NextMarker" in response:
        response = client.describe_tags(FileSystemId=filesystemid,
                                        Marker=response["NextMarker"])
        result.extend(response["Tags"])

    return result
def get_tags ( filesystemid , keyid = None , key = None , profile = None , region = None , ** kwargs ) : client = _get_conn ( key = key , keyid = keyid , profile = profile , region = region ) response = client . describe_tags ( FileSystemId = filesystemid ) result = response [ "Tags" ] while "NextMarker" in response : response = client . describe_tags ( FileSystemId = filesystemid , Marker = response [ "NextMarker" ] ) result . extend ( response [ "Tags" ] ) return result
Return the tags associated with an EFS instance.

    filesystemid
        (string) - ID of the file system whose tags to list

    returns
        (list) - list of tags as key/value pairs

    CLI Example:

    .. code-block:: bash

        salt 'my-minion' boto_efs.get_tags efs-id