File Coverage

blib/lib/Paws/CognitoIdp/SchemaAttributeType.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::CognitoIdp::SchemaAttributeType;
2 1     1   548 use Moose;
  1         3  
  1         8  
3             has AttributeDataType => (is => 'ro', isa => 'Str');
4             has DeveloperOnlyAttribute => (is => 'ro', isa => 'Bool');
5             has Mutable => (is => 'ro', isa => 'Bool');
6             has Name => (is => 'ro', isa => 'Str');
7             has NumberAttributeConstraints => (is => 'ro', isa => 'Paws::CognitoIdp::NumberAttributeConstraintsType');
8             has Required => (is => 'ro', isa => 'Bool');
9             has StringAttributeConstraints => (is => 'ro', isa => 'Paws::CognitoIdp::StringAttributeConstraintsType');
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::CognitoIdp::SchemaAttributeType
17              
18             =head1 USAGE
19              
20             This class represents one of two things:
21              
22             =head3 Arguments in a call to a service
23              
24             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25             Each attribute should be used as a named argument in the calls that expect this type of object.
26              
27             As an example, if Att1 is expected to be a Paws::CognitoIdp::SchemaAttributeType object:
28              
29             $service_obj->Method(Att1 => { AttributeDataType => $value, ..., StringAttributeConstraints => $value });
30              
31             =head3 Results returned from an API call
32              
33             Use accessors for each attribute. If Att1 is expected to be an Paws::CognitoIdp::SchemaAttributeType object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->AttributeDataType
37              
38             =head1 DESCRIPTION
39              
40             Contains information about the schema attribute.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 AttributeDataType => Str
46              
47             The attribute data type.
48              
49              
50             =head2 DeveloperOnlyAttribute => Bool
51              
52             Specifies whether the attribute type is developer only.
53              
54              
55             =head2 Mutable => Bool
56              
57             Specifies whether the attribute can be changed once it has been
58             created.
59              
60              
61             =head2 Name => Str
62              
63             A schema attribute of the name type.
64              
65              
66             =head2 NumberAttributeConstraints => L<Paws::CognitoIdp::NumberAttributeConstraintsType>
67              
68             Specifies the constraints for an attribute of the number type.
69              
70              
71             =head2 Required => Bool
72              
73             Specifies whether a user pool attribute is required. If the attribute
74             is required and the user does not provide a value, registration or
75             sign-in will fail.
76              
77              
78             =head2 StringAttributeConstraints => L<Paws::CognitoIdp::StringAttributeConstraintsType>
79              
80             Specifies the constraints for an attribute of the string type.
81              
82              
83              
84             =head1 SEE ALSO
85              
86             This class forms part of L<Paws>, describing an object used in L<Paws::CognitoIdp>
87              
88             =head1 BUGS and CONTRIBUTIONS
89              
90             The source code is located here: https://github.com/pplu/aws-sdk-perl
91              
92             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
93              
94             =cut
95