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   529 use Moose;
  1         5  
  1         11  
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   7928 use MooseX::ClassAttribute;
  1         4  
  1         9  
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 to use for this operation. Supported language codes
50             are as follows:
51              
52             "en" (English)
53              
54             "jp" (Japanese)
55              
56             "zh" (Chinese)
57              
58             If no code is specified, "en" is used as the default.
59              
60              
61              
62             =head2 Description => Str
63              
64             The text description of the product.
65              
66              
67              
68             =head2 Distributor => Str
69              
70             The distributor of the product.
71              
72              
73              
74             =head2 B<REQUIRED> IdempotencyToken => Str
75              
76             A token to disambiguate duplicate requests. You can create multiple
77             resources using the same input in multiple requests, provided that you
78             also specify a different idempotency token for each request.
79              
80              
81              
82             =head2 B<REQUIRED> Name => Str
83              
84             The name of the product.
85              
86              
87              
88             =head2 B<REQUIRED> Owner => Str
89              
90             The owner of the product.
91              
92              
93              
94             =head2 B<REQUIRED> ProductType => Str
95              
96             The type of the product to create.
97              
98             Valid values are: C<"CLOUD_FORMATION_TEMPLATE">, C<"MARKETPLACE">
99              
100             =head2 B<REQUIRED> ProvisioningArtifactParameters => L<Paws::ServiceCatalog::ProvisioningArtifactProperties>
101              
102             Parameters for the provisioning artifact.
103              
104              
105              
106             =head2 SupportDescription => Str
107              
108             Support information about the product.
109              
110              
111              
112             =head2 SupportEmail => Str
113              
114             Contact email for product support.
115              
116              
117              
118             =head2 SupportUrl => Str
119              
120             Contact URL for product support.
121              
122              
123              
124             =head2 Tags => ArrayRef[L<Paws::ServiceCatalog::Tag>]
125              
126             Tags to associate with the new product.
127              
128              
129              
130              
131             =head1 SEE ALSO
132              
133             This class forms part of L<Paws>, documenting arguments for method CreateProduct 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