| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::SageMaker::VariantProperty; | ||
| 3 | use Moose; | ||
| 4 | has VariantPropertyType => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | |||
| 6 | 1; | ||
| 7 | |||
| 8 | ### main pod documentation begin ### | ||
| 9 | |||
| 10 | =head1 NAME | ||
| 11 | |||
| 12 | Paws::SageMaker::VariantProperty | ||
| 13 | |||
| 14 | =head1 USAGE | ||
| 15 | |||
| 16 | This class represents one of two things: | ||
| 17 | |||
| 18 | =head3 Arguments in a call to a service | ||
| 19 | |||
| 20 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 21 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 22 | |||
| 23 | As an example, if Att1 is expected to be a Paws::SageMaker::VariantProperty object: | ||
| 24 | |||
| 25 | $service_obj->Method(Att1 => { VariantPropertyType => $value, ..., VariantPropertyType => $value }); | ||
| 26 | |||
| 27 | =head3 Results returned from an API call | ||
| 28 | |||
| 29 | Use accessors for each attribute. If Att1 is expected to be an Paws::SageMaker::VariantProperty object: | ||
| 30 | |||
| 31 | $result = $service_obj->Method(...); | ||
| 32 | $result->Att1->VariantPropertyType | ||
| 33 | |||
| 34 | =head1 DESCRIPTION | ||
| 35 | |||
| 36 | Specifies a production variant property type for an Endpoint. | ||
| 37 | |||
| 38 | If you are updating an endpoint with the | ||
| 39 | UpdateEndpointInput$RetainAllVariantProperties option set to C<true>, | ||
| 40 | the C<VariantProperty> objects listed in | ||
| 41 | UpdateEndpointInput$ExcludeRetainedVariantProperties override the | ||
| 42 | existing variant properties of the endpoint. | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 B<REQUIRED> VariantPropertyType => Str | ||
| 48 | |||
| 49 | The type of variant property. The supported values are: | ||
| 50 | |||
| 51 | =over | ||
| 52 | |||
| 53 | =item * | ||
| 54 | |||
| 55 | C<DesiredInstanceCount>: Overrides the existing variant instance counts | ||
| 56 | using the ProductionVariant$InitialInstanceCount values in the | ||
| 57 | CreateEndpointConfigInput$ProductionVariants. | ||
| 58 | |||
| 59 | =item * | ||
| 60 | |||
| 61 | C<DesiredWeight>: Overrides the existing variant weights using the | ||
| 62 | ProductionVariant$InitialVariantWeight values in the | ||
| 63 | CreateEndpointConfigInput$ProductionVariants. | ||
| 64 | |||
| 65 | =item * | ||
| 66 | |||
| 67 | C<DataCaptureConfig>: (Not currently supported.) | ||
| 68 | |||
| 69 | =back | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head1 SEE ALSO | ||
| 75 | |||
| 76 | This class forms part of L<Paws>, describing an object used in L<Paws::SageMaker> | ||
| 77 | |||
| 78 | =head1 BUGS and CONTRIBUTIONS | ||
| 79 | |||
| 80 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 81 | |||
| 82 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 83 | |||
| 84 | =cut | ||
| 85 |