The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::SageMaker::ProductionVariant

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::SageMaker::ProductionVariant object:

  $service_obj->Method(Att1 => { AcceleratorType => $value, ..., VariantName => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::SageMaker::ProductionVariant object:

  $result = $service_obj->Method(...);
  $result->Att1->AcceleratorType

DESCRIPTION

Identifies a model that you want to host and the resources to deploy for hosting it. If you are deploying multiple models, tell Amazon SageMaker how to distribute traffic among the models by specifying variant weights.

ATTRIBUTES

AcceleratorType => Str

  The size of the Elastic Inference (EI) instance to use for the
production variant. EI instances provide on-demand GPU computing for
inference. For more information, see Using Elastic Inference in Amazon
SageMaker (http://docs.aws.amazon.com/sagemaker/latest/dg/ei.html). For
more information, see Using Elastic Inference in Amazon SageMaker
(http://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).

REQUIRED InitialInstanceCount => Int

  Number of instances to launch initially.

InitialVariantWeight => Num

  Determines initial traffic distribution among all of the models that
you specify in the endpoint configuration. The traffic to a production
variant is determined by the ratio of the C<VariantWeight> to the sum
of all C<VariantWeight> values across all ProductionVariants. If
unspecified, it defaults to 1.0.

REQUIRED InstanceType => Str

  The ML compute instance type.

REQUIRED ModelName => Str

  The name of the model that you want to host. This is the name that you
specified when creating the model.

REQUIRED VariantName => Str

  The name of the production variant.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::SageMaker

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues