blib/lib/Paws/DynamoDB/AttributeDefinition.pm

filter: Statementstmt 100% 6 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 7 / 7 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/DynamoDB/ArchivalSummary.pm ↑ Summary blib/lib/Paws/DynamoDB/AttributeMap.pm »
1 # Generated by default/object.tt
2 package Paws::DynamoDB::AttributeDefinition;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has AttributeName => (is => 'ro', isa => 'Str', required => 1);
5 1 has AttributeType => (is => 'ro', isa => 'Str', required => 1);
6  
7 1 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::DynamoDB::AttributeDefinition
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::DynamoDB::AttributeDefinition object:
25  
26 $service_obj->Method(Att1 => { AttributeName => $value, ..., AttributeType => $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::DynamoDB::AttributeDefinition object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->AttributeName
34  
35 =head1 DESCRIPTION
36  
37 Represents an attribute for describing the key schema for the table and
38 indexes.
39  
40 =head1 ATTRIBUTES
41  
42  
43 =head2 B<REQUIRED> AttributeName => Str
44  
45 A name for the attribute.
46  
47  
48 =head2 B<REQUIRED> AttributeType => Str
49  
50 The data type for the attribute, where:
51  
52 =over
53  
54 =item *
55  
56 C<S> - the attribute is of type String
57  
58 =item *
59  
60 C<N> - the attribute is of type Number
61  
62 =item *
63  
64 C<B> - the attribute is of type Binary
65  
66 =back
67  
68  
69  
70  
71 =head1 SEE ALSO
72  
73 This class forms part of L<Paws>, describing an object used in L<Paws::DynamoDB>
74  
75 =head1 BUGS and CONTRIBUTIONS
76  
77 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
78  
79 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
80  
81 =cut
82  
« blib/lib/Paws/DynamoDB/ArchivalSummary.pm ↑ Summary blib/lib/Paws/DynamoDB/AttributeMap.pm »