File Coverage

blib/lib/Paws/DynamoDBStreams/AttributeValue.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::DynamoDBStreams::AttributeValue;
2 1     1   410 use Moose;
  1         2  
  1         7  
3             has B => (is => 'ro', isa => 'Str');
4             has BOOL => (is => 'ro', isa => 'Bool');
5             has BS => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
6             has L => (is => 'ro', isa => 'ArrayRef[Paws::DynamoDBStreams::AttributeValue]');
7             has M => (is => 'ro', isa => 'Paws::DynamoDBStreams::MapAttributeValue');
8             has N => (is => 'ro', isa => 'Str');
9             has NS => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
10             has NULL => (is => 'ro', isa => 'Bool');
11             has S => (is => 'ro', isa => 'Str');
12             has SS => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::DynamoDBStreams::AttributeValue
20              
21             =head1 USAGE
22              
23             This class represents one of two things:
24              
25             =head3 Arguments in a call to a service
26              
27             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28             Each attribute should be used as a named argument in the calls that expect this type of object.
29              
30             As an example, if Att1 is expected to be a Paws::DynamoDBStreams::AttributeValue object:
31              
32             $service_obj->Method(Att1 => { B => $value, ..., SS => $value });
33              
34             =head3 Results returned from an API call
35              
36             Use accessors for each attribute. If Att1 is expected to be an Paws::DynamoDBStreams::AttributeValue object:
37              
38             $result = $service_obj->Method(...);
39             $result->Att1->B
40              
41             =head1 DESCRIPTION
42              
43             Represents the data for an attribute. You can set one, and only one, of
44             the elements.
45              
46             Each attribute in an item is a name-value pair. An attribute can be
47             single-valued or multi-valued set. For example, a book item can have
48             title and authors attributes. Each book has one title but can have many
49             authors. The multi-valued attribute is a set; duplicate values are not
50             allowed.
51              
52             =head1 ATTRIBUTES
53              
54              
55             =head2 B => Str
56              
57             A Binary data type.
58              
59              
60             =head2 BOOL => Bool
61              
62             A Boolean data type.
63              
64              
65             =head2 BS => ArrayRef[Str|Undef]
66              
67             A Binary Set data type.
68              
69              
70             =head2 L => ArrayRef[L<Paws::DynamoDBStreams::AttributeValue>]
71              
72             A List data type.
73              
74              
75             =head2 M => L<Paws::DynamoDBStreams::MapAttributeValue>
76              
77             A Map data type.
78              
79              
80             =head2 N => Str
81              
82             A Number data type.
83              
84              
85             =head2 NS => ArrayRef[Str|Undef]
86              
87             A Number Set data type.
88              
89              
90             =head2 NULL => Bool
91              
92             A Null data type.
93              
94              
95             =head2 S => Str
96              
97             A String data type.
98              
99              
100             =head2 SS => ArrayRef[Str|Undef]
101              
102             A String Set data type.
103              
104              
105              
106             =head1 SEE ALSO
107              
108             This class forms part of L<Paws>, describing an object used in L<Paws::DynamoDBStreams>
109              
110             =head1 BUGS and CONTRIBUTIONS
111              
112             The source code is located here: https://github.com/pplu/aws-sdk-perl
113              
114             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
115              
116             =cut
117