File Coverage

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