« blib/lib/Paws/SageMaker/ProductionVariantCoreDumpConfig.pm
↑ Summary
blib/lib/Paws/SageMaker/ProfilerConfig.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::SageMaker::ProductionVariantSummary; | ||
| 3 | use Moose; | ||
| 4 | has CurrentInstanceCount => (is => 'ro', isa => 'Int'); | ||
| 5 | has CurrentWeight => (is => 'ro', isa => 'Num'); | ||
| 6 | has DeployedImages => (is => 'ro', isa => 'ArrayRef[Paws::SageMaker::DeployedImage]'); | ||
| 7 | has DesiredInstanceCount => (is => 'ro', isa => 'Int'); | ||
| 8 | has DesiredWeight => (is => 'ro', isa => 'Num'); | ||
| 9 | has VariantName => (is => 'ro', isa => 'Str', required => 1); | ||
| 10 | |||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::SageMaker::ProductionVariantSummary | ||
| 18 | |||
| 19 | =head1 USAGE | ||
| 20 | |||
| 21 | This class represents one of two things: | ||
| 22 | |||
| 23 | =head3 Arguments in a call to a service | ||
| 24 | |||
| 25 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 26 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 27 | |||
| 28 | As an example, if Att1 is expected to be a Paws::SageMaker::ProductionVariantSummary object: | ||
| 29 | |||
| 30 | $service_obj->Method(Att1 => { CurrentInstanceCount => $value, ..., VariantName => $value }); | ||
| 31 | |||
| 32 | =head3 Results returned from an API call | ||
| 33 | |||
| 34 | Use accessors for each attribute. If Att1 is expected to be an Paws::SageMaker::ProductionVariantSummary object: | ||
| 35 | |||
| 36 | $result = $service_obj->Method(...); | ||
| 37 | $result->Att1->CurrentInstanceCount | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | Describes weight and capacities for a production variant associated | ||
| 42 | with an endpoint. If you sent a request to the | ||
| 43 | C<UpdateEndpointWeightsAndCapacities> API and the endpoint status is | ||
| 44 | C<Updating>, you get different desired and current values. | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 CurrentInstanceCount => Int | ||
| 50 | |||
| 51 | The number of instances associated with the variant. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 CurrentWeight => Num | ||
| 55 | |||
| 56 | The weight associated with the variant. | ||
| 57 | |||
| 58 | |||
| 59 | =head2 DeployedImages => ArrayRef[L<Paws::SageMaker::DeployedImage>] | ||
| 60 | |||
| 61 | An array of C<DeployedImage> objects that specify the Amazon EC2 | ||
| 62 | Container Registry paths of the inference images deployed on instances | ||
| 63 | of this C<ProductionVariant>. | ||
| 64 | |||
| 65 | |||
| 66 | =head2 DesiredInstanceCount => Int | ||
| 67 | |||
| 68 | The number of instances requested in the | ||
| 69 | C<UpdateEndpointWeightsAndCapacities> request. | ||
| 70 | |||
| 71 | |||
| 72 | =head2 DesiredWeight => Num | ||
| 73 | |||
| 74 | The requested weight, as specified in the | ||
| 75 | C<UpdateEndpointWeightsAndCapacities> request. | ||
| 76 | |||
| 77 | |||
| 78 | =head2 B<REQUIRED> VariantName => Str | ||
| 79 | |||
| 80 | The name of the variant. | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head1 SEE ALSO | ||
| 85 | |||
| 86 | This class forms part of L<Paws>, describing an object used in L<Paws::SageMaker> | ||
| 87 | |||
| 88 | =head1 BUGS and CONTRIBUTIONS | ||
| 89 | |||
| 90 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 91 | |||
| 92 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 93 | |||
| 94 | =cut | ||
| 95 |