Thanks for looking! No luck though. Without the us. prefix I get this:
botocore.errorfactory.ValidationException: An error occurred (ValidationException) when calling the InvokeModel operation: Invocation of model ID meta.llama4-maverick-17b-instruct-v1:0 with on-demand throughput isn't supported. Retry your request with the ID or ARN of an inference profile that contains this model.
I'm not sure if there's an ID that will satisfy both Amazon and the instrumentor here. But this was just meant as a quick test. In production we aioboto3 not boto3, and I've learned that auto-instrumentation doesn't support that, so we'll have to do things manually anyway.