libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SageMaker.Types.SourceAlgorithm

Description

 
Synopsis

Documentation

data SourceAlgorithm Source #

Specifies an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your Amazon SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.

See: newSourceAlgorithm smart constructor.

Constructors

SourceAlgorithm' 

Fields

  • modelDataUrl :: Maybe Text

    The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).

    The model artifacts must be in an S3 bucket that is in the same region as the algorithm.

  • algorithmName :: Text

    The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your Amazon SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.

Instances

Instances details
Eq SourceAlgorithm Source # 
Instance details

Defined in Amazonka.SageMaker.Types.SourceAlgorithm

Read SourceAlgorithm Source # 
Instance details

Defined in Amazonka.SageMaker.Types.SourceAlgorithm

Show SourceAlgorithm Source # 
Instance details

Defined in Amazonka.SageMaker.Types.SourceAlgorithm

Generic SourceAlgorithm Source # 
Instance details

Defined in Amazonka.SageMaker.Types.SourceAlgorithm

Associated Types

type Rep SourceAlgorithm :: Type -> Type #

NFData SourceAlgorithm Source # 
Instance details

Defined in Amazonka.SageMaker.Types.SourceAlgorithm

Methods

rnf :: SourceAlgorithm -> () #

Hashable SourceAlgorithm Source # 
Instance details

Defined in Amazonka.SageMaker.Types.SourceAlgorithm

ToJSON SourceAlgorithm Source # 
Instance details

Defined in Amazonka.SageMaker.Types.SourceAlgorithm

FromJSON SourceAlgorithm Source # 
Instance details

Defined in Amazonka.SageMaker.Types.SourceAlgorithm

type Rep SourceAlgorithm Source # 
Instance details

Defined in Amazonka.SageMaker.Types.SourceAlgorithm

type Rep SourceAlgorithm = D1 ('MetaData "SourceAlgorithm" "Amazonka.SageMaker.Types.SourceAlgorithm" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "SourceAlgorithm'" 'PrefixI 'True) (S1 ('MetaSel ('Just "modelDataUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "algorithmName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSourceAlgorithm Source #

Create a value of SourceAlgorithm 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:modelDataUrl:SourceAlgorithm', sourceAlgorithm_modelDataUrl - The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).

The model artifacts must be in an S3 bucket that is in the same region as the algorithm.

$sel:algorithmName:SourceAlgorithm', sourceAlgorithm_algorithmName - The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your Amazon SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.

sourceAlgorithm_modelDataUrl :: Lens' SourceAlgorithm (Maybe Text) Source #

The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).

The model artifacts must be in an S3 bucket that is in the same region as the algorithm.

sourceAlgorithm_algorithmName :: Lens' SourceAlgorithm Text Source #

The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your Amazon SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.