| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::LexModels::SlotTypeRegexConfiguration; | ||
| 3 | use Moose; | ||
| 4 | has Pattern => (is => 'ro', isa => 'Str', request_name => 'pattern', traits => ['NameInRequest'], required => 1); | ||
| 5 | |||
| 6 | 1; | ||
| 7 | |||
| 8 | ### main pod documentation begin ### | ||
| 9 | |||
| 10 | =head1 NAME | ||
| 11 | |||
| 12 | Paws::LexModels::SlotTypeRegexConfiguration | ||
| 13 | |||
| 14 | =head1 USAGE | ||
| 15 | |||
| 16 | This class represents one of two things: | ||
| 17 | |||
| 18 | =head3 Arguments in a call to a service | ||
| 19 | |||
| 20 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 21 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 22 | |||
| 23 | As an example, if Att1 is expected to be a Paws::LexModels::SlotTypeRegexConfiguration object: | ||
| 24 | |||
| 25 | $service_obj->Method(Att1 => { Pattern => $value, ..., Pattern => $value }); | ||
| 26 | |||
| 27 | =head3 Results returned from an API call | ||
| 28 | |||
| 29 | Use accessors for each attribute. If Att1 is expected to be an Paws::LexModels::SlotTypeRegexConfiguration object: | ||
| 30 | |||
| 31 | $result = $service_obj->Method(...); | ||
| 32 | $result->Att1->Pattern | ||
| 33 | |||
| 34 | =head1 DESCRIPTION | ||
| 35 | |||
| 36 | Provides a regular expression used to validate the value of a slot. | ||
| 37 | |||
| 38 | =head1 ATTRIBUTES | ||
| 39 | |||
| 40 | |||
| 41 | =head2 B<REQUIRED> Pattern => Str | ||
| 42 | |||
| 43 | A regular expression used to validate the value of a slot. | ||
| 44 | |||
| 45 | Use a standard regular expression. Amazon Lex supports the following | ||
| 46 | characters in the regular expression: | ||
| 47 | |||
| 48 | =over | ||
| 49 | |||
| 50 | =item * | ||
| 51 | |||
| 52 | A-Z, a-z | ||
| 53 | |||
| 54 | =item * | ||
| 55 | |||
| 56 | 0-9 | ||
| 57 | |||
| 58 | =item * | ||
| 59 | |||
| 60 | Unicode characters ("\ uE<lt>UnicodeE<gt>") | ||
| 61 | |||
| 62 | =back | ||
| 63 | |||
| 64 | Represent Unicode characters with four digits, for example "\u0041" or | ||
| 65 | "\u005A". | ||
| 66 | |||
| 67 | The following regular expression operators are not supported: | ||
| 68 | |||
| 69 | =over | ||
| 70 | |||
| 71 | =item * | ||
| 72 | |||
| 73 | Infinite repeaters: *, +, or {x,} with no upper bound. | ||
| 74 | |||
| 75 | =item * | ||
| 76 | |||
| 77 | Wild card (.) | ||
| 78 | |||
| 79 | =back | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head1 SEE ALSO | ||
| 85 | |||
| 86 | This class forms part of L<Paws>, describing an object used in L<Paws::LexModels> | ||
| 87 | |||
| 88 | =head1 BUGS and CONTRIBUTIONS | ||
| 89 | |||
| 90 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 91 | |||
| 92 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 93 | |||
| 94 | =cut | ||
| 95 |