blib/lib/Paws/SDB/GetAttributes.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/DomainMetadataResult.pm ↑ Summary blib/lib/Paws/SDB/GetAttributesResult.pm »
1  
2 package Paws::SDB::GetAttributes;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has AttributeName => (is => 'ro', isa => 'Str');
5 1 has ConsistentRead => (is => 'ro', isa => 'Bool');
6 1 has DomainName => (is => 'ro', isa => 'Str', required => 1);
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 => 'GetAttributes');
12 1 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SDB::GetAttributesResult');
13 1 class_has _result_key => (isa => 'Str', is => 'ro', default => 'GetAttributesResult');
14 1 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::SDB::GetAttributes - Arguments for method GetAttributes on L<Paws::SDB>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method GetAttributes on the
25 L<Amazon SimpleDB|Paws::SDB> service. Use the attributes of this class
26 as arguments to method GetAttributes.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetAttributes.
29  
30 =head1 SYNOPSIS
31  
32 my $sdb = Paws->service('SDB');
33 my $GetAttributesResult = $sdb->GetAttributes(
34 DomainName => 'MyString',
35 ItemName => 'MyString',
36 AttributeName => 'MyString', # OPTIONAL
37 ConsistentRead => 1, # OPTIONAL
38 );
39  
40 # Results:
41 my $Attributes = $GetAttributesResult->Attributes;
42  
43 # Returns a L<Paws::SDB::GetAttributesResult> object.
44  
45 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.
46 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/sdb/GetAttributes>
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 AttributeName => Str
52  
53 The names of the attributes.
54  
55  
56  
57 =head2 ConsistentRead => Bool
58  
59 Determines whether or not strong consistency should be enforced when
60 data is read from SimpleDB. If C<true>, any data previously written to
61 SimpleDB will be returned. Otherwise, results will be consistent
62 eventually, and the client may not see data that was written
63 immediately before your read.
64  
65  
66  
67 =head2 B<REQUIRED> DomainName => Str
68  
69 The name of the domain in which to perform the operation.
70  
71  
72  
73 =head2 B<REQUIRED> ItemName => Str
74  
75 The name of the item.
76  
77  
78  
79  
80 =head1 SEE ALSO
81  
82 This class forms part of L<Paws>, documenting arguments for method GetAttributes in L<Paws::SDB>
83  
84 =head1 BUGS and CONTRIBUTIONS
85  
86 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
87  
88 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
89  
90 =cut
91  
« blib/lib/Paws/SDB/DomainMetadataResult.pm ↑ Summary blib/lib/Paws/SDB/GetAttributesResult.pm »