pub struct SourceAlgorithm {
pub algorithm_name: String,
pub model_data_url: 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 Amazon SageMaker account or an algorithm in AWS Marketplace that you are subscribed to.
Fields§
§algorithm_name: String
The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your Amazon SageMaker account or an algorithm in AWS Marketplace that you are subscribed to.
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).
Trait Implementations§
Source§impl Clone for SourceAlgorithm
impl Clone for SourceAlgorithm
Source§fn clone(&self) -> SourceAlgorithm
fn clone(&self) -> SourceAlgorithm
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SourceAlgorithm
impl Debug for SourceAlgorithm
Source§impl Default for SourceAlgorithm
impl Default for SourceAlgorithm
Source§fn default() -> SourceAlgorithm
fn default() -> SourceAlgorithm
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SourceAlgorithm
impl<'de> Deserialize<'de> for SourceAlgorithm
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SourceAlgorithm
impl PartialEq for SourceAlgorithm
Source§impl Serialize for SourceAlgorithm
impl Serialize for SourceAlgorithm
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
Mutably borrows from an owned value. Read more