Context window and completion reserve come from the model registry, which lists Bedrock's regional inference-profile ids (us., eu., apac., global.) as well as the base model ids; a model it does not know gets conservative defaults.
Attributes
Returns
Left(ConfigurationError) for a blank region, an access key without a secret (or the reverse), a session token without credentials, or credentials together with a profile.