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

Description

 
Synopsis

Documentation

data InferenceSpecification Source #

Defines how to perform inference generation after a training job is run.

See: newInferenceSpecification smart constructor.

Constructors

InferenceSpecification' 

Fields

Instances

Instances details
Eq InferenceSpecification Source # 
Instance details

Defined in Amazonka.SageMaker.Types.InferenceSpecification

Read InferenceSpecification Source # 
Instance details

Defined in Amazonka.SageMaker.Types.InferenceSpecification

Show InferenceSpecification Source # 
Instance details

Defined in Amazonka.SageMaker.Types.InferenceSpecification

Generic InferenceSpecification Source # 
Instance details

Defined in Amazonka.SageMaker.Types.InferenceSpecification

Associated Types

type Rep InferenceSpecification :: Type -> Type #

NFData InferenceSpecification Source # 
Instance details

Defined in Amazonka.SageMaker.Types.InferenceSpecification

Methods

rnf :: InferenceSpecification -> () #

Hashable InferenceSpecification Source # 
Instance details

Defined in Amazonka.SageMaker.Types.InferenceSpecification

ToJSON InferenceSpecification Source # 
Instance details

Defined in Amazonka.SageMaker.Types.InferenceSpecification

FromJSON InferenceSpecification Source # 
Instance details

Defined in Amazonka.SageMaker.Types.InferenceSpecification

type Rep InferenceSpecification Source # 
Instance details

Defined in Amazonka.SageMaker.Types.InferenceSpecification

type Rep InferenceSpecification = D1 ('MetaData "InferenceSpecification" "Amazonka.SageMaker.Types.InferenceSpecification" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "InferenceSpecification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "supportedRealtimeInferenceInstanceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ProductionVariantInstanceType])) :*: S1 ('MetaSel ('Just "supportedTransformInstanceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty TransformInstanceType)))) :*: (S1 ('MetaSel ('Just "containers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty ModelPackageContainerDefinition)) :*: (S1 ('MetaSel ('Just "supportedContentTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "supportedResponseMIMETypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))))

newInferenceSpecification Source #

Create a value of InferenceSpecification 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:supportedRealtimeInferenceInstanceTypes:InferenceSpecification', inferenceSpecification_supportedRealtimeInferenceInstanceTypes - A list of the instance types that are used to generate inferences in real-time.

This parameter is required for unversioned models, and optional for versioned models.

$sel:supportedTransformInstanceTypes:InferenceSpecification', inferenceSpecification_supportedTransformInstanceTypes - A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.

This parameter is required for unversioned models, and optional for versioned models.

$sel:containers:InferenceSpecification', inferenceSpecification_containers - The Amazon ECR registry path of the Docker image that contains the inference code.

$sel:supportedContentTypes:InferenceSpecification', inferenceSpecification_supportedContentTypes - The supported MIME types for the input data.

$sel:supportedResponseMIMETypes:InferenceSpecification', inferenceSpecification_supportedResponseMIMETypes - The supported MIME types for the output data.

inferenceSpecification_supportedRealtimeInferenceInstanceTypes :: Lens' InferenceSpecification (Maybe [ProductionVariantInstanceType]) Source #

A list of the instance types that are used to generate inferences in real-time.

This parameter is required for unversioned models, and optional for versioned models.

inferenceSpecification_supportedTransformInstanceTypes :: Lens' InferenceSpecification (Maybe (NonEmpty TransformInstanceType)) Source #

A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.

This parameter is required for unversioned models, and optional for versioned models.

inferenceSpecification_containers :: Lens' InferenceSpecification (NonEmpty ModelPackageContainerDefinition) Source #

The Amazon ECR registry path of the Docker image that contains the inference code.