File Coverage

blib/lib/Paws/ServiceCatalog/UpdateProduct.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::ServiceCatalog::UpdateProduct;
3 1     1   581 use Moose;
  1         3  
  1         11  
4             has AcceptLanguage => (is => 'ro', isa => 'Str');
5             has AddTags => (is => 'ro', isa => 'ArrayRef[Paws::ServiceCatalog::Tag]');
6             has Description => (is => 'ro', isa => 'Str');
7             has Distributor => (is => 'ro', isa => 'Str');
8             has Id => (is => 'ro', isa => 'Str', required => 1);
9             has Name => (is => 'ro', isa => 'Str');
10             has Owner => (is => 'ro', isa => 'Str');
11             has RemoveTags => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
12             has SupportDescription => (is => 'ro', isa => 'Str');
13             has SupportEmail => (is => 'ro', isa => 'Str');
14             has SupportUrl => (is => 'ro', isa => 'Str');
15              
16 1     1   8841 use MooseX::ClassAttribute;
  1         5  
  1         12  
17              
18             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateProduct');
19             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ServiceCatalog::UpdateProductOutput');
20             class_has _result_key => (isa => 'Str', is => 'ro');
21             1;
22              
23             ### main pod documentation begin ###
24              
25             =head1 NAME
26              
27             Paws::ServiceCatalog::UpdateProduct - Arguments for method UpdateProduct on Paws::ServiceCatalog
28              
29             =head1 DESCRIPTION
30              
31             This class represents the parameters used for calling the method UpdateProduct on the
32             AWS Service Catalog service. Use the attributes of this class
33             as arguments to method UpdateProduct.
34              
35             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateProduct.
36              
37             As an example:
38              
39             $service_obj->UpdateProduct(Att1 => $value1, Att2 => $value2, ...);
40              
41             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.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 AcceptLanguage => Str
47              
48             The language code.
49              
50             =over
51              
52             =item *
53              
54             C<en> - English (default)
55              
56             =item *
57              
58             C<jp> - Japanese
59              
60             =item *
61              
62             C<zh> - Chinese
63              
64             =back
65              
66              
67              
68              
69             =head2 AddTags => ArrayRef[L<Paws::ServiceCatalog::Tag>]
70              
71             Tags to add to the existing list of tags associated with the product.
72              
73              
74              
75             =head2 Description => Str
76              
77             The updated text description of the product.
78              
79              
80              
81             =head2 Distributor => Str
82              
83             The updated distributor of the product.
84              
85              
86              
87             =head2 B<REQUIRED> Id => Str
88              
89             The identifier of the product for the update request.
90              
91              
92              
93             =head2 Name => Str
94              
95             The updated product name.
96              
97              
98              
99             =head2 Owner => Str
100              
101             The updated owner of the product.
102              
103              
104              
105             =head2 RemoveTags => ArrayRef[Str|Undef]
106              
107             Tags to remove from the existing list of tags associated with the
108             product.
109              
110              
111              
112             =head2 SupportDescription => Str
113              
114             The updated support description for the product.
115              
116              
117              
118             =head2 SupportEmail => Str
119              
120             The updated support email for the product.
121              
122              
123              
124             =head2 SupportUrl => Str
125              
126             The updated support URL for the product.
127              
128              
129              
130              
131             =head1 SEE ALSO
132              
133             This class forms part of L<Paws>, documenting arguments for method UpdateProduct in L<Paws::ServiceCatalog>
134              
135             =head1 BUGS and CONTRIBUTIONS
136              
137             The source code is located here: https://github.com/pplu/aws-sdk-perl
138              
139             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
140              
141             =cut
142