Struct aws_sdk_sagemaker::types::TrialComponentArtifact
source · #[non_exhaustive]pub struct TrialComponentArtifact {
pub media_type: Option<String>,
pub value: Option<String>,
}
Expand description
Represents an input or output artifact of a trial component. You specify TrialComponentArtifact
as part of the InputArtifacts
and OutputArtifacts
parameters in the CreateTrialComponent request.
Examples of input artifacts are datasets, algorithms, hyperparameters, source code, and instance types. Examples of output artifacts are metrics, snapshots, logs, and images.
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.media_type: Option<String>
The media type of the artifact, which indicates the type of data in the artifact file. The media type consists of a type and a subtype concatenated with a slash (/) character, for example, text/csv, image/jpeg, and s3/uri. The type specifies the category of the media. The subtype specifies the kind of data.
value: Option<String>
The location of the artifact.
Implementations§
source§impl TrialComponentArtifact
impl TrialComponentArtifact
sourcepub fn media_type(&self) -> Option<&str>
pub fn media_type(&self) -> Option<&str>
The media type of the artifact, which indicates the type of data in the artifact file. The media type consists of a type and a subtype concatenated with a slash (/) character, for example, text/csv, image/jpeg, and s3/uri. The type specifies the category of the media. The subtype specifies the kind of data.
source§impl TrialComponentArtifact
impl TrialComponentArtifact
sourcepub fn builder() -> TrialComponentArtifactBuilder
pub fn builder() -> TrialComponentArtifactBuilder
Creates a new builder-style object to manufacture TrialComponentArtifact
.
Trait Implementations§
source§impl Clone for TrialComponentArtifact
impl Clone for TrialComponentArtifact
source§fn clone(&self) -> TrialComponentArtifact
fn clone(&self) -> TrialComponentArtifact
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TrialComponentArtifact
impl Debug for TrialComponentArtifact
source§impl PartialEq<TrialComponentArtifact> for TrialComponentArtifact
impl PartialEq<TrialComponentArtifact> for TrialComponentArtifact
source§fn eq(&self, other: &TrialComponentArtifact) -> bool
fn eq(&self, other: &TrialComponentArtifact) -> bool
self
and other
values to be equal, and is used
by ==
.