pub struct AmbientAiBinding {
pub region: String,
pub service: AmbientAiBindingService,
}Expand description
AWS Bedrock, signed with the workload’s AWS credential chain.
JSON schema
{
"description": "AWS Bedrock, signed with the workload's AWS credential chain.",
"allOf": [
{
"$ref": "#/components/schemas/BedrockAiBinding"
},
{
"type": "object",
"required": [
"service"
],
"properties": {
"service": {
"type": "string",
"enum": [
"bedrock"
]
}
}
}
]
}Fields§
§region: StringThe AWS region where Bedrock is accessed (for example us-east-1). The gateway builds
https://bedrock-runtime.<region>.amazonaws.com from it, so parsing refuses anything
that is not a plain AWS region name.
service: AmbientAiBindingServiceImplementations§
Source§impl AmbientAiBinding
impl AmbientAiBinding
pub fn builder() -> AmbientAiBinding
Trait Implementations§
Source§impl Clone for AmbientAiBinding
impl Clone for AmbientAiBinding
Source§impl Debug for AmbientAiBinding
impl Debug for AmbientAiBinding
Source§impl<'de> Deserialize<'de> for AmbientAiBinding
impl<'de> Deserialize<'de> for AmbientAiBinding
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
Source§impl From<&AmbientAiBinding> for AmbientAiBinding
impl From<&AmbientAiBinding> for AmbientAiBinding
Source§fn from(value: &AmbientAiBinding) -> Self
fn from(value: &AmbientAiBinding) -> Self
Converts to this type from the input type.
Source§impl From<AmbientAiBinding> for ExternalAi
impl From<AmbientAiBinding> for ExternalAi
Source§fn from(value: AmbientAiBinding) -> Self
fn from(value: AmbientAiBinding) -> Self
Converts to this type from the input type.
Source§impl From<AmbientAiBinding> for AmbientAiBinding
impl From<AmbientAiBinding> for AmbientAiBinding
Source§fn from(value: AmbientAiBinding) -> Self
fn from(value: AmbientAiBinding) -> Self
Converts to this type from the input type.
Source§impl Serialize for AmbientAiBinding
impl Serialize for AmbientAiBinding
Source§impl TryFrom<AmbientAiBinding> for AmbientAiBinding
impl TryFrom<AmbientAiBinding> for AmbientAiBinding
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AmbientAiBinding) -> Result<Self, ConversionError>
fn try_from(value: AmbientAiBinding) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for AmbientAiBinding
impl Freeze for AmbientAiBinding
impl Move for AmbientAiBinding
impl RefUnwindSafe for AmbientAiBinding
impl Send for AmbientAiBinding
impl Sync for AmbientAiBinding
impl Unpin for AmbientAiBinding
impl UnsafeUnpin for AmbientAiBinding
impl UnwindSafe for AmbientAiBinding
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