Skip to main content

require_struct

Function require_struct 

Source
pub fn require_struct(
    params: &HashMap<String, String>,
    prefix: &str,
) -> Result<(), AwsServiceError>
Expand description

Require a structure member to be present, identified by any wire param under {prefix}. (e.g. InstanceTagAttribute.IncludeAllTagsOfInstance). Omitting a required structure is wire-observable, so the harness emits a negative_omit_<Struct> variant — handlers must reject it.