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 ==
.impl StructuralPartialEq for GenerativeAiSettings
Auto Trait Implementations§
impl Freeze for GenerativeAiSettings
impl RefUnwindSafe for GenerativeAiSettings
impl Send for GenerativeAiSettings
impl Sync for GenerativeAiSettings
impl Unpin for GenerativeAiSettings
impl UnwindSafe for GenerativeAiSettings
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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