blib/lib/Paws/SDB/PutAttributes.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/SDB/ListDomainsResult.pm ↑ Summary blib/lib/Paws/SDB/ReplaceableAttribute.pm »
1  
2 package Paws::SDB::PutAttributes;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has Attributes => (is => 'ro', isa => 'ArrayRef[Paws::SDB::ReplaceableAttribute]', traits => ['NameInRequest'], request_name => 'Attribute' , required => 1);
5 1 has DomainName => (is => 'ro', isa => 'Str', required => 1);
6 1 has Expected => (is => 'ro', isa => 'Paws::SDB::UpdateCondition');
7 1 has ItemName => (is => 'ro', isa => 'Str', required => 1);
8  
9 1 ▶ use MooseX::ClassAttribute;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutAttributes');
12 1 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
13 1 class_has _result_key => (isa => 'Str', is => 'ro');
14 1 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::SDB::PutAttributes - Arguments for method PutAttributes on L<Paws::SDB>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method PutAttributes on the
25 L<Amazon SimpleDB|Paws::SDB> service. Use the attributes of this class
26 as arguments to method PutAttributes.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutAttributes.
29  
30 =head1 SYNOPSIS
31  
32 my $sdb = Paws->service('SDB');
33 $sdb->PutAttributes(
34 Attributes => [
35 {
36 Name => 'MyString',
37 Value => 'MyString',
38 Replace => 1, # OPTIONAL
39 },
40 ...
41 ],
42 DomainName => 'MyString',
43 ItemName => 'MyString',
44 Expected => {
45 Exists => 1, # OPTIONAL
46 Name => 'MyString',
47 Value => 'MyString',
48 }, # OPTIONAL
49 );
50  
51 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.
52 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/sdb/PutAttributes>
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 B<REQUIRED> Attributes => ArrayRef[L<Paws::SDB::ReplaceableAttribute>]
58  
59 The list of attributes.
60  
61  
62  
63 =head2 B<REQUIRED> DomainName => Str
64  
65 The name of the domain in which to perform the operation.
66  
67  
68  
69 =head2 Expected => L<Paws::SDB::UpdateCondition>
70  
71 The update condition which, if specified, determines whether the
72 specified attributes will be updated or not. The update condition must
73 be satisfied in order for this request to be processed and the
74 attributes to be updated.
75  
76  
77  
78 =head2 B<REQUIRED> ItemName => Str
79  
80 The name of the item.
81  
82  
83  
84  
85 =head1 SEE ALSO
86  
87 This class forms part of L<Paws>, documenting arguments for method PutAttributes in L<Paws::SDB>
88  
89 =head1 BUGS and CONTRIBUTIONS
90  
91 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
92  
93 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
94  
95 =cut
96  
« blib/lib/Paws/SDB/ListDomainsResult.pm ↑ Summary blib/lib/Paws/SDB/ReplaceableAttribute.pm »