def get_trusted_advisor_checks(client):
    """
    Creates a list of dicts containg check information
    [{checkId: <val>, metadata: <val>}, ...]
    :return: checks
    :param client
    """
    checks = []
    ta_checks = client.describe_trusted_advisor_checks(
        language='en'
    )
    for check in ta_checks["checks"]:
        checks.append({'checkId': check['id'], 'metadata': check['metadata']})
    return checks