Struct aws_sdk_sagemaker::types::GenerativeAiSettings
source · #[non_exhaustive]pub struct GenerativeAiSettings {
pub amazon_bedrock_role_arn: Option<String>,
}
Expand description
The generative AI settings for the SageMaker Canvas application.
Configure these settings for Canvas users starting chats with generative AI foundation models. For more information, see Use generative AI with foundation models.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.amazon_bedrock_role_arn: Option<String>
The ARN of an Amazon Web Services IAM role that allows fine-tuning of large language models (LLMs) in Amazon Bedrock. The IAM role should have Amazon S3 read and write permissions, as well as a trust relationship that establishes bedrock.amazonaws.com
as a service principal.
Implementations§
source§impl GenerativeAiSettings
impl GenerativeAiSettings
sourcepub fn amazon_bedrock_role_arn(&self) -> Option<&str>
pub fn amazon_bedrock_role_arn(&self) -> Option<&str>
The ARN of an Amazon Web Services IAM role that allows fine-tuning of large language models (LLMs) in Amazon Bedrock. The IAM role should have Amazon S3 read and write permissions, as well as a trust relationship that establishes bedrock.amazonaws.com
as a service principal.
source§impl GenerativeAiSettings
impl GenerativeAiSettings
sourcepub fn builder() -> GenerativeAiSettingsBuilder
pub fn builder() -> GenerativeAiSettingsBuilder
Creates a new builder-style object to manufacture GenerativeAiSettings
.
Trait Implementations§
source§impl Clone for GenerativeAiSettings
impl Clone for GenerativeAiSettings
source§fn clone(&self) -> GenerativeAiSettings
fn clone(&self) -> GenerativeAiSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GenerativeAiSettings
impl Debug for GenerativeAiSettings
source§impl PartialEq for GenerativeAiSettings
impl PartialEq for GenerativeAiSettings
source§fn eq(&self, other: &GenerativeAiSettings) -> bool
fn eq(&self, other: &GenerativeAiSettings) -> bool
self
and other
values to be equal, and is used
by ==
.