blib/lib/Paws/SDB/DeleteAttributes.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::SDB::DeleteAttributes;
3 use Moose;
4 has Attributes => (is => 'ro', isa => 'ArrayRef[Paws::SDB::DeletableAttribute]', traits => ['NameInRequest'], request_name => 'Attribute' );
5 has DomainName => (is => 'ro', isa => 'Str', required => 1);
6 has Expected => (is => 'ro', isa => 'Paws::SDB::UpdateCondition');
7 has ItemName => (is => 'ro', isa => 'Str', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DeleteAttributes');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::SDB::DeleteAttributes - Arguments for method DeleteAttributes on L<Paws::SDB>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method DeleteAttributes on the
25 L<Amazon SimpleDB|Paws::SDB> service. Use the attributes of this class
26 as arguments to method DeleteAttributes.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DeleteAttributes.
29  
30 =head1 SYNOPSIS
31  
32 my $sdb = Paws->service('SDB');
33 $sdb->DeleteAttributes(
34 DomainName => 'MyString',
35 ItemName => 'MyString',
36 Attributes => [
37 {
38 Name => 'MyString',
39 Value => 'MyString',
40 },
41 ...
42 ], # OPTIONAL
43 Expected => {
44 Exists => 1, # OPTIONAL
45 Name => 'MyString',
46 Value => 'MyString',
47 }, # OPTIONAL
48 );
49  
50 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.
51 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/sdb/DeleteAttributes>
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 Attributes => ArrayRef[L<Paws::SDB::DeletableAttribute>]
57  
58 A list of Attributes. Similar to columns on a spreadsheet, attributes
59 represent categories of data that can be assigned to items.
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 deleted or not. The update condition must
73 be satisfied in order for this request to be processed and the
74 attributes to be deleted.
75  
76  
77  
78 =head2 B<REQUIRED> ItemName => Str
79  
80 The name of the item. Similar to rows on a spreadsheet, items represent
81 individual objects that contain one or more value-attribute pairs.
82  
83  
84  
85  
86 =head1 SEE ALSO
87  
88 This class forms part of L<Paws>, documenting arguments for method DeleteAttributes in L<Paws::SDB>
89  
90 =head1 BUGS and CONTRIBUTIONS
91  
92 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
93  
94 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
95  
96 =cut
97