Struct aws_sdk_sagemaker::types::SourceAlgorithm
source · #[non_exhaustive]pub struct SourceAlgorithm {
pub model_data_url: Option<String>,
pub model_data_source: Option<ModelDataSource>,
pub algorithm_name: Option<String>,
}
Expand description
Specifies an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.
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.model_data_url: Option<String>
The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip
compressed tar archive (.tar.gz
suffix).
The model artifacts must be in an S3 bucket that is in the same Amazon Web Services region as the algorithm.
model_data_source: Option<ModelDataSource>
Specifies the location of ML model data to deploy during endpoint creation.
algorithm_name: Option<String>
The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.
Implementations§
source§impl SourceAlgorithm
impl SourceAlgorithm
sourcepub fn model_data_url(&self) -> Option<&str>
pub fn model_data_url(&self) -> Option<&str>
The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip
compressed tar archive (.tar.gz
suffix).
The model artifacts must be in an S3 bucket that is in the same Amazon Web Services region as the algorithm.
sourcepub fn model_data_source(&self) -> Option<&ModelDataSource>
pub fn model_data_source(&self) -> Option<&ModelDataSource>
Specifies the location of ML model data to deploy during endpoint creation.
sourcepub fn algorithm_name(&self) -> Option<&str>
pub fn algorithm_name(&self) -> Option<&str>
The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.
source§impl SourceAlgorithm
impl SourceAlgorithm
sourcepub fn builder() -> SourceAlgorithmBuilder
pub fn builder() -> SourceAlgorithmBuilder
Creates a new builder-style object to manufacture SourceAlgorithm
.
Trait Implementations§
source§impl Clone for SourceAlgorithm
impl Clone for SourceAlgorithm
source§fn clone(&self) -> SourceAlgorithm
fn clone(&self) -> SourceAlgorithm
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SourceAlgorithm
impl Debug for SourceAlgorithm
source§impl PartialEq for SourceAlgorithm
impl PartialEq for SourceAlgorithm
source§fn eq(&self, other: &SourceAlgorithm) -> bool
fn eq(&self, other: &SourceAlgorithm) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SourceAlgorithm
Auto Trait Implementations§
impl Freeze for SourceAlgorithm
impl RefUnwindSafe for SourceAlgorithm
impl Send for SourceAlgorithm
impl Sync for SourceAlgorithm
impl Unpin for SourceAlgorithm
impl UnwindSafe for SourceAlgorithm
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