blib/lib/Paws/SageMaker/InferenceSpecification.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 9 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::SageMaker::InferenceSpecification;
3 use Moose;
4 has Containers => (is => 'ro', isa => 'ArrayRef[Paws::SageMaker::ModelPackageContainerDefinition]', required => 1);
5 has SupportedContentTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
6 has SupportedRealtimeInferenceInstanceTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
7 has SupportedResponseMIMETypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
8 has SupportedTransformInstanceTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::SageMaker::InferenceSpecification
17  
18 =head1 USAGE
19  
20 This class represents one of two things:
21  
22 =head3 Arguments in a call to a service
23  
24 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25 Each attribute should be used as a named argument in the calls that expect this type of object.
26  
27 As an example, if Att1 is expected to be a Paws::SageMaker::InferenceSpecification object:
28  
29 $service_obj->Method(Att1 => { Containers => $value, ..., SupportedTransformInstanceTypes => $value });
30  
31 =head3 Results returned from an API call
32  
33 Use accessors for each attribute. If Att1 is expected to be an Paws::SageMaker::InferenceSpecification object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->Containers
37  
38 =head1 DESCRIPTION
39  
40 Defines how to perform inference generation after a training job is
41 run.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 B<REQUIRED> Containers => ArrayRef[L<Paws::SageMaker::ModelPackageContainerDefinition>]
47  
48 The Amazon ECR registry path of the Docker image that contains the
49 inference code.
50  
51  
52 =head2 B<REQUIRED> SupportedContentTypes => ArrayRef[Str|Undef]
53  
54 The supported MIME types for the input data.
55  
56  
57 =head2 SupportedRealtimeInferenceInstanceTypes => ArrayRef[Str|Undef]
58  
59 A list of the instance types that are used to generate inferences in
60 real-time.
61  
62 This parameter is required for unversioned models, and optional for
63 versioned models.
64  
65  
66 =head2 B<REQUIRED> SupportedResponseMIMETypes => ArrayRef[Str|Undef]
67  
68 The supported MIME types for the output data.
69  
70  
71 =head2 SupportedTransformInstanceTypes => ArrayRef[Str|Undef]
72  
73 A list of the instance types on which a transformation job can be run
74 or on which an endpoint can be deployed.
75  
76 This parameter is required for unversioned models, and optional for
77 versioned models.
78  
79  
80  
81 =head1 SEE ALSO
82  
83 This class forms part of L<Paws>, describing an object used in L<Paws::SageMaker>
84  
85 =head1 BUGS and CONTRIBUTIONS
86  
87 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
88  
89 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
90  
91 =cut
92