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

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 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::Tag;
3 use Moose;
4 has Key => (is => 'ro', isa => 'Str', required => 1);
5 has Value => (is => 'ro', isa => 'Str', required => 1);
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::SageMaker::Tag
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::SageMaker::Tag object:
25  
26 $service_obj->Method(Att1 => { Key => $value, ..., Value => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::SageMaker::Tag object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->Key
34  
35 =head1 DESCRIPTION
36  
37 A tag object that consists of a key and an optional value, used to
38 manage metadata for Amazon SageMaker Amazon Web Services resources.
39  
40 You can add tags to notebook instances, training jobs, hyperparameter
41 tuning jobs, batch transform jobs, models, labeling jobs, work teams,
42 endpoint configurations, and endpoints. For more information on adding
43 tags to Amazon SageMaker resources, see AddTags.
44  
45 For more information on adding metadata to your Amazon Web Services
46 resources with tagging, see Tagging Amazon Web Services resources
47 (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). For
48 advice on best practices for managing Amazon Web Services resources
49 with tagging, see Tagging Best Practices: Implement an Effective Amazon
50 Web Services Resource Tagging Strategy
51 (https://d1.awsstatic.com/whitepapers/aws-tagging-best-practices.pdf).
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 B<REQUIRED> Key => Str
57  
58 The tag key. Tag keys must be unique per resource.
59  
60  
61 =head2 B<REQUIRED> Value => Str
62  
63 The tag value.
64  
65  
66  
67 =head1 SEE ALSO
68  
69 This class forms part of L<Paws>, describing an object used in L<Paws::SageMaker>
70  
71 =head1 BUGS and CONTRIBUTIONS
72  
73 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
74  
75 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
76  
77 =cut
78