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   400 use Moose;
  1         3  
  1         7  
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   5941 use MooseX::ClassAttribute;
  1         3  
  1         9  
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 to use for this operation. Supported language codes
49             are as follows:
50              
51             "en" (English)
52              
53             "jp" (Japanese)
54              
55             "zh" (Chinese)
56              
57             If no code is specified, "en" is used as the default.
58              
59              
60              
61             =head2 AddTags => ArrayRef[L<Paws::ServiceCatalog::Tag>]
62              
63             Tags to add to the existing list of tags associated with the product.
64              
65              
66              
67             =head2 Description => Str
68              
69             The updated text description of the product.
70              
71              
72              
73             =head2 Distributor => Str
74              
75             The updated distributor of the product.
76              
77              
78              
79             =head2 B<REQUIRED> Id => Str
80              
81             The identifier of the product for the update request.
82              
83              
84              
85             =head2 Name => Str
86              
87             The updated product name.
88              
89              
90              
91             =head2 Owner => Str
92              
93             The updated owner of the product.
94              
95              
96              
97             =head2 RemoveTags => ArrayRef[Str|Undef]
98              
99             Tags to remove from the existing list of tags associated with the
100             product.
101              
102              
103              
104             =head2 SupportDescription => Str
105              
106             The updated support description for the product.
107              
108              
109              
110             =head2 SupportEmail => Str
111              
112             The updated support email for the product.
113              
114              
115              
116             =head2 SupportUrl => Str
117              
118             The updated support URL for the product.
119              
120              
121              
122              
123             =head1 SEE ALSO
124              
125             This class forms part of L<Paws>, documenting arguments for method UpdateProduct in L<Paws::ServiceCatalog>
126              
127             =head1 BUGS and CONTRIBUTIONS
128              
129             The source code is located here: https://github.com/pplu/aws-sdk-perl
130              
131             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
132              
133             =cut
134