pub struct ArcUpdateProviderConnectionRequest {
pub models: Option<Vec<String>>,
pub base_url: Option<String>,
pub api_key: Option<String>,
pub customer_role_arn: Option<String>,
pub region: Option<String>,
}Expand description
ArcUpdateProviderConnectionRequest : A partial update to a provider connection. Only the fields you include are changed. models, base_url, and api_key apply to api-key connections; customer_role_arn and region apply to aws-iam connections.
Fields§
§models: Option<Vec<String>>The AI model identifiers this connection is allowed to use. Must be non-empty if included.
base_url: Option<String>The base URL of the provider’s API (api-key connections only).
api_key: Option<String>The provider’s secret API key (api-key connections only).
customer_role_arn: Option<String>The ARN of the IAM role to assume for Bedrock requests (aws-iam connections only).
region: Option<String>The AWS region for Bedrock API requests (aws-iam connections only).
Implementations§
Source§impl ArcUpdateProviderConnectionRequest
impl ArcUpdateProviderConnectionRequest
Sourcepub fn new() -> ArcUpdateProviderConnectionRequest
pub fn new() -> ArcUpdateProviderConnectionRequest
A partial update to a provider connection. Only the fields you include are changed. models, base_url, and api_key apply to api-key connections; customer_role_arn and region apply to aws-iam connections.