Struct aws_sdk_sagemaker::model::DatasetDefinition
source · [−]#[non_exhaustive]pub struct DatasetDefinition { /* private fields */ }
Expand description
Configuration for Dataset Definition inputs. The Dataset Definition input must specify exactly one of either AthenaDatasetDefinition
or RedshiftDatasetDefinition
types.
Implementations
sourceimpl DatasetDefinition
impl DatasetDefinition
sourcepub fn athena_dataset_definition(&self) -> Option<&AthenaDatasetDefinition>
pub fn athena_dataset_definition(&self) -> Option<&AthenaDatasetDefinition>
Configuration for Athena Dataset Definition input.
sourcepub fn redshift_dataset_definition(&self) -> Option<&RedshiftDatasetDefinition>
pub fn redshift_dataset_definition(&self) -> Option<&RedshiftDatasetDefinition>
Configuration for Redshift Dataset Definition input.
sourcepub fn local_path(&self) -> Option<&str>
pub fn local_path(&self) -> Option<&str>
The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a processing job. LocalPath
is an absolute path to the input data. This is a required parameter when AppManaged
is False
(default).
sourcepub fn data_distribution_type(&self) -> Option<&DataDistributionType>
pub fn data_distribution_type(&self) -> Option<&DataDistributionType>
Whether the generated dataset is FullyReplicated
or ShardedByS3Key
(default).
sourcepub fn input_mode(&self) -> Option<&InputMode>
pub fn input_mode(&self) -> Option<&InputMode>
Whether to use File
or Pipe
input mode. In File
(default) mode, Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This is the most commonly used input mode. In Pipe
mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.
sourceimpl DatasetDefinition
impl DatasetDefinition
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DatasetDefinition
.
Trait Implementations
sourceimpl Clone for DatasetDefinition
impl Clone for DatasetDefinition
sourcefn clone(&self) -> DatasetDefinition
fn clone(&self) -> DatasetDefinition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DatasetDefinition
impl Debug for DatasetDefinition
sourceimpl PartialEq<DatasetDefinition> for DatasetDefinition
impl PartialEq<DatasetDefinition> for DatasetDefinition
sourcefn eq(&self, other: &DatasetDefinition) -> bool
fn eq(&self, other: &DatasetDefinition) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for DatasetDefinition
Auto Trait Implementations
impl RefUnwindSafe for DatasetDefinition
impl Send for DatasetDefinition
impl Sync for DatasetDefinition
impl Unpin for DatasetDefinition
impl UnwindSafe for DatasetDefinition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more