File Coverage

blib/lib/Paws/ServiceCatalog/CopyProduct.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::CopyProduct;
3 1     1   266 use Moose;
  1         3  
  1         6  
4             has AcceptLanguage => (is => 'ro', isa => 'Str');
5             has CopyOptions => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
6             has IdempotencyToken => (is => 'ro', isa => 'Str', required => 1);
7             has SourceProductArn => (is => 'ro', isa => 'Str', required => 1);
8             has SourceProvisioningArtifactIdentifiers => (is => 'ro', isa => 'ArrayRef[Paws::ServiceCatalog::SourceProvisioningArtifactPropertiesMap]');
9             has TargetProductId => (is => 'ro', isa => 'Str');
10             has TargetProductName => (is => 'ro', isa => 'Str');
11              
12 1     1   5281 use MooseX::ClassAttribute;
  1         3  
  1         6  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CopyProduct');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ServiceCatalog::CopyProductOutput');
16             class_has _result_key => (isa => 'Str', is => 'ro');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::ServiceCatalog::CopyProduct - Arguments for method CopyProduct on Paws::ServiceCatalog
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method CopyProduct on the
28             AWS Service Catalog service. Use the attributes of this class
29             as arguments to method CopyProduct.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CopyProduct.
32              
33             As an example:
34              
35             $service_obj->CopyProduct(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 AcceptLanguage => Str
43              
44             The language code.
45              
46             =over
47              
48             =item *
49              
50             C<en> - English (default)
51              
52             =item *
53              
54             C<jp> - Japanese
55              
56             =item *
57              
58             C<zh> - Chinese
59              
60             =back
61              
62              
63              
64              
65             =head2 CopyOptions => ArrayRef[Str|Undef]
66              
67             The copy options. If the value is C<CopyTags>, the tags from the source
68             product are copied to the target product.
69              
70              
71              
72             =head2 B<REQUIRED> IdempotencyToken => Str
73              
74             A token to disambiguate duplicate requests. You can use the same input
75             in multiple requests, provided that you also specify a different
76             idempotency token for each request.
77              
78              
79              
80             =head2 B<REQUIRED> SourceProductArn => Str
81              
82             The Amazon Resource Name (ARN) of the source product.
83              
84              
85              
86             =head2 SourceProvisioningArtifactIdentifiers => ArrayRef[L<Paws::ServiceCatalog::SourceProvisioningArtifactPropertiesMap>]
87              
88             The IDs of the product versions to copy. By default, all provisioning
89             artifacts are copied.
90              
91              
92              
93             =head2 TargetProductId => Str
94              
95             The ID of the target product. By default, a new product is created.
96              
97              
98              
99             =head2 TargetProductName => Str
100              
101             A name for the target product. The default is the name of the source
102             product.
103              
104              
105              
106              
107             =head1 SEE ALSO
108              
109             This class forms part of L<Paws>, documenting arguments for method CopyProduct in L<Paws::ServiceCatalog>
110              
111             =head1 BUGS and CONTRIBUTIONS
112              
113             The source code is located here: https://github.com/pplu/aws-sdk-perl
114              
115             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
116              
117             =cut
118