Struct aws_sdk_sagemaker::model::SourceAlgorithm
source · #[non_exhaustive]pub struct SourceAlgorithm { /* private fields */ }
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.
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 region as the algorithm.
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() -> Builder
pub fn builder() -> Builder
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<SourceAlgorithm> for SourceAlgorithm
impl PartialEq<SourceAlgorithm> 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 ==
.