Skip to main content

converse_path

Function converse_path 

Source
pub fn converse_path(model: &str) -> String
Expand description

The Converse request path for model: /model/{modelId}/converse. The model id is a single opaque path parameter, so it is fully percent-encoded (unreserved A-Za-z0-9-._~ pass; everything else — notably the : of a versioned id like …-v2:0, and the :// of an inference-profile ARN — becomes %XX). This exact string is BOTH sent on the wire and fed to the SigV4 signer, so the canonical URI the signature covers matches the request-target byte-for-byte (the signer does not re-encode).