Skip to main content

Module message

Module message 

Source

Functionsยง

primary_identifier_conflict_message
Describes resources whose authored primary identifiers resolve to the same physical resource. Bucket policies receive target-oriented wording because their identifier names the bucket they modify rather than a resource they create.
quote
Wraps value in single quotes: foo becomes 'foo'.
render_str_list
Renders a sequence of string-like items as a single-quoted, bracketed list, e.g. ['Enabled', 'Suspended']. Use this for enum candidates, valid attribute names, and other lists of plain strings.
render_value
Renders a JSON value for display inside a message.
render_value_list
Renders a slice of JSON values as a bracketed list, e.g. ['a', 'b'] or [1, 2], with each element formatted by render_value.