File Coverage

blib/lib/Paws/RedShift/TaggedResource.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::RedShift::TaggedResource;
2 1     1   416 use Moose;
  1         2  
  1         7  
3             has ResourceName => (is => 'ro', isa => 'Str');
4             has ResourceType => (is => 'ro', isa => 'Str');
5             has Tag => (is => 'ro', isa => 'Paws::RedShift::Tag');
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::RedShift::TaggedResource
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::RedShift::TaggedResource object:
24              
25             $service_obj->Method(Att1 => { ResourceName => $value, ..., Tag => $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::RedShift::TaggedResource object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->ResourceName
33              
34             =head1 DESCRIPTION
35              
36             A tag and its associated resource.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 ResourceName => Str
42              
43             The Amazon Resource Name (ARN) with which the tag is associated. For
44             example, C<arn:aws:redshift:us-east-1:123456789:cluster:t1>.
45              
46              
47             =head2 ResourceType => Str
48              
49             The type of resource with which the tag is associated. Valid resource
50             types are:
51              
52             =over
53              
54             =item *
55              
56             Cluster
57              
58             =item *
59              
60             CIDR/IP
61              
62             =item *
63              
64             EC2 security group
65              
66             =item *
67              
68             Snapshot
69              
70             =item *
71              
72             Cluster security group
73              
74             =item *
75              
76             Subnet group
77              
78             =item *
79              
80             HSM connection
81              
82             =item *
83              
84             HSM certificate
85              
86             =item *
87              
88             Parameter group
89              
90             =back
91              
92             For more information about Amazon Redshift resource types and
93             constructing ARNs, go to Constructing an Amazon Redshift Amazon
94             Resource Name (ARN) in the Amazon Redshift Cluster Management Guide.
95              
96              
97             =head2 Tag => L<Paws::RedShift::Tag>
98              
99             The tag for the resource.
100              
101              
102              
103             =head1 SEE ALSO
104              
105             This class forms part of L<Paws>, describing an object used in L<Paws::RedShift>
106              
107             =head1 BUGS and CONTRIBUTIONS
108              
109             The source code is located here: https://github.com/pplu/aws-sdk-perl
110              
111             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
112              
113             =cut
114