blib/lib/Paws/RedShift/TaggedResource.pm untested

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 7 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::RedShift::TaggedResource;
3 use Moose;
4 has ResourceName => (is => 'ro', isa => 'Str');
5 has ResourceType => (is => 'ro', isa => 'Str');
6 has Tag => (is => 'ro', isa => 'Paws::RedShift::Tag');
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::RedShift::TaggedResource
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::RedShift::TaggedResource object:
26  
27 $service_obj->Method(Att1 => { ResourceName => $value, ..., Tag => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::RedShift::TaggedResource object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->ResourceName
35  
36 =head1 DESCRIPTION
37  
38 A tag and its associated resource.
39  
40 =head1 ATTRIBUTES
41  
42  
43 =head2 ResourceName => Str
44  
45 The Amazon Resource Name (ARN) with which the tag is associated, for
46 example: C<arn:aws:redshift:us-east-2:123456789:cluster:t1>.
47  
48  
49 =head2 ResourceType => Str
50  
51 The type of resource with which the tag is associated. Valid resource
52 types are:
53  
54 =over
55  
56 =item *
57  
58 Cluster
59  
60 =item *
61  
62 CIDR/IP
63  
64 =item *
65  
66 EC2 security group
67  
68 =item *
69  
70 Snapshot
71  
72 =item *
73  
74 Cluster security group
75  
76 =item *
77  
78 Subnet group
79  
80 =item *
81  
82 HSM connection
83  
84 =item *
85  
86 HSM certificate
87  
88 =item *
89  
90 Parameter group
91  
92 =back
93  
94 For more information about Amazon Redshift resource types and
95 constructing ARNs, go to Constructing an Amazon Redshift Amazon
96 Resource Name (ARN)
97 (https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-overview.html#redshift-iam-access-control-specify-actions)
98 in the Amazon Redshift Cluster Management Guide.
99  
100  
101 =head2 Tag => L<Paws::RedShift::Tag>
102  
103 The tag for the resource.
104  
105  
106  
107 =head1 SEE ALSO
108  
109 This class forms part of L<Paws>, describing an object used in L<Paws::RedShift>
110  
111 =head1 BUGS and CONTRIBUTIONS
112  
113 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
114  
115 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
116  
117 =cut
118