pub struct BedrockProviderConfig {
pub access_key_id: Option<String>,
pub secret_access_key_env: Option<String>,
pub session_token_env: Option<String>,
pub region: Option<String>,
pub profile: Option<String>,
pub base_url: Option<String>,
pub proxy: Option<ProviderProxyConfig>,
}Expand description
[providers.bedrock] section.
Fields§
§access_key_id: Option<String>Explicit access key ID (overrides env var).
secret_access_key_env: Option<String>Env var name for secret access key (default: AWS_SECRET_ACCESS_KEY).
session_token_env: Option<String>Env var name for session token (default: AWS_SESSION_TOKEN).
region: Option<String>AWS region (default: us-east-1).
profile: Option<String>AWS config profile name for credential file lookup.
base_url: Option<String>Override base URL for Bedrock runtime API.
proxy: Option<ProviderProxyConfig>Proxy configuration.
Trait Implementations§
Source§impl Clone for BedrockProviderConfig
impl Clone for BedrockProviderConfig
Source§fn clone(&self) -> BedrockProviderConfig
fn clone(&self) -> BedrockProviderConfig
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 BedrockProviderConfig
impl Debug for BedrockProviderConfig
Source§impl Default for BedrockProviderConfig
impl Default for BedrockProviderConfig
Source§fn default() -> BedrockProviderConfig
fn default() -> BedrockProviderConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for BedrockProviderConfig
impl PartialEq for BedrockProviderConfig
Source§fn eq(&self, other: &BedrockProviderConfig) -> bool
fn eq(&self, other: &BedrockProviderConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BedrockProviderConfig
Auto Trait Implementations§
impl Freeze for BedrockProviderConfig
impl RefUnwindSafe for BedrockProviderConfig
impl Send for BedrockProviderConfig
impl Sync for BedrockProviderConfig
impl Unpin for BedrockProviderConfig
impl UnsafeUnpin for BedrockProviderConfig
impl UnwindSafe for BedrockProviderConfig
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,
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 more