blib/lib/Paws/MarketplaceCatalog/StartChangeSet.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::MarketplaceCatalog::StartChangeSet;
3 use Moose;
4 has Catalog => (is => 'ro', isa => 'Str', required => 1);
5 has ChangeSet => (is => 'ro', isa => 'ArrayRef[Paws::MarketplaceCatalog::Change]', required => 1);
6 has ChangeSetName => (is => 'ro', isa => 'Str');
7 has ClientRequestToken => (is => 'ro', isa => 'Str');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'StartChangeSet');
12 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/StartChangeSet');
13 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MarketplaceCatalog::StartChangeSetResponse');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::MarketplaceCatalog::StartChangeSet - Arguments for method StartChangeSet on L<Paws::MarketplaceCatalog>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method StartChangeSet on the
26 L<AWS Marketplace Catalog Service|Paws::MarketplaceCatalog> service. Use the attributes of this class
27 as arguments to method StartChangeSet.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartChangeSet.
30  
31 =head1 SYNOPSIS
32  
33 my $catalog.marketplace = Paws->service('MarketplaceCatalog');
34 my $StartChangeSetResponse = $catalog . marketplace->StartChangeSet(
35 Catalog => 'MyCatalog',
36 ChangeSet => [
37 {
38 ChangeType => 'MyChangeType', # min: 1, max: 255
39 Details => 'MyJson', # min: 2, max: 16384
40 Entity => {
41 Type => 'MyEntityType', # min: 1, max: 255
42 Identifier => 'MyIdentifier', # min: 1, max: 255; OPTIONAL
43 },
44 ChangeName => 'MyChangeName', # min: 1, max: 72; OPTIONAL
45 },
46 ...
47 ],
48 ChangeSetName => 'MyChangeSetName', # OPTIONAL
49 ClientRequestToken => 'MyClientRequestToken', # OPTIONAL
50 );
51  
52 # Results:
53 my $ChangeSetArn = $StartChangeSetResponse->ChangeSetArn;
54 my $ChangeSetId = $StartChangeSetResponse->ChangeSetId;
55  
56 # Returns a L<Paws::MarketplaceCatalog::StartChangeSetResponse> object.
57  
58 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.
59 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/catalog.marketplace/StartChangeSet>
60  
61 =head1 ATTRIBUTES
62  
63  
64 =head2 B<REQUIRED> Catalog => Str
65  
66 The catalog related to the request. Fixed value: C<AWSMarketplace>
67  
68  
69  
70 =head2 B<REQUIRED> ChangeSet => ArrayRef[L<Paws::MarketplaceCatalog::Change>]
71  
72 Array of C<change> object.
73  
74  
75  
76 =head2 ChangeSetName => Str
77  
78 Optional case sensitive string of up to 100 ASCII characters. The
79 change set name can be used to filter the list of change sets.
80  
81  
82  
83 =head2 ClientRequestToken => Str
84  
85 A unique token to identify the request to ensure idempotency.
86  
87  
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, documenting arguments for method StartChangeSet in L<Paws::MarketplaceCatalog>
93  
94 =head1 BUGS and CONTRIBUTIONS
95  
96 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
97  
98 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
99  
100 =cut
101