blib/lib/Paws/MarketplaceCatalog.pm untested

filter: Statementstmt 0.0% 0 / 31 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 12 Podpod 0.0% 0 / 11 totaltotal 0.0% 0 / 54 CC 1 SCAR 6.9
CC
1
Cov
0%
service
2.0
signing_name
2.0
version
2.0
CRAP 2.0
1 package Paws::MarketplaceCatalog;
2 use Moose;
3 sub service { 'catalog.marketplace' }
4 sub signing_name { 'aws-marketplace' }
5 sub version { '2018-09-17' }
6 sub flattened_arrays { 0 }
7 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
8 has retry => (is => 'ro', isa => 'HashRef', default => sub {
9 { base => 'rand', type => 'exponential', growth_factor => 2 }
10 });
11 has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
12 ] });
13  
14 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller';
15  
16
17 sub CancelChangeSet {
18 my $self = shift;
19 my $call_object = $self->new_with_coercions('Paws::MarketplaceCatalog::CancelChangeSet', @_);
20 return $self->caller->do_call($self, $call_object);
21 }
22 sub DescribeChangeSet {
23 my $self = shift;
24 my $call_object = $self->new_with_coercions('Paws::MarketplaceCatalog::DescribeChangeSet', @_);
25 return $self->caller->do_call($self, $call_object);
26 }
27 sub DescribeEntity {
28 my $self = shift;
29 my $call_object = $self->new_with_coercions('Paws::MarketplaceCatalog::DescribeEntity', @_);
30 return $self->caller->do_call($self, $call_object);
31 }
32 sub ListChangeSets {
33 my $self = shift;
34 my $call_object = $self->new_with_coercions('Paws::MarketplaceCatalog::ListChangeSets', @_);
35 return $self->caller->do_call($self, $call_object);
36 }
37 sub ListEntities {
38 my $self = shift;
39 my $call_object = $self->new_with_coercions('Paws::MarketplaceCatalog::ListEntities', @_);
40 return $self->caller->do_call($self, $call_object);
41 }
42 sub StartChangeSet {
43 my $self = shift;
44 my $call_object = $self->new_with_coercions('Paws::MarketplaceCatalog::StartChangeSet', @_);
45 return $self->caller->do_call($self, $call_object);
46 }
47
48  
49  
50 sub operations { qw/CancelChangeSet DescribeChangeSet DescribeEntity ListChangeSets ListEntities StartChangeSet / }
51  
52 1;
53  
54 ### main pod documentation begin ###
55  
56 =head1 NAME
57  
58 Paws::MarketplaceCatalog - Perl Interface to AWS AWS Marketplace Catalog Service
59  
60 =head1 SYNOPSIS
61  
62 use Paws;
63  
64 my $obj = Paws->service('MarketplaceCatalog');
65 my $res = $obj->Method(
66 Arg1 => $val1,
67 Arg2 => [ 'V1', 'V2' ],
68 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
69 # of the arguments type
70 Arg3 => { Att1 => 'Val1' },
71 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
72 # the constructor of the arguments type
73 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
74 );
75  
76 =head1 DESCRIPTION
77  
78 Catalog API actions allow you to manage your entities through list,
79 describe, and update capabilities. An entity can be a product or an
80 offer on AWS Marketplace.
81  
82 You can automate your entity update process by integrating the AWS
83 Marketplace Catalog API with your AWS Marketplace product build or
84 deployment pipelines. You can also create your own applications on top
85 of the Catalog API to manage your products on AWS Marketplace.
86  
87 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/catalog.marketplace-2018-09-17>
88  
89  
90 =head1 METHODS
91  
92 =head2 CancelChangeSet
93  
94 =over
95  
96 =item Catalog => Str
97  
98 =item ChangeSetId => Str
99  
100  
101 =back
102  
103 Each argument is described in detail in: L<Paws::MarketplaceCatalog::CancelChangeSet>
104  
105 Returns: a L<Paws::MarketplaceCatalog::CancelChangeSetResponse> instance
106  
107 Used to cancel an open change request. Must be sent before the status
108 of the request changes to C<APPLYING>, the final stage of completing
109 your change request. You can describe a change during the 60-day
110 request history retention period for API calls.
111  
112  
113 =head2 DescribeChangeSet
114  
115 =over
116  
117 =item Catalog => Str
118  
119 =item ChangeSetId => Str
120  
121  
122 =back
123  
124 Each argument is described in detail in: L<Paws::MarketplaceCatalog::DescribeChangeSet>
125  
126 Returns: a L<Paws::MarketplaceCatalog::DescribeChangeSetResponse> instance
127  
128 Provides information about a given change set.
129  
130  
131 =head2 DescribeEntity
132  
133 =over
134  
135 =item Catalog => Str
136  
137 =item EntityId => Str
138  
139  
140 =back
141  
142 Each argument is described in detail in: L<Paws::MarketplaceCatalog::DescribeEntity>
143  
144 Returns: a L<Paws::MarketplaceCatalog::DescribeEntityResponse> instance
145  
146 Returns the metadata and content of the entity.
147  
148  
149 =head2 ListChangeSets
150  
151 =over
152  
153 =item Catalog => Str
154  
155 =item [FilterList => ArrayRef[L<Paws::MarketplaceCatalog::Filter>]]
156  
157 =item [MaxResults => Int]
158  
159 =item [NextToken => Str]
160  
161 =item [Sort => L<Paws::MarketplaceCatalog::Sort>]
162  
163  
164 =back
165  
166 Each argument is described in detail in: L<Paws::MarketplaceCatalog::ListChangeSets>
167  
168 Returns: a L<Paws::MarketplaceCatalog::ListChangeSetsResponse> instance
169  
170 Returns the list of change sets owned by the account being used to make
171 the call. You can filter this list by providing any combination of
172 C<entityId>, C<ChangeSetName>, and status. If you provide more than one
173 filter, the API operation applies a logical AND between the filters.
174  
175 You can describe a change during the 60-day request history retention
176 period for API calls.
177  
178  
179 =head2 ListEntities
180  
181 =over
182  
183 =item Catalog => Str
184  
185 =item EntityType => Str
186  
187 =item [FilterList => ArrayRef[L<Paws::MarketplaceCatalog::Filter>]]
188  
189 =item [MaxResults => Int]
190  
191 =item [NextToken => Str]
192  
193 =item [Sort => L<Paws::MarketplaceCatalog::Sort>]
194  
195  
196 =back
197  
198 Each argument is described in detail in: L<Paws::MarketplaceCatalog::ListEntities>
199  
200 Returns: a L<Paws::MarketplaceCatalog::ListEntitiesResponse> instance
201  
202 Provides the list of entities of a given type.
203  
204  
205 =head2 StartChangeSet
206  
207 =over
208  
209 =item Catalog => Str
210  
211 =item ChangeSet => ArrayRef[L<Paws::MarketplaceCatalog::Change>]
212  
213 =item [ChangeSetName => Str]
214  
215 =item [ClientRequestToken => Str]
216  
217  
218 =back
219  
220 Each argument is described in detail in: L<Paws::MarketplaceCatalog::StartChangeSet>
221  
222 Returns: a L<Paws::MarketplaceCatalog::StartChangeSetResponse> instance
223  
224 This operation allows you to request changes for your entities. Within
225 a single ChangeSet, you cannot start the same change type against the
226 same entity multiple times. Additionally, when a ChangeSet is running,
227 all the entities targeted by the different changes are locked until the
228 ChangeSet has completed (either succeeded, cancelled, or failed). If
229 you try to start a ChangeSet containing a change against an entity that
230 is already locked, you will receive a C<ResourceInUseException>.
231  
232 For example, you cannot start the ChangeSet described in the example
233 (https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/API_StartChangeSet.html#API_StartChangeSet_Examples)
234 later in this topic, because it contains two changes to execute the
235 same change type (C<AddRevisions>) against the same entity
236 (C<entity-id@1)>.
237  
238 For more information about working with change sets, see Working with
239 change sets
240 (https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#working-with-change-sets).
241  
242  
243  
244  
245 =head1 PAGINATORS
246  
247 Paginator methods are helpers that repetively call methods that return partial results
248  
249  
250  
251  
252 =head1 SEE ALSO
253  
254 This service class forms part of L<Paws>
255  
256 =head1 BUGS and CONTRIBUTIONS
257  
258 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
259  
260 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
261  
262 =cut
263