pub struct ArcProviderConnectionRequest {
pub name: Name,
pub models: Vec<String>,
pub base_url: String,
pub api_key: String,
pub auth_type: AuthType,
pub customer_role_arn: String,
pub region: String,
}Fields§
§name: NameThe provider name. Must be bedrock for aws-iam connections.
models: Vec<String>The Bedrock model identifiers this connection is allowed to use.
base_url: StringThe base URL of the provider’s API. Must be an absolute http or https URL and must not end in /v1.
api_key: StringThe provider’s secret API key.
auth_type: AuthTypeThe authentication type for this connection.
customer_role_arn: StringThe ARN of the IAM role in your AWS account that AI Runtime Control assumes to access Bedrock. See get Bedrock setup information for the role ARN and external ID your trust policy must reference.
region: StringThe AWS region for Bedrock API requests.
Implementations§
Trait Implementations§
Source§impl Clone for ArcProviderConnectionRequest
impl Clone for ArcProviderConnectionRequest
Source§impl Debug for ArcProviderConnectionRequest
impl Debug for ArcProviderConnectionRequest
Source§impl<'de> Deserialize<'de> for ArcProviderConnectionRequest
impl<'de> Deserialize<'de> for ArcProviderConnectionRequest
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 StructuralPartialEq for ArcProviderConnectionRequest
Auto Trait Implementations§
impl Freeze for ArcProviderConnectionRequest
impl RefUnwindSafe for ArcProviderConnectionRequest
impl Send for ArcProviderConnectionRequest
impl Sync for ArcProviderConnectionRequest
impl Unpin for ArcProviderConnectionRequest
impl UnsafeUnpin for ArcProviderConnectionRequest
impl UnwindSafe for ArcProviderConnectionRequest
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