in ec2stack/providers/cloudstack/__init__.py [0:0]
def describe_item(args, keyname, not_found, prefix):
"""
Describe a specific item or all items.
@param args: Arguments involved in the request.
@param keyname: Keyname of the Cloudstack response.
@param not_found: Function to if the item is not found.
@param prefix: Parameter prefix.
@return: Response.
"""
if helpers.contains_parameter_with_keyword(prefix):
response = _describe_specific_item(args, keyname, not_found, prefix)
else:
response = describe_items_request(args, {})
return response