def list_commands(client):
    """List AMI commands.

	Args:
	    :client: the pyAMI client [ pyAMI.client.Client ]

	Returns:
	    an array of python dictionnaries.
	"""
    command = ['AMIListCommands']
    return client.execute(command, format='dom_object').get_rows()
