pub enum InferenceProfile {
None,
US,
EU,
APAC,
Global,
}Expand description
Cross-region inference profile configuration for Bedrock
Inference profiles enable cross-region load balancing for higher throughput and improved reliability. When enabled, Bedrock automatically routes requests to the optimal region within the specified geographic scope.
Some newer models (Claude 4/4.5, Nova 2 Lite) require inference profiles and don’t support direct single-region invocation.
See: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
Variants§
None
No inference profile - single-region invocation (default)
Requests go directly to the region configured in your AWS SDK. Use this for predictable routing and when data locality is important.
US
US regions only (us-east-1, us-east-2, us-west-2, etc.)
EU
European regions only (eu-central-1, eu-west-1, eu-west-2, etc.)
APAC
Asia-Pacific regions (ap-northeast-1, ap-southeast-1, etc.)
Global
Global cross-region inference (all commercial AWS regions)
Provides maximum throughput but may route to any region worldwide.
Implementations§
Trait Implementations§
Source§impl Clone for InferenceProfile
impl Clone for InferenceProfile
Source§fn clone(&self) -> InferenceProfile
fn clone(&self) -> InferenceProfile
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for InferenceProfile
Source§impl Debug for InferenceProfile
impl Debug for InferenceProfile
Source§impl Default for InferenceProfile
impl Default for InferenceProfile
Source§fn default() -> InferenceProfile
fn default() -> InferenceProfile
impl Eq for InferenceProfile
Source§impl PartialEq for InferenceProfile
impl PartialEq for InferenceProfile
Source§fn eq(&self, other: &InferenceProfile) -> bool
fn eq(&self, other: &InferenceProfile) -> bool
self and other values to be equal, and is used by ==.