line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::ApiGateway::PatchOperation; |
2
|
1
|
|
|
1
|
|
626
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
3
|
|
|
|
|
|
|
has From => (is => 'ro', isa => 'Str', request_name => 'from', traits => ['NameInRequest']); |
4
|
|
|
|
|
|
|
has Op => (is => 'ro', isa => 'Str', request_name => 'op', traits => ['NameInRequest']); |
5
|
|
|
|
|
|
|
has Path => (is => 'ro', isa => 'Str', request_name => 'path', traits => ['NameInRequest']); |
6
|
|
|
|
|
|
|
has Value => (is => 'ro', isa => 'Str', request_name => 'value', traits => ['NameInRequest']); |
7
|
|
|
|
|
|
|
1; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
### main pod documentation begin ### |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 NAME |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Paws::ApiGateway::PatchOperation |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 USAGE |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
This class represents one of two things: |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head3 Arguments in a call to a service |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. |
22
|
|
|
|
|
|
|
Each attribute should be used as a named argument in the calls that expect this type of object. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
As an example, if Att1 is expected to be a Paws::ApiGateway::PatchOperation object: |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { From => $value, ..., Value => $value }); |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head3 Results returned from an API call |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Use accessors for each attribute. If Att1 is expected to be an Paws::ApiGateway::PatchOperation object: |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
33
|
|
|
|
|
|
|
$result->Att1->From |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 DESCRIPTION |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
A single patch operation to apply to the specified resource. Please |
38
|
|
|
|
|
|
|
refer to http://tools.ietf.org/html/rfc6902#section-4 for an |
39
|
|
|
|
|
|
|
explanation of how each operation is used. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head2 From => Str |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Not supported. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head2 Op => Str |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
An update operation to be performed with this PATCH request. The valid |
52
|
|
|
|
|
|
|
value can be "add", "remove", or "replace". Not all valid operations |
53
|
|
|
|
|
|
|
are supported for a given resource. Support of the operations depends |
54
|
|
|
|
|
|
|
on specific operational contexts. Attempts to apply an unsupported |
55
|
|
|
|
|
|
|
operation on a resource will return an error message. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head2 Path => Str |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
The C<op> operation's target, as identified by a JSON Pointer value |
61
|
|
|
|
|
|
|
that references a location within the targeted resource. For example, |
62
|
|
|
|
|
|
|
if the target resource has an updateable property of |
63
|
|
|
|
|
|
|
C<{"name":"value"}>, the path for this property is C</name>. If the |
64
|
|
|
|
|
|
|
C<name> property value is a JSON object (e.g., C<{"name": |
65
|
|
|
|
|
|
|
{"child/name": "child-value"}}>), the path for the C<child/name> |
66
|
|
|
|
|
|
|
property will be C</name/child~1name>. Any slash ("/") character |
67
|
|
|
|
|
|
|
appearing in path names must be escaped with "~1", as shown in the |
68
|
|
|
|
|
|
|
example above. Each C<op> operation can have only one C<path> |
69
|
|
|
|
|
|
|
associated with it. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head2 Value => Str |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
The new target value of the update operation. When using AWS CLI to |
75
|
|
|
|
|
|
|
update a property of a JSON value, enclose the JSON object with a pair |
76
|
|
|
|
|
|
|
of single quotes in a Linux shell, e.g., '{"a": ...}'. In a Windows |
77
|
|
|
|
|
|
|
shell, see Using JSON for Parameters. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head1 SEE ALSO |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::ApiGateway> |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=cut |
92
|
|
|
|
|
|
|
|