File Coverage

blib/lib/Paws/Route53/ChangeTagsForResource.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::Route53::ChangeTagsForResource;
3 1     1   463 use Moose;
  1         2  
  1         7  
4             has AddTags => (is => 'ro', isa => 'ArrayRef[Paws::Route53::Tag]');
5             has RemoveTagKeys => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
6             has ResourceId => (is => 'ro', isa => 'Str', uri_name => 'ResourceId', traits => ['ParamInURI'], required => 1);
7             has ResourceType => (is => 'ro', isa => 'Str', uri_name => 'ResourceType', traits => ['ParamInURI'], required => 1);
8              
9 1     1   5849 use MooseX::ClassAttribute;
  1         2  
  1         9  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ChangeTagsForResource');
12             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2013-04-01/tags/{ResourceType}/{ResourceId}');
13             class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
14             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53::ChangeTagsForResourceResponse');
15             class_has _result_key => (isa => 'Str', is => 'ro');
16            
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::Route53::ChangeTagsForResource - Arguments for method ChangeTagsForResource on Paws::Route53
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method ChangeTagsForResource on the
28             Amazon Route 53 service. Use the attributes of this class
29             as arguments to method ChangeTagsForResource.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ChangeTagsForResource.
32              
33             As an example:
34              
35             $service_obj->ChangeTagsForResource(Att1 => $value1, Att2 => $value2, ...);
36              
37             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 AddTags => ArrayRef[L<Paws::Route53::Tag>]
43              
44             A complex type that contains a list of the tags that you want to add to
45             the specified health check or hosted zone and/or the tags that you want
46             to edit C<Value> for.
47              
48             You can add a maximum of 10 tags to a health check or a hosted zone.
49              
50              
51              
52             =head2 RemoveTagKeys => ArrayRef[Str|Undef]
53              
54             A complex type that contains a list of the tags that you want to delete
55             from the specified health check or hosted zone. You can specify up to
56             10 keys.
57              
58              
59              
60             =head2 B<REQUIRED> ResourceId => Str
61              
62             The ID of the resource for which you want to add, change, or delete
63             tags.
64              
65              
66              
67             =head2 B<REQUIRED> ResourceType => Str
68              
69             The type of the resource.
70              
71             =over
72              
73             =item *
74              
75             The resource type for health checks is C<healthcheck>.
76              
77             =item *
78              
79             The resource type for hosted zones is C<hostedzone>.
80              
81             =back
82              
83              
84             Valid values are: C<"healthcheck">, C<"hostedzone">
85              
86              
87             =head1 SEE ALSO
88              
89             This class forms part of L<Paws>, documenting arguments for method ChangeTagsForResource in L<Paws::Route53>
90              
91             =head1 BUGS and CONTRIBUTIONS
92              
93             The source code is located here: https://github.com/pplu/aws-sdk-perl
94              
95             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
96              
97             =cut
98