amazonka-sagemaker-2.0: Amazon SageMaker Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SageMaker.Types.ChannelSpecification

Description

 
Synopsis

Documentation

data ChannelSpecification Source #

Defines a named input source, called a channel, to be used by an algorithm.

See: newChannelSpecification smart constructor.

Constructors

ChannelSpecification' 

Fields

Instances

Instances details
FromJSON ChannelSpecification Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ChannelSpecification

ToJSON ChannelSpecification Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ChannelSpecification

Generic ChannelSpecification Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ChannelSpecification

Associated Types

type Rep ChannelSpecification :: Type -> Type #

Read ChannelSpecification Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ChannelSpecification

Show ChannelSpecification Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ChannelSpecification

NFData ChannelSpecification Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ChannelSpecification

Methods

rnf :: ChannelSpecification -> () #

Eq ChannelSpecification Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ChannelSpecification

Hashable ChannelSpecification Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ChannelSpecification

type Rep ChannelSpecification Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ChannelSpecification

type Rep ChannelSpecification = D1 ('MetaData "ChannelSpecification" "Amazonka.SageMaker.Types.ChannelSpecification" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "ChannelSpecification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "isRequired") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "supportedCompressionTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CompressionType])))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "supportedContentTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "supportedInputModes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty TrainingInputMode))))))

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_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_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.