pub struct ProviderAwsConfigFile {
pub profile: Option<String>,
pub region: Option<String>,
pub anthropic_beta: Option<Vec<String>>,
}Fields§
§profile: Option<String>§region: Option<String>§anthropic_beta: Option<Vec<String>>anthropic_beta flags injected into the Bedrock request body (Anthropic Messages
anthropic_beta array). Default (absent) sends nothing. Some newer models (e.g. Opus
4.8) reject the default data retention mode and require ["no-data-retention-v1"];
set it explicitly. The flag is shared by every model under this provider, and Bedrock
400s a model that does not support a given flag — so only enable it on a
provider whose models all accept the flag.
Trait Implementations§
Source§impl Clone for ProviderAwsConfigFile
impl Clone for ProviderAwsConfigFile
Source§fn clone(&self) -> ProviderAwsConfigFile
fn clone(&self) -> ProviderAwsConfigFile
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 moreSource§impl Debug for ProviderAwsConfigFile
impl Debug for ProviderAwsConfigFile
Source§impl Default for ProviderAwsConfigFile
impl Default for ProviderAwsConfigFile
Source§fn default() -> ProviderAwsConfigFile
fn default() -> ProviderAwsConfigFile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProviderAwsConfigFile
impl<'de> Deserialize<'de> for ProviderAwsConfigFile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProviderAwsConfigFile
Source§impl PartialEq for ProviderAwsConfigFile
impl PartialEq for ProviderAwsConfigFile
Source§fn eq(&self, other: &ProviderAwsConfigFile) -> bool
fn eq(&self, other: &ProviderAwsConfigFile) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProviderAwsConfigFile
Auto Trait Implementations§
impl Freeze for ProviderAwsConfigFile
impl RefUnwindSafe for ProviderAwsConfigFile
impl Send for ProviderAwsConfigFile
impl Sync for ProviderAwsConfigFile
impl Unpin for ProviderAwsConfigFile
impl UnsafeUnpin for ProviderAwsConfigFile
impl UnwindSafe for ProviderAwsConfigFile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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§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.