Files
openworker/tests
Devika Verma d781cb11c1 Bedrock verify: detect ClientError by response shape, not class name
Live boto3 raises MODELED ClientError subclasses (class name
'AccessDeniedException'), so the kind == 'ClientError' check sent every
real AWS error to the generic 'Couldn't reach' fallback and hid the
specific guidance (found on a real key, 2026-08-17). Detect by the
response.Error.Code shape instead; AccessDenied guidance now names the
three usual causes (policy, short-term key expiry, region mismatch) and
ExpiredTokenException gets its own message. The old test only raised a
bare ClientError - exactly why this survived; the new one uses modeled
subclasses.
2026-08-17 18:57:20 +05:30
..
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-08-01 08:50:53 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00
2026-07-21 11:09:41 -07:00