Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ChannelSpecification = ChannelSpecification' {}
- newChannelSpecification :: Text -> NonEmpty TrainingInputMode -> ChannelSpecification
- channelSpecification_supportedCompressionTypes :: Lens' ChannelSpecification (Maybe [CompressionType])
- channelSpecification_isRequired :: Lens' ChannelSpecification (Maybe Bool)
- channelSpecification_description :: Lens' ChannelSpecification (Maybe Text)
- 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:supportedCompressionTypes:ChannelSpecification'
, channelSpecification_supportedCompressionTypes
- The allowed compression types, if data compression is used.
$sel:isRequired:ChannelSpecification'
, channelSpecification_isRequired
- Indicates whether the channel is required by the algorithm.
$sel:description:ChannelSpecification'
, channelSpecification_description
- A brief description of the channel.
$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_supportedCompressionTypes :: Lens' ChannelSpecification (Maybe [CompressionType]) Source #
The allowed compression types, if data compression is used.
channelSpecification_isRequired :: Lens' ChannelSpecification (Maybe Bool) Source #
Indicates whether the channel is required by the algorithm.
channelSpecification_description :: Lens' ChannelSpecification (Maybe Text) Source #
A brief description of the channel.
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.