The heat.engine.api Module¶
-
heat.engine.api.extract_args(params)[source]¶ Extract arguments passed as parameters and return them as a dictionary.
Extract any arguments passed as parameters through the API and return them as a dictionary. This allows us to filter the passed args and do type conversion where appropriate
-
heat.engine.api.format_event(event, stack_identifier, root_stack_identifier=None, include_rsrc_prop_data=True)[source]¶
-
heat.engine.api.format_stack(stack, preview=False, resolve_outputs=True)[source]¶ Return a representation of the given stack.
Return a representation of the given stack that matches the API output expectations.
-
heat.engine.api.format_stack_db_object(stack)[source]¶ Return a summary representation of the given stack.
Given a stack versioned db object, return a representation of the given stack for a stack listing.
-
heat.engine.api.format_stack_outputs(outputs, resolve_value=False)[source]¶ Return a representation of the given output template.
Return a representation of the given output template for the given stack that matches the API output expectations.
-
heat.engine.api.format_stack_resource(resource, detail=True, with_props=False, with_attr=None)[source]¶ Return a representation of the given resource.
Return a representation of the given resource that matches the API output expectations.
-
heat.engine.api.format_validate_parameter(param)[source]¶ Format a template parameter for validate template API call.
Formats a template parameter and its schema information from the engine’s internal representation (i.e. a Parameter object and its associated Schema object) to a representation expected by the current API (for example to be compatible to CFN syntax).