Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ChannelSpecification = ChannelSpecification' {}
- newChannelSpecification :: Text -> NonEmpty TrainingInputMode -> ChannelSpecification
- channelSpecification_description :: Lens' ChannelSpecification (Maybe Text)
- channelSpecification_isRequired :: Lens' ChannelSpecification (Maybe Bool)
- channelSpecification_supportedCompressionTypes :: Lens' ChannelSpecification (Maybe [CompressionType])
- channelSpecification_name :: Lens' ChannelSpecification Text
- channelSpecification_supportedContentTypes :: Lens' ChannelSpecification [Text]
- channelSpecification_supportedInputModes :: Lens' ChannelSpecification (NonEmpty TrainingInputMode)
Documentation
data ChannelSpecification Source #
Defines a named input source, called a channel, to be used by an algorithm.
See: newChannelSpecification
smart constructor.
ChannelSpecification' | |
|
Instances
newChannelSpecification Source #
Create a value of ChannelSpecification
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:description:ChannelSpecification'
, channelSpecification_description
- A brief description of the channel.
$sel:isRequired:ChannelSpecification'
, channelSpecification_isRequired
- Indicates whether the channel is required by the algorithm.
$sel:supportedCompressionTypes:ChannelSpecification'
, channelSpecification_supportedCompressionTypes
- The allowed compression types, if data compression is used.
$sel:name:ChannelSpecification'
, channelSpecification_name
- The name of the channel.
$sel:supportedContentTypes:ChannelSpecification'
, channelSpecification_supportedContentTypes
- The supported MIME types for the data.
$sel:supportedInputModes:ChannelSpecification'
, channelSpecification_supportedInputModes
- The allowed input mode, either FILE or PIPE.
In FILE 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.
channelSpecification_description :: Lens' ChannelSpecification (Maybe Text) Source #
A brief description of the channel.
channelSpecification_isRequired :: Lens' ChannelSpecification (Maybe Bool) Source #
Indicates whether the channel is required by the algorithm.
channelSpecification_supportedCompressionTypes :: Lens' ChannelSpecification (Maybe [CompressionType]) Source #
The allowed compression types, if data compression is used.
channelSpecification_name :: Lens' ChannelSpecification Text Source #
The name of the channel.
channelSpecification_supportedContentTypes :: Lens' ChannelSpecification [Text] Source #
The supported MIME types for the data.
channelSpecification_supportedInputModes :: Lens' ChannelSpecification (NonEmpty TrainingInputMode) Source #
The allowed input mode, either FILE or PIPE.
In FILE 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.