pub fn refusal(
status: u16,
error_type: Option<&str>,
body: &str,
model: &str,
profile_id: &str,
region: &str,
) -> Option<Refusal>Expand description
The sentence for a request Bedrock did not serve, from its status and what it said (body is its text, error_type the
x-amzn-ErrorType it sent). None for what is not named here: the answer goes to the harness as Bedrock gave it. Nothing
the person sent or the key is repeated.