pub enum BedrockFoundationModel {
Show 106 variants
AmazonNova2LiteV10,
AmazonNovaLiteV10,
AmazonNovaMicroV10,
AmazonNovaProV10,
AnthropicClaudeFable5,
AnthropicClaudeHaiku4520251001V10,
AnthropicClaudeOpus4120250805V10,
AnthropicClaudeOpus4520251101V10,
AnthropicClaudeOpus46V1,
AnthropicClaudeOpus47,
AnthropicClaudeOpus48,
AnthropicClaudeSonnet4520250929V10,
AnthropicClaudeSonnet46,
AnthropicClaudeSonnet5,
AuAnthropicClaudeHaiku4520251001V10,
AuAnthropicClaudeOpus46V1,
AuAnthropicClaudeOpus48,
AuAnthropicClaudeSonnet4520250929V10,
AuAnthropicClaudeSonnet46,
AuAnthropicClaudeSonnet5,
DeepseekR1V10,
DeepseekV3V10,
DeepseekV32,
EuAnthropicClaudeFable5,
EuAnthropicClaudeHaiku4520251001V10,
EuAnthropicClaudeOpus4520251101V10,
EuAnthropicClaudeOpus46V1,
EuAnthropicClaudeOpus47,
EuAnthropicClaudeOpus48,
EuAnthropicClaudeSonnet4520250929V10,
EuAnthropicClaudeSonnet46,
EuAnthropicClaudeSonnet5,
GlobalAnthropicClaudeFable5,
GlobalAnthropicClaudeHaiku4520251001V10,
GlobalAnthropicClaudeOpus4520251101V10,
GlobalAnthropicClaudeOpus46V1,
GlobalAnthropicClaudeOpus47,
GlobalAnthropicClaudeOpus48,
GlobalAnthropicClaudeSonnet4520250929V10,
GlobalAnthropicClaudeSonnet46,
GlobalAnthropicClaudeSonnet5,
GoogleGemma327bIt,
GoogleGemma34bIt,
JpAnthropicClaudeHaiku4520251001V10,
JpAnthropicClaudeOpus47,
JpAnthropicClaudeOpus48,
JpAnthropicClaudeSonnet4520250929V10,
JpAnthropicClaudeSonnet46,
JpAnthropicClaudeSonnet5,
MetaLlama3170bInstructV10,
MetaLlama318bInstructV10,
MetaLlama3370bInstructV10,
MetaLlama4Maverick17bInstructV10,
MetaLlama4Scout17bInstructV10,
MinimaxMinimaxM2,
MinimaxMinimaxM21,
MinimaxMinimaxM25,
MistralDevstral2123b,
MistralMagistralSmall2509,
MistralMinistral314bInstruct,
MistralMinistral33bInstruct,
MistralMinistral38bInstruct,
MistralMistralLarge3675bInstruct,
MistralPixtralLarge2502V10,
MistralVoxtralMini3b2507,
MistralVoxtralSmall24b2507,
MoonshotKimiK2Thinking,
MoonshotaiKimiK25,
NvidiaNemotronNano12bV2,
NvidiaNemotronNano330b,
NvidiaNemotronNano9bV2,
NvidiaNemotronSuper3120b,
OpenaiGpt54,
OpenaiGpt55,
OpenaiGptOss120b,
OpenaiGptOss120b10,
OpenaiGptOss20b,
OpenaiGptOss20b10,
OpenaiGptOssSafeguard120b,
OpenaiGptOssSafeguard20b,
QwenQwen3235bA22b2507V10,
QwenQwen332bV10,
QwenQwen3Coder30bA3bV10,
QwenQwen3Coder480bA35bV10,
QwenQwen3CoderNext,
QwenQwen3Next80bA3b,
QwenQwen3Vl235bA22b,
UsAnthropicClaudeFable5,
UsAnthropicClaudeHaiku4520251001V10,
UsAnthropicClaudeOpus4120250805V10,
UsAnthropicClaudeOpus4520251101V10,
UsAnthropicClaudeOpus46V1,
UsAnthropicClaudeOpus47,
UsAnthropicClaudeOpus48,
UsAnthropicClaudeSonnet4520250929V10,
UsAnthropicClaudeSonnet46,
UsAnthropicClaudeSonnet5,
UsDeepseekR1V10,
UsMetaLlama4Maverick17bInstructV10,
UsMetaLlama4Scout17bInstructV10,
WriterPalmyraX4V10,
WriterPalmyraX5V10,
XaiGrok43,
ZaiGlm47,
ZaiGlm47Flash,
ZaiGlm5,
}Variants§
AmazonNova2LiteV10
AmazonNovaLiteV10
AmazonNovaMicroV10
AmazonNovaProV10
AnthropicClaudeFable5
AnthropicClaudeHaiku4520251001V10
AnthropicClaudeOpus4120250805V10
AnthropicClaudeOpus4520251101V10
AnthropicClaudeOpus46V1
AnthropicClaudeOpus47
AnthropicClaudeOpus48
AnthropicClaudeSonnet4520250929V10
AnthropicClaudeSonnet46
AnthropicClaudeSonnet5
AuAnthropicClaudeHaiku4520251001V10
AuAnthropicClaudeOpus46V1
AuAnthropicClaudeOpus48
AuAnthropicClaudeSonnet4520250929V10
AuAnthropicClaudeSonnet46
AuAnthropicClaudeSonnet5
DeepseekR1V10
DeepseekV3V10
DeepseekV32
EuAnthropicClaudeFable5
EuAnthropicClaudeHaiku4520251001V10
EuAnthropicClaudeOpus4520251101V10
EuAnthropicClaudeOpus46V1
EuAnthropicClaudeOpus47
EuAnthropicClaudeOpus48
EuAnthropicClaudeSonnet4520250929V10
EuAnthropicClaudeSonnet46
EuAnthropicClaudeSonnet5
GlobalAnthropicClaudeFable5
GlobalAnthropicClaudeHaiku4520251001V10
GlobalAnthropicClaudeOpus4520251101V10
GlobalAnthropicClaudeOpus46V1
GlobalAnthropicClaudeOpus47
GlobalAnthropicClaudeOpus48
GlobalAnthropicClaudeSonnet4520250929V10
GlobalAnthropicClaudeSonnet46
GlobalAnthropicClaudeSonnet5
GoogleGemma327bIt
GoogleGemma34bIt
JpAnthropicClaudeHaiku4520251001V10
JpAnthropicClaudeOpus47
JpAnthropicClaudeOpus48
JpAnthropicClaudeSonnet4520250929V10
JpAnthropicClaudeSonnet46
JpAnthropicClaudeSonnet5
MetaLlama3170bInstructV10
MetaLlama318bInstructV10
MetaLlama3370bInstructV10
MetaLlama4Maverick17bInstructV10
MetaLlama4Scout17bInstructV10
MinimaxMinimaxM2
MinimaxMinimaxM21
MinimaxMinimaxM25
MistralDevstral2123b
MistralMagistralSmall2509
MistralMinistral314bInstruct
MistralMinistral33bInstruct
MistralMinistral38bInstruct
MistralMistralLarge3675bInstruct
MistralPixtralLarge2502V10
MistralVoxtralMini3b2507
MistralVoxtralSmall24b2507
MoonshotKimiK2Thinking
MoonshotaiKimiK25
NvidiaNemotronNano12bV2
NvidiaNemotronNano330b
NvidiaNemotronNano9bV2
NvidiaNemotronSuper3120b
OpenaiGpt54
OpenaiGpt55
OpenaiGptOss120b
OpenaiGptOss120b10
OpenaiGptOss20b
OpenaiGptOss20b10
OpenaiGptOssSafeguard120b
OpenaiGptOssSafeguard20b
QwenQwen3235bA22b2507V10
QwenQwen332bV10
QwenQwen3Coder30bA3bV10
QwenQwen3Coder480bA35bV10
QwenQwen3CoderNext
QwenQwen3Next80bA3b
QwenQwen3Vl235bA22b
UsAnthropicClaudeFable5
UsAnthropicClaudeHaiku4520251001V10
UsAnthropicClaudeOpus4120250805V10
UsAnthropicClaudeOpus4520251101V10
UsAnthropicClaudeOpus46V1
UsAnthropicClaudeOpus47
UsAnthropicClaudeOpus48
UsAnthropicClaudeSonnet4520250929V10
UsAnthropicClaudeSonnet46
UsAnthropicClaudeSonnet5
UsDeepseekR1V10
UsMetaLlama4Maverick17bInstructV10
UsMetaLlama4Scout17bInstructV10
WriterPalmyraX4V10
WriterPalmyraX5V10
XaiGrok43
ZaiGlm47
ZaiGlm47Flash
ZaiGlm5
Implementations§
Source§impl BedrockFoundationModel
impl BedrockFoundationModel
pub fn reasoning_levels(self) -> &'static [ReasoningEffort]
pub fn supports_reasoning(self) -> bool
pub fn supports_prompt_caching(self) -> bool
pub fn supports_image(self) -> bool
pub fn supports_audio(self) -> bool
Trait Implementations§
Source§impl Clone for BedrockFoundationModel
impl Clone for BedrockFoundationModel
Source§fn clone(&self) -> BedrockFoundationModel
fn clone(&self) -> BedrockFoundationModel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BedrockFoundationModel
Source§impl Debug for BedrockFoundationModel
impl Debug for BedrockFoundationModel
impl Eq for BedrockFoundationModel
Source§impl FromStr for BedrockFoundationModel
impl FromStr for BedrockFoundationModel
Source§impl Hash for BedrockFoundationModel
impl Hash for BedrockFoundationModel
Source§impl PartialEq for BedrockFoundationModel
impl PartialEq for BedrockFoundationModel
Source§fn eq(&self, other: &BedrockFoundationModel) -> bool
fn eq(&self, other: &BedrockFoundationModel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BedrockFoundationModel
Auto Trait Implementations§
impl Freeze for BedrockFoundationModel
impl RefUnwindSafe for BedrockFoundationModel
impl Send for BedrockFoundationModel
impl Sync for BedrockFoundationModel
impl Unpin for BedrockFoundationModel
impl UnsafeUnpin for BedrockFoundationModel
impl UnwindSafe for BedrockFoundationModel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.